~/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 @@ -210,49 +210,49 @@ /usr/bin/nant a7b586a9f370e62cc76f3ec9b7e53c8d43db038dfad8ef94790cc21c384bb29c 0 /usr/share/NAnt 0 /usr/share/NAnt/bin 0 -/usr/share/NAnt/bin/NAnt.CompressionTasks.dll 34ea9d8540bbec78fe1ffdae5d044da5885ae724e06ade1fde850d4a3e0d7374 0 -/usr/share/NAnt/bin/NAnt.CompressionTasks.dll.mdb 48b755d1710f340122a4a932853d1400cdde6a206f722f458f6d13c952b224ac 0 -/usr/share/NAnt/bin/NAnt.CompressionTasks.xml 91be5f9657d98f20765184738252f528c90637785ea1b335e0aaaf48cda425c9 0 -/usr/share/NAnt/bin/NAnt.Core.dll 4ec5687fe010a78deaad875659b8c552eae97bb3cea04bb26d229da7a0c99259 0 -/usr/share/NAnt/bin/NAnt.Core.dll.mdb 0a2537f774e197744cd3fdda345557380183efefe1f31784d1b4d2150b3fc2df 0 -/usr/share/NAnt/bin/NAnt.Core.xml 3007b7b2bfd40d225712a67689d11712a91f0707e0f7820d9f246e18c28f9bb2 0 -/usr/share/NAnt/bin/NAnt.DotNetTasks.dll d031286bce4df3d72ec04ff4216f551aba9670772cf180e51f0d15acfe39ca78 0 -/usr/share/NAnt/bin/NAnt.DotNetTasks.dll.mdb 34ef56a48b258619f7189b493ddd3b42035f09f56e7ae6965860fdfd5850b042 0 -/usr/share/NAnt/bin/NAnt.DotNetTasks.xml ebbe2c593bce0cb0353a83fb7db2a7addb183caf1197885176ac62ce749d2ffd 0 -/usr/share/NAnt/bin/NAnt.NUnit.dll fc308cacc93fde1ada0f078d1c60f98f22197aabd783def59fcd964314ce48d9 0 -/usr/share/NAnt/bin/NAnt.NUnit.dll.mdb 04eda314c4327db7f0715e93272815a44e9fededc53694efaae692fe77039adf 0 -/usr/share/NAnt/bin/NAnt.NUnit.xml 27f2bef89d12962ca182e19d43fd0a64227338f8093bd4bd0986a03dfaf85017 0 -/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll f5df9489a9a31653e0700a09ce17993b4d076f8c7439795db1578bf687395e5c 0 -/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll.mdb 7a3549e7739c00c6204fb8c17192fcc6c549d187a9c408c49593e6aa12f9f064 0 -/usr/share/NAnt/bin/NAnt.NUnit1Tasks.xml 1c8582d9706c58295e6b3aab7c498d7a3076cfeefd301d5c3d64f5801977f4fa 0 -/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll 0be5f5ea00472b0ad054126fe48db5f422573f5bb84d1ed057a15d13d72b5f32 0 -/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll.mdb 42419918d6c94bd4a935a3acdf3c44a38cfed370764fa974bb998fd9ccfe1644 0 -/usr/share/NAnt/bin/NAnt.NUnit2Tasks.xml 026f598392ffce67fcb735ec3cb70deb65188023852eb0b4d604c96c7ef8a4a1 0 -/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll 4c7ae51966fb35ecd96af2afd6931325e5f7f8ec10777e894920dc0c1e28e02f 0 -/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll.mdb 1646ee5b82809666982c3baf731b1ded4ca1bd94e5598af56ec7dfe7cb33b169 0 -/usr/share/NAnt/bin/NAnt.SourceControlTasks.xml a6e7e4a1b2e0f19b5cc6f1c19073ab5ea1d4d93f5a8b95ddc978c6e8a03c548e 0 -/usr/share/NAnt/bin/NAnt.VSNetTasks.dll 4fd0fc4d3d40f3638abfcc6f76d6083f50338e845f7094383564106cea69ca77 0 -/usr/share/NAnt/bin/NAnt.VSNetTasks.dll.mdb 3d8372ed2ec8447256846f8d82eeef13d34a86c81a37e174a8c905db75e3ea58 0 -/usr/share/NAnt/bin/NAnt.VSNetTasks.xml 518eaf305d8486b1c48011360a6f96aad4affc8e0e256ce99b53f04b7c1d4ba3 0 -/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll 10ec1fe2258154f3f80e0ff3840c07c099d5ace94d383f5fbcc7a3f2edaa3217 0 -/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll.mdb e49802545491d60763ba1995da5267cd165d4a68eed8e5eeb3dc4f3e75b88c2b 0 -/usr/share/NAnt/bin/NAnt.VisualCppTasks.xml 111a012e5cf44a5a5cd90029508aa8ff843d922b13402f0c20b01a8526361667 0 -/usr/share/NAnt/bin/NAnt.Win32Tasks.dll f4427ad76a70de07f9fd8744e6a0a3c8fddf6ddc09c79068719e5a607c78358d 0 -/usr/share/NAnt/bin/NAnt.Win32Tasks.dll.mdb 13ddedf833940df416b6c116325521febb212548da4dd524df9547208f165bab 0 -/usr/share/NAnt/bin/NAnt.Win32Tasks.xml 7ccacaa271dcced8d3ea7431180ee51c5eb717a7459127cba089594d6bedb815 0 +/usr/share/NAnt/bin/NAnt.CompressionTasks.dll 56547af9bd9981cb04716d747531298620b8d35f0f8627eec5c869c57c6adf53 0 +/usr/share/NAnt/bin/NAnt.CompressionTasks.dll.mdb d2448b5246c41ff77b6b0700c812292a20a602fed22a6d05e9b2dca7f0d6508c 0 +/usr/share/NAnt/bin/NAnt.CompressionTasks.xml 87b9ce87bf8f17024f4082ecf5891b19d54b3cb9ca60507f82e69340ede5e22c 0 +/usr/share/NAnt/bin/NAnt.Core.dll 26d9e678e19803c793d4a579870e85ba4dfe31e3cd12bc05e5ba10158eebc026 0 +/usr/share/NAnt/bin/NAnt.Core.dll.mdb c9821b2b965527919d42922f67cc00feeb5ae1180eeeebf70090f5a019ff4f5d 0 +/usr/share/NAnt/bin/NAnt.Core.xml a2d2b8468d0209a9ea3a972a35f4f454024193f07bb9c9aab5dc81935c224a45 0 +/usr/share/NAnt/bin/NAnt.DotNetTasks.dll 1887efa72012a8494ba8ea812d32c8414753d9f37162abea43fd42c6183436c4 0 +/usr/share/NAnt/bin/NAnt.DotNetTasks.dll.mdb 976d268954e0018b4e3903ba3472ed9ed4c9a71ee35e3ad1dd3d1a8228d5ec1f 0 +/usr/share/NAnt/bin/NAnt.DotNetTasks.xml 6fa4a7f126f53b01137d9a0bc45e876056496ffc907da2a683faede40d521c31 0 +/usr/share/NAnt/bin/NAnt.NUnit.dll 210f9187a867f057709e7ce40705e6ea49e08c15c02bd6ab1aa341e70e3f55aa 0 +/usr/share/NAnt/bin/NAnt.NUnit.dll.mdb dd156d8c38b0cc90ef1ede8b7ca21ad651aa95a5a5e89f8edfb202802b18f400 0 +/usr/share/NAnt/bin/NAnt.NUnit.xml fa5abca2a768fc4a65289c3ad0bd777e3d5c16c71711aa29cc7f99d34677938f 0 +/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll 39d8c3211745e7d28aaae09417027e37c89543030ac032750471c47f42445b63 0 +/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll.mdb 859c4852fed11ee2c59be2a03c87d24ed0ccd39e493ba5648c223b1885059c38 0 +/usr/share/NAnt/bin/NAnt.NUnit1Tasks.xml ecd53bed22738cdf0ae44cf336297c723c9cdf54f9d50b4f3b0c58e1214ced04 0 +/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll 8d6593de35dd7c2002225c0756af65a80e832f2c3e602015f5600fb28974cfc3 0 +/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll.mdb 5ad8247e0c13bff1a40af9e2039b586166908913b8f9c7aa6cd1687fb1eee9e6 0 +/usr/share/NAnt/bin/NAnt.NUnit2Tasks.xml 31060446506bcd985905695b338f4e3f90a0c3aa925f5d33f7ee4b2c7e5b8606 0 +/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll a898aa0489aeff42d25849d67057a92fa6bc73ac94fa3a96944758eb7924e3dd 0 +/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll.mdb e3df5cf6ca01839acdd5c6690bffa2068ea84c0648bc4134921fefc520b10a67 0 +/usr/share/NAnt/bin/NAnt.SourceControlTasks.xml fd30acb7e4fc2f4d268a537fe68547b486fda8b791b76c5aa24452e0ce4be388 0 +/usr/share/NAnt/bin/NAnt.VSNetTasks.dll ebe7c0ff41a3543f6067321acd80c2814fdfbe13e1d25c7e21f424aec0a8f2b9 0 +/usr/share/NAnt/bin/NAnt.VSNetTasks.dll.mdb 0fa39a8903af011ce66b62b8a934e6d760fd29fa41c004751996905cad59b5df 0 +/usr/share/NAnt/bin/NAnt.VSNetTasks.xml f7cc848974f815a82a0182c976132ebc0db6cd80badcb5dd8817f70c65c47d3b 0 +/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll 85faaf1778deeead0dc28c05528011c4ecfac1672f208da0293f1730d6d41fc1 0 +/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll.mdb 1027a66fa4a0b66f7679b5347292df9bf2c4693617b17979c8839fc97beaa683 0 +/usr/share/NAnt/bin/NAnt.VisualCppTasks.xml 0ff3136f2fd0abd1e77847951881fdaa88ff69136d2a5da4ae06041513e5df20 0 +/usr/share/NAnt/bin/NAnt.Win32Tasks.dll bfc6ed04713627a605dfbeef24e9583bac26a0b2ca5cfb7ffc5f74aaeb4e7e47 0 +/usr/share/NAnt/bin/NAnt.Win32Tasks.dll.mdb c4d6c357eb27eb22954a919ee22653f49aeb16ecd304f98ff701826bbc9409a1 0 +/usr/share/NAnt/bin/NAnt.Win32Tasks.xml d11b98700f44bb7a926dbd7d0a44e9ae1f6054de3ff2dec825f39c403288b380 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.exe.mdb cd1e05f8f45a790bba0d8ad5f1b64ca5256dad3ebc56dcb716adc1a5225278b0 0 /usr/share/NAnt/bin/NAnt.xml d64dc7eda2810a1168f2d55d27e5556c35e933519cfe52a77eca150cf2dc4ff2 0 -/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll 22feab2436cd69b85fd0d28fb016e30a81ed39d287834264f487b4cbe54753ba 0 -/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll.mdb d39e4d16d6c05a8f4dfad05b8d3ac30308ca08c8d987fcb12364e673c389b1a6 0 -/usr/share/NAnt/bin/NDoc.Documenter.NAnt.xml 272cccf9448e3ab2109520bacbaacb88aab515f60477165e60ad1bd2ea43a178 0 +/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll dc1a824865486f8f192f6c80407f0bf4212fcc96960584a38fd4bb1d74f77e23 0 +/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll.mdb 8eb845bdb9b19a19a0200e136c41cddc58259424b5b1229156ba6d57382bc640 0 +/usr/share/NAnt/bin/NDoc.Documenter.NAnt.xml 99cf4d497b6522c1b53a9acb1568bd3be8ac6fbe91002d4c16f2372b7bf7b971 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 8f192b440d3733bc3c5704213b971efb342b90fcb233a21414ea12d296b6e300 0 -/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll.mdb ce24354fb4436ea6a7d03a9cf72a35a1578a9a8da15696b7ed624fff4d038b57 0 -/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.xml 5f3b929455afad305f2e37ce9343f62bf17809e2534db759d08e29dc8fb6a48d 0 +/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll 7fc4817fb827c832c96ec20d529ded17f6bf27b732789b4a5a9dc3d5974e3e21 0 +/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll.mdb a5d4a0f637139960c5232a41c47353d9f38a5e482d1b245829179b47c38eb8eb 0 +/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.xml 580447e9a0260e0120337991a654139fb9c1d6a22daa5060c49c541ffcda56d5 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) @@ -64,430 +64,517 @@ .namespace NAnt.Compression.Tasks { - .class public auto ansi beforefieldinit ZipTask - extends [NAnt.Core]NAnt.Core.Task + .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 03 7A 69 70 00 00 ) // ...zip.. + .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 _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 + .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 1 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2050 - // Code size 54 (0x36) + // Method begins at RVA 0x22a8 + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.6 - IL_0002: stfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod 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: call instance void class NAnt.Compression.Tasks.ExpandBaseTask::'.ctor'() + IL_000d: ret + } // end of method UnTarTask::.ctor // method line 2 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ZipFile () cil managed + instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed { - // Method begins at RVA 0x2088 + // Method begins at RVA 0x22b8 // 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.Compression.Tasks.ZipTask::_zipfile + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnTarTask::_srcFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ZipTask::get_ZipFile + } // end of method UnTarTask::get_SrcFile // method line 3 .method public hidebysig specialname - instance default void set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x20a3 + // Method begins at RVA 0x22d3 // 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_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnTarTask::_srcFile IL_0008: ret - } // end of method ZipTask::set_ZipFile + } // end of method UnTarTask::set_SrcFile // method line 4 .method public hidebysig specialname - instance default string get_Comment () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_DestinationDirectory () cil managed { - // Method begins at RVA 0x20b0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x22e0 + // Code size 48 (0x30) + .maxstack 2 .locals init ( - string V_0) + class [mscorlib]System.IO.DirectoryInfo 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_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir + IL_0007: brtrue IL_0022 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_Comment + 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 // method line 5 .method public hidebysig specialname - instance default void set_Comment (string 'value') cil managed + instance default void set_DestinationDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x20cb - // Code size 14 (0xe) + // Method begins at RVA 0x231c + // 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.Tasks.ZipTask::_comment - IL_000d: ret - } // end of method ZipTask::set_Comment + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir + IL_0008: ret + } // end of method UnTarTask::set_DestinationDirectory // method line 6 .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_Stamp () cil managed + instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed { - // Method begins at RVA 0x20dc + // Method begins at RVA 0x2328 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + valuetype NAnt.Compression.Types.TarCompressionMethod V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::_stampDateTime + 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 ZipTask::get_Stamp + } // end of method UnTarTask::get_CompressionMethod // method line 7 .method public hidebysig specialname - instance default void set_Stamp (valuetype [mscorlib]System.DateTime 'value') cil managed + instance default void set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') cil managed { - // Method begins at RVA 0x20f7 + // Method begins at RVA 0x2343 // 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_0003: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod IL_0008: ret - } // end of method ZipTask::set_Stamp + } // end of method UnTarTask::set_CompressionMethod // method line 8 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x2350 + } // 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 +} + +.namespace NAnt.Compression.Tasks +{ + .class public auto ansi beforefieldinit GUnzip + extends [NAnt.Core]NAnt.Core.Task + { + .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 9 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x25fc + // 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 GUnzip::.ctor + + // method line 10 .method public hidebysig specialname - instance default int32 get_ZipLevel () cil managed + instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed { - // Method begins at RVA 0x2104 + // Method begins at RVA 0x2604 // 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: ldfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel + 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 ZipTask::get_ZipLevel + } // end of method GUnzip::get_SrcFile - // method line 9 + // method line 11 .method public hidebysig specialname - instance default void set_ZipLevel (int32 'value') cil managed + instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x211f + // Method begins at RVA 0x261f // 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_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_srcFile IL_0008: ret - } // end of method ZipTask::set_ZipLevel + } // end of method GUnzip::set_SrcFile - // method line 10 + // method line 12 .method public hidebysig specialname - instance default bool get_IncludeEmptyDirs () cil managed + instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed { - // Method begins at RVA 0x212c + // Method begins at RVA 0x262c // 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.Compression.Tasks.ZipTask::_includeEmptyDirs + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_destFile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ZipTask::get_IncludeEmptyDirs + } // end of method GUnzip::get_DestFile - // method line 11 + // method line 13 .method public hidebysig specialname - instance default void set_IncludeEmptyDirs (bool 'value') cil managed + instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2147 + // Method begins at RVA 0x2647 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Compression.Tasks.ZipTask::_includeEmptyDirs + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_destFile IL_0008: ret - } // end of method ZipTask::set_IncludeEmptyDirs + } // end of method GUnzip::set_DestFile - // method line 12 - .method public virtual hidebysig newslot specialname - instance default bool get_Flatten () cil managed + // method line 14 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x2654 + } // 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 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.. + + .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 15 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2154 + // Method begins at RVA 0x27d4 + // Code size 50 (0x32) + .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 + + // method line 16 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed + { + // Method begins at RVA 0x2808 // 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.Compression.Tasks.ZipTask::_flatten + 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 ZipTask::get_Flatten + } // end of method TarTask::get_DestFile - // method line 13 - .method public virtual hidebysig newslot specialname - instance default void set_Flatten (bool 'value') cil managed + // method line 17 + .method public hidebysig specialname + instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x216f + // Method begins at RVA 0x2823 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Compression.Tasks.ZipTask::_flatten + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.TarTask::_destFile IL_0008: ret - } // end of method ZipTask::set_Flatten + } // end of method TarTask::set_DestFile - // method line 14 + // method line 18 .method public hidebysig specialname - instance default class NAnt.Compression.Types.ZipFileSetCollection get_ZipFileSets () cil managed + instance default bool get_IncludeEmptyDirs () cil managed { - // Method begins at RVA 0x217c + // Method begins at RVA 0x2830 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Compression.Types.ZipFileSetCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::_filesets + IL_0002: ldfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs 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 TarTask::get_IncludeEmptyDirs - // method line 15 + // method line 19 .method public hidebysig specialname - instance default void set_ZipFileSets (class NAnt.Compression.Types.ZipFileSetCollection 'value') cil managed + instance default void set_IncludeEmptyDirs (bool 'value') cil managed { - // Method begins at RVA 0x2197 + // Method begins at RVA 0x284b // Code size 9 (0x9) .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_0003: stfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs IL_0008: ret - } // end of method ZipTask::set_ZipFileSets + } // end of method TarTask::set_IncludeEmptyDirs - // method line 16 - .method public hidebysig specialname - instance default valuetype NAnt.Compression.Types.DuplicateHandling get_DuplicateHandling () cil managed + // method line 20 + .method public virtual hidebysig newslot specialname + instance default bool get_Flatten () cil managed { - // Method begins at RVA 0x21a4 + // Method begins at RVA 0x2858 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Compression.Types.DuplicateHandling V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::_duplicateHandling + 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 ZipTask::get_DuplicateHandling + } // end of method TarTask::get_Flatten - // method line 17 - .method public hidebysig specialname - instance default void set_DuplicateHandling (valuetype NAnt.Compression.Types.DuplicateHandling 'value') cil managed + // method line 21 + .method public virtual hidebysig newslot specialname + instance default void set_Flatten (bool 'value') cil managed { - // Method begins at RVA 0x21bf + // Method begins at RVA 0x2873 // Code size 9 (0x9) .maxstack 8 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_0003: stfld bool NAnt.Compression.Tasks.TarTask::_flatten IL_0008: ret - } // end of method ZipTask::set_DuplicateHandling + } // end of method TarTask::set_Flatten - // method line 18 + // method line 22 .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + instance default class NAnt.Compression.Types.TarFileSetCollection get_TarFileSets () cil managed { - // Method begins at RVA 0x21cc - // Code size 54 (0x36) - .maxstack 2 + // Method begins at RVA 0x2880 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Text.Encoding V_0) + class NAnt.Compression.Types.TarFileSetCollection 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_0002: ldfld class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::_filesets + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method TarTask::get_TarFileSets - IL_0034: ldloc.0 - IL_0035: ret - } // end of method ZipTask::get_Encoding + // method line 23 + .method public hidebysig specialname + instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed + { + // Method begins at RVA 0x289c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.Compression.Types.TarCompressionMethod 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 - // method line 19 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TarTask::get_CompressionMethod + + // method line 24 .method public hidebysig specialname - instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + instance default void set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') cil managed { - // Method begins at RVA 0x220e + // Method begins at RVA 0x28b7 // 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_0003: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::_compressionMethod IL_0008: ret - } // end of method ZipTask::set_Encoding + } // end of method TarTask::set_CompressionMethod - // method line 20 + // method line 25 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x2218 - } // end of method ZipTask::ExecuteTask + // Method begins at RVA 0x28c4 + } // end of method TarTask::ExecuteTask - // method line 21 + // method line 26 .method private hidebysig - instance default void CleanUp () cil managed + (null) 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 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.. + // Method begins at RVA 0x2da0 + } // end of method TarTask:: - .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 () + .property instance class [mscorlib]System.IO.FileInfo DestFile () { .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 ) // ............ + 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 int32 NAnt.Compression.Tasks.ZipTask::get_ZipLevel () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_ZipLevel (int32 'value') + .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 00 00 ) // irs.. + 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.ZipTask::get_IncludeEmptyDirs () - .set instance default void NAnt.Compression.Tasks.ZipTask::set_IncludeEmptyDirs (bool 'value') + .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 () { @@ -495,31 +582,24 @@ .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') + .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.ZipFileSetCollection ZipFileSets () + .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.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 () - { - .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 class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::get_TarFileSets () } - .property instance class [mscorlib]System.Text.Encoding Encoding () + .property instance valuetype NAnt.Compression.Types.TarCompressionMethod CompressionMethod () { - .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.. + .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 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 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.ZipTask + } // end of class NAnt.Compression.Tasks.TarTask } .namespace NAnt.Compression.Tasks @@ -529,11 +609,11 @@ { .field private bool _overwrite - // method line 22 + // method line 27 .method family hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2821 + // Method begins at RVA 0x2050 // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 @@ -544,11 +624,11 @@ IL_000d: ret } // end of method ExpandBaseTask::.ctor - // method line 23 + // method line 28 .method public virtual hidebysig newslot specialname instance default bool get_Overwrite () cil managed { - // Method begins at RVA 0x2830 + // Method begins at RVA 0x2060 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -563,11 +643,11 @@ IL_000e: ret } // end of method ExpandBaseTask::get_Overwrite - // method line 24 + // method line 29 .method public virtual hidebysig newslot specialname instance default void set_Overwrite (bool 'value') cil managed { - // Method begins at RVA 0x284b + // Method begins at RVA 0x207b // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -577,11 +657,11 @@ IL_0008: ret } // end of method ExpandBaseTask::set_Overwrite - // method line 25 + // method line 30 .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 0x2858 + // Method begins at RVA 0x2088 // Code size 369 (0x171) .maxstack 7 .locals init ( @@ -753,11 +833,11 @@ IL_0170: ret } // end of method ExpandBaseTask::ExtractFile - // method line 26 + // method line 31 .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 0x2a00 + // Method begins at RVA 0x2230 // Code size 91 (0x5b) .maxstack 3 .locals init ( @@ -819,401 +899,430 @@ .namespace NAnt.Compression.Tasks { - .class public auto ansi beforefieldinit UnTarTask - extends NAnt.Compression.Tasks.ExpandBaseTask + .class public auto ansi beforefieldinit ZipTask + extends [NAnt.Core]NAnt.Core.Task { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 75 6E 74 61 72 00 00 ) // ...untar.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 03 7A 69 70 00 00 ) // ...zip.. - .field private class [mscorlib]System.IO.FileInfo _srcFile - .field private class [mscorlib]System.IO.DirectoryInfo _destDir - .field private valuetype NAnt.Compression.Types.TarCompressionMethod _compressionMethod + .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 27 + // method line 32 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2a78 - // Code size 14 (0xe) + // Method begins at RVA 0x2e22 + // Code size 54 (0x36) .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_0001: ldc.i4.6 + IL_0002: stfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Compression.Tasks.ExpandBaseTask::'.ctor'() - IL_000d: ret - } // end of method UnTarTask::.ctor + 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 28 + // method line 33 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed + instance default class [mscorlib]System.IO.FileInfo get_ZipFile () cil managed { - // Method begins at RVA 0x2a88 + // Method begins at RVA 0x2e5c // 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.Compression.Tasks.UnTarTask::_srcFile + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.ZipTask::_zipfile IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method UnTarTask::get_SrcFile + } // end of method ZipTask::get_ZipFile - // method line 29 + // method line 34 .method public hidebysig specialname - instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2aa3 + // Method begins at RVA 0x2e77 // 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_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.ZipTask::_zipfile IL_0008: ret - } // end of method UnTarTask::set_SrcFile + } // end of method ZipTask::set_ZipFile - // method line 30 + // method line 35 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_DestinationDirectory () cil managed + instance default string get_Comment () cil managed { - // Method begins at RVA 0x2ab0 - // Code size 48 (0x30) - .maxstack 2 + // Method begins at RVA 0x2e84 + // 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.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_0002: ldfld string NAnt.Compression.Tasks.ZipTask::_comment + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_002e: ldloc.0 - IL_002f: ret - } // end of method UnTarTask::get_DestinationDirectory + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ZipTask::get_Comment - // method line 31 + // method line 36 .method public hidebysig specialname - instance default void set_DestinationDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_Comment (string 'value') cil managed { - // Method begins at RVA 0x2aec - // Code size 9 (0x9) + // Method begins at RVA 0x2e9f + // 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.Tasks.ZipTask::_comment + IL_000d: ret + } // end of method ZipTask::set_Comment - // method line 32 + // method line 37 .method public hidebysig specialname - instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed + instance default valuetype [mscorlib]System.DateTime get_Stamp () cil managed { - // Method begins at RVA 0x2af8 + // Method begins at RVA 0x2eb0 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Compression.Types.TarCompressionMethod V_0) + valuetype [mscorlib]System.DateTime 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 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 UnTarTask::get_CompressionMethod + } // end of method ZipTask::get_Stamp - // method line 33 + // method line 38 .method public hidebysig specialname - instance default void set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') cil managed + instance default void set_Stamp (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x2b13 + // Method begins at RVA 0x2ecb // 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 valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::_stampDateTime IL_0008: ret - } // end of method UnTarTask::set_CompressionMethod - - // method line 34 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x2b20 - } // 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 -} - -.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.. - - .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 35 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2dcc - // Code size 50 (0x32) - .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 + } // end of method ZipTask::set_Stamp - // method line 36 + // method line 39 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed + instance default int32 get_ZipLevel () cil managed { - // Method begins at RVA 0x2e00 + // Method begins at RVA 0x2ed8 // 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.TarTask::_destFile + 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 TarTask::get_DestFile + } // end of method ZipTask::get_ZipLevel - // method line 37 + // method line 40 .method public hidebysig specialname - instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_ZipLevel (int32 'value') cil managed { - // Method begins at RVA 0x2e1b + // Method begins at RVA 0x2ef3 // 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.TarTask::_destFile + IL_0003: stfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel IL_0008: ret - } // end of method TarTask::set_DestFile + } // end of method ZipTask::set_ZipLevel - // method line 38 + // method line 41 .method public hidebysig specialname instance default bool get_IncludeEmptyDirs () cil managed { - // Method begins at RVA 0x2e28 + // Method begins at RVA 0x2f00 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs + 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 TarTask::get_IncludeEmptyDirs + } // end of method ZipTask::get_IncludeEmptyDirs - // method line 39 + // method line 42 .method public hidebysig specialname instance default void set_IncludeEmptyDirs (bool 'value') cil managed { - // Method begins at RVA 0x2e43 + // Method begins at RVA 0x2f1b // 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::_includeEmptyDirs + IL_0003: stfld bool NAnt.Compression.Tasks.ZipTask::_includeEmptyDirs IL_0008: ret - } // end of method TarTask::set_IncludeEmptyDirs + } // end of method ZipTask::set_IncludeEmptyDirs - // method line 40 + // method line 43 .method public virtual hidebysig newslot specialname instance default bool get_Flatten () cil managed { - // Method begins at RVA 0x2e50 + // Method begins at RVA 0x2f28 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Compression.Tasks.TarTask::_flatten + 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 TarTask::get_Flatten + } // end of method ZipTask::get_Flatten - // method line 41 + // method line 44 .method public virtual hidebysig newslot specialname instance default void set_Flatten (bool 'value') cil managed { - // Method begins at RVA 0x2e6b + // Method begins at RVA 0x2f43 // 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_0003: stfld bool NAnt.Compression.Tasks.ZipTask::_flatten IL_0008: ret - } // end of method TarTask::set_Flatten + } // end of method ZipTask::set_Flatten - // method line 42 + // method line 45 .method public hidebysig specialname - instance default class NAnt.Compression.Types.TarFileSetCollection get_TarFileSets () cil managed + instance default class NAnt.Compression.Types.ZipFileSetCollection get_ZipFileSets () cil managed { - // Method begins at RVA 0x2e78 + // Method begins at RVA 0x2f50 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Compression.Types.TarFileSetCollection V_0) + class NAnt.Compression.Types.ZipFileSetCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::_filesets + 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 TarTask::get_TarFileSets + } // end of method ZipTask::get_ZipFileSets - // method line 43 + // method line 46 .method public hidebysig specialname - instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed + instance default void set_ZipFileSets (class NAnt.Compression.Types.ZipFileSetCollection 'value') cil managed { - // Method begins at RVA 0x2e94 + // Method begins at RVA 0x2f6b + // Code size 9 (0x9) + .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 + + // method line 47 + .method public hidebysig specialname + instance default valuetype NAnt.Compression.Types.DuplicateHandling get_DuplicateHandling () cil managed + { + // Method begins at RVA 0x2f78 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Compression.Types.TarCompressionMethod V_0) + valuetype NAnt.Compression.Types.DuplicateHandling V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::_compressionMethod + 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 TarTask::get_CompressionMethod + } // end of method ZipTask::get_DuplicateHandling - // method line 44 + // method line 48 .method public hidebysig specialname - instance default void set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') cil managed + instance default void set_DuplicateHandling (valuetype NAnt.Compression.Types.DuplicateHandling 'value') cil managed { - // Method begins at RVA 0x2eaf + // Method begins at RVA 0x2f93 // 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.TarTask::_compressionMethod + IL_0003: stfld valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::_duplicateHandling IL_0008: ret - } // end of method TarTask::set_CompressionMethod + } // end of method ZipTask::set_DuplicateHandling - // method line 45 + // method line 49 + .method public hidebysig specialname + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + { + // Method begins at RVA 0x2fa0 + // 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: 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_0034: ldloc.0 + IL_0035: ret + } // end of method ZipTask::get_Encoding + + // method line 50 + .method public hidebysig specialname + instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + { + // Method begins at RVA 0x2fe2 + // 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 + + // method line 51 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x2ebc - } // end of method TarTask::ExecuteTask + // Method begins at RVA 0x2fec + } // end of method ZipTask::ExecuteTask - // method line 46 + // method line 52 .method private hidebysig - (null) cil managed + instance default void CleanUp () cil managed { - // Method begins at RVA 0x3398 - } // end of method TarTask:: + // Method begins at RVA 0x35dc + // 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 DestFile () + .property instance class [mscorlib]System.IO.FileInfo ZipFile () { .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. + 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.TarTask::get_DestFile () - .set instance default void NAnt.Compression.Tasks.TarTask::set_DestFile (class [mscorlib]System.IO.FileInfo '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 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 01 00 54 02 08 52 65 71 75 69 72 65 64 // irs..T..Required - 00 ) // . + 69 72 73 00 00 ) // irs.. .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') + .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 () { @@ -1221,24 +1330,31 @@ .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') + .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.TarFileSetCollection TarFileSets () + .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.. - .get instance default class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::get_TarFileSets () + .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.TarCompressionMethod CompressionMethod () + .property instance valuetype NAnt.Compression.Types.DuplicateHandling DuplicateHandling () { - .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.. + .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.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 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') } - } // end of class NAnt.Compression.Tasks.TarTask + .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.Tasks @@ -1252,11 +1368,11 @@ .field private class [mscorlib]System.IO.DirectoryInfo _toDir .field private class [mscorlib]System.Text.Encoding _encoding - // method line 47 + // method line 53 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x341a + // Method begins at RVA 0x35f5 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -1264,11 +1380,11 @@ IL_0006: ret } // end of method UnZipTask::.ctor - // method line 48 + // method line 54 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileInfo get_ZipFile () cil managed { - // Method begins at RVA 0x3424 + // Method begins at RVA 0x3600 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1283,11 +1399,11 @@ IL_000e: ret } // end of method UnZipTask::get_ZipFile - // method line 49 + // method line 55 .method public hidebysig specialname instance default void set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x343f + // Method begins at RVA 0x361b // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1297,11 +1413,11 @@ IL_0008: ret } // end of method UnZipTask::set_ZipFile - // method line 50 + // method line 56 .method public hidebysig specialname instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed { - // Method begins at RVA 0x344c + // Method begins at RVA 0x3628 // Code size 48 (0x30) .maxstack 2 .locals init ( @@ -1326,11 +1442,11 @@ IL_002f: ret } // end of method UnZipTask::get_ToDirectory - // method line 51 + // method line 57 .method public hidebysig specialname instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x3488 + // Method begins at RVA 0x3664 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1340,11 +1456,11 @@ IL_0008: ret } // end of method UnZipTask::set_ToDirectory - // method line 52 + // method line 58 .method public hidebysig specialname instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed { - // Method begins at RVA 0x3494 + // Method begins at RVA 0x3670 // Code size 54 (0x36) .maxstack 2 .locals init ( @@ -1371,11 +1487,11 @@ IL_0035: ret } // end of method UnZipTask::get_Encoding - // method line 53 + // method line 59 .method public hidebysig specialname instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - // Method begins at RVA 0x34d6 + // Method begins at RVA 0x36b2 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -1385,11 +1501,11 @@ IL_0008: ret } // end of method UnZipTask::set_Encoding - // method line 54 + // method line 60 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x34e0 + // Method begins at RVA 0x36bc } // end of method UnZipTask::ExecuteTask .property instance class [mscorlib]System.IO.FileInfo ZipFile () @@ -1420,167 +1536,565 @@ } // end of class NAnt.Compression.Tasks.UnZipTask } -.namespace NAnt.Compression.Tasks +.namespace NAnt.Compression.Types { - .class public auto ansi beforefieldinit GUnzip - 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 06 67 75 6E 7A 69 70 00 00 ) // ...gunzip.. + .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 _srcFile - .field private class [mscorlib]System.IO.FileInfo _destFile - // method line 55 + // method line 61 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x36ac - // Code size 7 (0x7) + // Method begins at RVA 0x3888 + // Code size 8 (0x8) .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: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method TarFileSetCollection::.ctor - // method line 56 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed + // method line 62 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection 'value') cil managed { - // Method begins at RVA 0x36b4 + // Method begins at RVA 0x3891 // 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.TarFileSetCollection) + IL_000e: ret + } // end of method TarFileSetCollection::.ctor + + // method line 63 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.TarFileSet[] 'value') cil managed + { + // Method begins at RVA 0x38a1 + // 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.TarFileSet[]) + IL_000e: ret + } // end of method TarFileSetCollection::.ctor + + // method line 64 + .method public hidebysig specialname + instance default class NAnt.Compression.Types.TarFileSet get_Item (int32 index) cil managed + { + // Method begins at RVA 0x38b4 + // 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.GUnzip::_srcFile - 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_000d: ldloc.0 - IL_000e: ret - } // end of method GUnzip::get_SrcFile + IL_0018: ldloc.0 + IL_0019: ret + } // end of method TarFileSetCollection::get_Item - // method line 57 + // method line 65 .method public hidebysig specialname - instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Compression.Types.TarFileSet 'value') cil managed { - // Method begins at RVA 0x36cf - // Code size 9 (0x9) + // Method begins at RVA 0x38da + // 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.GUnzip::_srcFile - IL_0008: ret - } // end of method GUnzip::set_SrcFile + 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 58 + // method line 66 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed + instance default int32 get_FileCount () cil managed + { + // Method begins at RVA 0x38ec + // 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_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_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_005d: ldloc.s 4 + IL_005f: ret + } // end of method TarFileSetCollection::get_FileCount + + // method line 67 + .method public hidebysig + instance default int32 Add (class NAnt.Compression.Types.TarFileSet item) cil managed + { + // Method begins at RVA 0x3968 + // 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 TarFileSetCollection::Add + + // method line 68 + .method public hidebysig + instance default void AddRange (class NAnt.Compression.Types.TarFileSet[] items) cil managed + { + // Method begins at RVA 0x398c + // 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.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_0021: ret + } // end of method TarFileSetCollection::AddRange + + // method line 69 + .method public hidebysig + instance default void AddRange (class NAnt.Compression.Types.TarFileSetCollection items) cil managed + { + // Method begins at RVA 0x39bc + // 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.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 + + IL_0028: ret + } // end of method TarFileSetCollection::AddRange + + // method line 70 + .method public hidebysig + instance default bool Contains (class NAnt.Compression.Types.TarFileSet item) cil managed { - // Method begins at RVA 0x36dc + // Method begins at RVA 0x39f4 + // 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 TarFileSetCollection::Contains + + // method line 71 + .method public hidebysig + instance default void CopyTo (class NAnt.Compression.Types.TarFileSet[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x3a15 + // 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 TarFileSetCollection::CopyTo + + // method line 72 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Compression.Types.TarFileSet item) cil managed + { + // Method begins at RVA 0x3a28 + // 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 TarFileSetCollection::IndexOf + + // method line 73 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Compression.Types.TarFileSet item) cil managed + { + // Method begins at RVA 0x3a49 + // 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 TarFileSetCollection::Insert + + // method line 74 + .method public hidebysig + instance default class NAnt.Compression.Types.TarFileSetEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x3a5c // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Compression.Types.TarFileSetEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_destFile + 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 GUnzip::get_DestFile + } // end of method TarFileSetCollection::GetEnumerator - // method line 59 + // method line 75 + .method public hidebysig + instance default void Remove (class NAnt.Compression.Types.TarFileSet item) cil managed + { + // Method begins at RVA 0x3a77 + // 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 TarFileSetCollection::Remove + + .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 76 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection TarFileSets) cil managed + { + // Method begins at RVA 0x3a88 + // 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.TarFileSetEnumerator::_baseEnumerator + IL_0015: ret + } // end of method TarFileSetEnumerator::.ctor + + // method line 77 .method public hidebysig specialname - instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default class NAnt.Compression.Types.TarFileSet get_Current () cil managed { - // Method begins at RVA 0x36f7 - // Code size 9 (0x9) + // Method begins at RVA 0x3aac + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Compression.Types.TarFileSet 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_0017: ldloc.0 + IL_0018: ret + } // end of method TarFileSetEnumerator::get_Current + + // method line 78 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x3ad4 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // 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.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 + + // method line 79 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x3af4 + // 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.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::MoveNext + + // method line 80 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x3b14 + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // 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.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 + + // method line 81 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x3b34 + // 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.Compression.Tasks.GUnzip::_destFile - IL_0008: ret - } // end of method GUnzip::set_DestFile + 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 - // method line 60 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 82 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x3704 - } // end of method GUnzip::ExecuteTask + // Method begins at RVA 0x3b42 + .override class [mscorlib]System.Collections.IEnumerator::Reset + // 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 - .property instance class [mscorlib]System.IO.FileInfo SrcFile () + .property instance object System.Collections.IEnumerator.Current () { - .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') + .get instance default object NAnt.Compression.Types.TarFileSetEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class [mscorlib]System.IO.FileInfo DestFile () + .property instance class NAnt.Compression.Types.TarFileSet Current () { - .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') + .get instance default class NAnt.Compression.Types.TarFileSet NAnt.Compression.Types.TarFileSetEnumerator::get_Current () } - } // end of class NAnt.Compression.Tasks.GUnzip + } // end of class NAnt.Compression.Types.TarFileSetEnumerator } .namespace NAnt.Compression.Types { - .class public auto ansi sealed DuplicateHandling + .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 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.. + 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.. .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) + .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) - } // end of class NAnt.Compression.Types.DuplicateHandling + } // end of class NAnt.Compression.Types.TarCompressionMethod } .namespace NAnt.Compression.Types { - .class private auto ansi beforefieldinit DuplicateHandlingConverter + .class private auto ansi beforefieldinit TarCompressionMethodConverter extends [System]System.ComponentModel.EnumConverter { - // method line 61 + // method line 83 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3884 + // Method begins at RVA 0x3b50 // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldtoken NAnt.Compression.Types.DuplicateHandling + 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 DuplicateHandlingConverter::.ctor + } // end of method TarCompressionMethodConverter::.ctor - // method line 62 + // method line 84 .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 0x3898 + // Method begins at RVA 0x3b64 // Code size 50 (0x32) .maxstack 4 .locals init ( @@ -1611,9 +2125,9 @@ IL_0030: ldloc.1 IL_0031: ret - } // end of method DuplicateHandlingConverter::ConvertFrom + } // end of method TarCompressionMethodConverter::ConvertFrom - } // end of class NAnt.Compression.Types.DuplicateHandlingConverter + } // end of class NAnt.Compression.Types.TarCompressionMethodConverter } .namespace NAnt.Compression.Types @@ -1624,11 +2138,11 @@ .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 63 + // method line 85 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x38d6 + // Method begins at RVA 0x3ba2 // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 @@ -1637,11 +2151,11 @@ IL_0007: ret } // end of method ZipFileSetCollection::.ctor - // method line 64 + // method line 86 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSetCollection 'value') cil managed { - // Method begins at RVA 0x38df + // Method begins at RVA 0x3bab // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -1653,11 +2167,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::.ctor - // method line 65 + // method line 87 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSet[] 'value') cil managed { - // Method begins at RVA 0x38ef + // Method begins at RVA 0x3bbb // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -1669,11 +2183,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::.ctor - // method line 66 + // method line 88 .method public hidebysig specialname instance default class NAnt.Compression.Types.ZipFileSet get_Item (int32 index) cil managed { - // Method begins at RVA 0x3900 + // Method begins at RVA 0x3bcc // Code size 26 (0x1a) .maxstack 2 .locals init ( @@ -1691,11 +2205,11 @@ IL_0019: ret } // end of method ZipFileSetCollection::get_Item - // method line 67 + // method line 89 .method public hidebysig specialname instance default void set_Item (int32 index, class NAnt.Compression.Types.ZipFileSet 'value') cil managed { - // Method begins at RVA 0x3926 + // Method begins at RVA 0x3bf2 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -1707,11 +2221,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::set_Item - // method line 68 + // method line 90 .method public hidebysig specialname instance default int32 get_FileCount () cil managed { - // Method begins at RVA 0x3938 + // Method begins at RVA 0x3c04 // Code size 96 (0x60) .maxstack 2 .locals init ( @@ -1769,11 +2283,11 @@ IL_005f: ret } // end of method ZipFileSetCollection::get_FileCount - // method line 69 + // method line 91 .method public hidebysig instance default int32 Add (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x39b4 + // Method begins at RVA 0x3c80 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -1790,11 +2304,11 @@ IL_0014: ret } // end of method ZipFileSetCollection::Add - // method line 70 + // method line 92 .method public hidebysig instance default void AddRange (class NAnt.Compression.Types.ZipFileSet[] items) cil managed { - // Method begins at RVA 0x39d8 + // Method begins at RVA 0x3ca4 // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -1825,11 +2339,11 @@ IL_0021: ret } // end of method ZipFileSetCollection::AddRange - // method line 71 + // method line 93 .method public hidebysig instance default void AddRange (class NAnt.Compression.Types.ZipFileSetCollection items) cil managed { - // Method begins at RVA 0x3a08 + // Method begins at RVA 0x3cd4 // Code size 41 (0x29) .maxstack 3 .locals init ( @@ -1859,11 +2373,11 @@ IL_0028: ret } // end of method ZipFileSetCollection::AddRange - // method line 72 + // method line 94 .method public hidebysig instance default bool Contains (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x3a40 + // Method begins at RVA 0x3d0c // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -1880,11 +2394,11 @@ IL_0014: ret } // end of method ZipFileSetCollection::Contains - // method line 73 + // method line 95 .method public hidebysig instance default void CopyTo (class NAnt.Compression.Types.ZipFileSet[] 'array', int32 index) cil managed { - // Method begins at RVA 0x3a61 + // Method begins at RVA 0x3d2d // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -1896,11 +2410,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::CopyTo - // method line 74 + // method line 96 .method public hidebysig instance default int32 IndexOf (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x3a74 + // Method begins at RVA 0x3d40 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -1917,11 +2431,11 @@ IL_0014: ret } // end of method ZipFileSetCollection::IndexOf - // method line 75 + // method line 97 .method public hidebysig instance default void Insert (int32 index, class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x3a95 + // Method begins at RVA 0x3d61 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -1933,11 +2447,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::Insert - // method line 76 + // method line 98 .method public hidebysig instance default class NAnt.Compression.Types.ZipFileSetEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x3aa8 + // Method begins at RVA 0x3d74 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1952,11 +2466,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::GetEnumerator - // method line 77 + // method line 99 .method public hidebysig instance default void Remove (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x3ac3 + // Method begins at RVA 0x3d8f // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -1986,11 +2500,11 @@ implements [mscorlib]System.Collections.IEnumerator { .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 78 + // method line 100 .method assembly hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSetCollection ZipFileSets) cil managed { - // Method begins at RVA 0x3ad4 + // Method begins at RVA 0x3da0 // Code size 22 (0x16) .maxstack 2 .locals init ( @@ -2007,11 +2521,11 @@ IL_0015: ret } // end of method ZipFileSetEnumerator::.ctor - // method line 79 + // method line 101 .method public hidebysig specialname instance default class NAnt.Compression.Types.ZipFileSet get_Current () cil managed { - // Method begins at RVA 0x3af8 + // Method begins at RVA 0x3dc4 // Code size 25 (0x19) .maxstack 1 .locals init ( @@ -2028,11 +2542,11 @@ IL_0018: ret } // end of method ZipFileSetEnumerator::get_Current - // method line 80 + // method line 102 .method private final virtual hidebysig newslot specialname instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x3b20 + // Method begins at RVA 0x3dec .override class [mscorlib]System.Collections.IEnumerator::get_Current // Code size 20 (0x14) .maxstack 1 @@ -2049,11 +2563,11 @@ IL_0013: ret } // end of method ZipFileSetEnumerator::System.Collections.IEnumerator.get_Current - // method line 81 + // method line 103 .method public hidebysig instance default bool MoveNext () cil managed { - // Method begins at RVA 0x3b40 + // Method begins at RVA 0x3e0c // Code size 20 (0x14) .maxstack 1 .locals init ( @@ -2069,11 +2583,11 @@ IL_0013: ret } // end of method ZipFileSetEnumerator::MoveNext - // method line 82 + // method line 104 .method private final virtual hidebysig newslot instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x3b60 + // Method begins at RVA 0x3e2c .override class [mscorlib]System.Collections.IEnumerator::MoveNext // Code size 20 (0x14) .maxstack 1 @@ -2090,11 +2604,11 @@ IL_0013: ret } // end of method ZipFileSetEnumerator::System.Collections.IEnumerator.MoveNext - // method line 83 + // method line 105 .method public hidebysig instance default void Reset () cil managed { - // Method begins at RVA 0x3b80 + // Method begins at RVA 0x3e4c // Code size 13 (0xd) .maxstack 8 IL_0000: nop @@ -2104,11 +2618,11 @@ IL_000c: ret } // end of method ZipFileSetEnumerator::Reset - // method line 84 + // method line 106 .method private final virtual hidebysig newslot instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x3b8e + // Method begins at RVA 0x3e5a .override class [mscorlib]System.Collections.IEnumerator::Reset // Code size 13 (0xd) .maxstack 8 @@ -2132,6 +2646,86 @@ .namespace NAnt.Compression.Types { + .class public auto ansi sealed DuplicateHandling + extends [mscorlib]System.Enum + { + .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 +} + +.namespace NAnt.Compression.Types +{ + .class private auto ansi beforefieldinit DuplicateHandlingConverter + extends [System]System.ComponentModel.EnumConverter + { + + // method line 107 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x3e68 + // Code size 18 (0x12) + .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 + + // method line 108 + .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 0x3e7c + // 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 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 { @@ -2147,11 +2741,11 @@ .field private static literal int32 _dirFlag = int32(0x00004000) .field private static literal int32 _fileFlag = int32(0x00008000) - // method line 85 + // method line 109 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3b9c + // Method begins at RVA 0x3eba // Code size 29 (0x1d) .maxstack 8 IL_0000: ldarg.0 @@ -2165,11 +2759,11 @@ IL_001c: ret } // end of method TarFileSet::.ctor - // method line 86 + // method line 110 .method public hidebysig specialname instance default int32 get_FileMode () cil managed { - // Method begins at RVA 0x3bbc + // Method begins at RVA 0x3ed8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -2184,11 +2778,11 @@ IL_000e: ret } // end of method TarFileSet::get_FileMode - // method line 87 + // method line 111 .method public hidebysig specialname instance default void set_FileMode (int32 'value') cil managed { - // Method begins at RVA 0x3bd7 + // Method begins at RVA 0x3ef3 // Code size 26 (0x1a) .maxstack 8 IL_0000: nop @@ -2203,11 +2797,11 @@ IL_0019: ret } // end of method TarFileSet::set_FileMode - // method line 88 + // method line 112 .method public hidebysig specialname instance default int32 get_DirMode () cil managed { - // Method begins at RVA 0x3bf4 + // Method begins at RVA 0x3f10 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -2222,11 +2816,11 @@ IL_000e: ret } // end of method TarFileSet::get_DirMode - // method line 89 + // method line 113 .method public hidebysig specialname instance default void set_DirMode (int32 'value') cil managed { - // Method begins at RVA 0x3c0f + // Method begins at RVA 0x3f2b // Code size 26 (0x1a) .maxstack 8 IL_0000: nop @@ -2241,11 +2835,11 @@ IL_0019: ret } // end of method TarFileSet::set_DirMode - // method line 90 + // method line 114 .method public hidebysig specialname instance default string get_UserName () cil managed { - // Method begins at RVA 0x3c2c + // Method begins at RVA 0x3f48 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -2260,11 +2854,11 @@ IL_000e: ret } // end of method TarFileSet::get_UserName - // method line 91 + // method line 115 .method public hidebysig specialname instance default void set_UserName (string 'value') cil managed { - // Method begins at RVA 0x3c47 + // Method begins at RVA 0x3f63 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -2275,11 +2869,11 @@ IL_000d: ret } // end of method TarFileSet::set_UserName - // method line 92 + // method line 116 .method public hidebysig specialname instance default int32 get_Uid () cil managed { - // Method begins at RVA 0x3c58 + // Method begins at RVA 0x3f74 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -2294,11 +2888,11 @@ IL_000e: ret } // end of method TarFileSet::get_Uid - // method line 93 + // method line 117 .method public hidebysig specialname instance default void set_Uid (int32 'value') cil managed { - // Method begins at RVA 0x3c73 + // Method begins at RVA 0x3f8f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -2308,11 +2902,11 @@ IL_0008: ret } // end of method TarFileSet::set_Uid - // method line 94 + // method line 118 .method public hidebysig specialname instance default string get_GroupName () cil managed { - // Method begins at RVA 0x3c80 + // Method begins at RVA 0x3f9c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -2327,11 +2921,11 @@ IL_000e: ret } // end of method TarFileSet::get_GroupName - // method line 95 + // method line 119 .method public hidebysig specialname instance default void set_GroupName (string 'value') cil managed { - // Method begins at RVA 0x3c9b + // Method begins at RVA 0x3fb7 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -2342,11 +2936,11 @@ IL_000d: ret } // end of method TarFileSet::set_GroupName - // method line 96 + // method line 120 .method public hidebysig specialname instance default int32 get_Gid () cil managed { - // Method begins at RVA 0x3cac + // Method begins at RVA 0x3fc8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -2361,11 +2955,11 @@ IL_000e: ret } // end of method TarFileSet::get_Gid - // method line 97 + // method line 121 .method public hidebysig specialname instance default void set_Gid (int32 'value') cil managed { - // Method begins at RVA 0x3cc7 + // Method begins at RVA 0x3fe3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -2375,11 +2969,11 @@ IL_0008: ret } // end of method TarFileSet::set_Gid - // method line 98 + // method line 122 .method public hidebysig specialname instance default string get_Prefix () cil managed { - // Method begins at RVA 0x3cd4 + // Method begins at RVA 0x3ff0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -2394,11 +2988,11 @@ IL_000e: ret } // end of method TarFileSet::get_Prefix - // method line 99 + // method line 123 .method public hidebysig specialname instance default void set_Prefix (string 'value') cil managed { - // Method begins at RVA 0x3cf0 + // Method begins at RVA 0x400c // Code size 91 (0x5b) .maxstack 3 IL_0000: nop @@ -2487,600 +3081,6 @@ .namespace NAnt.Compression.Types { - .class public auto ansi serializable beforefieldinit TarFileSetCollection - 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 100 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x3d57 - // 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 TarFileSetCollection::.ctor - - // method line 101 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection 'value') cil managed - { - // Method begins at RVA 0x3d60 - // 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) - IL_000e: ret - } // end of method TarFileSetCollection::.ctor - - // method line 102 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.TarFileSet[] 'value') cil managed - { - // Method begins at RVA 0x3d70 - // 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.TarFileSet[]) - IL_000e: ret - } // end of method TarFileSetCollection::.ctor - - // method line 103 - .method public hidebysig specialname - instance default class NAnt.Compression.Types.TarFileSet get_Item (int32 index) cil managed - { - // Method begins at RVA 0x3d80 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class NAnt.Compression.Types.TarFileSet 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_0018: ldloc.0 - IL_0019: ret - } // end of method TarFileSetCollection::get_Item - - // method line 104 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Compression.Types.TarFileSet 'value') cil managed - { - // Method begins at RVA 0x3da6 - // 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 105 - .method public hidebysig specialname - instance default int32 get_FileCount () cil managed - { - // Method begins at RVA 0x3db8 - // 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_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_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_005d: ldloc.s 4 - IL_005f: ret - } // end of method TarFileSetCollection::get_FileCount - - // method line 106 - .method public hidebysig - instance default int32 Add (class NAnt.Compression.Types.TarFileSet item) cil managed - { - // Method begins at RVA 0x3e34 - // 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 TarFileSetCollection::Add - - // method line 107 - .method public hidebysig - instance default void AddRange (class NAnt.Compression.Types.TarFileSet[] items) cil managed - { - // Method begins at RVA 0x3e58 - // 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.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_0021: ret - } // end of method TarFileSetCollection::AddRange - - // method line 108 - .method public hidebysig - instance default void AddRange (class NAnt.Compression.Types.TarFileSetCollection items) cil managed - { - // Method begins at RVA 0x3e88 - // 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.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 - - IL_0028: ret - } // end of method TarFileSetCollection::AddRange - - // method line 109 - .method public hidebysig - instance default bool Contains (class NAnt.Compression.Types.TarFileSet item) cil managed - { - // Method begins at RVA 0x3ec0 - // 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 TarFileSetCollection::Contains - - // method line 110 - .method public hidebysig - instance default void CopyTo (class NAnt.Compression.Types.TarFileSet[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x3ee1 - // 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 TarFileSetCollection::CopyTo - - // method line 111 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Compression.Types.TarFileSet item) cil managed - { - // Method begins at RVA 0x3ef4 - // 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 TarFileSetCollection::IndexOf - - // method line 112 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Compression.Types.TarFileSet item) cil managed - { - // Method begins at RVA 0x3f15 - // 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 TarFileSetCollection::Insert - - // method line 113 - .method public hidebysig - instance default class NAnt.Compression.Types.TarFileSetEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x3f28 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Compression.Types.TarFileSetEnumerator 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_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TarFileSetCollection::GetEnumerator - - // method line 114 - .method public hidebysig - instance default void Remove (class NAnt.Compression.Types.TarFileSet item) cil managed - { - // Method begins at RVA 0x3f43 - // 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 TarFileSetCollection::Remove - - .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 115 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection TarFileSets) cil managed - { - // Method begins at RVA 0x3f54 - // 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.TarFileSetEnumerator::_baseEnumerator - IL_0015: ret - } // end of method TarFileSetEnumerator::.ctor - - // method line 116 - .method public hidebysig specialname - instance default class NAnt.Compression.Types.TarFileSet get_Current () cil managed - { - // Method begins at RVA 0x3f78 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Compression.Types.TarFileSet 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_0017: ldloc.0 - IL_0018: ret - } // end of method TarFileSetEnumerator::get_Current - - // method line 117 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x3fa0 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // 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.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 - - // method line 118 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x3fc0 - // 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.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::MoveNext - - // method line 119 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x3fe0 - .override class [mscorlib]System.Collections.IEnumerator::MoveNext - // 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.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 - - // method line 120 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x4000 - // 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 - - // method line 121 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x400e - .override class [mscorlib]System.Collections.IEnumerator::Reset - // 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 - - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Compression.Types.TarFileSetEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Compression.Types.TarFileSet Current () - { - .get instance default class NAnt.Compression.Types.TarFileSet NAnt.Compression.Types.TarFileSetEnumerator::get_Current () - } - } // end of class NAnt.Compression.Types.TarFileSetEnumerator -} - -.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.. - - .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) - - } // end of class NAnt.Compression.Types.TarCompressionMethod -} - -.namespace NAnt.Compression.Types -{ - .class private auto ansi beforefieldinit TarCompressionMethodConverter - extends [System]System.ComponentModel.EnumConverter - { - - // method line 122 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x401c - // 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 123 - .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 0x4030 - // 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 ZipFileSet extends [NAnt.Core]NAnt.Core.Types.FileSet { @@ -3092,7 +3092,7 @@ .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x406e + // Method begins at RVA 0x4073 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -3104,7 +3104,7 @@ .method public hidebysig specialname instance default string get_Prefix () cil managed { - // Method begins at RVA 0x4078 + // Method begins at RVA 0x407c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -3123,7 +3123,7 @@ .method public hidebysig specialname instance default void set_Prefix (string 'value') cil managed { - // Method begins at RVA 0x4094 + // Method begins at RVA 0x4098 // Code size 91 (0x5b) .maxstack 3 IL_0000: nop /usr/share/NAnt/bin/NAnt.CompressionTasks.xml differs (XML 1.0 document, ASCII 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,89 +4,131 @@ NAnt.CompressionTasks - + - Creates a zip file from the specified filesets. + Extracts files from a tar archive. Uses #ziplib - (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#. + (SharpZipLib), an open source Zip/GZip library written entirely in C#. - - Zip all files in ${build.dir} and ${doc.dir} into a file - called "backup.zip". - + Extracts all files from a gzipped tar, preserving the directory structure. - - - - - - - + ]]> - + - The zip file to create. + The archive file to expand. - + - The comment for the file. + The directory where to store the expanded file(s). The default is + the project base directory. - + - Date/time stamp for the files in the format MM/DD/YYYY HH:MM:SS. + The compression method. The default is . - + - Desired level of compression. Possible values are 0 (STORE only) - to 9 (highest). The default is 6. + Extracts the files from the archive. - + - Include empty directories in the generated zip file. The default is + Expands a file packed using GZip compression. + + + Expands "test.tar.gz" to "test2.tar". + + + ]]> + + + + + + The file to expand. + + + + + The destination file. + + + + + Extracts the file from the gzip archive. + + + + + Creates a tar file from the specified filesets. + + + Uses #ziplib (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#. + + + + Tar all files in ${build.dir} and ${doc.dir} into a file + called "backup.tar.gz", and apply gzip compression to it. + + + + + + + + + + + ]]> + + + + + + The tar file to create. + + + + + Include empty directories in the generated tar file. The default is . - + Ignore directory structure of source directory, compress all files into a single directory. The default value is . - + The set of files to be included in the archive. - - - Specifies the behaviour when a duplicate file is found. The default - is . - - - + - The character encoding to use for filenames and comment inside the - zip file. The default is the system's OEM code page. + The compression method. The default is . - + - Creates the zip file. + Creates the tar file. @@ -132,103 +174,89 @@ The destination directory for the entry could not be created. - + - Extracts files from a tar archive. + Creates a zip file from the specified filesets. Uses #ziplib - (SharpZipLib), an open source Zip/GZip library written entirely in C#. + (SharpZipLib), an open source Tar/Zip/GZip library written entirely in C#. - Extracts all files from a gzipped tar, preserving the directory structure. + + Zip all files in ${build.dir} and ${doc.dir} into a file + called "backup.zip". + + 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) @@ -8,16 +8,16 @@ .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 log4net { .ver 1:2:10:0 .publickeytoken = (1B 44 E1 D4 26 11 58 21 ) // .D..&.X! } +.assembly extern System +{ + .ver 4:0:0:0 + .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. +} .assembly extern System.Web { .ver 4:0:0:0 @@ -74,22458 +74,22508 @@ .module NAnt.Core.dll // GUID = { 42 } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit AssemblyNameFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi sealed beforefieldinit DateTimeValidatorAttribute + extends NAnt.Core.Attributes.ValidatorAttribute { - .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.. + .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' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2085 - // Code size 10 (0xa) + // Method begins at RVA 0x2058 + // Code size 8 (0x8) .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 + IL_0001: call instance void class NAnt.Core.Attributes.ValidatorAttribute::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method DateTimeValidatorAttribute::.ctor // method line 2 - .method public static hidebysig - default string GetCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + .method public virtual hidebysig + instance default void Validate (object 'value') 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 0x2090 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2064 + // Code size 56 (0x38) + .maxstack 3 .locals init ( - string V_0) + class [mscorlib]System.Exception 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 + .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 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. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetCodeBase // method line 3 - .method public static hidebysig - default string GetEscapedCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () 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 0x20b8 + // 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 begins at RVA 0x20ac - // Code size 15 (0xf) - .maxstack 1 + // method line 4 + .method public virtual hidebysig + instance default void Validate (object 'value') cil managed + { + // Method begins at RVA 0x20c4 + // Code size 56 (0x38) + .maxstack 3 .locals init ( - string V_0) + class [mscorlib]System.Exception V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_EscapedCodeBase() - IL_0007: stloc.0 - IL_0008: br IL_000d + .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_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetEscapedCodeBase + } // 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 4 - .method public static hidebysig - default string GetFullName (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 66 75 6C 6C 2D 6E 61 6D 65 // ...get-full-name - 00 00 ) // .. + } // end of class NAnt.Core.Attributes.BooleanValidatorAttribute +} - // 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: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() - IL_0007: stloc.0 - IL_0008: br IL_000d +.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. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetFullName + .field private string _name + .field private bool _required + .field private bool _processXml // method line 5 - .method public static hidebysig - default string GetName (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (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.. - - // Method begins at RVA 0x20e4 - // 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_Name() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetName + // Method begins at RVA 0x2118 + // 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 6 - .method public static hidebysig - default class [mscorlib]System.Version GetVersion (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + .method public hidebysig specialname + instance default string get_Name () 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 0x2100 + // Method begins at RVA 0x2130 // Code size 15 (0xf) .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.Reflection.AssemblyName::get_Version() + 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 AssemblyNameFunctions::GetVersion + } // end of method BuildElementAttribute::get_Name // method line 7 - .method public hidebysig - instance default class [mscorlib]System.Reflection.AssemblyName GetAssemblyName (string assemblyFile) cil managed + .method public hidebysig specialname + instance default void set_Name (string 'value') 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 0x211c - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class [mscorlib]System.Reflection.AssemblyName V_0) + // Method begins at RVA 0x214c + // Code size 66 (0x42) + .maxstack 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: 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 -} + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit VersionFunctions - 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 07 56 65 72 73 69 // ...version.Versi - 6F 6E 00 00 ) // on.. + 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 // method line 8 - .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 0x2142 - // 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 VersionFunctions::.ctor - - // method line 9 - .method public static hidebysig - default int32 GetMajor (class [mscorlib]System.Version version) cil managed + .method public hidebysig specialname + instance default bool get_Required () 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 0x2150 + // Method begins at RVA 0x219c // 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_Major() + IL_0002: ldfld bool NAnt.Core.Attributes.BuildElementAttribute::_required IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VersionFunctions::GetMajor + } // end of method BuildElementAttribute::get_Required - // method line 10 - .method public static hidebysig - default int32 GetMinor (class [mscorlib]System.Version version) cil managed + // method line 9 + .method public hidebysig specialname + instance default void set_Required (bool '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 0x216c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0x21b7 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - 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 VersionFunctions::GetMinor + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.BuildElementAttribute::_required + IL_0008: ret + } // end of method BuildElementAttribute::set_Required - // method line 11 - .method public static hidebysig - default int32 GetBuild (class [mscorlib]System.Version version) cil managed + // method line 10 + .method public hidebysig specialname + instance default bool get_ProcessXml () 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 0x2188 + // Method begins at RVA 0x21c4 // 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_Build() + IL_0002: ldfld bool NAnt.Core.Attributes.BuildElementAttribute::_processXml IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VersionFunctions::GetBuild + } // end of method BuildElementAttribute::get_ProcessXml - // method line 12 - .method public static hidebysig - default int32 GetRevision (class [mscorlib]System.Version version) cil managed + // method line 11 + .method public hidebysig specialname + instance default void set_ProcessXml (bool '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 0x21a4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0x21df + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - 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 VersionFunctions::GetRevision + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.BuildElementAttribute::_processXml + IL_0008: ret + } // end of method BuildElementAttribute::set_ProcessXml - } // end of class NAnt.Core.Functions.VersionFunctions + .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 } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit VersionConversionFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi beforefieldinit BuildElementArrayAttribute + extends NAnt.Core.Attributes.BuildElementAttribute { - .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.. + .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 13 + // method line 12 .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' (string name) cil managed { - // Method begins at RVA 0x21bf - // Code size 10 (0xa) + // Method begins at RVA 0x21e9 + // 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 + 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 14 - .method public static hidebysig - default class [mscorlib]System.Version Parse (string version) cil managed + // method line 13 + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_ElementType () 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 0x21cc + // Method begins at RVA 0x21f4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Version V_0) + class [mscorlib]System.Type V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class [mscorlib]System.Version::'.ctor'(string) + IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Attributes.BuildElementArrayAttribute::_elementType IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method VersionConversionFunctions::Parse + } // end of method BuildElementArrayAttribute::get_ElementType - // method line 15 - .method public static hidebysig - default string ToString (class [mscorlib]System.Version 'value') cil managed + // method line 14 + .method public hidebysig specialname + instance default void set_ElementType (class [mscorlib]System.Type '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 0x21e8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x220f + // Code size 33 (0x21) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string object::ToString() - IL_0007: stloc.0 - IL_0008: br IL_000d + 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: ldloc.0 - IL_000e: ret - } // end of method VersionConversionFunctions::ToString + 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 - } // end of class NAnt.Core.Functions.VersionConversionFunctions + .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.Functions +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit TimeSpanFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi sealed beforefieldinit FrameworkConfigurableAttribute + extends [mscorlib]System.Attribute { - .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.. + .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 16 + // method line 15 .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' (string name) cil managed { - // Method begins at RVA 0x2203 - // Code size 10 (0xa) + // Method begins at RVA 0x2231 + // 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 TimeSpanFunctions::.ctor - - // method line 17 - .method public static hidebysig - default float64 GetTotalDays (valuetype [mscorlib]System.TimeSpan 'value') 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 0x2210 - // 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_TotalDays() - IL_0008: stloc.0 - IL_0009: br IL_000e - - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalDays - - // method line 18 - .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.. - - // Method begins at RVA 0x222c - // 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_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalHours + 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 - // method line 19 - .method public static hidebysig - default float64 GetTotalMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 16 + .method public hidebysig specialname + instance default string get_Name () 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.. - // Method begins at RVA 0x2248 - // Code size 16 (0x10) + // Code size 15 (0xf) .maxstack 1 .locals init ( - float64 V_0) + string 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_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Attributes.FrameworkConfigurableAttribute::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalMinutes + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkConfigurableAttribute::get_Name - // method line 20 - .method public static hidebysig - default float64 GetTotalSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 17 + .method public hidebysig specialname + instance default void set_Name (string '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.. - // Method begins at RVA 0x2264 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - float64 V_0) + // Code size 66 (0x42) + .maxstack 3 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_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalSeconds - - // method line 21 - .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.. + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - // Method begins at RVA 0x2280 - // 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_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_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalMilliseconds + 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 22 - .method public static hidebysig - default int32 GetDays (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 18 + .method public hidebysig specialname + instance default bool get_Required () 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.. - - // Method begins at RVA 0x229c - // Code size 16 (0x10) + // Method begins at RVA 0x22b4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool 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_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_required + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetDays + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkConfigurableAttribute::get_Required - // method line 23 - .method public static hidebysig - default int32 GetHours (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 19 + .method public hidebysig specialname + instance default void set_Required (bool '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.. - - // Method begins at RVA 0x22b8 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0x22cf + // Code size 9 (0x9) + .maxstack 8 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_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetHours + 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 24 - .method public static hidebysig - default int32 GetMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 20 + .method public hidebysig specialname + instance default bool get_ExpandProperties () 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.. - - // Method begins at RVA 0x22d4 - // Code size 16 (0x10) + // Method begins at RVA 0x22dc + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool 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_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_expandProperties + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetMinutes + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkConfigurableAttribute::get_ExpandProperties - // method line 25 - .method public static hidebysig - default int32 GetSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 21 + .method public hidebysig specialname + instance default void set_ExpandProperties (bool '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.. - - // Method begins at RVA 0x22f0 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0x22f7 + // Code size 9 (0x9) + .maxstack 8 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_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetSeconds + 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 - // method line 26 - .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.. + .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 begins at RVA 0x230c - // 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.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_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetMilliseconds + .field private string _name + .field private bool _required + .field private bool _expandProperties + .field private bool _processXml - // method line 27 - .method public static hidebysig - default int64 GetTicks (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 22 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (string name) 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 0x2328 - // 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 - - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTicks + // Method begins at RVA 0x2301 + // 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 - // method line 28 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromDays (float64 'value') cil managed + // method line 23 + .method public hidebysig specialname + instance default string get_Name () 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 0x2344 + // Method begins at RVA 0x2320 // 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::FromDays(float64) + 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 TimeSpanFunctions::FromDays + } // end of method BuildAttributeAttribute::get_Name - // method line 29 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromHours (float64 'value') cil managed + // method line 24 + .method public hidebysig specialname + instance default void set_Name (string '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.. - - // Method begins at RVA 0x2360 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + // Method begins at RVA 0x233c + // Code size 66 (0x42) + .maxstack 3 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_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromHours + 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 - // method line 30 - .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 ) // . + 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 begins at RVA 0x237c + // method line 25 + .method public hidebysig specialname + instance default bool get_Required () cil managed + { + // Method begins at RVA 0x238c // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMinutes(float64) + 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 TimeSpanFunctions::FromMinutes + } // end of method BuildAttributeAttribute::get_Required - // method line 31 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromSeconds (float64 'value') cil managed + // method line 26 + .method public hidebysig specialname + instance default void set_Required (bool '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 ) // . - - // Method begins at RVA 0x2398 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + // Method begins at RVA 0x23a7 + // Code size 9 (0x9) + .maxstack 8 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 - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromSeconds + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_required + IL_0008: ret + } // end of method BuildAttributeAttribute::set_Required - // method line 32 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromMilliseconds (float64 'value') cil managed + // method line 27 + .method public hidebysig specialname + instance default bool get_ExpandProperties () 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.. - // Method begins at RVA 0x23b4 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMilliseconds(float64) + 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 TimeSpanFunctions::FromMilliseconds + } // end of method BuildAttributeAttribute::get_ExpandProperties - // method line 33 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromTicks (int64 'value') cil managed + // method line 28 + .method public hidebysig specialname + instance default void set_ExpandProperties (bool '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.. + // Method begins at RVA 0x23cf + // 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 begins at RVA 0x23d0 + // method line 29 + .method public hidebysig specialname + instance default bool get_ProcessXml () cil managed + { + // Method begins at RVA 0x23dc // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromTicks(int64) + 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 TimeSpanFunctions::FromTicks + } // end of method BuildAttributeAttribute::get_ProcessXml - } // end of class NAnt.Core.Functions.TimeSpanFunctions + // method line 30 + .method public hidebysig specialname + instance default void set_ProcessXml (bool 'value') cil managed + { + // Method begins at RVA 0x23f7 + // 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_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.Functions +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit TimeSpanConversionFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi abstract beforefieldinit ValidatorAttribute + extends [mscorlib]System.Attribute { - .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.. + .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 34 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 31 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x23eb - // Code size 10 (0xa) + // Method begins at RVA 0x2050 + // 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 TimeSpanConversionFunctions::.ctor + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: ret + } // end of method ValidatorAttribute::.ctor - // method line 35 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan Parse (string s) cil managed + // method line 32 + .method public virtual hidebysig newslot abstract + instance default void Validate (object 'value') 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 0x0 + } // end of method ValidatorAttribute::Validate + + } // end of class NAnt.Core.Attributes.ValidatorAttribute +} + +.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 + + // method line 33 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name) cil managed + { + // Method begins at RVA 0x2404 + // 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_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_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 begins at RVA 0x23f8 + // method line 34 + .method public hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x2454 // 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.Attributes.FunctionAttribute::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TimeSpanConversionFunctions::Parse + } // end of method FunctionAttribute::get_Name - // method line 36 - .method public static hidebysig - default string ToString (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 35 + .method public hidebysig specialname + instance default void set_Name (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.. - - // Method begins at RVA 0x2414 - // Code size 22 (0x16) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x246f + // Code size 9 (0x9) + .maxstack 8 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_0014: ldloc.0 - IL_0015: ret - } // end of method TimeSpanConversionFunctions::ToString + 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 - } // end of class NAnt.Core.Functions.TimeSpanConversionFunctions + .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.Functions +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit AssemblyFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi sealed beforefieldinit Int32ValidatorAttribute + extends NAnt.Core.Attributes.ValidatorAttribute { - .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.. + .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 37 + // method line 36 .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 0x2436 - // Code size 10 (0xa) + // Method begins at RVA 0x2479 + // Code size 38 (0x26) .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 + 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 38 - .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly LoadFromFile (string assemblyFile) cil managed + // method line 37 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 minValue, int32 maxValue) 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 0x2444 - // 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_0018: ldloc.0 - IL_0019: ret - } // end of method AssemblyFunctions::LoadFromFile + // Method begins at RVA 0x24a0 + // 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 39 - .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly Load (string assemblyString) cil managed + // method line 38 + .method public hidebysig specialname + instance default int32 get_MinValue () 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 0x246c + // Method begins at RVA 0x24d8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0) + int32 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_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_minValue IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyFunctions::Load + } // end of method Int32ValidatorAttribute::get_MinValue - // method line 40 - .method public static hidebysig - default string GetFullName (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + // method line 39 + .method public hidebysig specialname + instance default void set_MinValue (int32 '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 0x24f3 + // 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_0008: ret + } // end of method Int32ValidatorAttribute::set_MinValue - // Method begins at RVA 0x2488 + // method line 40 + .method public hidebysig specialname + instance default int32 get_MaxValue () cil managed + { + // Method begins at RVA 0x2500 // 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 class [mscorlib]System.Reflection.Assembly::get_FullName() + IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AssemblyFunctions::GetFullName + } // end of method Int32ValidatorAttribute::get_MaxValue // method line 41 - .method public static hidebysig - default class [mscorlib]System.Reflection.AssemblyName GetName (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + .method public hidebysig specialname + instance default void set_MaxValue (int32 'value') 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 0x24a4 - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - class [mscorlib]System.Reflection.AssemblyName V_0) + // Method begins at RVA 0x251b + // Code size 9 (0x9) + .maxstack 8 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_000e: ldloc.0 - IL_000f: ret - } // end of method AssemblyFunctions::GetName + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue + IL_0008: ret + } // end of method Int32ValidatorAttribute::set_MaxValue // method line 42 - .method public static hidebysig - default string GetLocation (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + .method public hidebysig specialname + instance default int32 get_Base () 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 0x24c0 + // Method begins at RVA 0x2528 // 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 class [mscorlib]System.Reflection.Assembly::get_Location() + IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base 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 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.. - + } // end of method Int32ValidatorAttribute::get_Base // method line 43 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + .method public hidebysig specialname + instance default void set_Base (int32 'value') cil managed { - // Method begins at RVA 0x24db - // Code size 10 (0xa) + // Method begins at RVA 0x2543 + // 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 DnsFunctions::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base + IL_0008: ret + } // end of method Int32ValidatorAttribute::set_Base // method line 44 - .method public static hidebysig - default string GetHostName () cil managed + .method public virtual hidebysig + instance default void Validate (object 'value') 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 0x24e8 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x2550 + // Code size 173 (0xad) + .maxstack 5 .locals init ( - string V_0) + int32 V_0, + class [mscorlib]System.Exception V_1) IL_0000: nop - IL_0001: call string class [System]System.Net.Dns::GetHostName() - IL_0006: stloc.0 - IL_0007: br IL_000c + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: isinst [mscorlib]System.String + IL_0008: brfalse IL_0026 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method DnsFunctions::GetHostName + 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 - } // end of class NAnt.Core.Functions.DnsFunctions + 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 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.Functions +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit FileFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi sealed beforefieldinit TaskNameAttribute + extends NAnt.Core.Attributes.ElementNameAttribute { - .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.. + .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. // method line 45 .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' (string name) cil managed { - // Method begins at RVA 0x2502 - // Code size 10 (0xa) + // Method begins at RVA 0x2696 + // 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 FileFunctions::.ctor + 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 46 - .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.. + } // end of class NAnt.Core.Attributes.TaskNameAttribute +} - // Method begins at RVA 0x2510 - // 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 +.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. - 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 + .field private bool _allowEmpty + .field private string _expression + .field private string _expressionErrorMessage - IL_003c: ldloc.1 - IL_003d: ret - } // end of method FileFunctions::GetCreationTime + // method line 46 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x26a0 + // Code size 15 (0xf) + .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 // method line 47 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed + .method public hidebysig specialname + instance default bool get_AllowEmpty () 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 0x255c - // Code size 62 (0x3e) - .maxstack 3 + // Method begins at RVA 0x26b0 + // Code size 15 (0xf) + .maxstack 1 .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_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 bool NAnt.Core.Attributes.StringValidatorAttribute::_allowEmpty + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_003c: ldloc.1 - IL_003d: ret - } // end of method FileFunctions::GetLastWriteTime + IL_000d: ldloc.0 + IL_000e: ret + } // end of method StringValidatorAttribute::get_AllowEmpty // method line 48 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed + .method public hidebysig specialname + instance default void set_AllowEmpty (bool '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 0x25a8 - // Code size 62 (0x3e) - .maxstack 3 - .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + // Method begins at RVA 0x26cb + // 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.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_003c: ldloc.1 - IL_003d: ret - } // end of method FileFunctions::GetLastAccessTime + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Attributes.StringValidatorAttribute::_allowEmpty + IL_0008: ret + } // end of method StringValidatorAttribute::set_AllowEmpty // method line 49 - .method public hidebysig - instance default bool Exists (string file) cil managed + .method public hidebysig specialname + instance default string get_Expression () 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 0x25f4 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x26d8 + // 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: 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 string NAnt.Core.Attributes.StringValidatorAttribute::_expression + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method FileFunctions::Exists + IL_000d: ldloc.0 + IL_000e: ret + } // end of method StringValidatorAttribute::get_Expression // method line 50 - .method public hidebysig - instance default bool UpToDate (string srcFile, string targetFile) cil managed + .method public hidebysig specialname + instance default void set_Expression (string 'value') 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 0x261c - // 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) + // Method begins at RVA 0x26f3 + // 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: 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_0026: nop - IL_0027: ldc.i4.0 - IL_0028: stloc.2 - IL_0029: br IL_0049 - - 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_0049: ldloc.2 - IL_004a: ret - } // end of method FileFunctions::UpToDate + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Attributes.StringValidatorAttribute::_expression + IL_0008: ret + } // end of method StringValidatorAttribute::set_Expression // method line 51 - .method public hidebysig - instance default int64 GetLength (string file) cil managed + .method public hidebysig specialname + instance default string get_ExpressionErrorMessage () 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 0x2674 - // Code size 33 (0x21) - .maxstack 2 + // Method begins at RVA 0x2700 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0, - int64 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: 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 string NAnt.Core.Attributes.StringValidatorAttribute::_expressionErrorMessage + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001f: ldloc.1 - IL_0020: ret - } // end of method FileFunctions::GetLength + IL_000d: ldloc.0 + IL_000e: ret + } // end of method StringValidatorAttribute::get_ExpressionErrorMessage // method line 52 - .method public hidebysig - instance default bool IsAssembly (string assemblyFile) cil managed + .method public hidebysig specialname + instance default void set_ExpressionErrorMessage (string 'value') 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 0x271b + // 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 begins at RVA 0x26a4 - // Code size 47 (0x2f) - .maxstack 2 + // method line 53 + .method public virtual hidebysig + instance default void Validate (object 'value') cil managed + { + // Method begins at RVA 0x2728 + // 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 .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 + 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.IO.FileLoadException { // 0 - IL_001b: pop - IL_001c: nop - IL_001d: ldc.i4.0 - IL_001e: stloc.0 - IL_001f: leave IL_002d - + 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 - 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 + IL_0037: ldloc.0 + IL_0038: call bool string::IsNullOrEmpty(string) + IL_003d: brfalse IL_005f - } // end handler 1 - IL_002d: ldloc.0 - IL_002e: ret - } // end of method FileFunctions::IsAssembly + IL_0042: nop + IL_0043: ldarg.0 + IL_0044: call instance bool class NAnt.Core.Attributes.StringValidatorAttribute::get_AllowEmpty() + IL_0049: brtrue IL_005a - } // end of class NAnt.Core.Functions.FileFunctions + 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 } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit DirectoryFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi sealed beforefieldinit FunctionSetAttribute + extends [mscorlib]System.Attribute { - .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 [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 53 + // method line 54 .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' (string prefix, string category) cil managed { - // Method begins at RVA 0x26fc - // Code size 10 (0xa) - .maxstack 8 + // Method begins at RVA 0x2810 + // Code size 126 (0x7e) + .maxstack 3 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: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: brtrue IL_0019 - // method line 54 - .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_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 - // Method begins at RVA 0x2708 - // 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_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_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_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_003c: ldloc.1 - IL_003d: ret - } // end of method DirectoryFunctions::GetCreationTime + 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 55 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed + .method public hidebysig specialname + instance default string get_Category () 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 0x2754 - // Code size 62 (0x3e) - .maxstack 3 + // Method begins at RVA 0x289c + // 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.Attributes.FunctionSetAttribute::_category + 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 FunctionSetAttribute::get_Category // method line 56 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed + .method public hidebysig specialname + instance default void set_Category (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 0x27a0 - // Code size 62 (0x3e) - .maxstack 3 - .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + // Method begins at RVA 0x28b7 + // 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.Attributes.FunctionSetAttribute::_category + IL_0008: ret + } // end of method FunctionSetAttribute::set_Category // method line 57 - .method public static hidebysig - default string GetCurrentDirectory () cil managed + .method public hidebysig specialname + instance default string get_Prefix () 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 0x27ec - // Code size 14 (0xe) + // Method begins at RVA 0x28c4 + // Code size 15 (0xf) .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_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Attributes.FunctionSetAttribute::_prefix + 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 FunctionSetAttribute::get_Prefix // method line 58 - .method public hidebysig - instance default string GetParentDirectory (string path) cil managed + .method public hidebysig specialname + instance default void set_Prefix (string 'value') 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 0x2808 - // 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) + // Method begins at RVA 0x28df + // 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: 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_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Attributes.FunctionSetAttribute::_prefix + IL_0008: ret + } // end of method FunctionSetAttribute::set_Prefix - IL_0020: ldloc.1 - IL_0021: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0026: br IL_0030 + .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_002b: ldsfld string [mscorlib]System.String::Empty - IL_0030: stloc.2 - IL_0031: br IL_0036 +.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. - IL_0036: ldloc.2 - IL_0037: ret - } // end of method DirectoryFunctions::GetParentDirectory + .field private string _elementName // method line 59 - .method public hidebysig - instance default string GetDirectoryRoot (string path) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string collectionName, string childName) 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.. + // Method begins at RVA 0x28ec + // 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 - // Method begins at RVA 0x284c - // 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_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_001f: ldloc.1 - IL_0020: ret - } // end of method DirectoryFunctions::GetDirectoryRoot + 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 60 - .method public hidebysig - instance default bool Exists (string path) cil managed + .method public hidebysig specialname + instance default string get_ChildElementName () 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 0x287c - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x2944 + // 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: 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_0002: ldfld string NAnt.Core.Attributes.BuildElementCollectionAttribute::_elementName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method DirectoryFunctions::Exists + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BuildElementCollectionAttribute::get_ChildElementName + + .property instance string ChildElementName () + { + .get instance default string NAnt.Core.Attributes.BuildElementCollectionAttribute::get_ChildElementName () + } + } // end of class NAnt.Core.Attributes.BuildElementCollectionAttribute +} + +.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 61 - .method public hidebysig - instance default string GetName (string path) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (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.. + // Method begins at RVA 0x261c + // 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 begins at RVA 0x28a4 - // Code size 20 (0x14) + // method line 62 + .method public hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x262c + // 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 63 + .method public hidebysig specialname + instance default void set_Name (string 'value') cil managed + { + // Method begins at RVA 0x2648 + // Code size 66 (0x42) + .maxstack 3 + 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 + IL_0002: brtrue IL_0013 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DirectoryFunctions::GetName + 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 - } // end of class NAnt.Core.Functions.DirectoryFunctions + 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.Functions +.namespace NAnt.Core.Attributes { - .class public auto ansi beforefieldinit PathFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi sealed beforefieldinit FileSetAttribute + extends NAnt.Core.Attributes.BuildElementAttribute { - .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 [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 62 + // method line 64 .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' (string name) cil managed { - // Method begins at RVA 0x28c4 - // Code size 10 (0xa) + // Method begins at RVA 0x295f + // 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 PathFunctions::.ctor + 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 63 - .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 ) // .. + } // end of class NAnt.Core.Attributes.FileSetAttribute +} - // Method begins at RVA 0x28d0 - // 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 +.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_0013: ldloc.0 - IL_0014: ret - } // end of method PathFunctions::GetFullPath - // method line 64 - .method public static hidebysig - default string Combine (string path1, string path2) cil managed + // method line 65 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name) 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.. + // Method begins at RVA 0x2969 + // 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 - // Method begins at RVA 0x28f4 - // Code size 16 (0x10) - .maxstack 2 - .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 + } // end of class NAnt.Core.Attributes.TaskAttributeAttribute +} - IL_000e: ldloc.0 - IL_000f: ret - } // end of method PathFunctions::Combine +.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) - // method line 65 - .method public static hidebysig - default string ChangeExtension (string path, string extension) 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.. + } // end of class NAnt.Core.Attributes.LocationType +} - // Method begins at RVA 0x2910 - // Code size 16 (0x10) - .maxstack 2 - .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 +.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. - IL_000e: ldloc.0 - IL_000f: ret - } // end of method PathFunctions::ChangeExtension + .field private valuetype NAnt.Core.Attributes.LocationType _locationType // method line 66 - .method public static hidebysig - default string GetDirectoryName (string path) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.Core.Attributes.LocationType 'type') 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 0x292c - // 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 begins at RVA 0x2973 + // 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 67 - .method public static hidebysig - default string GetExtension (string path) cil managed + .method public hidebysig specialname + instance default valuetype NAnt.Core.Attributes.LocationType get_LocationType () 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 - 00 00 ) // .. - - // Method begins at RVA 0x2950 + // Method begins at RVA 0x2984 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + valuetype NAnt.Core.Attributes.LocationType V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.IO.Path::GetExtension(string) + IL_0002: ldfld valuetype NAnt.Core.Attributes.LocationType NAnt.Core.Attributes.ProgramLocationAttribute::_locationType IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PathFunctions::GetExtension + } // end of method ProgramLocationAttribute::get_LocationType // method line 68 - .method public static hidebysig - default string GetFileName (string path) cil managed + .method public hidebysig specialname + instance default void set_LocationType (valuetype NAnt.Core.Attributes.LocationType 'value') 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 ) // .. - - // Method begins at RVA 0x296c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x299f + // Code size 9 (0x9) + .maxstack 8 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: 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_000d: ldloc.0 - IL_000e: ret - } // end of method PathFunctions::GetFileName + .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.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 69 - .method public static hidebysig - default string GetFileNameWithoutExtension (string path) cil managed + .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 { - .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 0x29a9 + // 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 begins at RVA 0x2988 + // method line 70 + .method public hidebysig specialname + instance default int32 get_Index () cil managed + { + // Method begins at RVA 0x29d8 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) + 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 PathFunctions::GetFileNameWithoutExtension - - // method line 70 - .method public static hidebysig - default string GetPathRoot (string path) 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 ) // .. - - // Method begins at RVA 0x29a4 - // 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::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_0014: ldloc.1 - IL_0015: ret - } // end of method PathFunctions::GetPathRoot + } // end of method FunctionArgument::get_Index // method line 71 - .method public static hidebysig - default string GetTempFileName () cil managed + .method public hidebysig specialname + instance default string get_Name () 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 0x29c8 - // Code size 14 (0xe) + // Method begins at RVA 0x29f4 + // Code size 15 (0xf) .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_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Extensibility.FunctionArgument::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PathFunctions::GetTempFileName + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FunctionArgument::get_Name // method line 72 - .method public static hidebysig - default string GetTempPath () cil managed + .method public hidebysig specialname + instance default object get_Value () 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 0x29e4 - // Code size 14 (0xe) + // Method begins at RVA 0x2a10 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + object 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: ldfld object NAnt.Core.Extensibility.FunctionArgument::_value + 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 FunctionArgument::get_Value // method line 73 - .method public static hidebysig - default bool HasExtension (string path) cil managed + .method public hidebysig specialname + instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_BeforeArgument () 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 ) // .. - - // Method begins at RVA 0x2a00 + // Method begins at RVA 0x2a2c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype NAnt.Core.ExpressionTokenizer/Position V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool class [mscorlib]System.IO.Path::HasExtension(string) + 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 PathFunctions::HasExtension + } // end of method FunctionArgument::get_BeforeArgument // method line 74 - .method public static hidebysig - default bool IsPathRooted (string path) cil managed + .method public hidebysig specialname + instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_AfterArgument () 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.. - - // Method begins at RVA 0x2a1c + // Method begins at RVA 0x2a48 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype NAnt.Core.ExpressionTokenizer/Position V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + 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 PathFunctions::IsPathRooted + } // end of method FunctionArgument::get_AfterArgument - } // end of class NAnt.Core.Functions.PathFunctions + .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.Functions +.namespace NAnt.Core.Extensibility { - .class public auto ansi beforefieldinit NAntFunctions - extends NAnt.Core.FunctionSetBase + .class private auto ansi beforefieldinit PluginBuilder + extends NAnt.Core.Extensibility.ExtensionBuilder { - .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.. - + .field private initonly class [mscorlib]System.Type _pluginType // method line 75 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + .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 0x2a37 - // Code size 10 (0xa) + // Method begins at RVA 0x2ad0 + // 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 NAntFunctions::.ctor + 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 76 - .method public hidebysig - instance default string GetBaseDirectory () cil managed + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_PluginType () 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 0x2a44 - // Code size 19 (0x13) + // Method begins at RVA 0x2ae4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Type 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_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginBuilder::_pluginType + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0011: ldloc.0 - IL_0012: ret - } // end of method NAntFunctions::GetBaseDirectory + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PluginBuilder::get_PluginType // method line 77 .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly GetAssembly () cil managed + instance default class NAnt.Core.Extensibility.IPlugin CreatePlugin () 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 0x2a64 - // Code size 50 (0x32) - .maxstack 2 + // Method begins at RVA 0x2b00 + // Code size 25 (0x19) + .maxstack 1 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0, - class [mscorlib]System.Reflection.Assembly V_1) + class NAnt.Core.Extensibility.IPlugin 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 + 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 - // method line 78 - .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.. + IL_0017: ldloc.0 + IL_0018: ret + } // end of method PluginBuilder::CreatePlugin - .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 01 00 00 00 00 00 ) // ........ + .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 +} - // Method begins at RVA 0x2aa4 - // 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 +.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_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 + .field private class [mscorlib]System.Type _type - 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 + // method line 78 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x2b25 + // 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_005a: ldloc.3 - IL_005b: ret - } // end of method NAntFunctions::ScanProbingPaths + 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 79 - .method public hidebysig - instance default string ScanProbingPaths (string baseDirectory, string fileName) cil managed + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_PluginType () 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 0x2b0c - // Code size 93 (0x5d) - .maxstack 3 + // Method begins at RVA 0x2b50 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class NAnt.Core.FrameworkInfo V_1, - string[] V_2, - string V_3) + class [mscorlib]System.Type V_0) 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.0 + IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginConsumerAttribute::_type + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_005b: ldloc.3 - IL_005c: ret - } // end of method NAntFunctions::ScanProbingPaths + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PluginConsumerAttribute::get_PluginType - } // end of class NAnt.Core.Functions.NAntFunctions + .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 } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Extensibility { - .class public auto ansi beforefieldinit ProjectFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi abstract beforefieldinit ExtensionBuilder + extends [mscorlib]System.Object { - .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 initonly class NAnt.Core.Extensibility.ExtensionAssembly _extensionAssembly // method line 80 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly) cil managed { - // Method begins at RVA 0x2b75 - // Code size 10 (0xa) + // Method begins at RVA 0x2a63 + // Code size 33 (0x21) .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_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.1 + IL_0008: brtrue IL_0019 + + 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 // method line 81 - .method public hidebysig - instance default string GetName () cil managed + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly') 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 0x2b80 - // 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_ProjectName() - IL_000c: call string class 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 ProjectFunctions::GetName + // Method begins at RVA 0x2a85 + // 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 82 - .method public hidebysig - instance default string GetBuildFileUri () 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 0x2ba8 - // Code size 59 (0x3b) - .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: 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_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_002e: ldsfld string [mscorlib]System.String::Empty - IL_0033: stloc.0 - IL_0034: br IL_0039 - - IL_0039: ldloc.0 - IL_003a: ret - } // end of method ProjectFunctions::GetBuildFileUri - - // method line 83 - .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.. - - // Method begins at RVA 0x2bf0 - // 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 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ProjectFunctions::GetBuildFilePath - - // method line 84 - .method public hidebysig - instance default string GetDefaultTarget () cil managed + .method assembly hidebysig specialname + instance default class NAnt.Core.Extensibility.ExtensionAssembly get_ExtensionAssembly () 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.. - - // Method begins at RVA 0x2c18 - // Code size 25 (0x19) + // Method begins at RVA 0x2a94 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Extensibility.ExtensionAssembly 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_0002: ldfld class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::_extensionAssembly + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ProjectFunctions::GetDefaultTarget + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExtensionBuilder::get_ExtensionAssembly - // method line 85 - .method public hidebysig - instance default string GetBaseDirectory () cil managed + // method line 83 + .method famorassem hidebysig specialname + instance default class [mscorlib]System.Reflection.Assembly get_Assembly () 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 0x2c40 + // Method begins at RVA 0x2ab0 // Code size 20 (0x14) .maxstack 1 .locals init ( - string 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 string class NAnt.Core.Project::get_BaseDirectory() + 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_0012: ldloc.0 IL_0013: ret - } // end of method ProjectFunctions::GetBaseDirectory + } // end of method ExtensionBuilder::get_Assembly - } // end of class NAnt.Core.Functions.ProjectFunctions + .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.Functions +.namespace NAnt.Core.Extensibility { - .class public auto ansi beforefieldinit TargetFunctions - extends NAnt.Core.FunctionSetBase + .class interface public auto ansi abstract IPlugin { - .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.. + } // end of class NAnt.Core.Extensibility.IPlugin +} - // method line 86 +.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 84 .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 0x2c60 - // Code size 10 (0xa) + // Method begins at RVA 0x2b6b + // 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 TargetFunctions::.ctor + 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 - // method line 87 + // method line 85 .method public hidebysig - instance default bool Exists (string name) cil managed + instance default bool ScanTypeForPlugins (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type 'type', class NAnt.Core.Task task) 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 0x2c6c - // Code size 32 (0x20) - .maxstack 2 + // Method begins at RVA 0x2b80 + // Code size 116 (0x74) + .maxstack 7 .locals init ( - bool V_0) + bool V_0, + bool V_1, + class NAnt.Core.Extensibility.PluginBuilder 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.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_0001: ldarg.2 + IL_0002: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() + IL_0007: brfalse IL_0013 - IL_001e: ldloc.0 - IL_001f: ret - } // end of method TargetFunctions::Exists + IL_000c: ldc.i4.0 + IL_000d: stloc.0 + IL_000e: br IL_0072 - // method line 88 - .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.. + .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 - // Method begins at RVA 0x2c98 - // 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_002b: nop + IL_002c: ldc.i4.0 + IL_002d: stloc.0 + IL_002e: leave IL_0072 - 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_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 - IL_002b: ldloc.1 - IL_002c: ret - } // end of method TargetFunctions::GetCurrentTarget + } // 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 89 + // method line 86 .method public hidebysig - instance default bool HasExecuted (string name) cil managed + instance default void RegisterPlugins (class NAnt.Core.Extensibility.IPluginConsumer consumer) 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 0x2cd4 - // Code size 67 (0x43) + // Method begins at RVA 0x2c10 + // Code size 209 (0xd1) .maxstack 3 .locals init ( - class NAnt.Core.Target V_0, - bool V_1) + 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: 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_0001: ldarg.1 + IL_0002: brtrue IL_0013 - 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_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_0041: ldloc.1 - IL_0042: ret - } // end of method TargetFunctions::HasExecuted + IL_0032: nop + IL_0033: br IL_00d0 - } // end of class NAnt.Core.Functions.TargetFunctions -} + 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 -.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_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_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 - // method line 90 - .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 0x2d23 - // 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 TaskFunctions::.ctor + 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 - // method line 91 - .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_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 - // Method begins at RVA 0x2d30 - // 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_00a9: nop + IL_00aa: ldloc.2 + IL_00ab: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00b0: brtrue IL_004a - IL_0012: ldloc.0 - IL_0013: ret - } // end of method TaskFunctions::Exists + IL_00b5: leave IL_00d0 - // method line 92 - .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly GetAssembly (string name) 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 ) // . + } // 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 - // Method begins at RVA 0x2d50 - // Code size 61 (0x3d) - .maxstack 3 - .locals init ( - class NAnt.Core.TaskBuilder V_0, - class [mscorlib]System.Reflection.Assembly V_1) - 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_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_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 NAnt.Core.Extensibility.PluginScanner +} - IL_003b: ldloc.1 - IL_003c: ret - } // end of method TaskFunctions::GetAssembly +.namespace NAnt.Core.Extensibility +{ + .class interface public auto ansi abstract IPluginConsumer + { - } // end of class NAnt.Core.Functions.TaskFunctions + // method line 87 + .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.Functions +.namespace NAnt.Core.Extensibility { - .class public auto ansi beforefieldinit PropertyFunctions - extends NAnt.Core.FunctionSetBase + .class private auto ansi beforefieldinit ExtensionAssembly + extends [mscorlib]System.Object { - .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 ) // .. - + .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 - // method line 93 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 88 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { - // Method begins at RVA 0x2d99 - // Code size 10 (0xa) + // Method begins at RVA 0x2d00 + // Code size 15 (0xf) .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 PropertyFunctions::.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.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::_assembly + IL_000e: ret + } // end of method ExtensionAssembly::.ctor - // method line 94 - .method public hidebysig - instance default bool Exists (string name) cil managed + // method line 89 + .method public hidebysig specialname + instance default class [mscorlib]System.Reflection.Assembly get_Assembly () 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 0x2da4 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x2d10 + // Code size 15 (0xf) + .maxstack 1 .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_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::_assembly + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method PropertyFunctions::Exists + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExtensionAssembly::get_Assembly - // method line 95 - .method public hidebysig - instance default bool IsReadOnly (string name) cil managed + // method line 90 + .method assembly hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNode get_ConfigurationSection () 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.. - - // Method begins at RVA 0x2dcc - // Code size 76 (0x4c) - .maxstack 3 + // Method begins at RVA 0x2d2c + // Code size 115 (0x73) + .maxstack 2 .locals init ( - bool V_0) + 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: 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: ldfld bool NAnt.Core.Extensibility.ExtensionAssembly::_configurationInit + IL_0007: brfalse IL_0018 - 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_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_004a: ldloc.0 - IL_004b: ret - } // end of method PropertyFunctions::IsReadOnly + .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 - // method line 96 - .method public hidebysig - instance default bool IsDynamic (string name) 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.. + 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 - // Method begins at RVA 0x2e24 - // Code size 76 (0x4c) + } // 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 91 + .method public static hidebysig + default class NAnt.Core.Extensibility.ExtensionAssembly Create (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + { + // Method begins at RVA 0x2dc8 + // Code size 84 (0x54) .maxstack 3 .locals init ( - bool V_0) + 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: 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: 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_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_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_004a: ldloc.0 - IL_004b: ret - } // end of method PropertyFunctions::IsDynamic + 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 - } // end of class NAnt.Core.Functions.PropertyFunctions + IL_0052: ldloc.2 + IL_0053: ret + } // end of method ExtensionAssembly::Create + + // method line 92 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x2e28 + // 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.Functions +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit PlatformFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi beforefieldinit DescriptionTask + extends NAnt.Core.Task { - .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 ) // .. + .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 97 + // method line 93 .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 0x2e7c - // Code size 10 (0xa) + // Method begins at RVA 0x5efa + // 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 PlatformFunctions::.ctor + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method DescriptionTask::.ctor - // method line 98 - .method public hidebysig - instance default string GetName () cil managed + // method line 94 + .method family virtual hidebysig + instance default void ExecuteTask () 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 0x5f02 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method DescriptionTask::ExecuteTask - // Method begins at RVA 0x2e88 - // Code size 20 (0x14) + } // end of class NAnt.Core.Tasks.DescriptionTask +} + +.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.. + + .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 95 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x5f05 + // 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 + + // method line 96 + .method public hidebysig specialname + instance default string get_Source () cil managed + { + // Method begins at RVA 0x5f24 + // 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.FunctionSetBase::get_Project() - IL_0007: callvirt instance string class NAnt.Core.Project::get_PlatformName() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld string NAnt.Core.Tasks.GetTask::_src + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PlatformFunctions::GetName + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_Source - // method line 99 - .method public static hidebysig - default bool IsWin32 () cil managed + // method line 97 + .method public hidebysig specialname + instance default void set_Source (string 'value') 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 0x2ea8 + // Method begins at RVA 0x5f3f // Code size 14 (0xe) - .maxstack 1 - .locals init ( - bool V_0) + .maxstack 8 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_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 PlatformFunctions::IsWin32 + } // end of method GetTask::set_Source - // method line 100 - .method public static hidebysig - default bool IsWindows () cil managed + // method line 98 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_DestinationFile () 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 0x2ec4 - // Code size 14 (0xe) + // Method begins at RVA 0x5f50 + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.FileInfo 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: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.GetTask::_destFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PlatformFunctions::IsWindows + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_DestinationFile - // method line 101 - .method public static hidebysig - default bool IsUnix () cil managed + // method line 99 + .method public hidebysig specialname + instance default void set_DestinationFile (class [mscorlib]System.IO.FileInfo 'value') 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 0x5f6b + // 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 - // Method begins at RVA 0x2ee0 - // Code size 14 (0xe) + // method line 100 + .method public hidebysig specialname + instance default string get_HttpProxy () cil managed + { + // Method begins at RVA 0x5f78 + // Code size 15 (0xf) .maxstack 1 .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 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 string NAnt.Core.Tasks.GetTask::_httpProxy + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_HttpProxy - // method line 102 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 101 + .method public hidebysig specialname + instance default void set_HttpProxy (string 'value') cil managed { - // Method begins at RVA 0x2efa - // Code size 10 (0xa) + // Method begins at RVA 0x5f93 + // 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 + 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 103 - .method public static hidebysig - default valuetype [mscorlib]System.DateTime Now () cil managed + // method line 102 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Proxy get_Proxy () 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 0x2f08 - // Code size 14 (0xe) + // Method begins at RVA 0x5fa0 + // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + class NAnt.Core.Types.Proxy 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_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_000c: ldloc.0 - IL_000d: ret - } // end of method DateTimeFunctions::Now + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_Proxy - // method line 104 - .method public static hidebysig - default int32 GetYear (valuetype [mscorlib]System.DateTime 'date') cil managed + // method line 103 + .method public hidebysig specialname + instance default void set_Proxy (class NAnt.Core.Types.Proxy 'value') 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 0x5fbb + // 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 - // Method begins at RVA 0x2f24 - // Code size 16 (0x10) + // method line 104 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Credential get_Credentials () cil managed + { + // Method begins at RVA 0x5fc8 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Core.Types.Credential 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.Types.Credential NAnt.Core.Tasks.GetTask::_credentials + 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 GetTask::get_Credentials // method line 105 - .method public static hidebysig - default int32 GetMonth (valuetype [mscorlib]System.DateTime 'date') cil managed + .method public hidebysig specialname + instance default void set_Credentials (class NAnt.Core.Types.Credential '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 0x2f40 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0x5fe3 + // 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.Types.Credential NAnt.Core.Tasks.GetTask::_credentials + IL_0008: ret + } // end of method GetTask::set_Credentials // method line 106 - .method public static hidebysig - default int32 GetDay (valuetype [mscorlib]System.DateTime 'date') cil managed + .method public hidebysig specialname + instance default bool get_IgnoreErrors () 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 0x2f5c - // Code size 16 (0x10) + // Method begins at RVA 0x5ff0 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool 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: call instance bool class NAnt.Core.Task::get_FailOnError() + 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 GetTask::get_IgnoreErrors // method line 107 - .method public static hidebysig - default int32 GetHour (valuetype [mscorlib]System.DateTime 'date') 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 0x2f78 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) + .method public hidebysig specialname + instance default void set_IgnoreErrors (bool 'value') cil managed + { + // Method begins at RVA 0x600b + // 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: call instance void class NAnt.Core.Task::set_FailOnError(bool) + IL_0008: ret + } // end of method GetTask::set_IgnoreErrors // method line 108 - .method public static hidebysig - default int32 GetMinute (valuetype [mscorlib]System.DateTime 'date') cil managed + .method public hidebysig specialname + instance default bool get_UseTimeStamp () 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 0x2f94 - // Code size 16 (0x10) + // Method begins at RVA 0x6018 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + bool 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 bool NAnt.Core.Tasks.GetTask::_useTimeStamp + 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 GetTask::get_UseTimeStamp // method line 109 - .method public static hidebysig - default int32 GetSecond (valuetype [mscorlib]System.DateTime 'date') cil managed + .method public hidebysig specialname + instance default void set_UseTimeStamp (bool '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 0x2fb0 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0x6033 + // 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 bool NAnt.Core.Tasks.GetTask::_useTimeStamp + IL_0008: ret + } // end of method GetTask::set_UseTimeStamp // method line 110 - .method public static hidebysig - default int32 GetMillisecond (valuetype [mscorlib]System.DateTime 'date') cil managed + .method public hidebysig specialname + instance default int32 get_Timeout () 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 0x2fcc - // Code size 16 (0x10) + // Method begins at RVA 0x6040 + // Code size 15 (0xf) .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_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Tasks.GetTask::_timeout + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetMillisecond + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_Timeout // method line 111 - .method public static hidebysig - default int64 GetTicks (valuetype [mscorlib]System.DateTime 'date') cil managed + .method public hidebysig specialname + instance default void set_Timeout (int32 '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.. - - // Method begins at RVA 0x2fe8 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int64 V_0) + // Method begins at RVA 0x605b + // Code size 9 (0x9) + .maxstack 8 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_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetTicks + 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 112 - .method public static hidebysig - default int32 GetDayOfWeek (valuetype [mscorlib]System.DateTime 'date') cil managed + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_Certificates () 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 0x3004 - // Code size 16 (0x10) + // Method begins at RVA 0x6068 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Core.Types.FileSet 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_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.GetTask::_certificates + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDayOfWeek + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GetTask::get_Certificates // method line 113 - .method public static hidebysig - default int32 GetDayOfYear (valuetype [mscorlib]System.DateTime 'date') cil managed + .method public hidebysig specialname + instance default void set_Certificates (class NAnt.Core.Types.FileSet 'value') 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 0x3020 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0x6083 + // Code size 9 (0x9) + .maxstack 8 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_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDayOfYear + 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 // method line 114 - .method public static hidebysig - default int32 GetDaysInMonth (int32 year, int32 month) cil managed + .method family virtual hidebysig + instance default void Initialize () 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.. - - // Method begins at RVA 0x303c - // Code size 16 (0x10) + // Method begins at RVA 0x6090 + // Code size 116 (0x74) .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_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_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDaysInMonth + 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_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 + + 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 115 - .method public static hidebysig - default bool IsLeapYear (int32 year) cil managed + .method family virtual hidebysig + instance default void ExecuteTask () 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 ) // . - - // Method begins at RVA 0x3058 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6110 + // Code size 989 (0x3dd) + .maxstack 8 .locals init ( - bool V_0) + 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 - IL_0001: ldarg.0 - IL_0002: call bool valuetype [mscorlib]System.DateTime::IsLeapYear(int32) - IL_0007: stloc.0 - IL_0008: br IL_000d + .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_000d: ldloc.0 - IL_000e: ret - } // end of method DateTimeFunctions::IsLeapYear + 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 - } // end of class NAnt.Core.Functions.DateTimeFunctions -} + 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 -.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.. + } // 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_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 + + } // 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 + + 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_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_01a0: ldloc.s 11 + IL_01a2: ldloc.s 7 + IL_01a4: ble IL_01b9 + + IL_01a9: nop + IL_01aa: ldloc.s 11 + IL_01ac: ldloc.s 10 + IL_01ae: bne.un IL_01b5 + + 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_01c2: ldloc.s 10 + IL_01c4: ldloc.s 7 + IL_01c6: ble IL_01dd + + 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 + + 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_0267: nop + IL_0268: ldloc.1 + IL_0269: isinst [System]System.Net.HttpWebRequest + IL_026e: brfalse IL_02c2 + + 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 + + } // 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_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_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_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 // method line 116 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + .method family hidebysig + instance default void TouchFile (class [mscorlib]System.IO.FileInfo file, valuetype [mscorlib]System.DateTime touchDateTime) cil managed { - // Method begins at RVA 0x3073 - // Code size 10 (0xa) + // Method begins at RVA 0x6560 + // Code size 126 (0x7e) .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 + .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 + + 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_0049: nop + IL_004a: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'() + IL_004f: throw + IL_0050: nop + IL_0051: leave IL_007d + + } // 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 117 - .method public static hidebysig - default valuetype [mscorlib]System.DateTime Parse (string s) cil managed + .method private hidebysig + instance default class [System]System.Net.WebRequest GetWebRequest (string url, valuetype [mscorlib]System.DateTime fileLastModified) 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 0x3080 - // Code size 20 (0x14) + // Method begins at RVA 0x65fc + // Code size 364 (0x16c) .maxstack 2 .locals init ( - valuetype [mscorlib]System.DateTime 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: 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_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_0012: ldloc.0 - IL_0013: ret - } // end of method DateTimeConversionFunctions::Parse + 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 - // method line 118 - .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_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 - // Method begins at RVA 0x30a0 - // 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_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_0013: ldloc.0 - IL_0014: ret - } // end of method DateTimeConversionFunctions::ToString + 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 - // method line 119 - .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_00bd: leave IL_00d9 - // Method begins at RVA 0x30c4 - // 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 + } // 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_0014: ldloc.0 - IL_0015: ret - } // end of method DateTimeConversionFunctions::ToString + 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 - } // end of class NAnt.Core.Functions.DateTimeConversionFunctions + 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 ) // .... + + .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.Functions +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit StringFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi beforefieldinit MailTask + 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 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 120 + // method line 118 .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 0x30e6 - // Code size 10 (0xa) - .maxstack 8 + // Method begins at RVA 0x6784 + // Code size 106 (0x6a) + .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 StringFunctions::.ctor + 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 121 - .method public static hidebysig - default int32 GetLength (string s) cil managed + // method line 119 + .method public hidebysig specialname + instance default string get_From () 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 0x30f4 + // Method begins at RVA 0x67fc // 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.MailTask::_from IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringFunctions::GetLength + } // end of method MailTask::get_From - // method line 122 - .method public static hidebysig - default string Substring (string str, int32 startIndex, int32 length) cil managed + // method line 120 + .method public hidebysig specialname + instance default void set_From (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 0x6817 + // 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 begins at RVA 0x3110 - // Code size 17 (0x11) - .maxstack 3 + // method line 121 + .method public hidebysig specialname + instance default string get_ToList () cil managed + { + // Method begins at RVA 0x6828 + // Code size 15 (0xf) + .maxstack 1 .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::Substring(int32, int32) - IL_0009: stloc.0 - IL_000a: br IL_000f + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_toList + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000f: ldloc.0 - IL_0010: ret - } // end of method StringFunctions::Substring + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_ToList - // method line 123 - .method public static hidebysig - default bool StartsWith (string s1, string s2) cil managed + // method line 122 + .method public hidebysig specialname + instance default void set_ToList (string 'value') 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 0x6843 + // 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 begins at RVA 0x3130 - // Code size 26 (0x1a) - .maxstack 3 + // method line 123 + .method public hidebysig specialname + instance default string get_ReplyTo () cil managed + { + // Method begins at RVA 0x6850 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool 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: 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_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_replyTo + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method StringFunctions::StartsWith + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_ReplyTo // method line 124 - .method public static hidebysig - default bool EndsWith (string s1, string s2) cil managed + .method public hidebysig specialname + instance default void set_ReplyTo (string 'value') 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.. - - // Method begins at RVA 0x3158 - // Code size 26 (0x1a) - .maxstack 3 - .locals init ( - bool V_0) + // Method begins at RVA 0x686b + // Code size 9 (0x9) + .maxstack 8 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_0018: ldloc.0 - IL_0019: ret - } // end of method StringFunctions::EndsWith + 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 125 - .method public static hidebysig - default string ToLower (string s) cil managed + .method public hidebysig specialname + instance default string get_CcList () 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.. - - // Method begins at RVA 0x3180 - // Code size 20 (0x14) - .maxstack 2 + // Method begins at RVA 0x6878 + // Code size 15 (0xf) + .maxstack 1 .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_0002: ldfld string NAnt.Core.Tasks.MailTask::_ccList + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method StringFunctions::ToLower + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_CcList // method line 126 - .method public static hidebysig - default string ToUpper (string s) cil managed + .method public hidebysig specialname + instance default void set_CcList (string 'value') 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.. - - // Method begins at RVA 0x31a0 - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - string V_0) + // Method begins at RVA 0x6893 + // Code size 9 (0x9) + .maxstack 8 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_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.MailTask::_ccList + IL_0008: ret + } // end of method MailTask::set_CcList // method line 127 - .method public static hidebysig - default string Replace (string str, string oldValue, string newValue) cil managed + .method public hidebysig specialname + instance default string get_BccList () 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.. - - // Method begins at RVA 0x31c0 - // Code size 17 (0x11) - .maxstack 3 + // Method begins at RVA 0x68a0 + // Code size 15 (0xf) + .maxstack 1 .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 + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_bccList + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000f: ldloc.0 - IL_0010: ret - } // end of method StringFunctions::Replace + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_BccList // method line 128 - .method public static hidebysig - default bool Contains (string source, string 'value') cil managed + .method public hidebysig specialname + instance default void set_BccList (string 'value') 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 0x31e0 - // Code size 33 (0x21) - .maxstack 4 - .locals init ( - bool V_0) + // Method begins at RVA 0x68bb + // Code size 9 (0x9) + .maxstack 8 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_001f: ldloc.0 - IL_0020: ret - } // end of method StringFunctions::Contains + 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 // method line 129 - .method public static hidebysig - default int32 IndexOf (string source, string 'value') cil managed + .method public hidebysig specialname + instance default string get_Mailhost () 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.. - - // Method begins at RVA 0x3210 - // Code size 27 (0x1b) - .maxstack 4 + // Method begins at RVA 0x68c8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 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: 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_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_mailHost + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0019: ldloc.0 - IL_001a: ret - } // end of method StringFunctions::IndexOf + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_Mailhost // method line 130 - .method public static hidebysig - default int32 LastIndexOf (string source, string 'value') cil managed + .method public hidebysig specialname + instance default void set_Mailhost (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 ) // .. - - // Method begins at RVA 0x3238 - // Code size 27 (0x1b) - .maxstack 4 - .locals init ( - int32 V_0) + // Method begins at RVA 0x68e3 + // Code size 14 (0xe) + .maxstack 8 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 - - IL_0019: ldloc.0 - IL_001a: ret - } // end of method StringFunctions::LastIndexOf + 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 131 - .method public static hidebysig - default string PadLeft (string s, int32 totalWidth, string paddingChar) cil managed + .method public hidebysig specialname + instance default int32 get_Port () 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 0x3260 - // Code size 23 (0x17) - .maxstack 4 + // Method begins at RVA 0x68f4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0) + int32 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 + IL_0002: ldfld int32 NAnt.Core.Tasks.MailTask::_portNumber + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0015: ldloc.0 - IL_0016: ret - } // end of method StringFunctions::PadLeft + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_Port // method line 132 - .method public static hidebysig - default string PadRight (string s, int32 totalWidth, string paddingChar) cil managed + .method public hidebysig specialname + instance default void set_Port (int32 'value') 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.. - - // Method begins at RVA 0x3284 - // Code size 23 (0x17) - .maxstack 4 - .locals init ( - string V_0) + // Method begins at RVA 0x690f + // Code size 9 (0x9) + .maxstack 8 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 - - IL_0015: ldloc.0 - IL_0016: ret - } // end of method StringFunctions::PadRight + IL_0003: stfld int32 NAnt.Core.Tasks.MailTask::_portNumber + IL_0008: ret + } // end of method MailTask::set_Port // method line 133 - .method public static hidebysig - default string Trim (string s) cil managed + .method public hidebysig specialname + instance default bool get_EnableSsl () 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 0x32a8 + // Method begins at RVA 0x691c // 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 string::Trim() + IL_0002: ldfld bool NAnt.Core.Tasks.MailTask::_enableSsl IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringFunctions::Trim + } // end of method MailTask::get_EnableSsl // method line 134 - .method public static hidebysig - default string TrimStart (string s) cil managed + .method public hidebysig specialname + instance default void set_EnableSsl (bool '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 0x6937 + // 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_0008: ret + } // end of method MailTask::set_EnableSsl - // Method begins at RVA 0x32c4 + // method line 135 + .method public hidebysig specialname + instance default string get_Message () cil managed + { + // Method begins at RVA 0x6944 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string string::TrimStart() + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_message IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringFunctions::TrimStart + } // end of method MailTask::get_Message - // method line 135 - .method public static hidebysig - default string TrimEnd (string s) cil managed + // method line 136 + .method public hidebysig specialname + instance default void set_Message (string '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 0x695f + // 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::_message + IL_000d: ret + } // end of method MailTask::set_Message - // Method begins at RVA 0x32e0 + // method line 137 + .method public hidebysig specialname + instance default string get_Subject () cil managed + { + // Method begins at RVA 0x6970 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string string::TrimEnd() + 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 StringFunctions::TrimEnd + } // end of method MailTask::get_Subject - } // end of class NAnt.Core.Functions.StringFunctions -} + // method line 138 + .method public hidebysig specialname + instance default void set_Subject (string 'value') cil managed + { + // Method begins at RVA 0x698b + // 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 -.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.. + // method line 139 + .method public hidebysig specialname + instance default bool get_IsBodyHtml () cil managed + { + // Method begins at RVA 0x699c + // 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::_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 136 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 140 + .method public hidebysig specialname + instance default void set_IsBodyHtml (bool 'value') cil managed { - // Method begins at RVA 0x32fb - // Code size 10 (0xa) + // Method begins at RVA 0x69b7 + // 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 EnvironmentFunctions::.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 137 - .method public static hidebysig - default string GetFolderPath (valuetype [mscorlib]System.Environment/SpecialFolder folder) cil managed + // method line 141 + .method public hidebysig specialname + instance default string get_UserName () 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.. - - // Method begins at RVA 0x3308 + // Method begins at RVA 0x69c4 // 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_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 EnvironmentFunctions::GetFolderPath + } // end of method MailTask::get_UserName - // method line 138 - .method public static hidebysig - default string GetMachineName () cil managed + // method line 142 + .method public hidebysig specialname + instance default void set_UserName (string 'value') 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 0x69df + // 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_0008: ret + } // end of method MailTask::set_UserName - // Method begins at RVA 0x3324 - // Code size 14 (0xe) + // method line 143 + .method public hidebysig specialname + instance default string get_Password () cil managed + { + // Method begins at RVA 0x69ec + // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: call string class [mscorlib]System.Environment::get_MachineName() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_passWord + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetMachineName + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_Password - // method line 139 - .method public static hidebysig - default class [mscorlib]System.OperatingSystem GetOperatingSystem () cil managed + // method line 144 + .method public hidebysig specialname + instance default void set_Password (string 'value') 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 0x6a07 + // 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::_passWord + IL_0008: ret + } // end of method MailTask::set_Password - // Method begins at RVA 0x3340 - // Code size 14 (0xe) + // method line 145 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Tasks.MailTask/MailFormat get_Format () cil managed + { + // Method begins at RVA 0x6a14 + // Code size 29 (0x1d) .maxstack 1 .locals init ( - class [mscorlib]System.OperatingSystem V_0) + valuetype NAnt.Core.Tasks.MailTask/MailFormat V_0) 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: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Tasks.MailTask::get_IsBodyHtml() + IL_0007: brfalse IL_0014 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetOperatingSystem + IL_000c: nop + IL_000d: ldc.i4.1 + IL_000e: stloc.0 + IL_000f: br IL_001b - // method line 140 - .method public static hidebysig - default string GetUserName () cil managed + 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 146 + .method public hidebysig specialname + instance default void set_Format (valuetype NAnt.Core.Tasks.MailTask/MailFormat 'value') 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 ) // .. + // Method begins at RVA 0x6a40 + // 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 - // Method begins at RVA 0x335c - // Code size 14 (0xe) + 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 147 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_Files () cil managed + { + // Method begins at RVA 0x6ab8 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.FileSet 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_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_files + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetUserName + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_Files - // method line 141 - .method public static hidebysig - default string GetVariable (string name) cil managed + // method line 148 + .method public hidebysig specialname + instance default void set_Files (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 76 61 72 69 61 62 6C 65 00 // ...get-variable. - 00 ) // . + // Method begins at RVA 0x6ad3 + // 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 begins at RVA 0x3378 - // Code size 54 (0x36) - .maxstack 3 + // method line 149 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_Attachments () cil managed + { + // Method begins at RVA 0x6ae0 + // 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: 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_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.MailTask::_attachments + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0034: ldloc.0 - IL_0035: ret - } // end of method EnvironmentFunctions::GetVariable + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MailTask::get_Attachments - // method line 142 - .method public static hidebysig - default bool VariableExists (string name) cil managed + // method line 150 + .method public hidebysig specialname + instance default void set_Attachments (class NAnt.Core.Types.FileSet 'value') 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 0x6afb + // 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_0008: ret + } // end of method MailTask::set_Attachments - // Method begins at RVA 0x33bc - // Code size 21 (0x15) + // method line 151 + .method family virtual hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0x6b08 + // Code size 68 (0x44) .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: 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 EnvironmentFunctions::VariableExists + 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 143 - .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_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 begins at RVA 0x33e0 - // Code size 14 (0xe) - .maxstack 1 + 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 152 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x6b58 + // Code size 1509 (0x5e5) + .maxstack 7 .locals init ( - class [mscorlib]System.Version 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: call class [mscorlib]System.Version class [mscorlib]System.Environment::get_Version() + IL_0001: newobj instance void class [System]System.Net.Mail.MailMessage::'.ctor'() IL_0006: stloc.0 - IL_0007: br IL_000c + 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 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetVersion + 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 - // method line 144 - .method public static hidebysig - default string NewLine () 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.. + IL_0060: leave IL_0074 - // Method begins at RVA 0x33fc - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call string class [mscorlib]System.Environment::get_NewLine() - IL_0006: stloc.0 - IL_0007: br IL_000c + } // end .try 0 + finally { // 0 + IL_0065: ldloc.s 5 + IL_0067: brfalse IL_0073 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::NewLine + 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 - } // end of class NAnt.Core.Functions.EnvironmentFunctions -} + 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 -.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.. + IL_00a6: leave IL_00ba + } // end .try 1 + finally { // 1 + IL_00ab: ldloc.s 7 + IL_00ad: brfalse IL_00b9 - // method line 145 - .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 0x3416 - // 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 + 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 146 - .method public static hidebysig - default int64 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_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 - // Method begins at RVA 0x3424 - // Code size 20 (0x14) - .maxstack 2 + IL_00ec: leave IL_0100 + + } // end .try 2 + finally { // 2 + IL_00f1: ldloc.s 9 + IL_00f3: brfalse IL_00ff + + 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 + + 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 + + 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 + + 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 + + IL_0160: leave IL_0174 + + } // end .try 3 + finally { // 3 + IL_0165: ldloc.s 12 + IL_0167: brfalse IL_0173 + + 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_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_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_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_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_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 + + } // 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 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_02c0: leave IL_02dc + + } // 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_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_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_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 + + } // 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 + + } // 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_0378: leave IL_0394 + + } // 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_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_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_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_046e: nop + IL_046f: ldsfld bool NAnt.Core.PlatformHelper::IsMono + IL_0474: brfalse IL_048c + + 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_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 + + 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 .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 153 + .method private hidebysig + instance default string ReadFile (string filename) cil managed + { + // Method begins at RVA 0x7240 + // Code size 49 (0x31) + .maxstack 1 .locals init ( - int64 V_0) + class [mscorlib]System.IO.StreamReader V_0, + string V_1, + string V_2) 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_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 - IL_000d: br IL_0012 + .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 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method Int64ConversionFunctions::Parse + } // end .try 0 + finally { // 0 + IL_0022: ldloc.0 + IL_0023: brfalse IL_002e - // method line 147 - .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_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 begins at RVA 0x3444 - // Code size 21 (0x15) - .maxstack 2 + // method line 154 + .method private hidebysig + instance default class [System]System.Net.Mail.MailAddressCollection ParseAddresses (string addresses) cil managed + { + // Method begins at RVA 0x7290 + // Code size 147 (0x93) + .maxstack 5 .locals init ( - string V_0) + 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: 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: 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_0013: ldloc.0 - IL_0014: ret - } // end of method Int64ConversionFunctions::ToString + IL_0012: nop + IL_0013: ldarg.1 + IL_0014: ldstr ";" + IL_0019: callvirt instance bool string::Contains(string) + IL_001e: brfalse IL_0078 - } // end of class NAnt.Core.Functions.Int64ConversionFunctions -} + 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 -.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_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: ldlen + IL_006c: conv.i4 + IL_006d: blt IL_0041 - // method line 148 - .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 0x3465 - // 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_0072: nop + IL_0073: br IL_0087 - // method line 149 - .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_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 - .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_0090: ldloc.s 5 + IL_0092: ret + } // end of method MailTask::ParseAddresses - // Method begins at RVA 0x3470 - // Code size 10 (0xa) - .maxstack 1 + // method line 155 + .method private hidebysig + instance default class [System]System.Net.Mail.MailAddress ConvertStringToMailAddress (string address) cil managed + { + // Method begins at RVA 0x7330 + // Code size 298 (0x12a) + .maxstack 4 .locals init ( - int32 V_0) + 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: stloc.0 - IL_0003: br IL_0008 + 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_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToInt + 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 - // method line 150 - .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_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 - .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_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 begins at RVA 0x3488 - // 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 + .try { // 0 + IL_00b7: nop + IL_00b8: ldloc.1 + IL_00b9: call bool string::IsNullOrEmpty(string) + IL_00be: brtrue IL_00de - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToDouble + IL_00c3: ldloc.2 + IL_00c4: call bool string::IsNullOrEmpty(string) + IL_00c9: brtrue IL_00de - // method line 151 - .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_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 - .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_00de: ldloc.2 + IL_00df: call bool string::IsNullOrEmpty(string) + IL_00e4: brtrue IL_00f8 - // Method begins at RVA 0x34a0 - // Code size 10 (0xa) - .maxstack 1 + 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 156 + .method private hidebysig + instance default string UnescapeXmlCodes (string 'value') cil managed + { + // Method begins at RVA 0x7484 + // Code size 85 (0x55) + .maxstack 3 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + 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_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ConvertToString + IL_0053: ldloc.0 + IL_0054: ret + } // end of method MailTask::UnescapeXmlCodes - // method line 152 - .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.. + .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 [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 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 0x34b8 - // 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 + .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_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToDateTime + .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.. - // method line 153 - .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 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.. - .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.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.. - // Method begins at RVA 0x34d0 - // 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 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.. - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToBoolean + .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.. - } // end of class NAnt.Core.Functions.ConversionFunctions + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .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.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .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.. + + .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.. + + .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.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .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.. + + .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.. + + .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.. + + .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') + } + .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.Functions +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit OperatingSystemFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi beforefieldinit UpToDateTask + extends NAnt.Core.Task { - .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.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 75 70 74 6F 64 61 74 65 00 00 ) // ...uptodate.. + .field private string _propertyName + .field private class NAnt.Core.Types.FileSet _sourceFiles + .field private class NAnt.Core.Types.FileSet _targetFiles - // method line 154 + // method line 157 .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 0x34e6 - // Code size 10 (0xa) + // Method begins at RVA 0x74e5 + // 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 OperatingSystemFunctions::.ctor + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method UpToDateTask::.ctor - // method line 155 - .method public static hidebysig - default valuetype [mscorlib]System.PlatformID GetPlatform (class [mscorlib]System.OperatingSystem operatingSystem) cil managed + // method line 158 + .method public hidebysig specialname + instance default string get_PropertyName () 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 ) // . - - // Method begins at RVA 0x34f4 + // Method begins at RVA 0x74f0 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.PlatformID V_0) + string 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 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 OperatingSystemFunctions::GetPlatform + } // end of method UpToDateTask::get_PropertyName - // method line 156 - .method public static hidebysig - default class [mscorlib]System.Version GetVersion (class [mscorlib]System.OperatingSystem operatingSystem) cil managed + // method line 159 + .method public hidebysig specialname + instance default void set_PropertyName (string '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 0x750b + // 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.UpToDateTask::_propertyName + IL_000d: ret + } // end of method UpToDateTask::set_PropertyName - // Method begins at RVA 0x3510 + // method line 160 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_SourceFiles () cil managed + { + // Method begins at RVA 0x751c // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Version V_0) + class NAnt.Core.Types.FileSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class [mscorlib]System.Version class [mscorlib]System.OperatingSystem::get_Version() + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_sourceFiles IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method OperatingSystemFunctions::GetVersion + } // end of method UpToDateTask::get_SourceFiles - // method line 157 - .method public static hidebysig - default string ToString (class [mscorlib]System.OperatingSystem operatingSystem) cil managed + // method line 161 + .method public hidebysig specialname + instance default void set_SourceFiles (class NAnt.Core.Types.FileSet '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 0x7537 + // 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_0008: ret + } // end of method UpToDateTask::set_SourceFiles - // Method begins at RVA 0x352c + // method line 162 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_TargetFiles () cil managed + { + // Method begins at RVA 0x7544 // 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: callvirt instance string object::ToString() + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.UpToDateTask::_targetFiles IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method OperatingSystemFunctions::ToString + } // end of method UpToDateTask::get_TargetFiles - } // end of class NAnt.Core.Functions.OperatingSystemFunctions + // method line 163 + .method public hidebysig specialname + instance default void set_TargetFiles (class NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0x755f + // 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_0008: ret + } // end of method UpToDateTask::set_TargetFiles + + // method line 164 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x756c + // 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_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: br IL_0087 + + 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_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 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. + + .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.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.. + + .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.. + + .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.Functions +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit FileVersionInfoFunctions - 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 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.. + .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 158 + // method line 165 .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 0x3547 - // Code size 10 (0xa) + // Method begins at RVA 0x7621 + // 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 FileVersionInfoFunctions::.ctor - - // method line 159 - .method public hidebysig - instance default class [System]System.Diagnostics.FileVersionInfo GetVersionInfo (string fileName) 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.. - - // Method begins at RVA 0x3554 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class [System]System.Diagnostics.FileVersionInfo 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_0018: ldloc.0 - IL_0019: ret - } // end of method FileVersionInfoFunctions::GetVersionInfo + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method IncludeTask::.ctor - // method line 160 - .method public static hidebysig - default string GetCompanyName (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + // method line 166 + .method public hidebysig specialname + instance default string get_BuildFileName () 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.. - - // Method begins at RVA 0x357c + // Method begins at RVA 0x762c // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [System]System.Diagnostics.FileVersionInfo::get_CompanyName() + 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 FileVersionInfoFunctions::GetCompanyName + } // end of method IncludeTask::get_BuildFileName - // method line 161 - .method public static hidebysig - default class [mscorlib]System.Version GetFileVersion (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + // method line 167 + .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 10 67 65 74 2D 66 69 6C 65 2D 76 65 72 73 // ...get-file-vers - 69 6F 6E 00 00 ) // ion.. + // Method begins at RVA 0x7647 + // 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_0008: ret + } // end of method IncludeTask::set_BuildFileName - // Method begins at RVA 0x3598 - // Code size 38 (0x26) - .maxstack 4 + // method line 168 + .method family virtual hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0x7654 + // Code size 271 (0x10f) + .maxstack 3 .locals init ( - class [mscorlib]System.Version 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: 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: call instance object class NAnt.Core.Element::get_Parent() + IL_0007: brfalse IL_0033 - IL_0024: ldloc.0 - IL_0025: ret - } // end of method FileVersionInfoFunctions::GetFileVersion + 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 - // method line 162 - .method public static hidebysig - default string GetProductName (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) 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.. + 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 begins at RVA 0x35cc - // Code size 15 (0xf) - .maxstack 1 + IL_0042: ldsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel + IL_0047: brtrue IL_005e + + 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 + + } // 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 + + 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 + + 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 + + IL_00f3: leave IL_010e + + } // 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_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 169 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x778c + // Code size 564 (0x234) + .maxstack 7 .locals init ( - string 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: ldarg.0 - IL_0002: callvirt instance string class [System]System.Diagnostics.FileVersionInfo::get_ProductName() - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method FileVersionInfoFunctions::GetProductName + 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 163 - .method public static hidebysig - default class [mscorlib]System.Version GetProductVersion (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + 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 + + 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 + + } // 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 170 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () 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.. + // Method begins at RVA 0x7a30 + // 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 0x35e8 - // Code size 38 (0x26) - .maxstack 4 - .locals init ( - class [mscorlib]System.Version 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 + .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_0024: ldloc.0 - IL_0025: ret - } // end of method FileVersionInfoFunctions::GetProductVersion + .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.FileVersionInfoFunctions + .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 } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit MathFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi beforefieldinit LoopTask + extends NAnt.Core.TaskContainer { - .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.. + .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 - // method line 164 + // method line 171 .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 0x361a - // Code size 10 (0xa) + // Method begins at RVA 0x7d7f + // Code size 14 (0xe) .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_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.Core.Tasks.LoopTask/LoopTrim NAnt.Core.Tasks.LoopTask::_loopTrim + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.TaskContainer::'.ctor'() + IL_000d: ret + } // end of method LoopTask::.ctor - // method line 165 - .method public static hidebysig - default float64 Round (float64 'value') cil managed + // method line 172 + .method public hidebysig specialname + instance default string get_Property () 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 0x3628 + // Method begins at RVA 0x7d90 // Code size 15 (0xf) .maxstack 1 .locals init ( - float64 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call float64 class [mscorlib]System.Math::Round(float64) + IL_0002: ldfld string NAnt.Core.Tasks.LoopTask::_prop IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MathFunctions::Round + } // end of method LoopTask::get_Property - // method line 166 - .method public static hidebysig - default float64 Floor (float64 'value') cil managed + // method line 173 + .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 05 66 6C 6F 6F 72 00 00 ) // ...floor.. + // Method begins at RVA 0x7dac + // 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: 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[] 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 - // Method begins at RVA 0x3644 + IL_0067: ret + } // end of method LoopTask::set_Property + + // method line 174 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Tasks.LoopTask/LoopItem get_ItemType () cil managed + { + // Method begins at RVA 0x7e20 // Code size 15 (0xf) .maxstack 1 .locals init ( - float64 V_0) + valuetype NAnt.Core.Tasks.LoopTask/LoopItem V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call float64 class [mscorlib]System.Math::Floor(float64) + 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 MathFunctions::Floor + } // end of method LoopTask::get_ItemType - // method line 167 - .method public static hidebysig - default float64 Ceiling (float64 'value') cil managed + // method line 175 + .method public hidebysig specialname + instance default void set_ItemType (valuetype NAnt.Core.Tasks.LoopTask/LoopItem '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.. + // Method begins at RVA 0x7e3b + // 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_0008: ret + } // end of method LoopTask::set_ItemType - // Method begins at RVA 0x3660 + // method line 176 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Tasks.LoopTask/LoopTrim get_TrimType () cil managed + { + // Method begins at RVA 0x7e48 // Code size 15 (0xf) .maxstack 1 .locals init ( - float64 V_0) + valuetype NAnt.Core.Tasks.LoopTask/LoopTrim V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call float64 class [mscorlib]System.Math::Ceiling(float64) + 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 MathFunctions::Ceiling + } // end of method LoopTask::get_TrimType - // method line 168 - .method public static hidebysig - default float64 Abs (float64 'value') cil managed + // method line 177 + .method public hidebysig specialname + instance default void set_TrimType (valuetype NAnt.Core.Tasks.LoopTask/LoopTrim 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 03 61 62 73 00 00 ) // ...abs.. + // Method begins at RVA 0x7e63 + // 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/LoopTrim NAnt.Core.Tasks.LoopTask::_loopTrim + IL_0008: ret + } // end of method LoopTask::set_TrimType - // Method begins at RVA 0x367c + // method line 178 + .method public hidebysig specialname + instance default string get_Source () cil managed + { + // Method begins at RVA 0x7e70 // Code size 15 (0xf) .maxstack 1 .locals init ( - float64 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call float64 class [mscorlib]System.Math::Abs(float64) + IL_0002: ldfld string NAnt.Core.Tasks.LoopTask::_inAttribute IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MathFunctions::Abs + } // end of method LoopTask::get_Source - } // end of class NAnt.Core.Functions.MathFunctions -} + // method line 179 + .method public hidebysig specialname + instance default void set_Source (string 'value') cil managed + { + // Method begins at RVA 0x7e8b + // 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.LoopTask::_inAttribute + IL_000d: ret + } // end of method LoopTask::set_Source -.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.. + // method line 180 + .method public hidebysig specialname + instance default string get_Delimiter () cil managed + { + // Method begins at RVA 0x7e9c + // 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::_delim + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoopTask::get_Delimiter - // method line 169 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 181 + .method public hidebysig specialname + instance default void set_Delimiter (string 'value') cil managed { - // Method begins at RVA 0x3697 - // Code size 10 (0xa) + // Method begins at RVA 0x7eb7 + // Code size 42 (0x2a) .maxstack 8 - IL_0000: ldarg.0 + IL_0000: nop 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 + IL_0002: brfalse IL_0012 - // method line 170 - .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.. + IL_0007: ldarg.1 + IL_0008: callvirt instance int32 string::get_Length() + IL_000d: brtrue IL_0020 - // Method begins at RVA 0x36a4 - // Code size 20 (0x14) - .maxstack 2 + 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_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 182 + .method public hidebysig specialname + instance default class NAnt.Core.Tasks.InElement get_InElement () cil managed + { + // Method begins at RVA 0x7ee4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - float64 V_0) + class NAnt.Core.Tasks.InElement 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 + IL_0002: ldfld class NAnt.Core.Tasks.InElement NAnt.Core.Tasks.LoopTask::_inElement + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DoubleConversionFunctions::Parse + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoopTask::get_InElement - // method line 171 - .method public static hidebysig - default string ToString (float64 'value') cil managed + // method line 183 + .method public hidebysig specialname + instance default void set_InElement (class NAnt.Core.Tasks.InElement '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 0x7eff + // Code size 9 (0x9) + .maxstack 8 + 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 - // Method begins at RVA 0x36c4 - // Code size 21 (0x15) - .maxstack 2 + // method line 184 + .method public hidebysig specialname + instance default class NAnt.Core.TaskContainer get_StuffToDo () cil managed + { + // Method begins at RVA 0x7f0c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.TaskContainer 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 + 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_0013: ldloc.0 - IL_0014: ret - } // end of method DoubleConversionFunctions::ToString + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoopTask::get_StuffToDo - } // end of class NAnt.Core.Functions.DoubleConversionFunctions -} - -.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.. - - - // method line 172 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 185 + .method public hidebysig specialname + instance default void set_StuffToDo (class NAnt.Core.TaskContainer 'value') cil managed { - // Method begins at RVA 0x36e5 - // Code size 10 (0xa) + // Method begins at RVA 0x7f27 + // 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 FrameworkFunctions::.ctor + 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 - // method line 173 - .method public hidebysig - instance default bool Exists (string framework) cil managed + // method line 186 + .method family virtual hidebysig + instance default void ExecuteTask () 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 0x36f0 - // Code size 42 (0x2a) - .maxstack 2 + // Method begins at RVA 0x7f34 + // Code size 1480 (0x5c8) + .maxstack 5 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - bool V_1) + 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: 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_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_0019: ldloc.0 - IL_001a: callvirt instance bool class NAnt.Core.FrameworkInfo::get_IsValid() - IL_001f: br.s IL_0022 + 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_0021: ldc.i4.0 - IL_0022: stloc.1 - IL_0023: br IL_0028 + .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_0028: ldloc.1 - IL_0029: ret - } // end of method FrameworkFunctions::Exists + 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 174 - .method public hidebysig - instance default bool SdkExists (string framework) 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.. + 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 - // Method begins at RVA 0x3728 - // Code size 29 (0x1d) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - bool 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 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_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 - IL_001b: ldloc.1 - IL_001c: ret - } // end of method FrameworkFunctions::SdkExists + 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 175 - .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_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 - // Method begins at RVA 0x3754 - // 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_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_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetTargetFramework + 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 176 - .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_016c: nop + IL_016d: br IL_01f2 - // Method begins at RVA 0x377c - // 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 + 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 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetRuntimeFramework + 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 177 - .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.. + 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 begins at RVA 0x37a4 - // 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_01d5: leave IL_01f1 - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetFamily + } // 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 178 - .method public hidebysig - instance 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_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 - // Method begins at RVA 0x37c8 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class [mscorlib]System.Version 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_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_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetVersion + 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 179 - .method public hidebysig - instance default class [mscorlib]System.Version GetVersion (string framework) 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_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 - // Method begins at RVA 0x37f0 - // 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: 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_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_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetVersion + 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 - // method line 180 - .method public hidebysig - instance default string GetDescription () 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.. + 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 begins at RVA 0x3814 - // 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_Description() - IL_0011: stloc.0 - IL_0012: br IL_0017 + 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_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetDescription + IL_0305: nop + IL_0306: br IL_038b - // method line 181 - .method public hidebysig - instance default string GetDescription (string framework) 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.. + 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 - // Method begins at RVA 0x383c - // 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_Description() - IL_000f: stloc.1 - IL_0010: br IL_0015 + 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_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetDescription + 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 182 - .method public hidebysig - instance default class [mscorlib]System.Version GetClrVersion () 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.. + IL_036e: leave IL_038a - // Method begins at RVA 0x3860 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class [mscorlib]System.Version 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 + } // 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_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetClrVersion + 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 183 - .method public hidebysig - instance default class [mscorlib]System.Version GetClrVersion (string framework) 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.. + 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 - // Method begins at RVA 0x3888 - // 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: 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_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_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetClrVersion + 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 184 - .method public hidebysig - instance default string GetFrameworkDirectory (string framework) 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.. + IL_03da: ldarg.0 + IL_03db: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() + IL_03e0: brtrue IL_03f7 - // Method begins at RVA 0x38ac - // Code size 28 (0x1c) - .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 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_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_001a: ldloc.1 - IL_001b: ret - } // end of method FrameworkFunctions::GetFrameworkDirectory + 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 185 - .method public hidebysig - instance default string GetAssemblyDirectory (string framework) 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.. + 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 - // Method begins at RVA 0x38d4 - // Code size 28 (0x1c) - .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 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_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_001a: ldloc.1 - IL_001b: ret - } // end of method FrameworkFunctions::GetAssemblyDirectory + 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 - // method line 186 - .method public hidebysig - instance default string GetSdkDirectory (string framework) 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.. + 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 - // Method begins at RVA 0x38fc - // Code size 46 (0x2e) - .maxstack 2 - .locals init ( - 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: 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_04c2: leave IL_04de - IL_0016: ldloc.1 - IL_0017: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001c: br IL_0026 + } // 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 - IL_0021: ldsfld string [mscorlib]System.String::Empty - IL_0026: stloc.2 - IL_0027: br IL_002c + 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_002c: ldloc.2 - IL_002d: ret - } // end of method FrameworkFunctions::GetSdkDirectory + 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 - // method line 187 - .method public hidebysig - instance default string GetToolPath (string tool) 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 ) // .. + IL_04f4: nop + IL_04f5: leave IL_05c7 - // Method begins at RVA 0x3938 - // Code size 57 (0x39) - .maxstack 3 - .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: 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_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_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_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_0037: ldloc.1 - IL_0038: ret - } // end of method FrameworkFunctions::GetToolPath + 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 - // method line 188 - .method public hidebysig - instance default string GetRuntimeEngine (string framework) 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.. + 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 - // Method begins at RVA 0x3980 - // Code size 23 (0x17) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - string V_1) + IL_0587: leave IL_058c + + IL_058c: nop + IL_058d: leave IL_05c7 + + } // end .try 3 + finally { // 3 + IL_0592: nop + IL_0593: ldc.i4.0 + IL_0594: stloc.s 26 + IL_0596: br IL_05bb + + 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_05c5: nop + IL_05c6: endfinally + } // end handler 3 + IL_05c7: ret + } // end of method LoopTask::ExecuteTask + + // method line 187 + .method family virtual hidebysig + instance default void ExecuteChildTasks () cil managed + { + // Method begins at RVA 0x856c + // Code size 39 (0x27) + .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_RuntimeEngine() - IL_000f: stloc.1 - IL_0010: br IL_0015 + IL_0002: call instance class NAnt.Core.TaskContainer class NAnt.Core.Tasks.LoopTask::get_StuffToDo() + IL_0007: brtrue IL_0019 - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetRuntimeEngine + 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 189 - .method public hidebysig - instance default string GetFrameworks (valuetype NAnt.Core.FrameworkTypes types) cil managed + 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 188 + .method family virtual hidebysig newslot + instance default void DoWork (string[] propVals) 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.. + .param [1] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x39a4 - // Code size 109 (0x6d) + // Method begins at RVA 0x8594 + // Code size 155 (0x9b) .maxstack 3 .locals init ( - class NAnt.Core.FrameworkInfo[] V_0, + int32 V_0, string V_1, - class [mscorlib]System.Text.StringBuilder V_2, - int32 V_3) + valuetype NAnt.Core.Tasks.LoopTask/LoopTrim 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 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_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_008b - IL_0016: ldsfld string [mscorlib]System.String::Empty - IL_001b: stloc.1 - IL_001c: br IL_006b + 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_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_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_002e: nop - IL_002f: ldloc.3 - IL_0030: ldc.i4.0 - IL_0031: ble IL_0042 + IL_003b: ldloc.2 + IL_003c: ldc.i4.2 + IL_003d: beq IL_005a - 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_0043: ldc.i4.1 + IL_0044: beq IL_0066 - IL_005f: ldloc.2 - IL_0060: callvirt instance string object::ToString() - IL_0065: stloc.1 - IL_0066: br IL_006b + IL_0049: br IL_0072 - IL_006b: ldloc.1 - IL_006c: ret - } // end of method FrameworkFunctions::GetFrameworks + IL_004e: ldloc.1 + IL_004f: callvirt instance string string::Trim() + IL_0054: stloc.1 + IL_0055: br IL_0072 - // method line 190 + IL_005a: ldloc.1 + IL_005b: callvirt instance string string::TrimStart() + IL_0060: stloc.1 + IL_0061: br IL_0072 + + IL_0066: ldloc.1 + IL_0067: callvirt instance string 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_0094: ldarg.0 + IL_0095: call instance void class NAnt.Core.TaskContainer::ExecuteTask() + IL_009a: ret + } // end of method LoopTask::DoWork + + // method line 189 .method private hidebysig - instance default class NAnt.Core.FrameworkInfo GetFramework (string framework) cil managed + instance default void DoWorkOnFileLines (string filename) cil managed { - // Method begins at RVA 0x3a20 - // Code size 114 (0x72) - .maxstack 3 + // Method begins at RVA 0x863c + // Code size 115 (0x73) + .maxstack 5 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class NAnt.Core.FrameworkInfo V_1) + class [mscorlib]System.IO.StreamReader V_0, + string V_1) 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_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_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_0018: nop + IL_0019: leave IL_005f - 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_001e: ldarg.0 + IL_001f: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() + IL_0024: brtrue IL_0040 - 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_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_0070: ldloc.0 - IL_0071: ret - } // end of method FrameworkFunctions::GetFramework + 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 - } // end of class NAnt.Core.Functions.FrameworkFunctions + 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.. + + .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.. + + .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) + + } // 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.Functions +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit BooleanConversionFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi beforefieldinit InElement + extends NAnt.Core.Element { - .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.. - + .field private class NAnt.Core.Types.FileSet _items - // method line 191 + // method line 190 .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 0x3a9e - // Code size 10 (0xa) + // Method begins at RVA 0x86cc + // 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 BooleanConversionFunctions::.ctor + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method InElement::.ctor - // method line 192 - .method public static hidebysig - default bool Parse (string s) cil managed + // method line 191 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_Items () 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 0x3aac + // Method begins at RVA 0x86d4 // 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 bool bool::Parse(string) + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.InElement::_items IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method BooleanConversionFunctions::Parse + } // end of method InElement::get_Items - // method line 193 - .method public static hidebysig - default string ToString (bool 'value') cil managed + // method line 192 + .method public hidebysig specialname + instance default void set_Items (class NAnt.Core.Types.FileSet '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 0x3ac8 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - string V_0) + // Method begins at RVA 0x86ef + // Code size 9 (0x9) + .maxstack 8 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: 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_0013: ldloc.0 - IL_0014: ret - } // end of method BooleanConversionFunctions::ToString + .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.. - } // end of class NAnt.Core.Functions.BooleanConversionFunctions + .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 } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit PkgConfigFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi beforefieldinit AttribTask + extends NAnt.Core.Task { - .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.. + .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 194 + // method line 193 .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 0x3ae9 - // Code size 10 (0xa) + // Method begins at RVA 0x86f9 + // 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 PkgConfigFunctions::.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 195 - .method public hidebysig - instance default string GetVariable (string package, string name) cil managed + // method line 194 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_File () 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 0x3af4 - // Code size 94 (0x5e) - .maxstack 7 + // Method begins at RVA 0x870c + // 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: ldarg.1 - IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) - IL_0008: brtrue IL_0029 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.AttribTask::_file + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method AttribTask::get_File - IL_005c: ldloc.0 - IL_005d: ret - } // end of method PkgConfigFunctions::GetVariable + // method line 195 + .method public hidebysig specialname + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x8727 + // 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 // method line 196 - .method public hidebysig - instance default string GetLinkFlags (string package) cil managed + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_AttribFileSet () 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.. - - // Method begins at RVA 0x3b60 - // Code size 83 (0x53) - .maxstack 5 + // Method begins at RVA 0x8734 + // 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: 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 "--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 + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.AttribTask::_fileset + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0051: ldloc.0 - IL_0052: ret - } // end of method PkgConfigFunctions::GetLinkFlags + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttribTask::get_AttribFileSet // method line 197 - .method public hidebysig - instance default string GetCompileFlags (string package) cil managed + .method public hidebysig specialname + instance default void set_AttribFileSet (class NAnt.Core.Types.FileSet 'value') 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.. - - // Method begins at RVA 0x3bc0 - // Code size 83 (0x53) - .maxstack 5 - .locals init ( - string V_0) + // Method begins at RVA 0x874f + // 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.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 - - IL_0051: ldloc.0 - IL_0052: ret - } // end of method PkgConfigFunctions::GetCompileFlags + IL_0003: stfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.AttribTask::_fileset + IL_0008: ret + } // end of method AttribTask::set_AttribFileSet // method line 198 - .method public hidebysig - instance default string GetModVersion (string package) cil managed + .method public hidebysig specialname + instance default bool get_ArchiveAttrib () 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.. - - // Method begins at RVA 0x3c20 - // Code size 83 (0x53) - .maxstack 5 + // Method begins at RVA 0x875c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0) + bool 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_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 + IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_archiveAttrib + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0051: ldloc.0 - IL_0052: ret - } // end of method PkgConfigFunctions::GetModVersion + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttribTask::get_ArchiveAttrib // method line 199 - .method public hidebysig - instance default bool IsAtLeastVersion (string package, string version) cil managed + .method public hidebysig specialname + instance default void set_ArchiveAttrib (bool 'value') 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 0x3c80 - // Code size 54 (0x36) - .maxstack 7 - .locals init ( - bool V_0) + // Method begins at RVA 0x8777 + // Code size 9 (0x9) + .maxstack 8 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_0034: ldloc.0 - IL_0035: ret - } // end of method PkgConfigFunctions::IsAtLeastVersion + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_archiveAttrib + IL_0008: ret + } // end of method AttribTask::set_ArchiveAttrib // method line 200 - .method public hidebysig - instance default bool IsExactVersion (string package, string version) cil managed + .method public hidebysig specialname + instance default bool get_HiddenAttrib () 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 0x3cc4 - // Code size 54 (0x36) - .maxstack 7 + // Method begins at RVA 0x8784 + // 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 "--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 bool NAnt.Core.Tasks.AttribTask::_hiddenAttrib + 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 AttribTask::get_HiddenAttrib // method line 201 - .method public hidebysig - instance default bool IsMaxVersion (string package, string version) cil managed + .method public hidebysig specialname + instance default void set_HiddenAttrib (bool '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 0x3d08 - // Code size 54 (0x36) - .maxstack 7 - .locals init ( - bool V_0) + // Method begins at RVA 0x879f + // Code size 9 (0x9) + .maxstack 8 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_0034: ldloc.0 - IL_0035: ret - } // end of method PkgConfigFunctions::IsMaxVersion + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_hiddenAttrib + IL_0008: ret + } // end of method AttribTask::set_HiddenAttrib // method line 202 - .method public hidebysig - instance default bool IsBetweenVersion (string package, string minVersion, string maxVersion) cil managed + .method public hidebysig specialname + instance default bool get_NormalAttrib () 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 0x3d4c - // Code size 78 (0x4e) - .maxstack 7 + // Method begins at RVA 0x87ac + // Code size 15 (0xf) + .maxstack 1 .locals init ( bool 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 bool NAnt.Core.Tasks.AttribTask::_normalAttrib + 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 AttribTask::get_NormalAttrib // method line 203 - .method public hidebysig - instance default bool Exists (string package) cil managed + .method public hidebysig specialname + instance default void set_NormalAttrib (bool '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 0x3da8 - // Code size 43 (0x2b) - .maxstack 5 - .locals init ( - bool V_0) + // Method begins at RVA 0x87c7 + // Code size 9 (0x9) + .maxstack 8 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_0029: ldloc.0 - IL_002a: ret - } // end of method PkgConfigFunctions::Exists + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_normalAttrib + IL_0008: ret + } // end of method AttribTask::set_NormalAttrib // method line 204 - .method private hidebysig - instance default bool RunPkgConfigBool (class NAnt.Core.Types.Argument[] args) cil managed + .method public hidebysig specialname + instance default bool get_ReadOnlyAttrib () cil managed { - // Method begins at RVA 0x3de0 - // Code size 71 (0x47) - .maxstack 2 + // Method begins at RVA 0x87d4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.MemoryStream V_0, - class NAnt.Core.Tasks.ExecTask V_1, - bool V_2) + bool 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.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_003b: nop - IL_003c: rethrow - IL_003e: ldc.i4.0 - IL_003f: stloc.2 - IL_0040: leave IL_0045 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_readOnlyAttrib + IL_0007: stloc.0 + IL_0008: br IL_000d - } // end handler 0 - IL_0045: ldloc.2 - IL_0046: ret - } // end of method PkgConfigFunctions::RunPkgConfigBool + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttribTask::get_ReadOnlyAttrib // method line 205 - .method private hidebysig - instance default string RunPkgConfigString (class NAnt.Core.Types.Argument[] args) cil managed + .method public hidebysig specialname + instance default void set_ReadOnlyAttrib (bool 'value') cil managed { - // Method begins at RVA 0x3e44 - // 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) + // Method begins at RVA 0x87ef + // 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: 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: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.AttribTask::_readOnlyAttrib + IL_0008: ret + } // end of method AttribTask::set_ReadOnlyAttrib // method line 206 - .method private hidebysig - instance default class NAnt.Core.Tasks.ExecTask GetTask (class [mscorlib]System.IO.Stream 'stream') cil managed + .method public hidebysig specialname + instance default bool get_SystemAttrib () cil managed { - // Method begins at RVA 0x3ee8 - // Code size 83 (0x53) - .maxstack 3 + // Method begins at RVA 0x87fc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Tasks.ExecTask V_0, - class [mscorlib]System.IO.TextWriter V_1, - class NAnt.Core.Tasks.ExecTask V_2) + bool V_0) 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 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_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Tasks.AttribTask::_systemAttrib + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttribTask::get_SystemAttrib // method line 207 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + .method public hidebysig specialname + instance default void set_SystemAttrib (bool 'value') cil managed { - // Method begins at RVA 0x3f47 - // Code size 10 (0xa) + // Method begins at RVA 0x8817 + // 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 Int32ConversionFunctions::.ctor + 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 // method line 208 - .method public static hidebysig - default int32 Parse (string s) cil managed + .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 0x3f54 - // Code size 20 (0x14) - .maxstack 2 + // Method begins at RVA 0x8824 + // 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 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_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_0012: ldloc.0 - IL_0013: ret - } // end of method Int32ConversionFunctions::Parse + 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_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 + + } // 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 209 - .method public static hidebysig - default string ToString (int32 'value') cil managed + .method private hidebysig + instance default valuetype [mscorlib]System.IO.FileAttributes GetFileAttributes () 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 0x3f74 - // Code size 21 (0x15) + // Method begins at RVA 0x8a48 + // Code size 141 (0x8d) .maxstack 2 .locals init ( - string V_0) + valuetype [mscorlib]System.IO.FileAttributes V_0, + valuetype [mscorlib]System.IO.FileAttributes V_1) 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_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 Int32ConversionFunctions::ToString + IL_000e: nop + IL_000f: ldc.i4 128 + IL_0014: stloc.0 + IL_0015: nop + IL_0016: br IL_0062 - } // end of class NAnt.Core.Functions.Int32ConversionFunctions -} + IL_001b: nop + IL_001c: ldarg.0 + IL_001d: call instance bool class NAnt.Core.Tasks.AttribTask::get_ArchiveAttrib() + IL_0022: brfalse IL_002e -.namespace NAnt.Core.Extensibility -{ - .class private auto ansi beforefieldinit PluginScanner - extends [mscorlib]System.Object - { - .field private initonly class [mscorlib]System.Collections.ArrayList _pluginBuilders + 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_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_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_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_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_008b: ldloc.1 + IL_008c: ret + } // end of method AttribTask::GetFileAttributes // method line 210 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + .method private hidebysig + instance default void SetFileAttributes (string path, valuetype [mscorlib]System.IO.FileAttributes fileAttributes) cil managed { - // Method begins at RVA 0x3f95 - // 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 + // Method begins at RVA 0x8ae4 + // 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 + + } // 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 + + 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 + + } // end handler 0 + IL_0071: ret + } // end of method AttribTask::SetFileAttributes // method line 211 - .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 private hidebysig + instance default valuetype [mscorlib]System.IO.FileAttributes GetDirectoryAttributes () cil managed { - // Method begins at RVA 0x3fa8 - // Code size 116 (0x74) - .maxstack 7 + // Method begins at RVA 0x8b74 + // Code size 95 (0x5f) + .maxstack 2 .locals init ( - bool V_0, - bool V_1, - class NAnt.Core.Extensibility.PluginBuilder V_2) + valuetype [mscorlib]System.IO.FileAttributes V_0, + valuetype [mscorlib]System.IO.FileAttributes V_1) IL_0000: nop - IL_0001: ldarg.2 - IL_0002: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() - IL_0007: brfalse IL_0013 + 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_000c: ldc.i4.0 - IL_000d: stloc.0 - IL_000e: br IL_0072 + IL_000f: nop + IL_0010: ldarg.0 + IL_0011: call instance bool class NAnt.Core.Tasks.AttribTask::get_ArchiveAttrib() + IL_0016: brfalse IL_0022 - .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_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_002b: nop - IL_002c: ldc.i4.0 - IL_002d: stloc.0 - IL_002e: leave IL_0072 + 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_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 + 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 - } // 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_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 212 - .method public hidebysig - instance default void RegisterPlugins (class NAnt.Core.Extensibility.IPluginConsumer consumer) cil managed + .method private hidebysig + instance default void SetDirectoryAttributes (string path, valuetype [mscorlib]System.IO.FileAttributes fileAttributes) cil managed { - // Method begins at RVA 0x4038 - // Code size 209 (0xd1) - .maxstack 3 + // Method begins at RVA 0x8be0 + // Code size 139 (0x8b) + .maxstack 5 .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) + class [mscorlib]System.Exception V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + .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_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_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_0032: nop - IL_0033: br IL_00d0 + 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_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 + } // 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_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_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 - 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 + } // end handler 0 + IL_008a: ret + } // end of method AttribTask::SetDirectoryAttributes - 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 + .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_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 + .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_00a9: nop - IL_00aa: ldloc.2 - IL_00ab: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00b0: brtrue IL_004a + .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_00b5: leave IL_00d0 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // 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 + .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.. - 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 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end of class NAnt.Core.Extensibility.PluginScanner -} + .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.. -.namespace NAnt.Core.Extensibility -{ - .class interface public auto ansi abstract IPlugin - { + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end of class NAnt.Core.Extensibility.IPlugin -} + .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.. -.namespace NAnt.Core.Extensibility -{ - .class interface public auto ansi abstract IPluginConsumer - { + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 213 - .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 + .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.. - } // end of class NAnt.Core.Extensibility.IPluginConsumer + .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.Extensibility +.namespace NAnt.Core.Tasks { - .class public auto ansi sealed beforefieldinit PluginConsumerAttribute - extends [mscorlib]System.Attribute + .class public auto ansi beforefieldinit TStampTask + extends NAnt.Core.Task { - .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. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 74 73 74 61 6D 70 00 00 ) // ...tstamp.. - .field private class [mscorlib]System.Type _type + .field private string _property + .field private string _pattern + .field private class NAnt.Core.Types.FormatterCollection _formatters - // method line 214 + // method line 213 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Type 'type') cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x4128 - // Code size 39 (0x27) + // Method begins at RVA 0x8c88 + // Code size 18 (0x12) .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_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_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 215 + // method line 214 .method public hidebysig specialname - instance default class [mscorlib]System.Type get_PluginType () cil managed + instance default string get_Property () cil managed { - // Method begins at RVA 0x4150 + // Method begins at RVA 0x8c9c // 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.PluginConsumerAttribute::_type + IL_0002: ldfld string NAnt.Core.Tasks.TStampTask::_property IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PluginConsumerAttribute::get_PluginType - - .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 -} + } // end of method TStampTask::get_Property -.namespace NAnt.Core.Extensibility -{ - .class public auto ansi abstract beforefieldinit ExtensionBuilder - extends [mscorlib]System.Object - { - .field private initonly class NAnt.Core.Extensibility.ExtensionAssembly _extensionAssembly + // method line 215 + .method public hidebysig specialname + instance default void set_Property (string 'value') cil managed + { + // Method begins at RVA 0x8cb7 + // 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 line 216 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly) cil managed + .method public hidebysig specialname + instance default string get_Pattern () cil managed { - // Method begins at RVA 0x416b - // 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 + // Method begins at RVA 0x8cc4 + // 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::_pattern + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method TStampTask::get_Pattern // method line 217 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + .method public hidebysig specialname + instance default void set_Pattern (string 'value') cil managed { - // Method begins at RVA 0x418d - // Code size 14 (0xe) + // Method begins at RVA 0x8cdf + // Code size 9 (0x9) .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_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 // method line 218 - .method assembly hidebysig specialname - instance default class NAnt.Core.Extensibility.ExtensionAssembly get_ExtensionAssembly () cil managed + .method public hidebysig specialname + instance default class NAnt.Core.Types.FormatterCollection get_Formatters () cil managed { - // Method begins at RVA 0x419c + // Method begins at RVA 0x8cec // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Extensibility.ExtensionAssembly V_0) + class NAnt.Core.Types.FormatterCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::_extensionAssembly + IL_0002: ldfld class NAnt.Core.Types.FormatterCollection NAnt.Core.Tasks.TStampTask::_formatters IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ExtensionBuilder::get_ExtensionAssembly + } // end of method TStampTask::get_Formatters // method line 219 - .method famorassem hidebysig specialname - instance default class [mscorlib]System.Reflection.Assembly get_Assembly () cil managed + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x41b8 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x8d08 + // Code size 447 (0x1bf) + .maxstack 8 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0) + 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: 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_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_0012: ldloc.0 - IL_0013: ret - } // end of method ExtensionBuilder::get_Assembly + IL_009a: ldarg.0 + IL_009b: ldfld string NAnt.Core.Tasks.TStampTask::_pattern + IL_00a0: brfalse IL_0107 - .property instance class NAnt.Core.Extensibility.ExtensionAssembly ExtensionAssembly () + 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_01a5: leave IL_01be + + } // 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_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 + + .property instance string Property () { - .get instance default class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::get_ExtensionAssembly () + .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. + + .get instance default string NAnt.Core.Tasks.TStampTask::get_Property () + .set instance default void NAnt.Core.Tasks.TStampTask::set_Property (string 'value') } - .property instance class [mscorlib]System.Reflection.Assembly Assembly () + .property instance string Pattern () { - .get instance default class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly () + .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. + + .get instance default string NAnt.Core.Tasks.TStampTask::get_Pattern () + .set instance default void NAnt.Core.Tasks.TStampTask::set_Pattern (string 'value') } - } // end of class NAnt.Core.Extensibility.ExtensionBuilder + .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.. + + .get instance default class NAnt.Core.Types.FormatterCollection NAnt.Core.Tasks.TStampTask::get_Formatters () + } + } // end of class NAnt.Core.Tasks.TStampTask } -.namespace NAnt.Core.Extensibility +.namespace NAnt.Core.Tasks { - .class private auto ansi beforefieldinit PluginBuilder - extends NAnt.Core.Extensibility.ExtensionBuilder + .class public auto ansi beforefieldinit IfTask + extends NAnt.Core.TaskContainer { - .field private initonly class [mscorlib]System.Type _pluginType + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + + .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 220 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type pluginType) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x41d8 - // Code size 16 (0x10) + // Method begins at RVA 0x8ee4 + // Code size 7 (0x7) .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_0001: call instance void class NAnt.Core.TaskContainer::'.ctor'() + IL_0006: ret + } // end of method IfTask::.ctor // method line 221 .method public hidebysig specialname - instance default class [mscorlib]System.Type get_PluginType () cil managed + instance default void set_UpToDateFile (string 'value') cil managed { - // Method begins at RVA 0x41ec - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Type V_0) + // Method begins at RVA 0x8eec + // Code size 90 (0x5a) + .maxstack 2 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginBuilder::_pluginType - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles + IL_0007: brtrue IL_0047 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PluginBuilder::get_PluginType + 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 // method line 222 - .method public hidebysig - instance default class NAnt.Core.Extensibility.IPlugin CreatePlugin () cil managed + .method public hidebysig specialname + instance default void set_CompareFile (string 'value') cil managed { - // Method begins at RVA 0x4208 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.Extensibility.IPlugin V_0) + // Method begins at RVA 0x8f54 + // Code size 90 (0x5a) + .maxstack 2 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 -} + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_compareFiles + IL_0007: brtrue IL_0047 -.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_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 223 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed - { - // Method begins at RVA 0x422d - // 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 - - // method line 224 .method public hidebysig specialname - instance default class [mscorlib]System.Reflection.Assembly get_Assembly () cil managed + instance default class NAnt.Core.Types.FileSet get_CompareFiles () cil managed { - // Method begins at RVA 0x4240 + // Method begins at RVA 0x8fbc // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0) + class NAnt.Core.Types.FileSet 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 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 ExtensionAssembly::get_Assembly + } // end of method IfTask::get_CompareFiles - // method line 225 - .method assembly hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNode get_ConfigurationSection () cil managed + // method line 224 + .method public hidebysig specialname + instance default void set_CompareFiles (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x425c - // 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 0x8fd7 + // 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_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 - - .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_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 + 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 226 - .method public static hidebysig - default class NAnt.Core.Extensibility.ExtensionAssembly Create (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + // method line 225 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_UpToDateFiles () cil managed { - // Method begins at RVA 0x42f8 - // Code size 84 (0x54) - .maxstack 3 + // Method begins at RVA 0x8fe4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class NAnt.Core.Extensibility.ExtensionAssembly V_1, - class NAnt.Core.Extensibility.ExtensionAssembly V_2) + class NAnt.Core.Types.FileSet V_0) 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 - - // method line 227 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x4358 - // 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 -} + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.IfTask::_uptodateFiles + IL_0007: stloc.0 + IL_0008: br IL_000d -.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 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method IfTask::get_UpToDateFiles - // method line 228 - .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 line 226 + .method public hidebysig specialname + instance default void set_UpToDateFiles (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x4364 - // Code size 45 (0x2d) + // Method begins at RVA 0x8fff + // 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: 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_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 - // method line 229 + // method line 227 .method public hidebysig specialname - instance default int32 get_Index () cil managed + instance default string get_PropertyNameTrue () cil managed { - // Method begins at RVA 0x4394 + // Method begins at RVA 0x900c // 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.Extensibility.FunctionArgument::_index + 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 FunctionArgument::get_Index + } // end of method IfTask::get_PropertyNameTrue - // method line 230 + // method line 228 .method public hidebysig specialname - instance default string get_Name () cil managed + instance default void set_PropertyNameTrue (string 'value') cil managed + { + // Method begins at RVA 0x9027 + // 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.IfTask::_propNameTrue + IL_000d: ret + } // end of method IfTask::set_PropertyNameTrue + + // method line 229 + .method public hidebysig specialname + instance default string get_PropertyNameExists () cil managed { - // Method begins at RVA 0x43b0 + // Method begins at RVA 0x9038 // 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.IfTask::_propNameExists 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 IfTask::get_PropertyNameExists + + // method line 230 + .method public hidebysig specialname + instance default void set_PropertyNameExists (string 'value') cil managed + { + // Method begins at RVA 0x9053 + // 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.IfTask::_propNameExists + IL_000d: ret + } // end of method IfTask::set_PropertyNameExists // method line 231 .method public hidebysig specialname - instance default object get_Value () cil managed + instance default string get_TargetNameExists () cil managed { - // Method begins at RVA 0x43cc + // Method begins at RVA 0x9064 // 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.IfTask::_targetName 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 IfTask::get_TargetNameExists // method line 232 .method public hidebysig specialname - instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_BeforeArgument () cil managed + instance default void set_TargetNameExists (string 'value') cil managed { - // Method begins at RVA 0x43e8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0) + // Method begins at RVA 0x907f + // Code size 14 (0xe) + .maxstack 8 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 + 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 // method line 233 .method public hidebysig specialname - instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_AfterArgument () cil managed + instance default string get_Test () cil managed { - // Method begins at RVA 0x4404 + // Method begins at RVA 0x9090 // 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.IfTask::_test 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.Util -{ - .class public auto ansi abstract sealed beforefieldinit FileUtils - extends [mscorlib]System.Object - { - .field private static literal int32 _bufferSize = int32(0x00002000) + } // end of method IfTask::get_Test // method line 234 - .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 public hidebysig specialname + instance default void set_Test (string 'value') cil managed { - // Method begins at RVA 0x4420 - // Code size 329 (0x149) - .maxstack 4 + // Method begins at RVA 0x90ab + // 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.IfTask::_test + IL_000d: ret + } // end of method IfTask::set_Test + + // method line 235 + .method family virtual hidebysig newslot specialname + instance default bool get_ConditionsTrue () cil managed + { + // Method begins at RVA 0x90bc + // Code size 457 (0x1c9) + .maxstack 7 .locals init ( bool V_0, - class [mscorlib]System.Text.Encoding V_1, - class [mscorlib]System.IO.StreamReader V_2, - class [mscorlib]System.Text.Encoding V_3, - class [mscorlib]System.IO.StreamWriter V_4, - class NAnt.Core.Filters.Filter V_5, - bool V_6, - int32 V_7, - char[] V_8, - int32 V_9) + 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: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0007: brtrue IL_001e + 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_000c: nop - IL_000d: ldstr "Cannot copy file: Source File {0} does not exist" - IL_0012: ldarg.0 - IL_0013: call string string::Format(string, object) - IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_001d: throw - IL_001e: ldarg.2 - IL_001f: call bool class NAnt.Core.Filters.FilterChain::IsNullOrEmpty(class NAnt.Core.Filters.FilterChain) - IL_0024: ldc.i4.0 - IL_0025: ceq - IL_0027: stloc.0 - IL_0028: ldloc.0 - IL_0029: brtrue IL_004a + 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_002e: ldarg.3 - IL_002f: brtrue IL_004a + IL_0024: nop + IL_0025: ldc.i4.0 + IL_0026: stloc.1 + IL_0027: br IL_01c7 - IL_0034: ldarg.s 4 - IL_0036: brtrue IL_004a + 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_003b: nop - IL_003c: ldarg.0 - IL_003d: ldarg.1 - IL_003e: ldc.i4.1 - IL_003f: call void class [mscorlib]System.IO.File::Copy(string, string, bool) - IL_0044: nop - IL_0045: br IL_0148 + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: brfalse IL_005d - IL_004a: nop - IL_004b: ldarg.3 - IL_004c: brfalse IL_0057 + 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_0051: ldarg.3 - IL_0052: br IL_005c + IL_005d: ldc.i4.0 + IL_005e: stloc.0 + IL_005f: ldloc.0 + IL_0060: brtrue IL_006d - IL_0057: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_005c: stloc.1 - IL_005d: ldarg.0 - IL_005e: ldloc.1 - IL_005f: ldc.i4.1 - IL_0060: ldc.i4 8192 - IL_0065: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool, int32) - IL_006a: stloc.2 - .try { // 1 - IL_006b: nop - IL_006c: ldarg.s 4 - IL_006e: stloc.3 - IL_006f: ldloc.3 - IL_0070: brtrue IL_007e + IL_0065: nop + IL_0066: ldc.i4.0 + IL_0067: stloc.1 + IL_0068: br IL_01c7 - IL_0075: nop - IL_0076: ldloc.2 - IL_0077: callvirt instance class [mscorlib]System.Text.Encoding class [mscorlib]System.IO.StreamReader::get_CurrentEncoding() - IL_007c: stloc.3 - IL_007d: nop - IL_007e: ldarg.1 - IL_007f: ldc.i4.0 - IL_0080: ldloc.3 - IL_0081: ldc.i4 8192 - IL_0086: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string, bool, class [mscorlib]System.Text.Encoding, int32) - IL_008b: stloc.s 4 - .try { // 0 - IL_008d: nop - IL_008e: ldloc.0 - IL_008f: brfalse IL_00e1 + 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_0094: nop - IL_0095: ldarg.2 - IL_0096: ldloc.2 - IL_0097: newobj instance void class NAnt.Core.Filters.PhysicalTextReader::'.ctor'(class [mscorlib]System.IO.TextReader) - IL_009c: callvirt instance class NAnt.Core.Filters.Filter class NAnt.Core.Filters.FilterChain::GetBaseFilter(class NAnt.Core.Filters.PhysicalTextReader) - IL_00a1: stloc.s 5 - IL_00a3: ldc.i4.0 - IL_00a4: stloc.s 6 - IL_00a6: br IL_00d4 + IL_0079: nop + IL_007a: ldloc.0 + IL_007b: brfalse IL_0093 - IL_00ab: nop - IL_00ac: ldloc.s 5 - IL_00ae: callvirt instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_00b3: stloc.s 7 - IL_00b5: ldloc.s 7 - IL_00b7: ldc.i4.m1 - IL_00b8: ble IL_00ce + 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_00bd: nop - IL_00be: ldloc.s 4 - IL_00c0: ldloc.s 7 - IL_00c2: conv.u2 - IL_00c3: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(char) - IL_00c8: nop - IL_00c9: br IL_00d3 + IL_0093: ldc.i4.0 + IL_0094: stloc.0 + IL_0095: ldloc.0 + IL_0096: brtrue IL_00a3 - IL_00ce: nop - IL_00cf: ldc.i4.1 - IL_00d0: stloc.s 6 - IL_00d2: nop - IL_00d3: nop - IL_00d4: ldloc.s 6 - IL_00d6: brfalse IL_00ab + IL_009b: nop + IL_009c: ldc.i4.0 + IL_009d: stloc.1 + IL_009e: br IL_01c7 - IL_00db: nop - IL_00dc: br IL_011f + 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_00e1: nop - IL_00e2: ldc.i4 8192 - IL_00e7: newarr [mscorlib]System.Char - IL_00ec: stloc.s 8 - IL_00ee: nop - IL_00ef: nop - IL_00f0: ldloc.2 - IL_00f1: ldloc.s 8 - IL_00f3: ldc.i4.0 - IL_00f4: ldloc.s 8 - IL_00f6: ldlen - IL_00f7: conv.i4 - IL_00f8: callvirt instance int32 class [mscorlib]System.IO.TextReader::Read(char[], int32, int32) - IL_00fd: stloc.s 9 - IL_00ff: ldloc.s 9 - IL_0101: brtrue IL_010c + IL_00af: nop + .try { // 0 + IL_00b0: nop + IL_00b1: ldloc.0 + IL_00b2: brfalse IL_00cf - IL_0106: nop - IL_0107: leave IL_011e + 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_010c: ldloc.s 4 - IL_010e: ldloc.s 8 - IL_0110: ldc.i4.0 - IL_0111: ldloc.s 9 - IL_0113: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(char[], int32, int32) - IL_0118: nop - IL_0119: br IL_00ee + IL_00cf: ldc.i4.0 + IL_00d0: stloc.0 + IL_00d1: ldloc.0 + IL_00d2: brtrue IL_00df - IL_011e: nop - IL_011f: nop - IL_0120: leave IL_0134 + IL_00d7: nop + IL_00d8: ldc.i4.0 + IL_00d9: stloc.1 + IL_00da: leave IL_01c7 - } // end .try 0 - finally { // 0 - IL_0125: ldloc.s 4 - IL_0127: brfalse IL_0133 + IL_00df: nop + IL_00e0: leave IL_010e - IL_012c: ldloc.s 4 - IL_012e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0133: endfinally - } // end handler 0 - IL_0134: nop - IL_0135: leave IL_0147 + } // 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_013a: ldloc.2 - IL_013b: brfalse IL_0146 + 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_0140: ldloc.2 - IL_0141: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0146: endfinally - } // end handler 1 - IL_0147: nop - IL_0148: ret - } // end of method FileUtils::CopyFile + IL_012d: ldloc.3 + IL_012e: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0133: brtrue IL_0151 - // method line 235 - .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 0x4594 - // Code size 88 (0x58) - .maxstack 5 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call bool class [mscorlib]System.IO.File::Exists(string) - IL_0007: brtrue IL_001e + 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_000c: nop - IL_000d: ldstr "Cannot move file: Source File {0} does not exist" - IL_0012: ldarg.0 - IL_0013: call string string::Format(string, object) - IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_001d: throw - IL_001e: ldarg.2 - IL_001f: call bool class NAnt.Core.Filters.FilterChain::IsNullOrEmpty(class NAnt.Core.Filters.FilterChain) - IL_0024: brfalse IL_0044 + 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_0029: ldarg.3 - IL_002a: brtrue IL_0044 + 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_002f: ldarg.s 4 - IL_0031: brtrue IL_0044 + IL_01a7: ldloc.s 5 + IL_01a9: ldc.i4.0 + IL_01aa: ceq + IL_01ac: br.s IL_01af - IL_0036: nop - IL_0037: ldarg.0 - IL_0038: ldarg.1 - IL_0039: call void class [mscorlib]System.IO.File::Move(string, string) - IL_003e: nop - IL_003f: br IL_0057 + IL_01ae: ldc.i4.0 + IL_01af: stloc.0 + IL_01b0: nop + IL_01b1: ldloc.0 + IL_01b2: brtrue IL_01bf - IL_0044: nop - IL_0045: ldarg.0 - IL_0046: ldarg.1 - IL_0047: ldarg.2 - IL_0048: ldarg.3 - IL_0049: ldarg.s 4 - IL_004b: 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_0050: ldarg.0 - IL_0051: call void class [mscorlib]System.IO.File::Delete(string) - IL_0056: nop - IL_0057: ret - } // end of method FileUtils::MoveFile + 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 236 - .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 family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x45f8 - // Code size 180 (0xb4) - .maxstack 5 - .locals init ( - string V_0, - string[] V_1, - int32 V_2, - string V_3, - string V_4, - string[] V_5, - int32 V_6, - string V_7) + // Method begins at RVA 0x92a4 + // Code size 21 (0x15) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0007: brtrue IL_001e + IL_0002: callvirt instance bool class NAnt.Core.Tasks.IfTask::get_ConditionsTrue() + IL_0007: brfalse IL_0014 IL_000c: nop - IL_000d: ldstr "Cannot copy directory: Source Directory {0} does not exist" + 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 237 + .method family virtual hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0x92bc + // 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_0012: ldarg.0 - IL_0013: call string string::Format(string, object) - IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_001d: throw - IL_001e: ldarg.1 - IL_001f: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0024: brtrue IL_0032 + 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_0029: nop - IL_002a: ldarg.1 - IL_002b: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0030: pop - IL_0031: nop - IL_0032: nop IL_0033: ldarg.0 - IL_0034: call string[] class [mscorlib]System.IO.Directory::GetFiles(string) - IL_0039: stloc.1 - IL_003a: ldc.i4.0 - IL_003b: stloc.2 - IL_003c: br IL_0063 + IL_0034: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() + IL_0039: brtrue IL_005b - IL_0041: ldloc.1 - IL_0042: ldloc.2 - IL_0043: ldelem.ref - IL_0044: stloc.0 - IL_0045: nop - IL_0046: ldarg.1 - IL_0047: ldloc.0 - IL_0048: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_004d: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0052: stloc.3 - IL_0053: ldloc.0 - IL_0054: ldloc.3 - IL_0055: ldarg.2 - IL_0056: ldarg.3 - IL_0057: ldarg.s 4 - IL_0059: 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_005e: nop - IL_005f: ldloc.2 - IL_0060: ldc.i4.1 - IL_0061: add - IL_0062: stloc.2 - IL_0063: ldloc.2 - IL_0064: ldloc.1 - IL_0065: ldlen - IL_0066: conv.i4 - IL_0067: blt IL_0041 + IL_003e: ldarg.0 + IL_003f: call instance string class NAnt.Core.Tasks.IfTask::get_TargetNameExists() + IL_0044: brtrue IL_005b - IL_006c: nop - IL_006d: ldarg.0 - IL_006e: call string[] class [mscorlib]System.IO.Directory::GetDirectories(string) - IL_0073: stloc.s 5 - IL_0075: ldc.i4.0 - IL_0076: stloc.s 6 - IL_0078: br IL_00a8 + 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 - IL_007d: ldloc.s 5 - IL_007f: ldloc.s 6 - IL_0081: ldelem.ref - IL_0082: stloc.s 4 - IL_0084: nop - IL_0085: ldarg.1 - IL_0086: ldloc.s 4 - IL_0088: call string class [mscorlib]System.IO.Path::GetFileName(string) - IL_008d: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0092: stloc.s 7 - IL_0094: ldloc.s 4 - IL_0096: ldloc.s 7 - IL_0098: ldarg.2 - IL_0099: ldarg.3 - IL_009a: ldarg.s 4 - IL_009c: 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_00a1: nop - IL_00a2: ldloc.s 6 - IL_00a4: ldc.i4.1 - IL_00a5: add - IL_00a6: stloc.s 6 - IL_00a8: ldloc.s 6 - IL_00aa: ldloc.s 5 - IL_00ac: ldlen - IL_00ad: conv.i4 - IL_00ae: blt IL_007d + .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_00b3: ret - } // end of method FileUtils::CopyDirectory + .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.... - // method line 237 - .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 0x46b8 - // Code size 308 (0x134) - .maxstack 5 - .locals init ( - string V_0, - string V_1, - class [mscorlib]System.IO.IOException V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0007: brtrue IL_001e + .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_000c: nop - IL_000d: ldstr "Cannot move directory: Source Directory {0} does not exist" - IL_0012: ldarg.0 - IL_0013: call string string::Format(string, object) - IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_001d: throw - IL_001e: ldarg.2 - IL_001f: call bool class NAnt.Core.Filters.FilterChain::IsNullOrEmpty(class NAnt.Core.Filters.FilterChain) - IL_0024: brfalse IL_011f + .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_0029: ldarg.3 - IL_002a: brtrue IL_011f + .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 ) // . - IL_002f: ldarg.s 4 - IL_0031: brtrue IL_011f + .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_0036: nop - IL_0037: ldarg.0 - IL_0038: ldarg.1 - IL_0039: ldc.i4.2 - IL_003a: callvirt instance bool string::Equals(string, valuetype [mscorlib]System.StringComparison) - IL_003f: brfalse IL_0050 + .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 ) // .. - IL_0044: nop - IL_0045: ldstr "Source and Target paths are identical" - IL_004a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_004f: throw - .try { // 1 - IL_0050: nop - IL_0051: call bool class NAnt.Core.PlatformHelper::get_IsWindows() - IL_0056: brfalse IL_00d1 + .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_005b: nop - IL_005c: ldarg.0 - IL_005d: ldarg.1 - IL_005e: ldc.i4.3 - IL_005f: callvirt instance bool string::Equals(string, valuetype [mscorlib]System.StringComparison) - IL_0064: brfalse IL_00c2 + .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 ) // . - IL_0069: nop - IL_006a: ldarg.1 - IL_006b: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::GetParent(string) - IL_0070: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0075: stloc.0 - IL_0076: ldloc.0 - IL_0077: call string class [mscorlib]System.IO.Path::GetRandomFileName() - IL_007c: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0081: stloc.1 - .try { // 0 - IL_0082: nop - IL_0083: ldarg.0 - IL_0084: ldloc.1 - IL_0085: call void class [mscorlib]System.IO.Directory::Move(string, string) - IL_008a: ldloc.1 - IL_008b: ldarg.1 - IL_008c: call void class [mscorlib]System.IO.Directory::Move(string, string) - IL_0091: nop - IL_0092: leave IL_00bc + .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.... - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_0097: pop - IL_0098: nop - IL_0099: ldloc.1 - IL_009a: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_009f: brfalse IL_00ba + .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.. - IL_00a4: nop - IL_00a5: ldarg.0 - IL_00a6: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_00ab: brtrue IL_00b9 + .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 ) // .. - IL_00b0: nop - IL_00b1: ldloc.1 - IL_00b2: ldarg.0 - IL_00b3: call void class [mscorlib]System.IO.Directory::Move(string, string) - IL_00b8: nop - IL_00b9: nop - IL_00ba: rethrow - } // end handler 0 - IL_00bc: nop - IL_00bd: br IL_00cb + .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 ) // . - IL_00c2: nop - IL_00c3: ldarg.0 - IL_00c4: ldarg.1 - IL_00c5: call void class [mscorlib]System.IO.Directory::Move(string, string) - IL_00ca: nop - IL_00cb: nop - IL_00cc: br IL_00da + .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.... - IL_00d1: nop - IL_00d2: ldarg.0 - IL_00d3: ldarg.1 - IL_00d4: call void class [mscorlib]System.IO.Directory::Move(string, string) - IL_00d9: nop - IL_00da: nop - IL_00db: leave IL_0119 + .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.. - } // end .try 1 - catch class [mscorlib]System.IO.IOException { // 1 - IL_00e0: stloc.2 - IL_00e1: nop - IL_00e2: ldarg.1 - IL_00e3: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_00e8: brfalse IL_0105 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_00ed: nop - IL_00ee: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00f3: ldstr "Failed to move directory {0}.Directory '{1}' already exists." - IL_00f8: ldarg.0 - IL_00f9: ldarg.1 - IL_00fa: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00ff: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) - IL_0104: throw - IL_0105: nop - IL_0106: ldstr "Unhandled IOException when trying to move directory '{0}' to '{1}'" - IL_010b: ldarg.0 - IL_010c: ldarg.1 - IL_010d: call string string::Format(string, object, object) - IL_0112: ldloc.2 - IL_0113: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) - IL_0118: throw - } // end handler 1 - IL_0119: nop - IL_011a: br IL_0133 + .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.... - IL_011f: nop - IL_0120: ldarg.0 - IL_0121: ldarg.1 - IL_0122: ldarg.2 - IL_0123: ldarg.3 - IL_0124: ldarg.s 4 - IL_0126: 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_012b: ldarg.0 - IL_012c: ldc.i4.1 - IL_012d: call void class [mscorlib]System.IO.Directory::Delete(string, bool) - IL_0132: nop - IL_0133: ret - } // end of method FileUtils::MoveDirectory // method line 238 - .method assembly static hidebysig - default string GetTempDirectoryName () cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x4814 - // Code size 24 (0x18) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call string class [mscorlib]System.IO.Path::GetTempPath() - IL_0006: call string class [mscorlib]System.IO.Path::GetRandomFileName() - IL_000b: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0010: stloc.0 - IL_0011: br IL_0016 - - IL_0016: ldloc.0 - IL_0017: ret - } // end of method FileUtils::GetTempDirectoryName + // Method begins at RVA 0x9324 + // 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 239 - .method public static hidebysig - default string ReadFile (string fileName, class NAnt.Core.Filters.FilterChain filterChain, class [mscorlib]System.Text.Encoding inputEncoding) cil managed + .method family virtual hidebysig specialname + instance default bool get_ConditionsTrue () cil managed { - // Method begins at RVA 0x4838 - // Code size 166 (0xa6) - .maxstack 3 + // Method begins at RVA 0x932c + // Code size 18 (0x12) + .maxstack 2 .locals init ( - string V_0, - class [mscorlib]System.Text.Encoding V_1, - class [mscorlib]System.IO.StreamReader V_2, - class NAnt.Core.Filters.Filter V_3, - class [mscorlib]System.IO.StringWriter V_4, - int32 V_5, - string V_6) + bool V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.2 - IL_0004: brfalse IL_000f - - IL_0009: ldarg.2 - IL_000a: br IL_0014 - - IL_000f: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_0014: stloc.1 - IL_0015: ldarg.0 - IL_0016: ldloc.1 - IL_0017: ldc.i4.1 - IL_0018: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) - IL_001d: stloc.2 - .try { // 0 - IL_001e: nop - IL_001f: ldarg.1 - IL_0020: brfalse IL_0035 - - IL_0025: ldarg.1 - IL_0026: callvirt instance class NAnt.Core.Filters.FilterCollection class NAnt.Core.Filters.FilterChain::get_Filters() - IL_002b: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0030: brtrue IL_0043 - - IL_0035: nop - IL_0036: ldloc.2 - IL_0037: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() - IL_003c: stloc.0 - IL_003d: nop - IL_003e: br IL_0088 - - IL_0043: nop - IL_0044: ldarg.1 - IL_0045: ldloc.2 - IL_0046: newobj instance void class NAnt.Core.Filters.PhysicalTextReader::'.ctor'(class [mscorlib]System.IO.TextReader) - IL_004b: callvirt instance class NAnt.Core.Filters.Filter class NAnt.Core.Filters.FilterChain::GetBaseFilter(class NAnt.Core.Filters.PhysicalTextReader) - IL_0050: stloc.3 - IL_0051: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'() - IL_0056: stloc.s 4 - IL_0058: nop - IL_0059: nop - IL_005a: ldloc.3 - IL_005b: callvirt instance int32 class NAnt.Core.Filters.ChainableReader::Read() - IL_0060: stloc.s 5 - IL_0062: ldloc.s 5 - IL_0064: ldc.i4.m1 - IL_0065: bne.un IL_006f - - IL_006a: leave IL_007f + 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_006f: ldloc.s 4 - IL_0071: ldloc.s 5 - IL_0073: conv.u2 - IL_0074: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(char) - IL_0079: nop - IL_007a: br IL_0058 + IL_0010: ldloc.0 + IL_0011: ret + } // end of method IfNotTask::get_ConditionsTrue - IL_007f: ldloc.s 4 - IL_0081: callvirt instance string object::ToString() - IL_0086: stloc.0 - IL_0087: nop - IL_0088: nop - IL_0089: leave IL_009b + .property instance bool ConditionsTrue () + { + .get instance default bool NAnt.Core.Tasks.IfNotTask::get_ConditionsTrue () + } + } // end of class NAnt.Core.Tasks.IfNotTask +} - } // end .try 0 - finally { // 0 - IL_008e: ldloc.2 - IL_008f: brfalse IL_009a +.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.. - IL_0094: ldloc.2 - IL_0095: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009a: endfinally - } // end handler 0 - IL_009b: ldloc.0 - IL_009c: stloc.s 6 - IL_009e: br IL_00a3 + .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_00a3: ldloc.s 6 - IL_00a5: ret - } // end of method FileUtils::ReadFile + .field private valuetype NAnt.Core.Tasks.AvailableTask/ResourceType _resourceType + .field private string _resource + .field private string _propertyName // method line 240 - .method public static hidebysig - default class [mscorlib]System.IO.DirectoryInfo GetTempDirectory () cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x48fc - // Code size 34 (0x22) + // Method begins at RVA 0x934a + // 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 line 241 + .method public hidebysig specialname + instance default string get_Resource () cil managed + { + // Method begins at RVA 0x9354 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0, - class [mscorlib]System.IO.DirectoryInfo V_1) + string V_0) IL_0000: nop - IL_0001: call string class [mscorlib]System.IO.Path::GetTempFileName() - IL_0006: stloc.0 - IL_0007: ldloc.0 - IL_0008: call void class [mscorlib]System.IO.File::Delete(string) + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.AvailableTask::_resource + IL_0007: stloc.0 + IL_0008: br IL_000d + IL_000d: ldloc.0 - IL_000e: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) - IL_0013: pop - IL_0014: ldloc.0 - IL_0015: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_001a: stloc.1 - IL_001b: br IL_0020 + IL_000e: ret + } // end of method AvailableTask::get_Resource - IL_0020: ldloc.1 - IL_0021: ret - } // end of method FileUtils::GetTempDirectory + // method line 242 + .method public hidebysig specialname + instance default void set_Resource (string 'value') cil managed + { + // Method begins at RVA 0x936f + // 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::_resource + IL_000d: ret + } // end of method AvailableTask::set_Resource - // method line 241 - .method public static hidebysig - default string CombinePaths (string path1, string path2) cil managed + // method line 243 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Tasks.AvailableTask/ResourceType get_Type () cil managed { - // Method begins at RVA 0x492c - // Code size 664 (0x298) - .maxstack 4 + // Method begins at RVA 0x9380 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - char V_1, - char[] V_2, - string[] V_3, - class [mscorlib]System.Collections.ArrayList V_4, - int32 V_5, - string V_6, - bool V_7, - string[] V_8, - int32 V_9, - class [mscorlib]System.Collections.ArrayList V_10, - int32 V_11, - string V_12, - string[] V_13, - string V_14) + valuetype NAnt.Core.Tasks.AvailableTask/ResourceType V_0) IL_0000: nop - IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_0006: brfalse IL_0019 - - IL_000b: nop - IL_000c: ldarg.0 - IL_000d: ldarg.1 - IL_000e: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0013: stloc.0 - IL_0014: br IL_0296 - - IL_0019: ldarg.0 - IL_001a: brtrue IL_002b - - IL_001f: nop - IL_0020: ldstr "path1" - IL_0025: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_002a: throw - IL_002b: ldarg.1 - IL_002c: brtrue IL_003d - - IL_0031: nop - IL_0032: ldstr "path2" - IL_0037: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_003c: throw - IL_003d: ldarg.1 - IL_003e: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_0043: brfalse IL_0050 - - IL_0048: nop - IL_0049: ldarg.1 - IL_004a: stloc.0 - IL_004b: br IL_0296 - - IL_0050: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0055: stloc.1 - IL_0056: ldc.i4.2 - IL_0057: newarr [mscorlib]System.Char - IL_005c: dup - IL_005d: ldc.i4.0 - IL_005e: ldc.i4.s 0x2f - IL_0060: stelem.i2 - IL_0061: dup - IL_0062: ldc.i4.1 - IL_0063: ldloc.1 - IL_0064: stelem.i2 - IL_0065: stloc.2 - IL_0066: ldarg.1 - IL_0067: ldloc.2 - IL_0068: callvirt instance string[] string::Split(char[]) - IL_006d: stloc.3 - IL_006e: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0073: stloc.s 4 - IL_0075: ldc.i4.0 - IL_0076: stloc.s 5 - IL_0078: br IL_0126 - - IL_007d: nop - IL_007e: ldloc.3 - IL_007f: ldloc.s 5 - IL_0081: ldelem.ref - IL_0082: stloc.s 6 - IL_0084: ldloc.s 6 - IL_0086: callvirt instance int32 string::get_Length() - IL_008b: brfalse IL_00a1 - - IL_0090: ldloc.s 6 - IL_0092: ldstr "." - IL_0097: call bool string::op_Equality(string, string) - IL_009c: brfalse IL_00a7 - - IL_00a1: nop - IL_00a2: br IL_0120 - - IL_00a7: ldloc.s 6 - IL_00a9: ldstr ".." - IL_00ae: call bool string::op_Equality(string, string) - IL_00b3: brfalse IL_0113 - - IL_00b8: nop - IL_00b9: ldloc.s 4 - IL_00bb: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_00c0: ldc.i4.0 - IL_00c1: ble IL_0101 - - IL_00c6: ldloc.s 4 - IL_00c8: ldloc.s 4 - IL_00ca: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_00cf: ldc.i4.1 - IL_00d0: sub - IL_00d1: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_00d6: castclass [mscorlib]System.String - IL_00db: ldstr ".." - IL_00e0: call bool string::op_Inequality(string, string) - IL_00e5: brfalse IL_0101 - - IL_00ea: nop - IL_00eb: ldloc.s 4 - IL_00ed: ldloc.s 4 - IL_00ef: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_00f4: ldc.i4.1 - IL_00f5: sub - IL_00f6: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) - IL_00fb: nop - IL_00fc: br IL_010d - - IL_0101: nop - IL_0102: ldloc.s 4 - IL_0104: ldloc.s 6 - IL_0106: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_010b: pop - IL_010c: nop - IL_010d: nop - IL_010e: br IL_011f - - IL_0113: nop - IL_0114: ldloc.s 4 - IL_0116: ldloc.s 6 - IL_0118: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_011d: pop - IL_011e: nop - IL_011f: nop - IL_0120: ldloc.s 5 - IL_0122: ldc.i4.1 - IL_0123: add - IL_0124: stloc.s 5 - IL_0126: ldloc.s 5 - IL_0128: ldloc.3 - IL_0129: ldlen - IL_012a: conv.i4 - IL_012b: blt IL_007d - - IL_0130: ldarg.0 - IL_0131: callvirt instance int32 string::get_Length() - IL_0136: ldc.i4.0 - IL_0137: ble IL_0153 - - IL_013c: ldarg.0 - IL_013d: ldloc.2 - IL_013e: ldarg.0 - IL_013f: callvirt instance int32 string::get_Length() - IL_0144: ldc.i4.1 - IL_0145: sub - IL_0146: callvirt instance int32 string::IndexOfAny(char[], int32) - IL_014b: ldc.i4.m1 - IL_014c: ceq - IL_014e: ldc.i4.0 - IL_014f: ceq - IL_0151: br.s IL_0154 - - IL_0153: ldc.i4.0 - IL_0154: stloc.s 7 - IL_0156: ldloc.s 7 - IL_0158: brfalse IL_017b - - IL_015d: nop - IL_015e: ldarg.0 - IL_015f: ldc.i4.0 - IL_0160: ldarg.0 - IL_0161: callvirt instance int32 string::get_Length() - IL_0166: ldc.i4.1 - IL_0167: sub - IL_0168: callvirt instance string string::Substring(int32, int32) - IL_016d: ldloc.2 - IL_016e: callvirt instance string[] string::Split(char[]) - IL_0173: stloc.s 8 - IL_0175: nop - IL_0176: br IL_0186 - - IL_017b: nop - IL_017c: ldarg.0 - IL_017d: ldloc.2 - IL_017e: callvirt instance string[] string::Split(char[]) - IL_0183: stloc.s 8 - IL_0185: nop - IL_0186: ldloc.s 8 - IL_0188: ldlen - IL_0189: conv.i4 - IL_018a: stloc.s 9 - IL_018c: ldloc.s 4 - IL_018e: callvirt instance object class [mscorlib]System.Collections.ArrayList::Clone() - IL_0193: castclass [mscorlib]System.Collections.ArrayList - IL_0198: stloc.s 10 - IL_019a: ldc.i4.0 - IL_019b: stloc.s 11 - IL_019d: br IL_01e3 - - IL_01a2: nop - IL_01a3: ldloc.s 10 - IL_01a5: ldloc.s 11 - IL_01a7: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_01ac: castclass [mscorlib]System.String - IL_01b1: ldstr ".." - IL_01b6: call bool string::op_Inequality(string, string) - IL_01bb: brtrue IL_01c8 - - IL_01c0: ldloc.s 9 - IL_01c2: ldc.i4.2 - IL_01c3: bge IL_01ce - - IL_01c8: nop - IL_01c9: br IL_01f1 - - IL_01ce: ldloc.s 9 - IL_01d0: ldc.i4.1 - IL_01d1: sub - IL_01d2: stloc.s 9 - IL_01d4: ldloc.s 4 - IL_01d6: ldc.i4.0 - IL_01d7: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) - IL_01dc: nop - IL_01dd: ldloc.s 11 - IL_01df: ldc.i4.1 - IL_01e0: add - IL_01e1: stloc.s 11 - IL_01e3: ldloc.s 11 - IL_01e5: ldloc.s 10 - IL_01e7: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_01ec: blt IL_01a2 - - IL_01f1: ldloca.s 1 - IL_01f3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01f8: call instance string char::ToString(class [mscorlib]System.IFormatProvider) - IL_01fd: stloc.s 12 - IL_01ff: ldloc.s 9 - IL_0201: ldc.i4.1 - IL_0202: bne.un IL_022c + 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_0207: ldloc.s 7 - IL_0209: brtrue IL_0218 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AvailableTask::get_Type - IL_020e: ldloc.s 8 - IL_0210: ldlen - IL_0211: conv.i4 - IL_0212: ldc.i4.1 - IL_0213: ble IL_022c + // method line 244 + .method public hidebysig specialname + instance default void set_Type (valuetype NAnt.Core.Tasks.AvailableTask/ResourceType 'value') cil managed + { + // Method begins at RVA 0x939c + // Code size 65 (0x41) + .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_0218: nop - IL_0219: ldloc.s 8 - IL_021b: dup - IL_021c: stloc.s 13 - IL_021e: ldc.i4.0 - IL_021f: ldloc.s 13 - IL_0221: ldc.i4.0 - IL_0222: ldelem.ref - IL_0223: ldloc.s 12 - IL_0225: call string string::Concat(string, string) - IL_022a: stelem.ref - IL_022b: nop - IL_022c: ldloc.s 12 - IL_022e: ldloc.s 8 - IL_0230: ldc.i4.0 - IL_0231: ldloc.s 9 - IL_0233: call string string::Join(string, string[], int32, int32) - IL_0238: ldloc.s 12 - IL_023a: ldloc.s 4 - IL_023c: ldtoken [mscorlib]System.String - IL_0241: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0246: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_024b: castclass string[] - IL_0250: call string string::Join(string, string[]) - IL_0255: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_025a: stloc.s 14 - IL_025c: ldarg.1 - IL_025d: ldstr "/" - IL_0262: callvirt instance bool string::EndsWith(string) - IL_0267: brtrue IL_0279 + 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_026c: ldarg.1 - IL_026d: ldloc.s 12 - IL_026f: callvirt instance bool string::EndsWith(string) - IL_0274: brfalse IL_028e + // method line 245 + .method public hidebysig specialname + instance default string get_PropertyName () cil managed + { + // Method begins at RVA 0x93ec + // 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.AvailableTask::_propertyName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0279: nop - IL_027a: ldloc.s 14 - IL_027c: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar - IL_0281: box [mscorlib]System.Char - IL_0286: call string string::Concat(object, object) - IL_028b: stloc.s 14 - IL_028d: nop - IL_028e: ldloc.s 14 - IL_0290: stloc.0 - IL_0291: br IL_0296 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AvailableTask::get_PropertyName - IL_0296: ldloc.0 - IL_0297: ret - } // end of method FileUtils::CombinePaths + // method line 246 + .method public hidebysig specialname + instance default void set_PropertyName (string 'value') cil managed + { + // Method begins at RVA 0x9407 + // 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_000d: ret + } // end of method AvailableTask::set_PropertyName - // method line 242 - .method public static hidebysig - default string GetFullPath (string path) cil managed + // method line 247 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x4bd0 - // Code size 135 (0x87) - .maxstack 2 + // Method begins at RVA 0x9418 + // Code size 43 (0x2b) + .maxstack 4 .locals init ( - string V_0, - string V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: brtrue IL_0013 + 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_0007: nop - IL_0008: ldstr "path" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_0018: brtrue IL_0028 + // method line 248 + .method family virtual hidebysig newslot + instance default bool Evaluate () cil managed + { + // Method begins at RVA 0x9450 + // 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_001d: ldarg.0 - IL_001e: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) - IL_0023: brfalse IL_0035 + 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_0028: nop - IL_0029: ldarg.0 - IL_002a: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_002f: stloc.0 - IL_0030: br IL_0085 + 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_0035: ldarg.0 - IL_0036: callvirt instance int32 string::get_Length() - IL_003b: brfalse IL_0061 + 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_0040: ldarg.0 - IL_0041: callvirt instance string string::Trim() - IL_0046: callvirt instance int32 string::get_Length() - IL_004b: brfalse IL_0061 + 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_0050: ldarg.0 - IL_0051: ldsfld char[] [mscorlib]System.IO.Path::InvalidPathChars - IL_0056: callvirt instance int32 string::IndexOfAny(char[]) - IL_005b: ldc.i4.m1 - IL_005c: beq IL_006d + 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_0061: nop - IL_0062: ldstr "The path is not of a legal form." - IL_0067: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_006c: throw - IL_006d: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() - IL_0072: ldarg.0 - IL_0073: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) - IL_0078: stloc.1 - IL_0079: ldloc.1 - IL_007a: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_007f: stloc.0 - IL_0080: br IL_0085 + 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_0085: ldloc.0 - IL_0086: ret - } // end of method FileUtils::GetFullPath + IL_00b3: ldloc.2 + IL_00b4: ret + } // end of method AvailableTask::Evaluate - // method line 243 - .method public static hidebysig - default string GetHomeDirectory () cil managed + // method line 249 + .method private hidebysig + instance default bool CheckFile () cil managed { - // Method begins at RVA 0x4c64 - // Code size 47 (0x2f) - .maxstack 1 + // Method begins at RVA 0x9514 + // Code size 80 (0x50) + .maxstack 3 .locals init ( - string V_0) + class [mscorlib]System.IO.FileInfo V_0, + bool V_1, + class [mscorlib]System.ArgumentException V_2) IL_0000: nop - IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_0006: brfalse IL_001c - - IL_000b: nop - IL_000c: ldstr "HOME" - IL_0011: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_0016: stloc.0 - IL_0017: br IL_002d - - IL_001c: nop - IL_001d: ldstr "USERPROFILE" - IL_0022: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_0027: stloc.0 - IL_0028: br IL_002d + .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 - IL_002d: ldloc.0 - IL_002e: ret - } // end of method FileUtils::GetHomeDirectory + } // 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 244 - .method public static hidebysig - default string ResolveFile (string[] directories, string fileName, bool recursive) cil managed + // method line 250 + .method private hidebysig + instance default bool CheckDirectory () cil managed { - // Method begins at RVA 0x4ca0 - // Code size 113 (0x71) + // Method begins at RVA 0x9580 + // Code size 80 (0x50) .maxstack 3 .locals init ( - string V_0, - string V_1, - string[] V_2, - int32 V_3, - string V_4) + class [mscorlib]System.IO.DirectoryInfo V_0, + bool V_1, + class [mscorlib]System.ArgumentException V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brtrue IL_0012 - - IL_0007: ldstr "directories" - IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0011: throw - IL_0012: ldarg.1 - IL_0013: brtrue IL_0023 - - IL_0018: ldstr "fileName" - IL_001d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0022: throw - IL_0023: ldnull - IL_0024: stloc.0 - IL_0025: nop - IL_0026: ldarg.0 - IL_0027: stloc.2 - IL_0028: ldc.i4.0 - IL_0029: stloc.3 - IL_002a: br IL_005d - - IL_002f: ldloc.2 - IL_0030: ldloc.3 - IL_0031: ldelem.ref - IL_0032: stloc.1 - IL_0033: nop - IL_0034: ldloc.1 - IL_0035: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_003a: brtrue IL_0044 - - IL_003f: br IL_0059 - - IL_0044: ldloc.1 - IL_0045: ldarg.1 - IL_0046: ldarg.2 - IL_0047: call string class NAnt.Core.Util.FileUtils::ScanDirectory(string, string, bool) - IL_004c: stloc.0 - IL_004d: ldloc.0 - IL_004e: brfalse IL_0058 - - IL_0053: br IL_0066 + .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_0058: nop - IL_0059: ldloc.3 - IL_005a: ldc.i4.1 - IL_005b: add - IL_005c: stloc.3 - IL_005d: ldloc.3 - IL_005e: ldloc.2 - IL_005f: ldlen - IL_0060: conv.i4 - IL_0061: blt IL_002f + } // 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_0066: ldloc.0 - IL_0067: stloc.s 4 - IL_0069: br IL_006e + // method line 251 + .method private hidebysig + instance default bool CheckFramework () cil managed + { + // Method begins at RVA 0x95ec + // 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_006e: ldloc.s 4 - IL_0070: ret - } // end of method FileUtils::ResolveFile + IL_001d: ldloc.0 + IL_001e: ret + } // end of method AvailableTask::CheckFramework - // method line 245 - .method private static hidebysig - default string ScanDirectory (string directory, string fileName, bool recursive) cil managed + // method line 252 + .method private hidebysig + instance default bool CheckFrameworkSDK () cil managed { - // Method begins at RVA 0x4d20 - // Code size 121 (0x79) - .maxstack 3 + // Method begins at RVA 0x9618 + // Code size 59 (0x3b) + .maxstack 2 .locals init ( - string V_0, - string V_1, - string[] V_2, - string V_3, - string[] V_4, - int32 V_5) + class NAnt.Core.FrameworkInfo V_0, + bool V_1) 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: ldloc.0 - IL_000a: call bool class [mscorlib]System.IO.File::Exists(string) - IL_000f: brfalse IL_001b + 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_0014: ldloc.0 - IL_0015: stloc.1 - IL_0016: br IL_0077 + 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_001b: ldarg.2 - IL_001c: brtrue IL_0028 + IL_0031: nop + IL_0032: ldc.i4.0 + IL_0033: stloc.1 + IL_0034: br IL_0039 - IL_0021: ldnull - IL_0022: stloc.1 - IL_0023: br IL_0077 + IL_0039: ldloc.1 + IL_003a: ret + } // end of method AvailableTask::CheckFrameworkSDK - IL_0028: ldarg.0 - IL_0029: call string[] class [mscorlib]System.IO.Directory::GetDirectories(string) - IL_002e: stloc.2 - IL_002f: nop - IL_0030: ldloc.2 - IL_0031: stloc.s 4 - IL_0033: ldc.i4.0 - IL_0034: stloc.s 5 - IL_0036: br IL_0065 + .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_003b: ldloc.s 4 - IL_003d: ldloc.s 5 - IL_003f: ldelem.ref - IL_0040: stloc.3 - IL_0041: nop - IL_0042: ldarg.0 - IL_0043: ldloc.3 - IL_0044: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0049: ldarg.1 - IL_004a: ldarg.2 - IL_004b: call string class NAnt.Core.Util.FileUtils::ScanDirectory(string, string, bool) - IL_0050: stloc.0 - IL_0051: ldloc.0 - IL_0052: brfalse IL_005e + .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_0057: ldloc.0 - IL_0058: stloc.1 - IL_0059: br IL_0077 + .get instance default string NAnt.Core.Tasks.AvailableTask::get_Resource () + .set instance default void NAnt.Core.Tasks.AvailableTask::set_Resource (string 'value') + } + .property instance valuetype NAnt.Core.Tasks.AvailableTask/ResourceType Type () + { + .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. - IL_005e: nop - IL_005f: ldloc.s 5 - IL_0061: ldc.i4.1 - IL_0062: add - IL_0063: stloc.s 5 - IL_0065: ldloc.s 5 - IL_0067: ldloc.s 4 - IL_0069: ldlen - IL_006a: conv.i4 - IL_006b: blt IL_003b + .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 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. - IL_0070: ldnull - IL_0071: stloc.1 - IL_0072: br IL_0077 + .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_0077: ldloc.1 - IL_0078: ret - } // end of method FileUtils::ScanDirectory + .get instance default string NAnt.Core.Tasks.AvailableTask::get_PropertyName () + .set instance default void NAnt.Core.Tasks.AvailableTask::set_PropertyName (string '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 NAnt.Core.Util.FileUtils + } // end of class ResourceType + + } // end of class NAnt.Core.Tasks.AvailableTask } -.namespace NAnt.Core.Util +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit CommandLineArgumentAttribute - extends [mscorlib]System.Attribute + .class public auto ansi beforefieldinit LoadFileTask + extends NAnt.Core.Task { - .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. + .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 valuetype NAnt.Core.Util.CommandLineArgumentTypes _argumentType - .field private string _name - .field private string _shortName - .field private string _description + .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 246 + // method line 253 .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 0x4da5 - // Code size 15 (0xf) + // Method begins at RVA 0x965f + // Code size 7 (0x7) .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 + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method LoadFileTask::.ctor - // method line 247 + // method line 254 .method public hidebysig specialname - instance default valuetype NAnt.Core.Util.CommandLineArgumentTypes get_Type () cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x4db8 + // Method begins at RVA 0x9668 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.Util.CommandLineArgumentTypes V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::_argumentType + 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 CommandLineArgumentAttribute::get_Type + } // end of method LoadFileTask::get_File - // method line 248 + // method line 255 .method public hidebysig specialname - instance default string get_Name () cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x4dd4 + // Method begins at RVA 0x9683 + // 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.LoadFileTask::_file + IL_0008: ret + } // end of method LoadFileTask::set_File + + // method line 256 + .method public hidebysig specialname + instance default string get_Property () cil managed + { + // Method begins at RVA 0x9690 // 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_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 CommandLineArgumentAttribute::get_Name + } // end of method LoadFileTask::get_Property - // method line 249 + // method line 257 .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed + instance default void set_Property (string 'value') cil managed { - // Method begins at RVA 0x4def + // Method begins at RVA 0x96ab // 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_0003: stfld string NAnt.Core.Tasks.LoadFileTask::_property IL_0008: ret - } // end of method CommandLineArgumentAttribute::set_Name + } // end of method LoadFileTask::set_Property - // method line 250 + // method line 258 .method public hidebysig specialname - instance default string get_ShortName () cil managed + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed { - // Method begins at RVA 0x4dfc + // Method begins at RVA 0x96b8 // 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: ldfld string NAnt.Core.Util.CommandLineArgumentAttribute::_shortName + 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 CommandLineArgumentAttribute::get_ShortName + } // end of method LoadFileTask::get_Encoding - // method line 251 + // method line 259 .method public hidebysig specialname - instance default void set_ShortName (string 'value') cil managed + instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - // Method begins at RVA 0x4e17 + // Method begins at RVA 0x96d3 // 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_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.LoadFileTask::_encoding IL_0008: ret - } // end of method CommandLineArgumentAttribute::set_ShortName + } // end of method LoadFileTask::set_Encoding - // method line 252 + // method line 260 .method public hidebysig specialname - instance default string get_Description () cil managed + instance default class NAnt.Core.Filters.FilterChain get_FilterChain () cil managed { - // Method begins at RVA 0x4e24 + // Method begins at RVA 0x96e0 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Filters.FilterChain V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Util.CommandLineArgumentAttribute::_description + IL_0002: ldfld class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.LoadFileTask::_filterChain IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CommandLineArgumentAttribute::get_Description + } // end of method LoadFileTask::get_FilterChain - // method line 253 + // method line 261 .method public hidebysig specialname - instance default void set_Description (string 'value') cil managed + instance default void set_FilterChain (class NAnt.Core.Filters.FilterChain 'value') cil managed { - // Method begins at RVA 0x4e3f + // Method begins at RVA 0x96fb // 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_0003: stfld class NAnt.Core.Filters.FilterChain NAnt.Core.Tasks.LoadFileTask::_filterChain IL_0008: ret - } // end of method CommandLineArgumentAttribute::set_Description + } // end of method LoadFileTask::set_FilterChain - .property instance valuetype NAnt.Core.Util.CommandLineArgumentTypes Type () + // method line 262 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x9708 + // Code size 159 (0x9f) + .maxstack 3 + .locals init ( + string V_0, + class [mscorlib]System.IO.IOException V_1) + 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_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 + + } // 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 + + .property instance class [mscorlib]System.IO.FileInfo File () { - .get instance default valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::get_Type () + .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.LoadFileTask::get_File () + .set instance default void NAnt.Core.Tasks.LoadFileTask::set_File (class [mscorlib]System.IO.FileInfo 'value') } - .property instance string Name () + .property instance string Property () { - .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_Name () - .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_Name (string 'value') + .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') } - .property instance string ShortName () + .property instance class [mscorlib]System.Text.Encoding Encoding () { - .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_ShortName () - .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_ShortName (string 'value') + .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 [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 string Description () + .property instance class NAnt.Core.Filters.FilterChain FilterChain () { - .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_Description () - .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_Description (string 'value') + .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') } - } // end of class NAnt.Core.Util.CommandLineArgumentAttribute + } // end of class NAnt.Core.Tasks.LoadFileTask } -.namespace NAnt.Core.Util +.namespace NAnt.Core.Tasks { - .class public auto ansi sealed beforefieldinit StringUtils - extends [mscorlib]System.Object + .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.. - // method line 254 - .method private hidebysig specialname rtspecialname + .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 263 + .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x4e49 - // Code size 8 (0x8) + // Method begins at RVA 0x97c4 + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method StringUtils::.ctor + 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 line 255 - .method public static hidebysig - default bool EndsWith (string 'value', char c) cil managed + // method line 264 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_XmlFile () cil managed { - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( - 01 00 50 53 74 72 69 6E 67 55 74 69 6C 73 2E 45 // ..PStringUtils.E - 6E 64 73 57 69 74 68 20 6D 65 74 68 6F 64 20 69 // ndsWith method i - 73 20 64 65 70 72 65 63 69 61 74 65 64 2E 20 55 // s depreciated. U - 73 65 20 73 74 72 69 6E 67 2E 45 6E 64 73 57 69 // se string.EndsWi - 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 0x4e54 - // Code size 63 (0x3f) - .maxstack 3 + // Method begins at RVA 0x97d8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0, - bool V_1) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - 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: callvirt instance int32 string::get_Length() - IL_0018: stloc.0 - IL_0019: ldloc.0 - IL_001a: brfalse IL_0036 - - IL_001f: ldarg.0 - IL_0020: ldloc.0 - IL_0021: ldc.i4.1 - IL_0022: sub - IL_0023: callvirt instance char string::get_Chars(int32) - IL_0028: ldarg.1 - IL_0029: bne.un IL_0036 - - IL_002e: nop - IL_002f: ldc.i4.1 - IL_0030: stloc.1 - IL_0031: br IL_003d - - IL_0036: ldc.i4.0 - IL_0037: stloc.1 - IL_0038: br IL_003d + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPokeTask::_xmlFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_003d: ldloc.1 - IL_003e: ret - } // end of method StringUtils::EndsWith + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlPokeTask::get_XmlFile - // method line 256 - .method public static hidebysig - default bool IsNullOrEmpty (string 'value') cil managed + // method line 265 + .method public hidebysig specialname + instance default void set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( - 01 00 61 53 74 72 69 6E 67 55 74 69 6C 73 2E 49 // ..aStringUtils.I - 73 4E 75 6C 6C 4F 72 45 6D 70 74 79 20 6D 65 74 // sNullOrEmpty met - 68 6F 64 20 69 73 20 64 65 70 72 65 63 69 61 74 // hod is depreciat - 65 64 2E 20 55 73 65 20 53 79 73 74 65 6D 2E 53 // ed. Use System.S - 74 72 69 6E 67 2E 49 73 4E 75 6C 6C 4F 72 45 6D // tring.IsNullOrEm - 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 0x4ea0 - // Code size 27 (0x1b) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0x97f3 + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: brfalse IL_0012 - - IL_0007: ldarg.0 - IL_0008: callvirt instance int32 string::get_Length() - IL_000d: ldc.i4.0 - IL_000e: ceq - IL_0010: br.s IL_0013 - - IL_0012: ldc.i4.1 - IL_0013: stloc.0 - IL_0014: br IL_0019 - - IL_0019: ldloc.0 - IL_001a: ret - } // end of method StringUtils::IsNullOrEmpty + 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 line 257 - .method public static hidebysig - default string ConvertEmptyToNull (string 'value') cil managed + // method line 266 + .method public hidebysig specialname + instance default string get_XPath () cil managed { - // Method begins at RVA 0x4ec8 - // Code size 28 (0x1c) + // Method begins at RVA 0x9800 + // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brtrue IL_0013 - - IL_000c: ldarg.0 - IL_000d: stloc.0 - IL_000e: br IL_001a + IL_0002: ldfld string NAnt.Core.Tasks.XmlPokeTask::_xPathExpression + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldnull - IL_0014: stloc.0 - IL_0015: br IL_001a + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlPokeTask::get_XPath - IL_001a: ldloc.0 - IL_001b: ret - } // end of method StringUtils::ConvertEmptyToNull + // method line 267 + .method public hidebysig specialname + instance default void set_XPath (string 'value') cil managed + { + // Method begins at RVA 0x981b + // 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 line 258 - .method public static hidebysig - default string ConvertNullToEmpty (string 'value') cil managed + // method line 268 + .method public hidebysig specialname + instance default string get_Value () cil managed { - // Method begins at RVA 0x4ef0 - // Code size 27 (0x1b) + // Method begins at RVA 0x9828 + // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: brtrue IL_0012 - - IL_0007: ldsfld string [mscorlib]System.String::Empty - IL_000c: stloc.0 - IL_000d: br IL_0019 - - IL_0012: ldarg.0 - IL_0013: stloc.0 - IL_0014: br IL_0019 + IL_0002: ldfld string NAnt.Core.Tasks.XmlPokeTask::_value + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0019: ldloc.0 - IL_001a: ret - } // end of method StringUtils::ConvertNullToEmpty + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlPokeTask::get_Value - // method line 259 - .method public static hidebysig - default string Join (string separator, class [System]System.Collections.Specialized.StringCollection 'value') cil managed + // method line 269 + .method public hidebysig specialname + instance default void set_Value (string 'value') cil managed { - // Method begins at RVA 0x4f18 - // Code size 66 (0x42) - .maxstack 3 - .locals init ( - string[] V_0, - string V_1) + // Method begins at RVA 0x9843 + // Code size 9 (0x9) + .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: brtrue IL_001f - - IL_0018: ldsfld string [mscorlib]System.String::Empty - IL_001d: starg.s 0 - IL_001f: ldarg.1 - IL_0020: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0025: newarr [mscorlib]System.String - IL_002a: stloc.0 - IL_002b: ldarg.1 - IL_002c: ldloc.0 - IL_002d: ldc.i4.0 - IL_002e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) - IL_0033: ldarg.0 - IL_0034: ldloc.0 - IL_0035: call string string::Join(string, string[]) - IL_003a: stloc.1 - IL_003b: br IL_0040 - - IL_0040: ldloc.1 - IL_0041: ret - } // end of method StringUtils::Join + 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 line 260 - .method public static hidebysig - default class [System]System.Collections.Specialized.StringCollection Clone (class [System]System.Collections.Specialized.StringCollection stringCollection) cil managed + // method line 270 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XmlNamespaceCollection get_Namespaces () cil managed { - // Method begins at RVA 0x4f68 - // Code size 43 (0x2b) - .maxstack 3 + // Method begins at RVA 0x9850 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string[] V_0, - class [System]System.Collections.Specialized.StringCollection V_1, - class [System]System.Collections.Specialized.StringCollection V_2) + class NAnt.Core.Types.XmlNamespaceCollection V_0) 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 - - IL_0029: ldloc.2 - IL_002a: ret - } // end of method StringUtils::Clone - - } // end of class NAnt.Core.Util.StringUtils -} + IL_0002: ldfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPokeTask::_namespaces + IL_0007: stloc.0 + IL_0008: br IL_000d -.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 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlPokeTask::get_Namespaces - // method line 261 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 271 + .method public hidebysig specialname + instance default void set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed { - // Method begins at RVA 0x4f9f - // Code size 19 (0x13) + // Method begins at RVA 0x986b + // 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: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache - IL_0012: ret - } // end of method AssemblyResolver::.ctor + 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 line 262 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Task task) cil managed + // method line 272 + .method public hidebysig specialname + instance default bool get_PreserveWhitespace () cil managed { - // Method begins at RVA 0x4fb3 + // Method begins at RVA 0x9878 // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Util.AssemblyResolver::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class NAnt.Core.Task NAnt.Core.Util.AssemblyResolver::_task - IL_000e: ret - } // end of method AssemblyResolver::.ctor - - // method line 263 - .method public hidebysig - instance default void Attach () cil managed - { - // Method begins at RVA 0x4fc3 - // Code size 46 (0x2e) - .maxstack 8 + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0006: ldarg.0 - IL_0007: ldftn instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Util.AssemblyResolver::AssemblyResolve(object, class [mscorlib]System.ResolveEventArgs) - IL_000d: newobj instance void class [mscorlib]System.ResolveEventHandler::'.ctor'(object, native int) - IL_0012: callvirt instance void class [mscorlib]System.AppDomain::add_AssemblyResolve(class [mscorlib]System.ResolveEventHandler) - IL_0017: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_001c: ldarg.0 - IL_001d: ldftn instance void class NAnt.Core.Util.AssemblyResolver::AssemblyLoad(object, class [mscorlib]System.AssemblyLoadEventArgs) - IL_0023: newobj instance void class [mscorlib]System.AssemblyLoadEventHandler::'.ctor'(object, native int) - IL_0028: callvirt instance void class [mscorlib]System.AppDomain::add_AssemblyLoad(class [mscorlib]System.AssemblyLoadEventHandler) - IL_002d: ret - } // end of method AssemblyResolver::Attach + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Tasks.XmlPokeTask::_preserveWhitespace + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 264 - .method public hidebysig - instance default void Detach () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlPokeTask::get_PreserveWhitespace + + // method line 273 + .method public hidebysig specialname + instance default void set_PreserveWhitespace (bool 'value') cil managed { - // Method begins at RVA 0x4ff2 - // Code size 57 (0x39) + // Method begins at RVA 0x9893 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop - IL_0001: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0006: ldarg.0 - IL_0007: ldftn instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Util.AssemblyResolver::AssemblyResolve(object, class [mscorlib]System.ResolveEventArgs) - IL_000d: newobj instance void class [mscorlib]System.ResolveEventHandler::'.ctor'(object, native int) - IL_0012: callvirt instance void class [mscorlib]System.AppDomain::remove_AssemblyResolve(class [mscorlib]System.ResolveEventHandler) - IL_0017: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_001c: ldarg.0 - IL_001d: ldftn instance void class NAnt.Core.Util.AssemblyResolver::AssemblyLoad(object, class [mscorlib]System.AssemblyLoadEventArgs) - IL_0023: newobj instance void class [mscorlib]System.AssemblyLoadEventHandler::'.ctor'(object, native int) - IL_0028: callvirt instance void class [mscorlib]System.AppDomain::remove_AssemblyLoad(class [mscorlib]System.AssemblyLoadEventHandler) - IL_002d: ldarg.0 - IL_002e: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache - IL_0033: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() - IL_0038: ret - } // end of method AssemblyResolver::Detach + 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 - // method line 265 - .method private hidebysig - instance default class [mscorlib]System.Reflection.Assembly AssemblyResolve (object sender, class [mscorlib]System.ResolveEventArgs args) cil managed + // method line 274 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x502c - // Code size 502 (0x1f6) - .maxstack 7 + // Method begins at RVA 0x98a0 + // Code size 329 (0x149) + .maxstack 4 .locals init ( - bool V_0, - class [mscorlib]System.Reflection.Assembly[] V_1, - class [mscorlib]System.Reflection.Assembly V_2, - class [mscorlib]System.Reflection.Assembly[] V_3, - int32 V_4, - class [mscorlib]System.Reflection.Assembly V_5, - class [mscorlib]System.Reflection.Assembly V_6, - class [mscorlib]System.Collections.IEnumerator V_7, - class [mscorlib]System.IDisposable V_8) + 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: 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: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_001d: callvirt instance class [mscorlib]System.Reflection.Assembly[] class [mscorlib]System.AppDomain::GetAssemblies() - IL_0022: stloc.1 - IL_0023: nop - IL_0024: ldloc.1 - IL_0025: stloc.3 - IL_0026: ldc.i4.0 - IL_0027: stloc.s 4 - IL_0029: br IL_00ca - - IL_002e: ldloc.3 - IL_002f: ldloc.s 4 - IL_0031: ldelem.ref - IL_0032: stloc.2 - IL_0033: nop - IL_0034: ldloc.0 - IL_0035: brfalse IL_007f - - IL_003a: nop - IL_003b: ldloc.2 - IL_003c: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() - IL_0041: ldarg.2 - IL_0042: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_0047: call bool string::op_Equality(string, string) - IL_004c: brfalse IL_0079 + 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_0051: nop - IL_0052: ldarg.0 - IL_0053: ldc.i4 1000 - IL_0058: ldstr "Resolved assembly '{0}' from loaded assemblies using full name." - IL_005d: ldc.i4.1 - IL_005e: newarr [mscorlib]System.Object - IL_0063: dup - IL_0064: ldc.i4.0 - IL_0065: ldarg.2 - IL_0066: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_006b: stelem.ref - IL_006c: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0071: ldloc.2 - IL_0072: stloc.s 5 - IL_0074: br IL_01f3 + 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_0079: nop - IL_007a: br IL_00c3 + 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_007f: ldloc.2 - IL_0080: ldc.i4.0 - IL_0081: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName(bool) - IL_0086: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_008b: ldarg.2 - IL_008c: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_0091: call bool string::op_Equality(string, string) - IL_0096: brfalse IL_00c3 + IL_0087: ldloc.2 + IL_0088: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_UnlessDefined() + IL_008d: brtrue IL_00a6 - IL_009b: nop - IL_009c: ldarg.0 - IL_009d: ldc.i4 1000 - IL_00a2: ldstr "Resolved assembly '{0}' from loaded assemblies using name." - IL_00a7: ldc.i4.1 - IL_00a8: newarr [mscorlib]System.Object - IL_00ad: dup - IL_00ae: ldc.i4.0 - IL_00af: ldarg.2 - IL_00b0: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_00b5: stelem.ref - IL_00b6: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) - IL_00bb: ldloc.2 - IL_00bc: stloc.s 5 - IL_00be: br IL_01f3 + 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_00c3: nop - IL_00c4: ldloc.s 4 - IL_00c6: ldc.i4.1 - IL_00c7: add - IL_00c8: stloc.s 4 - IL_00ca: ldloc.s 4 - IL_00cc: ldloc.3 - IL_00cd: ldlen - IL_00ce: conv.i4 - IL_00cf: blt IL_002e + IL_00b2: leave IL_00cd - IL_00d4: ldloc.0 - IL_00d5: brfalse IL_0134 + } // 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 - IL_00da: nop - IL_00db: ldarg.0 - IL_00dc: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache - IL_00e1: ldarg.2 - IL_00e2: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_00e7: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_00ec: brfalse IL_012e + 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 - IL_00f1: nop - IL_00f2: ldarg.0 - IL_00f3: ldc.i4 1000 - IL_00f8: ldstr "Resolved assembly '{0}' from cache using full name." - IL_00fd: ldc.i4.1 - IL_00fe: newarr [mscorlib]System.Object - IL_0103: dup - IL_0104: ldc.i4.0 - IL_0105: ldarg.2 - IL_0106: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_010b: stelem.ref - IL_010c: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0111: ldarg.0 - IL_0112: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache - IL_0117: ldarg.2 - IL_0118: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_011d: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0122: castclass [mscorlib]System.Reflection.Assembly - IL_0127: stloc.s 5 - IL_0129: br IL_01f3 + 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_012e: nop - IL_012f: br IL_01cc + } // 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_0134: nop - IL_0135: nop - IL_0136: ldarg.0 - IL_0137: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache - IL_013c: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() - IL_0141: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0146: stloc.s 7 + // method line 275 + .method private hidebysig + instance default class [System.Xml]System.Xml.XmlDocument LoadDocument (string fileName, bool preserveWhitespace) cil managed + { + // Method begins at RVA 0x9a20 + // Code size 121 (0x79) + .maxstack 7 + .locals init ( + 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: ldnull + IL_0002: stloc.0 .try { // 0 - IL_0148: br IL_01a3 - - IL_014d: ldloc.s 7 - IL_014f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0154: castclass [mscorlib]System.Reflection.Assembly - IL_0159: stloc.s 6 - IL_015b: nop - IL_015c: ldloc.s 6 - IL_015e: ldc.i4.0 - IL_015f: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName(bool) - IL_0164: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_0169: ldarg.2 - IL_016a: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_016f: call bool string::op_Equality(string, string) - IL_0174: brfalse IL_01a2 - - IL_0179: nop - IL_017a: ldarg.0 - IL_017b: ldc.i4 1000 - IL_0180: ldstr "Resolved assembly '{0}' from cache using name." - IL_0185: ldc.i4.1 - IL_0186: newarr [mscorlib]System.Object - IL_018b: dup - IL_018c: ldc.i4.0 - IL_018d: ldarg.2 - IL_018e: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_0193: stelem.ref - IL_0194: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0199: ldloc.s 6 - IL_019b: stloc.s 5 - IL_019d: leave IL_01f3 - - IL_01a2: nop - IL_01a3: ldloc.s 7 - IL_01a5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_01aa: brtrue IL_014d - - IL_01af: leave IL_01cb + 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 } // end .try 0 - finally { // 0 - IL_01b4: ldloc.s 7 - IL_01b6: isinst [mscorlib]System.IDisposable - IL_01bb: dup - IL_01bc: stloc.s 8 - IL_01be: brfalse IL_01ca - - IL_01c3: ldloc.s 8 - IL_01c5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01ca: endfinally + 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_01cb: nop - IL_01cc: ldarg.0 - IL_01cd: ldc.i4 1000 - IL_01d2: ldstr "Assembly '{0}' could not be located." - IL_01d7: ldc.i4.1 - IL_01d8: newarr [mscorlib]System.Object - IL_01dd: dup - IL_01de: ldc.i4.0 - IL_01df: ldarg.2 - IL_01e0: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() - IL_01e5: stelem.ref - IL_01e6: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) - IL_01eb: ldnull - IL_01ec: stloc.s 5 - IL_01ee: br IL_01f3 - - IL_01f3: ldloc.s 5 - IL_01f5: ret - } // end of method AssemblyResolver::AssemblyResolve + IL_0077: ldloc.1 + IL_0078: ret + } // end of method XmlPokeTask::LoadDocument - // method line 266 + // method line 276 .method private hidebysig - instance default void AssemblyLoad (object sender, class [mscorlib]System.AssemblyLoadEventArgs args) cil managed + 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 begins at RVA 0x5240 - // Code size 66 (0x42) + // Method begins at RVA 0x9ab8 + // Code size 181 (0xb5) .maxstack 7 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_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: ldarg.0 - IL_001e: ldc.i4 1000 - IL_0023: ldstr "Added assembly '{0}' to assembly cache." - IL_0028: ldc.i4.1 - IL_0029: newarr [mscorlib]System.Object - IL_002e: dup - IL_002f: ldc.i4.0 - IL_0030: ldarg.2 - IL_0031: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.AssemblyLoadEventArgs::get_LoadedAssembly() - IL_0036: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() - IL_003b: stelem.ref - IL_003c: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) - IL_0041: ret - } // end of method AssemblyResolver::AssemblyLoad - - // method line 267 - .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 0x528e - // Code size 29 (0x1d) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Task NAnt.Core.Util.AssemblyResolver::_task - IL_0007: brfalse IL_001c - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class NAnt.Core.Task NAnt.Core.Util.AssemblyResolver::_task - IL_0013: ldarg.1 - IL_0014: ldarg.2 - IL_0015: ldarg.3 - IL_0016: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) - IL_001b: nop - IL_001c: ret - } // end of method AssemblyResolver::Log - - } // end of class NAnt.Core.Util.AssemblyResolver -} - -.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 268 - .method private hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x52ac - // 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 ResourceUtils::.ctor - - // method line 269 - .method public static hidebysig - default void RegisterSharedAssembly (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed - { - // Method begins at RVA 0x52b5 - // Code size 24 (0x18) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_0007: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_000c: ldarg.0 - IL_000d: newobj instance void class [mscorlib]System.Resources.ResourceManager::'.ctor'(string, class [mscorlib]System.Reflection.Assembly) - IL_0012: stsfld class [mscorlib]System.Resources.ResourceManager NAnt.Core.Util.ResourceUtils::_sharedResourceManager - IL_0017: ret - } // end of method ResourceUtils::RegisterSharedAssembly - - // method line 270 - .method public static hidebysig - default string GetString (string name) cil managed noinlining - { - // Method begins at RVA 0x52d0 - // Code size 23 (0x17) - .maxstack 3 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0, - string V_1) + 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.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldnull - IL_0009: ldloc.0 - IL_000a: call string class NAnt.Core.Util.ResourceUtils::GetString(string, class [mscorlib]System.Globalization.CultureInfo, class [mscorlib]System.Reflection.Assembly) - IL_000f: stloc.1 - IL_0010: br IL_0015 + 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_0015: ldloc.1 - IL_0016: ret - } // end of method ResourceUtils::GetString + } // 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 271 - .method public static hidebysig - default string GetString (string name, class [mscorlib]System.Globalization.CultureInfo culture) cil managed noinlining - { - // Method begins at RVA 0x52f4 - // Code size 23 (0x17) - .maxstack 3 - .locals init ( - class [mscorlib]System.Reflection.Assembly V_0, - string V_1) - IL_0000: nop - IL_0001: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() - IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldloc.0 - IL_000a: call string class NAnt.Core.Util.ResourceUtils::GetString(string, class [mscorlib]System.Globalization.CultureInfo, class [mscorlib]System.Reflection.Assembly) - IL_000f: stloc.1 - IL_0010: br IL_0015 + IL_0057: ldloc.0 + IL_0058: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() + IL_005d: brtrue IL_0084 - IL_0015: ldloc.1 - IL_0016: ret - } // end of method ResourceUtils::GetString + 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 - // method line 272 - .method public static hidebysig - default string GetString (string name, class [mscorlib]System.Globalization.CultureInfo culture, class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + IL_00b3: ldloc.2 + IL_00b4: ret + } // end of method XmlPokeTask::SelectNodes + + // method line 277 + .method private hidebysig + instance default void UpdateNodes (class [System.Xml]System.Xml.XmlNodeList nodes, string 'value') cil managed { - // Method begins at RVA 0x5318 - // Code size 107 (0x6b) - .maxstack 3 + // Method begins at RVA 0x9b8c + // Code size 161 (0xa1) + .maxstack 7 .locals init ( - string V_0, - class [mscorlib]System.Resources.ResourceManager V_1, - string V_2, - string V_3) + 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.2 - IL_0002: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_0007: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_000c: stloc.0 - IL_000d: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary - IL_0012: ldloc.0 - IL_0013: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_0018: brtrue IL_0025 - + 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.2 - IL_001f: call void class NAnt.Core.Util.ResourceUtils::RegisterAssembly(class [mscorlib]System.Reflection.Assembly) - IL_0024: nop - IL_0025: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary - IL_002a: ldloc.0 - IL_002b: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0030: castclass [mscorlib]System.Resources.ResourceManager - IL_0035: stloc.1 - IL_0036: ldloc.1 - IL_0037: ldarg.0 - IL_0038: ldarg.1 - IL_0039: callvirt instance string class [mscorlib]System.Resources.ResourceManager::GetString(string, class [mscorlib]System.Globalization.CultureInfo) - IL_003e: stloc.2 - IL_003f: ldloc.2 - IL_0040: brtrue IL_0062 - - IL_0045: ldsfld class [mscorlib]System.Resources.ResourceManager NAnt.Core.Util.ResourceUtils::_sharedResourceManager - IL_004a: brfalse IL_0062 - - IL_004f: nop - IL_0050: ldsfld class [mscorlib]System.Resources.ResourceManager NAnt.Core.Util.ResourceUtils::_sharedResourceManager - IL_0055: ldarg.0 - IL_0056: ldarg.1 - IL_0057: callvirt instance string class [mscorlib]System.Resources.ResourceManager::GetString(string, class [mscorlib]System.Globalization.CultureInfo) - IL_005c: stloc.3 - IL_005d: br IL_0069 - - IL_0062: ldloc.2 - IL_0063: stloc.3 - IL_0064: br IL_0069 + 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_0069: ldloc.3 - IL_006a: ret - } // end of method ResourceUtils::GetString + 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 273 - .method private static hidebysig - default void RegisterAssembly (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed - { - // Method begins at RVA 0x5390 - // Code size 70 (0x46) - .maxstack 4 - .locals init ( - object V_0, - bool V_1, - string V_2) - IL_0000: nop - IL_0001: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary - IL_0006: stloc.0 - IL_0007: ldc.i4.0 - IL_0008: stloc.1 - .try { // 0 - IL_0009: ldloc.0 - IL_000a: ldloca.s 1 - IL_000c: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) - IL_0011: nop - IL_0012: ldarg.0 - IL_0013: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_0018: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_001d: stloc.2 - IL_001e: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary - IL_0023: ldloc.2 - IL_0024: ldloc.2 - IL_0025: call string class NAnt.Core.Util.ResourceUtils::GetResourceName(string) - IL_002a: ldarg.0 - IL_002b: newobj instance void class [mscorlib]System.Resources.ResourceManager::'.ctor'(string, class [mscorlib]System.Reflection.Assembly) - IL_0030: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) - IL_0035: nop - IL_0036: leave IL_0045 + IL_006d: leave IL_0086 } // end .try 0 finally { // 0 - IL_003b: ldloc.1 - IL_003c: brfalse.s IL_0044 + IL_0072: ldloc.2 + IL_0073: isinst [mscorlib]System.IDisposable + IL_0078: dup + IL_0079: stloc.3 + IL_007a: brfalse IL_0085 - IL_003e: ldloc.0 - IL_003f: call void class [mscorlib]System.Threading.Monitor::Exit(object) - IL_0044: endfinally + IL_007f: ldloc.3 + IL_0080: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0085: endfinally } // end handler 0 - IL_0045: ret - } // end of method ResourceUtils::RegisterAssembly + 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 274 - .method private static hidebysig - default string GetResourceName (string assemblyName) cil managed + // method line 278 + .method private hidebysig + instance default void SaveDocument (class [System.Xml]System.Xml.XmlDocument document, string fileName) cil managed { - // Method begins at RVA 0x53f4 - // Code size 65 (0x41) - .maxstack 4 + // Method begins at RVA 0x9c4c + // Code size 104 (0x68) + .maxstack 7 .locals init ( - string V_0, - string V_1) + class [mscorlib]System.Exception V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: ldstr "Tasks" - IL_0009: callvirt instance bool string::EndsWith(string) - IL_000e: brfalse IL_002a - - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldc.i4.0 - IL_0016: ldarg.0 - IL_0017: callvirt instance int32 string::get_Length() - IL_001c: ldc.i4.5 - IL_001d: sub - IL_001e: callvirt instance string string::Substring(int32, int32) - IL_0023: stloc.0 - IL_0024: nop - IL_0025: br IL_002e + .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 - IL_002a: nop - IL_002b: ldarg.0 - IL_002c: stloc.0 - IL_002d: nop - IL_002e: ldloc.0 - IL_002f: ldstr ".Resources.Strings" - IL_0034: call string string::Concat(string, string) - IL_0039: stloc.1 - IL_003a: br IL_003f + } // 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 - IL_003f: ldloc.1 - IL_0040: ret - } // end of method ResourceUtils::GetResourceName + .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 275 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x5441 - // 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.Util.ResourceUtils::_resourceManagerDictionary - IL_000a: ret - } // end of method ResourceUtils::.cctor + .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. - } // end of class NAnt.Core.Util.ResourceUtils -} + .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. -.namespace NAnt.Core.Util -{ - .class public auto ansi sealed serializable beforefieldinit CommandLineArgumentException - extends [mscorlib]System.ArgumentException - { + .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. - // method line 276 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x544d - // 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 + .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 277 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message) cil managed - { - // Method begins at RVA 0x5456 - // 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 + .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 line 278 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string message, class [mscorlib]System.Exception innerException) cil managed - { - // Method begins at RVA 0x5460 - // 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 + .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. - // method line 279 - .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 0x546b - // 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 + .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.Util.CommandLineArgumentException + .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.Util +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit StopWatchStack - extends [mscorlib]System.Object + .class public auto ansi beforefieldinit LoadTasksTask + extends NAnt.Core.Task { - .field private initonly class NAnt.Core.Util.DateTimeProvider _dtProvider - .field private initonly class [mscorlib]System.Collections.Stack _stack + .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.. - // method line 280 + .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 279 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Util.DateTimeProvider dtProvider) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x5476 - // Code size 26 (0x1a) + // Method begins at RVA 0x9cd0 + // Code size 18 (0x12) .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_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 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_000c: call instance void class NAnt.Core.Task::'.ctor'() + IL_0011: ret + } // end of method LoadTasksTask::.ctor + + // method line 280 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_AssemblyPath () cil managed + { + // Method begins at RVA 0x9ce4 + // 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.LoadTasksTask::_assembly + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoadTasksTask::get_AssemblyPath // method line 281 - .method public hidebysig - instance default void PushStart () cil managed + .method public hidebysig specialname + instance default void set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x5491 - // Code size 24 (0x18) + // Method begins at RVA 0x9cff + // Code size 9 (0x9) .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 + 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 282 - .method public hidebysig - instance default valuetype [mscorlib]System.TimeSpan PopStop () cil managed + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_Path () cil managed { - // Method begins at RVA 0x54ac - // Code size 30 (0x1e) + // Method begins at RVA 0x9d0c + // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + class [mscorlib]System.IO.DirectoryInfo 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 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.LoadTasksTask::_path + IL_0007: stloc.0 + IL_0008: br IL_000d - .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 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoadTasksTask::get_Path // method line 283 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Util.DateTimeProvider dtProvider) cil managed + .method public hidebysig specialname + instance default void set_Path (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x54d6 - // Code size 27 (0x1b) + // Method begins at RVA 0x9d27 + // 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: 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 + 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 // method line 284 - .method public hidebysig - instance default valuetype [mscorlib]System.TimeSpan Elapsed () cil managed + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_TaskFileSet () cil managed { - // Method begins at RVA 0x54f4 - // Code size 31 (0x1f) - .maxstack 2 + // Method begins at RVA 0x9d34 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + class NAnt.Core.Types.FileSet 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 -} + IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.LoadTasksTask::_fileset + IL_0007: stloc.0 + IL_0008: br IL_000d -.namespace NAnt.Core.Util -{ - .class public auto ansi beforefieldinit DateTimeProvider - extends [mscorlib]System.Object - { + IL_000d: ldloc.0 + IL_000e: ret + } // end of method LoadTasksTask::get_TaskFileSet // method line 285 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + .method public hidebysig specialname + instance default void set_TaskFileSet (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x551f - // Code size 7 (0x7) + // Method begins at RVA 0x9d4f + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method DateTimeProvider::.ctor + 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 // method line 286 - .method public virtual hidebysig newslot specialname - instance default valuetype [mscorlib]System.DateTime get_Now () cil managed + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x5528 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x9d5c + .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 ( - valuetype [mscorlib]System.DateTime 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: 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: 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_000c: ldloc.0 - IL_000d: ret - } // end of method DateTimeProvider::get_Now + 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 - .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_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 -.namespace NAnt.Core.Util -{ - .class public auto ansi sealed beforefieldinit DefaultCommandLineArgumentAttribute - extends NAnt.Core.Util.CommandLineArgumentAttribute - { - .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. + 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_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_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_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 + + 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 287 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.Core.Util.CommandLineArgumentTypes argumentType) cil managed + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x5542 - // Code size 9 (0x9) + // Method begins at RVA 0x9fd8 + // Code size 42 (0x2a) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) - IL_0007: nop - IL_0008: ret - } // end of method DefaultCommandLineArgumentAttribute::.ctor + 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 - } // end of class NAnt.Core.Util.DefaultCommandLineArgumentAttribute + 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 () + { + .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 [mscorlib]System.IO.DirectoryInfo 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') + } + .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.Util +.namespace NAnt.Core.Tasks { - .class public auto ansi serializable beforefieldinit CommandLineArgumentCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit ExecTask + extends 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.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 65 78 65 63 00 00 ) // ...exec.. + .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 288 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x554c - // Code size 8 (0x8) + // Method begins at RVA 0xac64 + // 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 CommandLineArgumentCollection::.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 289 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentCollection 'value') cil managed + .method public hidebysig specialname + instance default string get_FileName () cil managed { - // Method begins at RVA 0x5555 + // Method begins at RVA 0xac78 // 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.Util.CommandLineArgumentCollection::AddRange(class NAnt.Core.Util.CommandLineArgumentCollection) + .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 IL_000e: ret - } // end of method CommandLineArgumentCollection::.ctor + } // end of method ExecTask::get_FileName // method line 290 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgument[] 'value') cil managed + .method public hidebysig specialname + instance default void set_FileName (string 'value') cil managed { - // Method begins at RVA 0x5565 - // Code size 15 (0xf) + // Method begins at RVA 0xac93 + // Code size 14 (0xe) .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.Util.CommandLineArgumentCollection::AddRange(class NAnt.Core.Util.CommandLineArgument[]) - IL_000e: ret - } // end of method CommandLineArgumentCollection::.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.ExecTask::_program + IL_000d: ret + } // end of method ExecTask::set_FileName // method line 291 .method public hidebysig specialname - instance default class NAnt.Core.Util.CommandLineArgument get_Item (int32 index) cil managed + instance default string get_CommandLineArguments () cil managed { - // Method begins at RVA 0x5578 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0xaca4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Util.CommandLineArgument 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.Util.CommandLineArgument - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_commandline + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method CommandLineArgumentCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExecTask::get_CommandLineArguments // method line 292 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Util.CommandLineArgument 'value') cil managed + instance default void set_CommandLineArguments (string 'value') cil managed { - // Method begins at RVA 0x559e - // Code size 15 (0xf) + // Method begins at RVA 0xacbf + // 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: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method CommandLineArgumentCollection::set_Item + 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 // method line 293 .method public hidebysig specialname - instance default class NAnt.Core.Util.CommandLineArgument get_Item (string name) cil managed + instance default class NAnt.Core.Types.EnvironmentSet get_EnvironmentSet () cil managed { - // Method begins at RVA 0x55b0 - // Code size 213 (0xd5) - .maxstack 2 + // Method begins at RVA 0xacd0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Util.CommandLineArgument V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Util.CommandLineArgument V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.Core.Util.CommandLineArgument V_4, - class [mscorlib]System.Collections.IEnumerator V_5, - class [mscorlib]System.IDisposable V_6) + class NAnt.Core.Types.EnvironmentSet V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_00cc - - 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.Util.CommandLineArgument - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldarg.1 - IL_0028: ldloc.0 - IL_0029: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - 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_00d3 - - 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: ldarg.0 - IL_0067: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_006c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0071: stloc.s 5 - .try { // 1 - IL_0073: br IL_00a3 - - IL_0078: ldloc.s 5 - IL_007a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_007f: castclass NAnt.Core.Util.CommandLineArgument - IL_0084: stloc.s 4 - IL_0086: nop - IL_0087: ldarg.1 - IL_0088: ldloc.s 4 - IL_008a: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() - IL_008f: callvirt instance bool string::Equals(string) - IL_0094: brfalse IL_00a2 - - IL_0099: nop - IL_009a: ldloc.s 4 - IL_009c: stloc.2 - IL_009d: leave IL_00d3 - - IL_00a2: nop - IL_00a3: ldloc.s 5 - IL_00a5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00aa: brtrue IL_0078 - - IL_00af: leave IL_00cb - - } // end .try 1 - finally { // 1 - IL_00b4: ldloc.s 5 - IL_00b6: isinst [mscorlib]System.IDisposable - IL_00bb: dup - IL_00bc: stloc.s 6 - IL_00be: brfalse IL_00ca - - IL_00c3: ldloc.s 6 - IL_00c5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00ca: endfinally - } // end handler 1 - IL_00cb: nop - IL_00cc: ldnull - IL_00cd: stloc.2 - IL_00ce: br IL_00d3 + 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_00d3: ldloc.2 - IL_00d4: ret - } // end of method CommandLineArgumentCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExecTask::get_EnvironmentSet // method line 294 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Util.CommandLineArgument item) cil managed + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_WorkingDirectory () cil managed { - // Method begins at RVA 0x56b0 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xacec + // Code size 39 (0x27) + .maxstack 1 .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::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_workingDirectory + IL_0007: brtrue IL_0019 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method CommandLineArgumentCollection::Add + 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::_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 295 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Util.CommandLineArgument[] items) cil managed + .method public hidebysig specialname + instance default void set_WorkingDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x56d4 - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0xad1f + // 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.Core.Util.CommandLineArgumentCollection::Add(class NAnt.Core.Util.CommandLineArgument) - 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 CommandLineArgumentCollection::AddRange + 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 // method line 296 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Util.CommandLineArgumentCollection items) cil managed + .method public hidebysig specialname + instance default string get_ResultProperty () cil managed { - // Method begins at RVA 0x5704 - // Code size 41 (0x29) - .maxstack 3 + // Method begins at RVA 0xad2c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + string 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.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Util.CommandLineArgumentCollection::Add(class NAnt.Core.Util.CommandLineArgument) - 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 string NAnt.Core.Tasks.ExecTask::_resultProperty + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0028: ret - } // end of method CommandLineArgumentCollection::AddRange + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExecTask::get_ResultProperty // method line 297 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Util.CommandLineArgument item) cil managed + .method public hidebysig specialname + instance default void set_ResultProperty (string 'value') cil managed { - // Method begins at RVA 0x573c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) + // Method begins at RVA 0xad47 + // 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 CommandLineArgumentCollection::Contains + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.ExecTask::_resultProperty + IL_0008: ret + } // end of method ExecTask::set_ResultProperty // method line 298 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Util.CommandLineArgument[] 'array', int32 index) cil managed + .method public virtual hidebysig specialname + instance default bool get_UseRuntimeEngine () cil managed { - // Method begins at RVA 0x575d + // Method begins at RVA 0xad54 // 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 CommandLineArgumentCollection::CopyTo - - // method line 299 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Util.CommandLineArgument item) cil managed - { - // Method begins at RVA 0x5770 - // Code size 21 (0x15) - .maxstack 2 + .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: call instance bool class NAnt.Core.Tasks.ExternalProgramBase::get_UseRuntimeEngine() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method CommandLineArgumentCollection::IndexOf + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExecTask::get_UseRuntimeEngine - // method line 300 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Util.CommandLineArgument item) cil managed + // method line 299 + .method public virtual hidebysig specialname + instance default void set_UseRuntimeEngine (bool 'value') cil managed { - // Method begins at RVA 0x5791 - // Code size 15 (0xf) + // Method begins at RVA 0xad6f + // 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 CommandLineArgumentCollection::Insert + 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 - // method line 301 - .method public hidebysig - instance default class NAnt.Core.Util.CommandLineArgumentEnumerator GetEnumerator () cil managed + // method line 300 + .method public virtual hidebysig specialname + instance default valuetype NAnt.Core.Types.ManagedExecution get_Managed () cil managed { - // Method begins at RVA 0x57a4 + // Method begins at RVA 0xad7c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Util.CommandLineArgumentEnumerator V_0) + valuetype NAnt.Core.Types.ManagedExecution V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Util.CommandLineArgumentEnumerator::'.ctor'(class NAnt.Core.Util.CommandLineArgumentCollection) + 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 CommandLineArgumentCollection::GetEnumerator + } // end of method ExecTask::get_Managed - // method line 302 - .method public hidebysig - instance default void Remove (class NAnt.Core.Util.CommandLineArgument item) cil managed + // method line 301 + .method public virtual hidebysig specialname + instance default void set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') cil managed { - // Method begins at RVA 0x57bf - // Code size 14 (0xe) + // Method begins at RVA 0xad97 + // 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 CommandLineArgumentCollection::Remove + 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 - .property instance class NAnt.Core.Util.CommandLineArgument Item (int32) - { - .get instance default class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineArgumentCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Util.CommandLineArgumentCollection::set_Item (int32 index, class NAnt.Core.Util.CommandLineArgument 'value') - } - .property instance class NAnt.Core.Util.CommandLineArgument Item (string) - { - .get instance default class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineArgumentCollection::get_Item (string name) - } - } // end of class NAnt.Core.Util.CommandLineArgumentCollection -} + // method line 302 + .method public virtual hidebysig specialname + instance default string get_ProgramFileName () cil managed + { + // Method begins at RVA 0xada4 + // Code size 127 (0x7f) + .maxstack 2 + .locals init ( + string V_0, + string V_1) + 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 -.namespace NAnt.Core.Util -{ - .class public auto ansi beforefieldinit CommandLineArgumentEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + 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_001e: ldarg.0 + IL_001f: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory + IL_0024: brtrue IL_005b + + 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_0047: nop + IL_0048: ldloc.1 + IL_0049: stloc.0 + IL_004a: br IL_007d + + 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_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_007d: ldloc.0 + IL_007e: ret + } // end of method ExecTask::get_ProgramFileName // method line 303 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentCollection arguments) cil managed + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x57d0 - // Code size 22 (0x16) - .maxstack 2 + // Method begins at RVA 0xae30 + // Code size 80 (0x50) + .maxstack 4 .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.Util.CommandLineArgumentEnumerator::_baseEnumerator - IL_0015: ret - } // end of method CommandLineArgumentEnumerator::.ctor + 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 + + IL_0018: nop + IL_0019: nop + IL_001a: nop + IL_001b: leave IL_004f + + } // 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 304 - .method public hidebysig specialname - instance default class NAnt.Core.Util.CommandLineArgument get_Current () cil managed + .method public virtual hidebysig specialname + instance default string get_ProgramArguments () cil managed { - // Method begins at RVA 0x57f4 - // Code size 25 (0x19) + // Method begins at RVA 0xae9c + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Util.CommandLineArgument V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Util.CommandLineArgument - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld string NAnt.Core.Tasks.ExecTask::_commandline + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method CommandLineArgumentEnumerator::get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExecTask::get_ProgramArguments // method line 305 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed { - // Method begins at RVA 0x581c - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 20 (0x14) + // Method begins at RVA 0xaeb8 + // Code size 39 (0x27) .maxstack 1 .locals init ( - object 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.Core.Util.CommandLineArgumentEnumerator::_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 [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory + IL_0007: brtrue IL_0019 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CommandLineArgumentEnumerator::System.Collections.IEnumerator.get_Current + 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 // method line 306 - .method public hidebysig - instance default bool MoveNext () cil managed + .method public virtual hidebysig specialname + instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x583c - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0xaeeb + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_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 CommandLineArgumentEnumerator::MoveNext + 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 // method line 307 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed { - // Method begins at RVA 0x585c - .override class [mscorlib]System.Collections.IEnumerator::MoveNext - // Code size 20 (0x14) + // Method begins at RVA 0xaef8 + // 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 class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_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.FileInfo NAnt.Core.Tasks.ExecTask::_output + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method CommandLineArgumentEnumerator::System.Collections.IEnumerator.MoveNext + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExecTask::get_Output // method line 308 - .method public hidebysig - instance default void Reset () cil managed + .method public virtual hidebysig specialname + instance default void set_Output (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x587c - // Code size 13 (0xd) + // Method begins at RVA 0xaf13 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method CommandLineArgumentEnumerator::Reset + 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 // method line 309 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + .method public virtual hidebysig specialname + instance default bool get_OutputAppend () cil managed { - // Method begins at RVA 0x588a - .override class [mscorlib]System.Collections.IEnumerator::Reset - // Code size 13 (0xd) + // Method begins at RVA 0xaf20 + // 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.ExecTask::_outputAppend + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExecTask::get_OutputAppend + + // method line 310 + .method public virtual hidebysig specialname + instance default void set_OutputAppend (bool 'value') cil managed + { + // Method begins at RVA 0xaf3b + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method CommandLineArgumentEnumerator::System.Collections.IEnumerator.Reset + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.ExecTask::_outputAppend + IL_0008: ret + } // end of method ExecTask::set_OutputAppend - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.Util.CommandLineArgumentEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Core.Util.CommandLineArgument Current () - { - .get instance default class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current () - } - } // end of class NAnt.Core.Util.CommandLineArgumentEnumerator -} + // method line 311 + .method public virtual hidebysig specialname + instance default bool get_Spawn () cil managed + { + // Method begins at RVA 0xaf48 + // 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.ExternalProgramBase::get_Spawn() + IL_0007: stloc.0 + IL_0008: br IL_000d -.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 ) // .... + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExecTask::get_Spawn - .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) + // method line 312 + .method public virtual hidebysig specialname + instance default void set_Spawn (bool 'value') cil managed + { + // Method begins at RVA 0xaf63 + // 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.ExternalProgramBase::set_Spawn(bool) + IL_0008: ret + } // end of method ExecTask::set_Spawn - } // end of class NAnt.Core.Util.CommandLineArgumentTypes -} + // method line 313 + .method public hidebysig specialname + instance default string get_ProcessIdProperty () cil managed + { + // Method begins at RVA 0xaf70 + // 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 -.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_000d: ldloc.0 + IL_000e: ret + } // end of method ExecTask::get_ProcessIdProperty - // method line 310 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentAttribute attribute, class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + // method line 314 + .method public hidebysig specialname + instance default void set_ProcessIdProperty (string 'value') cil managed { - // Method begins at RVA 0x5898 - // Code size 258 (0x102) - .maxstack 3 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop + // Method begins at RVA 0xaf8b + // Code size 9 (0x9) + .maxstack 8 + 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 + + // method line 315 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xaf98 + // 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 + + 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 + + // method line 316 + .method family virtual hidebysig + instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed + { + // Method begins at RVA 0xb01c + // Code size 371 (0x173) + .maxstack 3 + .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) + 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: stfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0009: callvirt instance class [System]System.Diagnostics.ProcessStartInfo class [System]System.Diagnostics.Process::get_StartInfo() 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 + 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_0040: ldarg.0 - IL_0041: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_0046: brfalse IL_005d + 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_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_0048: ldloc.0 + IL_0049: callvirt instance bool class NAnt.Core.Types.Option::get_UnlessDefined() + IL_004e: brtrue IL_00a0 - IL_005d: ldarg.0 - IL_005e: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_0063: brfalse IL_0075 + 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_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_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_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_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_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_00ac: leave IL_00c5 - IL_00a1: ldarg.0 - IL_00a2: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_00a7: brtrue IL_00b7 + } // 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_00ac: ldarg.0 - IL_00ad: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_00b2: brfalse IL_00bf + IL_00be: ldloc.2 + IL_00bf: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00c4: 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_00b7: ldarg.0 - IL_00b8: call instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() - IL_00bd: br.s IL_00c0 + 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_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_00f1: ldloc.3 + IL_00f2: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() + IL_00f7: brtrue IL_0149 - IL_00d5: ldarg.0 - IL_00d6: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() - IL_00db: brtrue IL_00f3 + 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_00e0: ldarg.0 - IL_00e1: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_00e6: brtrue IL_00f3 + 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 - IL_00eb: ldarg.0 - IL_00ec: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_00f1: br.s IL_00f4 + 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_00f3: ldc.i4.1 - IL_00f4: br.s IL_00f7 + IL_0156: leave IL_0172 - 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 + } // 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 311 - .method public hidebysig specialname - instance default class [mscorlib]System.Reflection.PropertyInfo get_Property () cil managed - { - // Method begins at RVA 0x59a8 - // 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method CommandLineArgument::get_Property + .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. - // method line 312 + .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.Tasks +{ + .class public auto ansi beforefieldinit EchoTask + extends NAnt.Core.Task + { + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 65 63 68 6F 00 00 ) // ...echo.. + + .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 317 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xb1b8 + // Code size 18 (0x12) + .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 + + // method line 318 .method public hidebysig specialname - instance default class [mscorlib]System.Type get_ValueType () cil managed + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed { - // Method begins at RVA 0x59c4 - // Code size 48 (0x30) + // Method begins at RVA 0xb1cc + // Code size 37 (0x25) .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0) + class [mscorlib]System.Text.Encoding V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.EchoTask::_encoding IL_0007: brtrue IL_0017 - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_0012: brfalse IL_0022 + 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.Type NAnt.Core.Util.CommandLineArgument::_elementType - IL_001d: br IL_0028 + IL_0018: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Tasks.EchoTask::_encoding + IL_001d: stloc.0 + IL_001e: br IL_0023 - 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_0023: ldloc.0 + IL_0024: ret + } // end of method EchoTask::get_Encoding - IL_002e: ldloc.0 - IL_002f: ret - } // end of method CommandLineArgument::get_ValueType + // method line 319 + .method public hidebysig specialname + instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + { + // Method begins at RVA 0xb1fd + // 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_0008: ret + } // end of method EchoTask::set_Encoding - // method line 313 + // method line 320 .method public hidebysig specialname - instance default string get_LongName () cil managed + instance default string get_Message () cil managed { - // Method begins at RVA 0x5a00 - // Code size 66 (0x42) + // Method begins at RVA 0xb208 + // Code size 15 (0xf) .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_0002: ldfld string NAnt.Core.Tasks.EchoTask::_message + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method EchoTask::get_Message - 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 321 + .method public hidebysig specialname + instance default void set_Message (string 'value') cil managed + { + // Method begins at RVA 0xb224 + // Code size 79 (0x4f) + .maxstack 2 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0045 - 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_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_0040: ldloc.0 - IL_0041: ret - } // end of method CommandLineArgument::get_LongName + IL_0018: nop + IL_0019: ldarg.0 + IL_001a: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() + IL_001f: brfalse IL_0036 - // method line 314 + 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 322 .method public hidebysig specialname - instance default string get_ShortName () cil managed + instance default string get_Contents () cil managed { - // Method begins at RVA 0x5a50 - // Code size 40 (0x28) + // Method begins at RVA 0xb280 + // Code size 15 (0xf) .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 + IL_0002: ldfld string NAnt.Core.Tasks.EchoTask::_contents + IL_0007: stloc.0 + IL_0008: br IL_000d - 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: ldloc.0 + IL_000e: ret + } // end of method EchoTask::get_Contents - IL_001e: nop - IL_001f: ldnull - IL_0020: stloc.0 - IL_0021: br IL_0026 + // method line 323 + .method public hidebysig specialname + instance default void set_Contents (string 'value') cil managed + { + // Method begins at RVA 0xb29c + // Code size 79 (0x4f) + .maxstack 2 + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0045 - IL_0026: ldloc.0 - IL_0027: ret - } // end of method CommandLineArgument::get_ShortName + 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 - // method line 315 + 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 324 .method public hidebysig specialname - instance default string get_Description () cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x5a84 - // Code size 40 (0x28) + // Method begins at RVA 0xb2f8 + // 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 class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute - IL_0007: brfalse IL_001e - - 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 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.EchoTask::_file + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001e: nop - IL_001f: ldnull - IL_0020: stloc.0 - IL_0021: br IL_0026 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EchoTask::get_File - IL_0026: ldloc.0 - IL_0027: ret - } // end of method CommandLineArgument::get_Description + // method line 325 + .method public hidebysig specialname + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0xb313 + // 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_0008: ret + } // end of method EchoTask::set_File - // method line 316 + // method line 326 .method public hidebysig specialname - instance default bool get_IsRequired () cil managed + instance default bool get_Append () cil managed { - // Method begins at RVA 0x5ab8 - // Code size 23 (0x17) - .maxstack 3 + // Method begins at RVA 0xb320 + // Code size 15 (0xf) + .maxstack 1 .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 - IL_000c: ldc.i4.0 - IL_000d: ceq - IL_000f: stloc.0 - IL_0010: br IL_0015 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Tasks.EchoTask::_append + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0015: ldloc.0 - IL_0016: ret - } // end of method CommandLineArgument::get_IsRequired + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EchoTask::get_Append - // method line 317 + // method line 327 .method public hidebysig specialname - instance default bool get_SeenValue () cil managed + instance default void set_Append (bool 'value') cil managed + { + // Method begins at RVA 0xb33b + // 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_0008: ret + } // end of method EchoTask::set_Append + + // method line 328 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Level get_MessageLevel () cil managed { - // Method begins at RVA 0x5adc + // Method begins at RVA 0xb348 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype NAnt.Core.Level V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Util.CommandLineArgument::_seenValue + IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.Tasks.EchoTask::_messageLevel 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 EchoTask::get_MessageLevel - // method line 318 + // method line 329 .method public hidebysig specialname - instance default bool get_AllowMultiple () cil managed + instance default void set_MessageLevel (valuetype NAnt.Core.Level 'value') cil managed { - // Method begins at RVA 0x5af8 - // Code size 59 (0x3b) + // Method begins at RVA 0xb364 + // 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_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 330 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xb3b4 + // Code size 335 (0x14f) .maxstack 3 .locals init ( - bool V_0) + class [mscorlib]System.IO.StreamWriter V_0, + class [mscorlib]System.Exception V_1) 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_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.EchoTask::get_File() + IL_0007: brfalse IL_00f1 - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_0012: brtrue IL_0022 + 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_0017: ldarg.0 - IL_0018: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_001d: brfalse IL_0032 + 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_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_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_0032: ldc.i4.0 - IL_0033: stloc.0 - IL_0034: br IL_0039 + 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_0039: ldloc.0 - IL_003a: ret - } // end of method CommandLineArgument::get_AllowMultiple + 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 - // method line 319 - .method public hidebysig specialname - instance default bool get_Unique () cil managed + } // 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_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_0116: ldarg.0 + IL_0117: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() + IL_011c: brfalse IL_013a + + 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_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 331 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x5b40 - // Code size 23 (0x17) - .maxstack 3 - .locals init ( - bool V_0) + // Method begins at RVA 0xb52c + // Code size 62 (0x3e) + .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.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_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_0015: ldloc.0 - IL_0016: ret - } // end of method CommandLineArgument::get_Unique + IL_0016: br IL_003d - // method line 320 + 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 class [mscorlib]System.Text.Encoding Encoding () + { + .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 [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 Message () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 65 73 73 61 67 65 00 00 ) // ...message.. + + .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 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 Append () + { + .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.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 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') + } + } // end of class NAnt.Core.Tasks.EchoTask +} + +.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.. + + .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 332 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xb56b + // 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 + + // method line 333 .method public hidebysig specialname - instance default class [mscorlib]System.Type get_Type () cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x5b64 - // Code size 20 (0x14) + // Method begins at RVA 0xb580 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0) + class [mscorlib]System.IO.FileInfo 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 class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.TouchTask::_file + 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 TouchTask::get_File - // method line 321 + // method line 334 .method public hidebysig specialname - instance default bool get_IsCollection () cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x5b84 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0xb59b + // 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 class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.TouchTask::_file + IL_0008: ret + } // end of method TouchTask::set_File - // method line 322 + // method line 335 .method public hidebysig specialname - instance default bool get_IsNameValueCollection () cil managed + instance default int64 get_Millis () cil managed { - // Method begins at RVA 0x5ba4 - // Code size 20 (0x14) + // Method begins at RVA 0xb5a8 + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + int64 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 int64 NAnt.Core.Tasks.TouchTask::_millis + 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 TouchTask::get_Millis - // method line 323 + // method line 336 .method public hidebysig specialname - instance default bool get_IsArray () cil managed + instance default void set_Millis (int64 'value') cil managed { - // Method begins at RVA 0x5bc4 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0xb5c3 + // 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_0012: ldloc.0 - IL_0013: ret - } // end of method CommandLineArgument::get_IsArray + IL_0002: ldarg.1 + IL_0003: stfld int64 NAnt.Core.Tasks.TouchTask::_millis + IL_0008: ret + } // end of method TouchTask::set_Millis - // method line 324 + // method line 337 .method public hidebysig specialname - instance default bool get_IsDefault () cil managed + instance default valuetype [mscorlib]System.DateTime get_Datetime () cil managed { - // Method begins at RVA 0x5be4 - // Code size 37 (0x25) - .maxstack 2 + // Method begins at RVA 0xb5d0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + valuetype [mscorlib]System.DateTime 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_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.TouchTask::_datetime + 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 TouchTask::get_Datetime - IL_0023: ldloc.0 - IL_0024: ret - } // end of method CommandLineArgument::get_IsDefault + // method line 338 + .method public hidebysig specialname + instance default void set_Datetime (valuetype [mscorlib]System.DateTime 'value') cil managed + { + // Method begins at RVA 0xb5eb + // 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 - // method line 325 + // method line 339 .method public hidebysig specialname - instance default bool get_IsExclusive () cil managed + instance default class NAnt.Core.Types.FileSet get_TouchFileSet () cil managed { - // Method begins at RVA 0x5c18 - // Code size 23 (0x17) - .maxstack 3 + // Method begins at RVA 0xb5f8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.FileSet 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.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_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_0015: ldloc.0 - IL_0016: ret - } // end of method CommandLineArgument::get_IsExclusive + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TouchTask::get_TouchFileSet - // method line 326 - .method public hidebysig - instance default void Finish (object destination) cil managed + // method line 340 + .method public hidebysig specialname + instance default void set_TouchFileSet (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x5c3c - .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 ( - 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) + // Method begins at RVA 0xb613 + // Code size 9 (0x9) + .maxstack 8 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_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_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() - IL_0012: brtrue IL_0033 + // method line 341 + .method family virtual hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0xb620 + // 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_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_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_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_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_006a: ldarg.0 - IL_006b: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() - IL_0070: brfalse IL_0256 + 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_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_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 - 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 + // method line 342 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xb694 + // 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_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_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_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_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_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 + 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_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_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_017a: nop - IL_017b: ldloc.3 - IL_017c: stloc.2 - IL_017d: br IL_0195 + 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_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_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_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_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_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 + IL_00cb: leave IL_00e4 + + } // 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_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 343 + .method private hidebysig + instance default void TouchFile (string path, valuetype [mscorlib]System.DateTime touchDateTime) cil managed + { + // Method begins at RVA 0xb798 + // 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_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_0001: nop + IL_0002: ldarg.1 + IL_0003: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0008: brfalse IL_003d - 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_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_0208: leave IL_0224 + 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_020d: ldloc.s 8 - IL_020f: isinst [mscorlib]System.IDisposable - IL_0214: dup - IL_0215: stloc.s 9 - IL_0217: brfalse IL_0223 + IL_0075: ldloc.0 + IL_0076: brfalse IL_0081 - IL_021c: ldloc.s 9 - IL_021e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0223: endfinally + IL_007b: ldloc.0 + IL_007c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0081: endfinally } // end handler 0 - IL_0224: nop - IL_0225: leave IL_024f + 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 } // 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 + 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_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_024f: nop - IL_0250: nop - IL_0251: br IL_04ac + IL_00e4: ret + } // end of method TouchTask::TouchFile - IL_0256: ldarg.0 - IL_0257: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_025c: brfalse IL_0483 + // method line 344 + .method private hidebysig + instance default valuetype [mscorlib]System.DateTime GetDateTime (int64 milliSeconds) cil managed + { + // Method begins at RVA 0xb8a8 + // 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_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_0025: ldloc.1 + IL_0026: ret + } // end of method TouchTask::GetDateTime - 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 + .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_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 + .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.. - 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 + .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.. - 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 + .custom instance void class NAnt.Core.Attributes.DateTimeValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - 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 + .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.. - 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 + .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 +} - IL_038d: nop - IL_038e: ldloc.s 14 - IL_0390: stloc.s 13 - IL_0392: br IL_03aa +.namespace NAnt.Core.Tasks +{ + .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.. - 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 + .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 - 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 345 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xb8db + // Code size 25 (0x19) + .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_0012: ldarg.0 + IL_0013: call instance void class NAnt.Core.Task::'.ctor'() + IL_0018: ret + } // end of method DeleteTask::.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 346 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + { + // Method begins at RVA 0xb8f8 + // 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.DeleteTask::_file + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method DeleteTask::get_File - IL_0435: leave IL_0451 + // method line 347 + .method public hidebysig specialname + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0xb913 + // 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.DeleteTask::_file + IL_0008: ret + } // end of method DeleteTask::set_File - } // 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 + // method line 348 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + { + // Method begins at RVA 0xb920 + // 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.DeleteTask::_dir + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method DeleteTask::get_Directory - } // 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 + // method line 349 + .method public hidebysig specialname + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + { + // Method begins at RVA 0xb93b + // 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 - IL_0483: nop - IL_0484: ldarg.0 - IL_0485: ldfld object NAnt.Core.Util.CommandLineArgument::_argumentValue - IL_048a: brfalse IL_04ab + // method line 350 + .method public hidebysig specialname + instance default bool get_IncludeEmptyDirs () cil managed + { + // Method begins at RVA 0xb948 + // 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_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method DeleteTask::get_IncludeEmptyDirs - // method line 327 - .method public hidebysig - instance default void SetValue (string 'value') cil managed + // method line 351 + .method public hidebysig specialname + instance default void set_IncludeEmptyDirs (bool 'value') cil managed { - // Method begins at RVA 0x612c - // Code size 211 (0xd3) - .maxstack 4 + // Method begins at RVA 0xb963 + // 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_0008: ret + } // end of method DeleteTask::set_IncludeEmptyDirs + + // method line 352 + .method public hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_DeleteFileSet () cil managed + { + // Method begins at RVA 0xb970 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - object V_0) + class NAnt.Core.Types.FileSet 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_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.DeleteTask::_fileset + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() - IL_0012: brtrue IL_0038 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DeleteTask::get_DeleteFileSet - 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 353 + .method public hidebysig specialname + instance default void set_DeleteFileSet (class NAnt.Core.Types.FileSet 'value') cil managed + { + // Method begins at RVA 0xb98b + // 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_0008: ret + } // end of method DeleteTask::set_DeleteFileSet - IL_0058: ldarg.0 - IL_0059: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() - IL_005e: brfalse IL_00b7 + // method line 354 + .method public virtual hidebysig specialname + instance default bool get_Verbose () cil managed + { + // Method begins at RVA 0xb998 + // 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.Task::get_Verbose() + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method DeleteTask::get_Verbose - 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 + // method line 355 + .method public virtual hidebysig specialname + instance default void set_Verbose (bool 'value') cil managed + { + // Method begins at RVA 0xb9b3 + // 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_Verbose(bool) + IL_0008: ret + } // end of method DeleteTask::set_Verbose - 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 + // method line 356 + .method family virtual hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0xb9c0 + // Code size 103 (0x67) + .maxstack 2 + 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_00b7: ldarg.0 - IL_00b8: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_00bd: brfalse IL_00c9 + 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_00c2: nop - IL_00c3: nop - IL_00c4: br IL_00d2 + 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_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_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 328 - .method private hidebysig - instance default object ParseValue (class [mscorlib]System.Type 'type', string stringData) cil managed + 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_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 357 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x620c - // Code size 810 (0x32a) - .maxstack 9 + // Method begins at RVA 0xba34 + // Code size 631 (0x277) + .maxstack 7 .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) + 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.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: 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_001c: ldarg.2 - IL_001d: brfalse 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_0022: ldarg.2 - IL_0023: callvirt instance int32 string::get_Length() - IL_0028: ldc.i4.0 - IL_0029: ble IL_0307 + 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_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_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_0045: nop - IL_0046: ldarg.2 - IL_0047: stloc.0 - IL_0048: leave IL_0328 + 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_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_006e: nop + IL_006f: br IL_0276 - IL_0062: nop - IL_0063: ldarg.2 - IL_0064: brfalse IL_0079 + IL_0074: ldarg.0 + IL_0075: callvirt instance bool class NAnt.Core.Task::get_Verbose() + IL_007a: brtrue IL_00a5 - IL_0069: ldarg.2 - IL_006a: ldstr "+" - IL_006f: call bool string::op_Equality(string, string) - IL_0074: brfalse IL_0086 + 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_0079: nop - IL_007a: ldc.i4.1 - IL_007b: box [mscorlib]System.Boolean - IL_0080: stloc.0 - IL_0081: leave IL_0328 + 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_0086: ldarg.2 - IL_0087: ldstr "-" - IL_008c: call bool string::op_Equality(string, string) - IL_0091: brfalse IL_00a3 + 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_0096: nop - IL_0097: ldc.i4.0 - IL_0098: box [mscorlib]System.Boolean - IL_009d: stloc.0 - IL_009e: leave IL_0328 + 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_00a3: nop - IL_00a4: br IL_02d6 + IL_013a: leave IL_0153 - IL_00a9: ldarg.1 - IL_00aa: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) - IL_00af: brfalse IL_0174 + } // 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_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_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_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_016a: ldarg.0 + IL_016b: call instance bool class NAnt.Core.Tasks.DeleteTask::get_IncludeEmptyDirs() + IL_0170: brfalse IL_0275 - 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_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_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_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_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_01aa: ldloc.s 6 + IL_01ac: ldlen + IL_01ad: conv.i4 + IL_01ae: brtrue IL_0223 - IL_0180: nop + IL_01b3: 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_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.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 + 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_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 + 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_01d9: leave IL_01f5 + } // 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 - } // 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_0230: leave IL_024c - 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 .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_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_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_0280: ldarg.1 - IL_0281: callvirt instance bool class [mscorlib]System.Type::get_IsClass() - IL_0286: brfalse IL_02d4 + 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 - 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 + // method line 358 + .method private hidebysig + instance default void RecursiveDeleteDirectory (string path) cil managed + { + // Method begins at RVA 0xbce0 + // Code size 363 (0x16b) + .maxstack 7 + .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, + string V_9, + class NAnt.Core.BuildException V_10, + class [mscorlib]System.Exception V_11, + string V_12) + 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_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_000d: nop + IL_000e: leave IL_016a - IL_02d3: nop - IL_02d4: nop - IL_02d5: nop - IL_02d6: nop - IL_02d7: leave IL_0306 + 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_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_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_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 + + } // 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_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 + + } // 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 + + 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 + + } // 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_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 .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 + IL_016a: ret + } // end of method DeleteTask::RecursiveDeleteDirectory - // method line 329 - .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 359 + .method private hidebysig + instance default void DeleteFile (string path, bool verbose) cil managed { - // Method begins at RVA 0x65a8 - // Code size 54 (0x36) - .maxstack 1 + // Method begins at RVA 0xbea4 + // Code size 191 (0xbf) + .maxstack 7 .locals init ( - valuetype NAnt.Core.Util.CommandLineArgumentTypes V_0) + 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: brfalse IL_0014 + .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_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: nop + IL_0015: leave IL_00be - 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_001a: ldarg.2 + IL_001b: brfalse IL_003c - IL_0024: nop - IL_0025: ldc.i4.6 - IL_0026: stloc.0 - IL_0027: br IL_0034 + 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_002c: nop - IL_002d: ldc.i4.0 - IL_002e: stloc.0 - IL_002f: br IL_0034 + 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_0034: ldloc.0 + } // 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_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 handler 0 + IL_00be: ret + } // end of method DeleteTask::DeleteFile + + // method line 360 + .method private hidebysig + instance default void DeleteDirectory (string path) cil managed + { + // Method begins at RVA 0xbf80 + // Code size 45 (0x2d) + .maxstack 8 + 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.. + + .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.. + + .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.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.. + + .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.. + + .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.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 361 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0xa003 + // 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 CommandLineArgument::GetArgumentType + } // end of method ExternalProgramBase::.ctor - // method line 330 - .method private static hidebysig - default class [mscorlib]System.Type GetElementType (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + // method line 362 + .method public virtual hidebysig newslot specialname + instance default string get_ExeName () cil managed { - // Method begins at RVA 0x65ec - // Code size 322 (0x142) - .maxstack 3 + // Method begins at RVA 0xa03c + // Code size 37 (0x25) + .maxstack 1 .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) + string V_0) 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_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Tasks.ExternalProgramBase::_exeName + IL_0007: brfalse IL_0017 - 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_000c: ldarg.0 + IL_000d: ldfld string NAnt.Core.Tasks.ExternalProgramBase::_exeName + IL_0012: br IL_001d - 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_0017: ldarg.0 + IL_0018: callvirt instance string class NAnt.Core.Element::get_Name() + IL_001d: stloc.0 + IL_001e: br IL_0023 - 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_0023: ldloc.0 + IL_0024: ret + } // end of method ExternalProgramBase::get_ExeName - 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 + // method line 363 + .method public virtual hidebysig newslot specialname + instance default void set_ExeName (string 'value') cil managed + { + // Method begins at RVA 0xa06d + // 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 - 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 + // method line 364 + .method public virtual hidebysig newslot specialname + instance default string get_ProgramFileName () cil managed + { + // Method begins at RVA 0xa078 + // 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.Tasks.ExternalProgramBase::DetermineFilePath() + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method ExternalProgramBase::get_ProgramFileName - 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 + // method line 365 + .method public virtual hidebysig newslot abstract specialname + instance default string get_ProgramArguments () cil managed + { + // Method begins at RVA 0x0 + } // end of method ExternalProgramBase::get_ProgramArguments - 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 + // method line 366 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed + { + // Method begins at RVA 0xa094 + // 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_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_0008: ldloc.0 + IL_0009: ret + } // end of method ExternalProgramBase::get_Output - 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 + // method line 367 + .method public virtual hidebysig newslot specialname + instance default void set_Output (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0xa0aa + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method ExternalProgramBase::set_Output - 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 + // method line 368 + .method public virtual hidebysig newslot specialname + instance default bool get_OutputAppend () cil managed + { + // Method begins at RVA 0xa0b0 + // 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_013f: ldloc.s 5 - IL_0141: ret - } // end of method CommandLineArgument::GetElementType + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ExternalProgramBase::get_OutputAppend - // method line 331 - .method private static hidebysig - default bool IsNameValueCollectionType (class [mscorlib]System.Type 'type') cil managed + // method line 369 + .method public virtual hidebysig newslot specialname + instance default void set_OutputAppend (bool 'value') cil managed + { + // Method begins at RVA 0xa0c6 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method ExternalProgramBase::set_OutputAppend + + // method line 370 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed { - // Method begins at RVA 0x673c + // Method begins at RVA 0xa0cc // Code size 25 (0x19) - .maxstack 2 + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.IO.DirectoryInfo 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_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_0011: stloc.0 IL_0012: br IL_0017 IL_0017: ldloc.0 IL_0018: ret - } // end of method CommandLineArgument::IsNameValueCollectionType + } // end of method ExternalProgramBase::get_BaseDirectory - // method line 332 - .method private static hidebysig - default bool IsCollectionType (class [mscorlib]System.Type 'type') cil managed + // method line 371 + .method public virtual hidebysig newslot specialname + instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x6764 - // Code size 42 (0x2a) - .maxstack 2 + // Method begins at RVA 0xa0f1 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method ExternalProgramBase::set_BaseDirectory + + // method line 372 + .method public hidebysig specialname + instance default int32 get_TimeOut () cil managed + { + // Method begins at RVA 0xa0f4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0) + int32 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 int32 NAnt.Core.Tasks.ExternalProgramBase::_timeout + 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 ExternalProgramBase::get_TimeOut - IL_0021: ldc.i4.0 - IL_0022: stloc.0 - IL_0023: br IL_0028 + // method line 373 + .method public hidebysig specialname + instance default void set_TimeOut (int32 'value') cil managed + { + // Method begins at RVA 0xa10f + // 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 - IL_0028: ldloc.0 - IL_0029: ret - } // end of method CommandLineArgument::IsCollectionType + // method line 374 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed + { + // Method begins at RVA 0xa11c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.ArgumentCollection 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 - // method line 333 - .method private static hidebysig - default bool IsArrayType (class [mscorlib]System.Type 'type') cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExternalProgramBase::get_Arguments + + // method line 375 + .method public virtual hidebysig newslot specialname + instance default bool get_UseRuntimeEngine () cil managed { - // Method begins at RVA 0x679c + // Method begins at RVA 0xa138 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + 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 CommandLineArgument::IsArrayType - - .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 -} + } // end of method ExternalProgramBase::get_UseRuntimeEngine -.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 376 + .method public virtual hidebysig newslot specialname + instance default void set_UseRuntimeEngine (bool 'value') cil managed + { + // Method begins at RVA 0xa153 + // 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 - // method line 334 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Type argumentSpecification, bool supportsResponseFile) cil managed + // method line 377 + .method public virtual hidebysig newslot specialname + instance default valuetype NAnt.Core.Types.ManagedExecution get_Managed () cil managed { - // Method begins at RVA 0x67b8 - // Code size 211 (0xd3) - .maxstack 3 + // Method begins at RVA 0xa160 + // Code size 45 (0x2d) + .maxstack 1 .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 + valuetype NAnt.Core.Types.ManagedExecution V_0) + 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_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_0020: ldfld valuetype NAnt.Core.Types.ManagedExecution NAnt.Core.Tasks.ExternalProgramBase::_managed + IL_0025: stloc.0 + IL_0026: br IL_002b - 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_002b: ldloc.0 + IL_002c: ret + } // end of method ExternalProgramBase::get_Managed - 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 + // method line 378 + .method public virtual hidebysig newslot specialname + instance default void set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') cil managed + { + // Method begins at RVA 0xa199 + // 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 - 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 + // method line 379 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.TextWriter get_OutputWriter () cil managed + { + // Method begins at RVA 0xa1b0 + // Code size 50 (0x32) + .maxstack 4 + .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.Tasks.ExternalProgramBase::_outputWriter + IL_0007: brtrue IL_0024 - 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_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_009a: ldloc.3 - IL_009b: brfalse IL_00b5 + IL_0030: ldloc.0 + IL_0031: ret + } // end of method ExternalProgramBase::get_OutputWriter - 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 + // method line 380 + .method public virtual hidebysig newslot specialname + instance default void set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed + { + // Method begins at RVA 0xa1ee + // 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 - 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 381 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.TextWriter get_ErrorWriter () cil managed + { + // Method begins at RVA 0xa1f8 + // Code size 50 (0x32) + .maxstack 4 + .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.Tasks.ExternalProgramBase::_errorWriter + IL_0007: brtrue IL_0024 - // method line 335 + 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_0030: ldloc.0 + IL_0031: ret + } // end of method ExternalProgramBase::get_ErrorWriter + + // method line 382 .method public virtual hidebysig newslot specialname - instance default string get_LogoBanner () cil managed + instance default void set_ErrorWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed { - // Method begins at RVA 0x6898 - // Code size 634 (0x27a) + // Method begins at RVA 0xa236 + // 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 + + // method line 383 + .method public hidebysig specialname + instance default int32 get_ExitCode () cil managed + { + // Method begins at RVA 0xa240 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - string V_1, - class [mscorlib]System.Version V_2, - string V_3, - string V_4, - string V_5, - valuetype [mscorlib]System.DateTime V_6, - class [mscorlib]System.Reflection.Assembly V_7, - object[] V_8, - class [mscorlib]System.Reflection.AssemblyProductAttribute V_9, - object[] V_10, - class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute V_11, - class [System]System.Diagnostics.FileVersionInfo V_12, - valuetype [mscorlib]System.DateTime V_13, - object[] V_14, - class [mscorlib]System.Reflection.AssemblyConfigurationAttribute V_15, - object[] V_16, - class [mscorlib]System.Reflection.AssemblyCopyrightAttribute V_17, - object[] V_18, - class [mscorlib]System.Reflection.AssemblyCompanyAttribute V_19, - class [mscorlib]System.Text.StringBuilder V_20, - string V_21) + int32 V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.3 - IL_0003: ldnull - IL_0004: stloc.s 4 - IL_0006: ldnull - IL_0007: stloc.s 5 - IL_0009: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetEntryAssembly() - IL_000e: stloc.s 7 - IL_0010: ldloc.s 7 - IL_0012: ldnull - IL_0013: call bool class [mscorlib]System.Reflection.Assembly::op_Equality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) - IL_0018: brfalse IL_0026 + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.Tasks.ExternalProgramBase::_exitCode + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001d: nop - IL_001e: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() - IL_0023: stloc.s 7 - IL_0025: nop - IL_0026: ldloc.s 7 - IL_0028: ldtoken [mscorlib]System.Reflection.AssemblyProductAttribute - IL_002d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0032: ldc.i4.0 - IL_0033: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_0038: stloc.s 8 - IL_003a: ldloc.s 8 - IL_003c: ldlen - IL_003d: conv.i4 - IL_003e: ldc.i4.0 - IL_003f: ble IL_005e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExternalProgramBase::get_ExitCode - IL_0044: nop - IL_0045: ldloc.s 8 - IL_0047: ldc.i4.0 - IL_0048: ldelem.ref - IL_0049: castclass [mscorlib]System.Reflection.AssemblyProductAttribute - IL_004e: stloc.s 9 - IL_0050: ldloc.s 9 - IL_0052: callvirt instance string class [mscorlib]System.Reflection.AssemblyProductAttribute::get_Product() - IL_0057: stloc.0 - IL_0058: nop - IL_0059: br IL_006d + // method line 384 + .method family hidebysig specialname + instance default int32 get_ProcessId () cil managed + { + // Method begins at RVA 0xa25c + // Code size 61 (0x3d) + .maxstack 1 + .locals init ( + int32 V_0) + 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_005e: nop - IL_005f: ldloc.s 7 - IL_0061: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_0066: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_006b: stloc.0 - IL_006c: nop - IL_006d: ldloc.s 7 - IL_006f: ldtoken [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute - IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0079: ldc.i4.0 - IL_007a: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_007f: stloc.s 10 - IL_0081: ldloc.s 10 - IL_0083: ldlen - IL_0084: conv.i4 - IL_0085: ldc.i4.0 - IL_0086: ble IL_00a5 + 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_008b: nop - IL_008c: ldloc.s 10 - IL_008e: ldc.i4.0 - IL_008f: ldelem.ref - IL_0090: castclass [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute - IL_0095: stloc.s 11 - IL_0097: ldloc.s 11 - IL_0099: callvirt instance string class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute::get_InformationalVersion() - IL_009e: stloc.1 - IL_009f: nop - IL_00a0: br IL_0115 + 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_00a5: nop - IL_00a6: ldloc.s 7 - IL_00a8: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() - IL_00ad: call class [System]System.Diagnostics.FileVersionInfo class [System]System.Diagnostics.FileVersionInfo::GetVersionInfo(string) - IL_00b2: stloc.s 12 - IL_00b4: ldc.i4.7 - IL_00b5: newarr [mscorlib]System.Object - IL_00ba: dup - IL_00bb: ldc.i4.0 - IL_00bc: ldloc.s 12 - IL_00be: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileMajorPart() - IL_00c3: box [mscorlib]System.Int32 - IL_00c8: stelem.ref - IL_00c9: dup - IL_00ca: ldc.i4.1 - IL_00cb: ldstr "." - IL_00d0: stelem.ref - IL_00d1: dup - IL_00d2: ldc.i4.2 - IL_00d3: ldloc.s 12 - IL_00d5: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileMinorPart() - IL_00da: box [mscorlib]System.Int32 - IL_00df: stelem.ref - IL_00e0: dup - IL_00e1: ldc.i4.3 - IL_00e2: ldstr "." - IL_00e7: stelem.ref - IL_00e8: dup - IL_00e9: ldc.i4.4 - IL_00ea: ldloc.s 12 - IL_00ec: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileBuildPart() - IL_00f1: box [mscorlib]System.Int32 - IL_00f6: stelem.ref - IL_00f7: dup - IL_00f8: ldc.i4.5 - IL_00f9: ldstr "." - IL_00fe: stelem.ref - IL_00ff: dup - IL_0100: ldc.i4.6 - IL_0101: ldloc.s 12 - IL_0103: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FilePrivatePart() - IL_0108: box [mscorlib]System.Int32 - IL_010d: stelem.ref - IL_010e: call string string::Concat(object[]) - IL_0113: stloc.1 - IL_0114: nop - IL_0115: ldloc.s 7 - IL_0117: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_011c: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() - IL_0121: stloc.2 - IL_0122: ldloca.s 13 - IL_0124: ldc.i4 2000 - IL_0129: ldc.i4.1 - IL_012a: ldc.i4.1 - IL_012b: call instance void valuetype [mscorlib]System.DateTime::'.ctor'(int32, int32, int32) - IL_0130: ldloca.s 13 - IL_0132: ldloc.2 - IL_0133: callvirt instance int32 class [mscorlib]System.Version::get_Build() - IL_0138: conv.r8 - IL_0139: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::AddDays(float64) - IL_013e: stloc.s 6 - IL_0140: ldloc.s 7 - IL_0142: ldtoken [mscorlib]System.Reflection.AssemblyConfigurationAttribute - IL_0147: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_014c: ldc.i4.0 - IL_014d: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_0152: stloc.s 14 - IL_0154: ldloc.s 14 - IL_0156: ldlen - IL_0157: conv.i4 - IL_0158: ldc.i4.0 - IL_0159: ble IL_0173 - - IL_015e: nop - IL_015f: ldloc.s 14 - IL_0161: ldc.i4.0 - IL_0162: ldelem.ref - IL_0163: castclass [mscorlib]System.Reflection.AssemblyConfigurationAttribute - IL_0168: stloc.s 15 - IL_016a: ldloc.s 15 - IL_016c: callvirt instance string class [mscorlib]System.Reflection.AssemblyConfigurationAttribute::get_Configuration() - IL_0171: stloc.3 - IL_0172: nop - IL_0173: ldloc.s 7 - IL_0175: ldtoken [mscorlib]System.Reflection.AssemblyCopyrightAttribute - IL_017a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_017f: ldc.i4.0 - IL_0180: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_0185: stloc.s 16 - IL_0187: ldloc.s 16 - IL_0189: ldlen - IL_018a: conv.i4 - IL_018b: ldc.i4.0 - IL_018c: ble IL_01a7 - - IL_0191: nop - IL_0192: ldloc.s 16 - IL_0194: ldc.i4.0 - IL_0195: ldelem.ref - IL_0196: castclass [mscorlib]System.Reflection.AssemblyCopyrightAttribute - IL_019b: stloc.s 17 - IL_019d: ldloc.s 17 - IL_019f: callvirt instance string class [mscorlib]System.Reflection.AssemblyCopyrightAttribute::get_Copyright() - IL_01a4: stloc.s 4 - IL_01a6: nop - IL_01a7: ldloc.s 7 - IL_01a9: ldtoken [mscorlib]System.Reflection.AssemblyCompanyAttribute - IL_01ae: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01b3: ldc.i4.0 - IL_01b4: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_01b9: stloc.s 18 - IL_01bb: ldloc.s 18 - IL_01bd: ldlen - IL_01be: conv.i4 - IL_01bf: ldc.i4.0 - IL_01c0: ble IL_01db - - IL_01c5: nop - IL_01c6: ldloc.s 18 - IL_01c8: ldc.i4.0 - IL_01c9: ldelem.ref - IL_01ca: castclass [mscorlib]System.Reflection.AssemblyCompanyAttribute - IL_01cf: stloc.s 19 - IL_01d1: ldloc.s 19 - IL_01d3: callvirt instance string class [mscorlib]System.Reflection.AssemblyCompanyAttribute::get_Company() - IL_01d8: stloc.s 5 - IL_01da: nop - IL_01db: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_01e0: stloc.s 20 - IL_01e2: ldloc.s 20 - IL_01e4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01e9: ldstr "String_BuildBanner" - IL_01ee: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_01f3: ldc.i4.5 - IL_01f4: newarr [mscorlib]System.Object - IL_01f9: dup - IL_01fa: ldc.i4.0 - IL_01fb: ldloc.0 - IL_01fc: stelem.ref - IL_01fd: dup - IL_01fe: ldc.i4.1 - IL_01ff: ldloc.1 - IL_0200: stelem.ref - IL_0201: dup - IL_0202: ldc.i4.2 - IL_0203: ldloc.2 - IL_0204: ldc.i4.4 - IL_0205: callvirt instance string class [mscorlib]System.Version::ToString(int32) - IL_020a: stelem.ref - IL_020b: dup - IL_020c: ldc.i4.3 - IL_020d: ldloc.3 - IL_020e: stelem.ref - IL_020f: dup - IL_0210: ldc.i4.4 - IL_0211: ldloca.s 6 - IL_0213: call instance string valuetype [mscorlib]System.DateTime::ToShortDateString() - IL_0218: stelem.ref - IL_0219: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object[]) - IL_021e: pop - IL_021f: ldloc.s 4 - IL_0221: call bool string::IsNullOrEmpty(string) - IL_0226: brtrue IL_0244 - - IL_022b: nop - IL_022c: ldloc.s 20 - IL_022e: call string class [mscorlib]System.Environment::get_NewLine() - IL_0233: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0238: pop - IL_0239: ldloc.s 20 - IL_023b: ldloc.s 4 - IL_023d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0242: pop - IL_0243: nop - IL_0244: ldloc.s 5 - IL_0246: call bool string::IsNullOrEmpty(string) - IL_024b: brtrue IL_0269 - - IL_0250: nop - IL_0251: ldloc.s 20 - IL_0253: call string class [mscorlib]System.Environment::get_NewLine() - IL_0258: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_025d: pop - IL_025e: ldloc.s 20 - IL_0260: ldloc.s 5 - IL_0262: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0267: pop - IL_0268: nop - IL_0269: ldloc.s 20 - IL_026b: callvirt instance string object::ToString() - IL_0270: stloc.s 21 - IL_0272: br IL_0277 - - IL_0277: ldloc.s 21 - IL_0279: ret - } // end of method CommandLineParser::get_LogoBanner + IL_003b: ldloc.0 + IL_003c: ret + } // end of method ExternalProgramBase::get_ProcessId - // method line 336 + // method line 385 .method public virtual hidebysig newslot specialname - instance default string get_Usage () cil managed + instance default bool get_Spawn () cil managed { - // Method begins at RVA 0x6b20 - // Code size 805 (0x325) - .maxstack 5 + // Method begins at RVA 0xa2a8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - class [mscorlib]System.Reflection.Assembly V_1, - class NAnt.Core.Util.CommandLineArgument V_2, - class NAnt.Core.Util.CommandLineArgumentEnumerator V_3, - string V_4, - string V_5, - class [mscorlib]System.IDisposable V_6, - string V_7) + bool V_0) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0006: stloc.0 - IL_0007: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetEntryAssembly() - IL_000c: stloc.1 - IL_000d: ldloc.1 - IL_000e: ldnull - IL_000f: call bool class [mscorlib]System.Reflection.Assembly::op_Equality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) - IL_0014: brfalse IL_0021 + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Tasks.ExternalProgramBase::_spawn + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0019: nop - IL_001a: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() - IL_001f: stloc.1 - IL_0020: nop - IL_0021: ldloc.0 - IL_0022: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0027: ldc.i4.0 - IL_0028: ble IL_003b + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExternalProgramBase::get_Spawn - IL_002d: nop - IL_002e: ldloc.0 - IL_002f: call string class [mscorlib]System.Environment::get_NewLine() - IL_0034: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0039: pop - IL_003a: nop - IL_003b: ldloc.0 - IL_003c: ldstr "Usage : " - IL_0041: ldloc.1 - IL_0042: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() - IL_0047: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() - IL_004c: ldstr " [options]" - IL_0051: call string string::Concat(string, string, string) - IL_0056: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_005b: pop - IL_005c: ldarg.0 - IL_005d: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_0062: brfalse IL_00c9 + // method line 386 + .method public virtual hidebysig newslot specialname + instance default void set_Spawn (bool 'value') cil managed + { + // Method begins at RVA 0xa2c3 + // 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_0067: nop - IL_0068: ldloc.0 - IL_0069: ldstr " <" - IL_006e: ldarg.0 - IL_006f: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_0074: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_0079: ldstr ">" - IL_007e: call string string::Concat(string, string, string) - IL_0083: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0088: pop - IL_0089: ldarg.0 - IL_008a: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_008f: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() - IL_0094: brfalse IL_00c8 + // method line 387 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xa2d0 + // Code size 489 (0x1e9) + .maxstack 4 + .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) + 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_0099: nop - IL_009a: ldloc.0 - IL_009b: ldstr " <" - IL_00a0: ldarg.0 - IL_00a1: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_00a6: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_00ab: ldstr ">" - IL_00b0: call string string::Concat(string, string, string) - IL_00b5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00ba: pop - IL_00bb: ldloc.0 - IL_00bc: ldstr " ..." - IL_00c1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00c6: pop - IL_00c7: nop - IL_00c8: nop - IL_00c9: ldloc.0 - IL_00ca: call string class [mscorlib]System.Environment::get_NewLine() - IL_00cf: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00d4: pop - IL_00d5: ldloc.0 - IL_00d6: ldstr "Options : " - IL_00db: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00e0: pop - IL_00e1: ldloc.0 - IL_00e2: call string class [mscorlib]System.Environment::get_NewLine() - IL_00e7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00ec: pop - IL_00ed: ldloc.0 - IL_00ee: call string class [mscorlib]System.Environment::get_NewLine() - IL_00f3: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_00f8: pop - IL_00f9: nop - IL_00fa: ldarg.0 - IL_00fb: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection - IL_0100: callvirt instance class NAnt.Core.Util.CommandLineArgumentEnumerator class NAnt.Core.Util.CommandLineArgumentCollection::GetEnumerator() - IL_0105: stloc.3 - .try { // 0 - IL_0106: br IL_02bb + 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_010b: ldloc.3 - IL_010c: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current() - IL_0111: stloc.2 - IL_0112: nop - IL_0113: ldstr "" - IL_0118: stloc.s 4 - IL_011a: ldloc.2 - IL_011b: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() - IL_0120: ldtoken [mscorlib]System.String - IL_0125: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_012a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_012f: brfalse IL_0142 + 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_0134: nop - IL_0135: ldstr ":" - IL_013a: stloc.s 4 - IL_013c: nop - IL_013d: br IL_01ec + 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_0142: ldloc.2 - IL_0143: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() - IL_0148: ldtoken [mscorlib]System.Boolean - IL_014d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0152: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_0157: brfalse IL_016a + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_00b0: pop + IL_00b1: nop + IL_00b2: nop + IL_00b3: leave IL_00b8 - IL_015c: nop - IL_015d: ldstr "[+|-]" - IL_0162: stloc.s 4 - IL_0164: nop - IL_0165: br IL_01ec + } // 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_016a: ldloc.2 - IL_016b: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() - IL_0170: ldtoken [mscorlib]System.IO.FileInfo - IL_0175: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_017a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_017f: brfalse IL_0192 + 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 - IL_0184: nop - IL_0185: ldstr ":" - IL_018a: stloc.s 4 - IL_018c: nop - IL_018d: br IL_01ec + } // 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 - IL_0192: ldloc.2 - IL_0193: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() - IL_0198: ldtoken [mscorlib]System.Int32 - IL_019d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_01a2: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) - IL_01a7: brfalse IL_01ba + 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 - IL_01ac: nop - IL_01ad: ldstr ":" - IL_01b2: stloc.s 4 - IL_01b4: nop - IL_01b5: br IL_01ec + } // 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_01ba: ldloc.2 - IL_01bb: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() - IL_01c0: brfalse IL_01d3 + IL_01ba: ldloc.0 + IL_01bb: callvirt instance bool class [mscorlib]System.Threading.Thread::get_IsAlive() + IL_01c0: brfalse IL_01cd IL_01c5: nop - IL_01c6: ldstr ":=" - IL_01cb: stloc.s 4 - IL_01cd: nop - IL_01ce: br IL_01ec + 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_01d3: nop - IL_01d4: ldstr ":" - IL_01d9: ldloc.2 - IL_01da: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() - IL_01df: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_01e4: call string string::Concat(string, string) - IL_01e9: stloc.s 4 - IL_01eb: nop - IL_01ec: ldloc.2 - IL_01ed: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_01f2: stloc.s 5 - IL_01f4: ldloc.2 - IL_01f5: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() - IL_01fa: brfalse IL_028c + IL_01d3: ldloc.1 + IL_01d4: callvirt instance bool class [mscorlib]System.Threading.Thread::get_IsAlive() + IL_01d9: brfalse IL_01e6 - IL_01ff: nop - IL_0200: ldloc.2 - IL_0201: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_0206: ldloc.2 - IL_0207: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() - IL_020c: callvirt instance bool string::StartsWith(string) - IL_0211: brfalse IL_023b + 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_0216: nop - IL_0217: ldloc.s 5 - IL_0219: ldloc.2 - IL_021a: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() - IL_021f: callvirt instance int32 string::get_Length() - IL_0224: ldstr "[" - IL_0229: callvirt instance string string::Insert(int32, string) - IL_022e: ldstr "]" - IL_0233: call string string::Concat(string, string) - IL_0238: stloc.s 5 - IL_023a: nop - IL_023b: ldloc.0 - IL_023c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0241: ldstr " -{0,-30}{1}" - IL_0246: ldloc.s 5 - IL_0248: ldloc.s 4 - IL_024a: call string string::Concat(string, string) - IL_024f: ldloc.2 - IL_0250: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_Description() - IL_0255: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object, object) - IL_025a: pop - IL_025b: ldloc.s 5 - IL_025d: ldloc.2 - IL_025e: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() - IL_0263: callvirt instance bool string::StartsWith(string) - IL_0268: brtrue IL_0286 + // method line 388 + .method public hidebysig specialname + instance default string get_CommandLine () cil managed + { + // Method begins at RVA 0xa52c + // Code size 39 (0x27) + .maxstack 2 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + string 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_026d: nop - IL_026e: ldloc.0 - IL_026f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0274: ldstr " (Short format: /{0})" - IL_0279: ldloc.2 - IL_027a: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() - IL_027f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) - IL_0284: pop - IL_0285: nop - IL_0286: nop - IL_0287: br IL_02ae + IL_0025: ldloc.1 + IL_0026: ret + } // end of method ExternalProgramBase::get_CommandLine - IL_028c: nop - IL_028d: ldloc.0 - IL_028e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0293: ldstr " -{0,-30}{1}" - IL_0298: ldloc.s 5 - IL_029a: ldloc.s 4 - IL_029c: call string string::Concat(string, string) - IL_02a1: ldloc.2 - IL_02a2: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_Description() - IL_02a7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object, object) - IL_02ac: pop - IL_02ad: nop - IL_02ae: ldloc.0 - IL_02af: call string class [mscorlib]System.Environment::get_NewLine() - IL_02b4: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_02b9: pop - IL_02ba: nop - IL_02bb: ldloc.3 - IL_02bc: callvirt instance bool class NAnt.Core.Util.CommandLineArgumentEnumerator::MoveNext() - IL_02c1: brtrue IL_010b + // method line 389 + .method family virtual hidebysig newslot + instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed + { + // Method begins at RVA 0xa560 + // Code size 451 (0x1c3) + .maxstack 4 + .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) + 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_02c6: leave IL_02e1 + 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 - } // end .try 0 - finally { // 0 - IL_02cb: ldloc.3 - IL_02cc: isinst [mscorlib]System.IDisposable - IL_02d1: dup - IL_02d2: stloc.s 6 - IL_02d4: brfalse IL_02e0 + 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_02d9: ldloc.s 6 - IL_02db: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_02e0: endfinally - } // end handler 0 - IL_02e1: ldarg.0 - IL_02e2: ldfld bool NAnt.Core.Util.CommandLineParser::_supportsResponseFile - IL_02e7: brfalse IL_0315 + 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_02ec: nop - IL_02ed: ldloc.0 - IL_02ee: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_02f3: ldstr " {0,-31}{1}" - IL_02f8: ldstr "@" - IL_02fd: ldstr "Insert command-line settings from a text file." - IL_0302: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0307: pop - IL_0308: ldloc.0 - IL_0309: call string class [mscorlib]System.Environment::get_NewLine() - IL_030e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0313: pop - IL_0314: nop - IL_0315: ldloc.0 - IL_0316: callvirt instance string object::ToString() - IL_031b: stloc.s 7 - IL_031d: br IL_0322 + 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 - IL_0322: ldloc.s 7 - IL_0324: ret - } // end of method CommandLineParser::get_Usage + 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 - // method line 337 - .method public hidebysig specialname - instance default bool get_NoArgs () cil managed - { - // Method begins at RVA 0x6e70 - // Code size 121 (0x79) - .maxstack 2 - .locals init ( - class NAnt.Core.Util.CommandLineArgument V_0, - class NAnt.Core.Util.CommandLineArgumentEnumerator V_1, - bool V_2, - class [mscorlib]System.IDisposable V_3) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection - IL_0008: callvirt instance class NAnt.Core.Util.CommandLineArgumentEnumerator class NAnt.Core.Util.CommandLineArgumentCollection::GetEnumerator() - IL_000d: stloc.1 + 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_000e: br IL_002f + IL_012a: br IL_019b - IL_0013: ldloc.1 - IL_0014: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current() - IL_0019: stloc.0 - IL_001a: nop - IL_001b: ldloc.0 - IL_001c: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() - IL_0021: brfalse IL_002e + 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_0026: nop - IL_0027: ldc.i4.1 - IL_0028: stloc.2 - IL_0029: leave IL_0077 + IL_0142: ldloc.2 + IL_0143: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() + IL_0148: brtrue IL_019a - IL_002e: nop - IL_002f: ldloc.1 - IL_0030: callvirt instance bool class NAnt.Core.Util.CommandLineArgumentEnumerator::MoveNext() - IL_0035: brtrue IL_0013 + 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_003a: leave IL_0053 + 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 + + 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_01a6: leave IL_01c1 } // end .try 0 finally { // 0 - IL_003f: ldloc.1 - IL_0040: isinst [mscorlib]System.IDisposable - IL_0045: dup - IL_0046: stloc.3 - IL_0047: brfalse IL_0052 + IL_01ab: ldloc.3 + IL_01ac: isinst [mscorlib]System.IDisposable + IL_01b1: dup + IL_01b2: stloc.s 4 + IL_01b4: brfalse IL_01c0 - IL_004c: ldloc.3 - IL_004d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0052: endfinally + IL_01b9: ldloc.s 4 + IL_01bb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01c0: endfinally } // end handler 0 - IL_0053: ldarg.0 - IL_0054: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_0059: brfalse IL_0070 - - IL_005e: nop - IL_005f: ldarg.0 - IL_0060: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_0065: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() - IL_006a: stloc.2 - IL_006b: br IL_0077 - - IL_0070: ldc.i4.0 - IL_0071: stloc.2 - IL_0072: br IL_0077 - - IL_0077: ldloc.2 - IL_0078: ret - } // end of method CommandLineParser::get_NoArgs + IL_01c1: nop + IL_01c2: ret + } // end of method ExternalProgramBase::PrepareProcess - // method line 338 - .method public hidebysig - instance default void Parse (string[] args, object destination) cil managed + // method line 390 + .method family virtual hidebysig newslot + instance default class [System]System.Diagnostics.Process StartProcess () cil managed { - // Method begins at RVA 0x6f08 - // Code size 156 (0x9c) - .maxstack 2 + // Method begins at RVA 0xa740 + // Code size 154 (0x9a) + .maxstack 5 .locals init ( - class NAnt.Core.Util.CommandLineArgument V_0, - class NAnt.Core.Util.CommandLineArgumentEnumerator V_1, - class [mscorlib]System.IDisposable V_2) + 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.2 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "destination" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.0 - IL_0014: ldfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineParser::_argumentSpecification - IL_0019: ldarg.2 - IL_001a: callvirt instance class [mscorlib]System.Type object::GetType() - IL_001f: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0024: brtrue IL_0035 - - IL_0029: nop - IL_002a: ldstr "Type of destination does not match type of argument specification." - IL_002f: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0034: throw - IL_0035: ldarg.0 - IL_0036: ldarg.1 - IL_0037: call instance void class NAnt.Core.Util.CommandLineParser::ParseArgumentList(string[]) - IL_003c: nop - IL_003d: ldarg.0 - IL_003e: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection - IL_0043: callvirt instance class NAnt.Core.Util.CommandLineArgumentEnumerator class NAnt.Core.Util.CommandLineArgumentCollection::GetEnumerator() - IL_0048: stloc.1 + 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_0049: br IL_005e - - IL_004e: ldloc.1 - IL_004f: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current() - IL_0054: stloc.0 - IL_0055: nop - IL_0056: ldloc.0 - IL_0057: ldarg.2 - IL_0058: callvirt instance void class NAnt.Core.Util.CommandLineArgument::Finish(object) - IL_005d: nop - IL_005e: ldloc.1 - IL_005f: callvirt instance bool class NAnt.Core.Util.CommandLineArgumentEnumerator::MoveNext() - IL_0064: brtrue IL_004e - - IL_0069: leave IL_0082 + 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 } // end .try 0 - finally { // 0 - IL_006e: ldloc.1 - IL_006f: isinst [mscorlib]System.IDisposable - IL_0074: dup - IL_0075: stloc.2 - IL_0076: brfalse IL_0081 - - IL_007b: ldloc.2 - IL_007c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0081: endfinally + 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_0082: ldarg.0 - IL_0083: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_0088: brfalse IL_009b - - IL_008d: nop - IL_008e: ldarg.0 - IL_008f: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_0094: ldarg.2 - IL_0095: callvirt instance void class NAnt.Core.Util.CommandLineArgument::Finish(object) - IL_009a: nop - IL_009b: ret - } // end of method CommandLineParser::Parse + IL_0098: ldloc.2 + IL_0099: ret + } // end of method ExternalProgramBase::StartProcess - // method line 339 + // method line 391 .method private hidebysig - instance default string[] ParseArguments (string sourceString, char[] delimiters) cil managed + instance default void StreamReaderThread_Output () cil managed { - // Method begins at RVA 0x6fc0 - // Code size 208 (0xd0) - .maxstack 3 + // Method begins at RVA 0xa7f8 + // Code size 195 (0xc3) + .maxstack 2 .locals init ( - bool V_0, - class [mscorlib]System.Text.StringBuilder V_1, - class [System]System.Collections.Specialized.StringCollection V_2, - char V_3, - string V_4, - int32 V_5, - string[] V_6, - string[] V_7) + 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: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() - IL_0008: stloc.1 - IL_0009: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_000e: stloc.2 + 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: ldarg.1 - IL_0011: stloc.s 4 - IL_0013: ldc.i4.0 - IL_0014: stloc.s 5 - IL_0016: br IL_0085 - - IL_001b: ldloc.s 4 - IL_001d: ldloc.s 5 - IL_001f: callvirt instance char string::get_Chars(int32) - IL_0024: stloc.3 - IL_0025: nop - IL_0026: ldloc.3 - IL_0027: ldc.i4.s 0x22 - IL_0029: bne.un IL_0039 + 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_002e: nop - IL_002f: ldloc.0 - IL_0030: ldc.i4.0 - IL_0031: ceq - IL_0033: stloc.0 - IL_0034: br IL_007f + IL_001e: nop + IL_001f: br IL_0091 - IL_0039: ldloc.0 - IL_003a: brtrue IL_0074 + 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_003f: ldloc.3 - IL_0040: ldarg.2 - IL_0041: call bool class NAnt.Core.Util.CommandLineParser::IsDelimiter(char, char[]) - IL_0046: brfalse IL_0074 + 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_004b: nop - IL_004c: ldloc.1 - IL_004d: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0052: ldc.i4.0 - IL_0053: ble IL_006e + 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 - IL_0058: nop - IL_0059: ldloc.2 - IL_005a: ldloc.1 - IL_005b: callvirt instance string object::ToString() - IL_0060: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_0065: pop - IL_0066: ldloc.1 - IL_0067: ldc.i4.0 - IL_0068: callvirt instance void class [mscorlib]System.Text.StringBuilder::set_Length(int32) - IL_006d: nop - IL_006e: nop - IL_006f: br IL_007e + } // end .try 0 + finally { // 0 + IL_0080: ldloc.s 4 + IL_0082: brfalse.s IL_008a - IL_0074: nop - IL_0075: ldloc.1 - IL_0076: ldloc.3 - IL_0077: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_007c: pop - IL_007d: nop - IL_007e: nop - IL_007f: ldloc.s 5 - IL_0081: ldc.i4.1 - IL_0082: add - IL_0083: stloc.s 5 - IL_0085: ldloc.s 5 - IL_0087: ldloc.s 4 - IL_0089: callvirt instance int32 string::get_Length() - IL_008e: blt IL_001b + 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_0093: ldloc.1 - IL_0094: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0099: ldc.i4.0 - IL_009a: ble IL_00ae + 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 - IL_009f: nop - IL_00a0: ldloc.2 - IL_00a1: ldloc.1 - IL_00a2: callvirt instance string object::ToString() - IL_00a7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) - IL_00ac: pop - IL_00ad: nop - IL_00ae: ldloc.2 - IL_00af: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00b4: newarr [mscorlib]System.String - IL_00b9: stloc.s 6 - IL_00bb: ldloc.2 - IL_00bc: ldloc.s 6 - IL_00be: ldc.i4.0 - IL_00bf: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) - IL_00c4: ldloc.s 6 - IL_00c6: stloc.s 7 - IL_00c8: br IL_00cd + } // end .try 1 + finally { // 1 + IL_00b6: ldloc.s 7 + IL_00b8: brfalse.s IL_00c1 - IL_00cd: ldloc.s 7 - IL_00cf: ret - } // end of method CommandLineParser::ParseArguments + 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 340 - .method private static hidebysig - default bool IsDelimiter (char c, char[] delimiters) cil managed + // method line 392 + .method private hidebysig + instance default void StreamReaderThread_Error () cil managed { - // Method begins at RVA 0x709c - // Code size 54 (0x36) + // Method begins at RVA 0xa8e4 + // Code size 188 (0xbc) .maxstack 2 .locals init ( - char V_0, - char[] V_1, - int32 V_2, - bool 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: nop - IL_0002: ldarg.1 - IL_0003: stloc.1 - IL_0004: ldc.i4.0 - IL_0005: stloc.2 - IL_0006: br IL_0024 - - IL_000b: ldloc.1 - IL_000c: ldloc.2 - IL_000d: ldelem.u2 - IL_000e: stloc.0 + 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: ldarg.0 + IL_0010: nop IL_0011: ldloc.0 - IL_0012: bne.un IL_001f - - IL_0017: nop - IL_0018: ldc.i4.1 - IL_0019: stloc.3 - IL_001a: br IL_0034 - - IL_001f: nop - IL_0020: ldloc.2 - IL_0021: ldc.i4.1 - IL_0022: add - IL_0023: stloc.2 - IL_0024: ldloc.2 - IL_0025: ldloc.1 - IL_0026: ldlen - IL_0027: conv.i4 - IL_0028: blt IL_000b - - IL_002d: ldc.i4.0 - IL_002e: stloc.3 - IL_002f: br IL_0034 + 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_0034: ldloc.3 - IL_0035: ret - } // end of method CommandLineParser::IsDelimiter + IL_001e: nop + IL_001f: br IL_008a - // method line 341 - .method private hidebysig - instance default void ProcessResponseFile (string file) cil managed - { - // Method begins at RVA 0x70e0 - // Code size 148 (0x94) - .maxstack 4 - .locals init ( - char[] V_0, - class [System]System.Collections.Specialized.StringCollection V_1, - class [mscorlib]System.IO.StreamReader V_2, - string V_3, - string[] V_4) - IL_0000: nop - IL_0001: ldc.i4.2 - IL_0002: newarr [mscorlib]System.Char - IL_0007: dup - IL_0008: ldc.i4.0 - IL_0009: ldc.i4.s 0x20 - IL_000b: stelem.i2 - IL_000c: dup - IL_000d: ldc.i4.1 - IL_000e: ldc.i4.s 0x09 - IL_0010: stelem.i2 - IL_0011: stloc.0 - IL_0012: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0017: stloc.1 - IL_0018: ldarg.1 - IL_0019: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_001e: ldc.i4.1 - IL_001f: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) - IL_0024: stloc.2 + 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_0025: nop - IL_0026: br IL_0055 - - IL_002b: nop - IL_002c: ldloc.3 - IL_002d: ldloc.0 - IL_002e: callvirt instance string string::Trim(char[]) - IL_0033: stloc.3 - IL_0034: ldloc.3 - IL_0035: ldstr "#" - IL_003a: callvirt instance bool string::StartsWith(string) - IL_003f: brtrue IL_0054 - - IL_0044: nop - IL_0045: ldloc.1 - IL_0046: ldarg.0 - IL_0047: ldloc.3 - IL_0048: ldloc.0 - IL_0049: call instance string[] class NAnt.Core.Util.CommandLineParser::ParseArguments(string, char[]) - IL_004e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) - IL_0053: nop - IL_0054: nop - IL_0055: ldloc.2 - IL_0056: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_005b: dup - IL_005c: stloc.3 - IL_005d: brtrue IL_002b + 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_0062: ldloc.1 - IL_0063: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_0068: newarr [mscorlib]System.String - IL_006d: stloc.s 4 - IL_006f: ldloc.1 - IL_0070: ldloc.s 4 - IL_0072: ldc.i4.0 - IL_0073: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) - IL_0078: ldarg.0 - IL_0079: ldloc.s 4 - IL_007b: call instance void class NAnt.Core.Util.CommandLineParser::ParseArgumentList(string[]) - IL_0080: nop - IL_0081: leave IL_0093 + 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 finally { // 0 - IL_0086: ldloc.2 - IL_0087: brfalse IL_0092 + IL_0079: ldloc.s 4 + IL_007b: brfalse.s IL_0083 - IL_008c: ldloc.2 - IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0092: endfinally + IL_007d: ldloc.3 + IL_007e: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0083: endfinally } // end handler 0 - IL_0093: ret - } // end of method CommandLineParser::ProcessResponseFile + IL_0084: nop + IL_0085: br IL_000f - // method line 342 + 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 + + } // 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 393 .method private hidebysig - instance default void ParseArgumentList (string[] args) cil managed + instance default string DetermineFilePath () cil managed { - // Method begins at RVA 0x7190 - // Code size 675 (0x2a3) - .maxstack 4 + // Method begins at RVA 0xa9c8 + // Code size 517 (0x205) + .maxstack 3 .locals init ( string V_0, - string[] V_1, - int32 V_2, - char V_3, - int32 V_4, + 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, - class NAnt.Core.Util.CommandLineArgument V_7, - class [mscorlib]System.Attribute[] V_8, - class [mscorlib]System.ObsoleteAttribute V_9, - string V_10, - string V_11) + string V_6) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_000d - - IL_0007: nop - IL_0008: br IL_02a2 + 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_000d: nop - IL_000e: ldarg.1 - IL_000f: stloc.1 - IL_0010: ldc.i4.0 - IL_0011: stloc.2 - IL_0012: br IL_0299 + 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_0017: ldloc.1 - IL_0018: ldloc.2 - IL_0019: ldelem.ref - IL_001a: stloc.0 - IL_001b: nop - IL_001c: ldloc.0 - IL_001d: callvirt instance int32 string::get_Length() - IL_0022: brtrue IL_002d + 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_0027: nop - IL_0028: br IL_0295 + 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_002d: ldloc.0 - IL_002e: ldc.i4.0 - IL_002f: callvirt instance char string::get_Chars(int32) - IL_0034: stloc.3 - IL_0035: ldloc.3 - IL_0036: ldc.i4.s 0x2d - IL_0038: sub - IL_0039: switch ( - IL_0057, - IL_004a, - IL_0057) - IL_004a: ldloc.3 - IL_004b: ldc.i4.s 0x40 - IL_004d: beq IL_0207 + 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_0052: br IL_025a + 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_0057: ldloc.0 - IL_0058: ldc.i4.3 - IL_0059: newarr [mscorlib]System.Char - IL_005e: dup - IL_005f: ldtoken field valuetype ''/'$ArrayType=8' ''::'$field-70EF559FCFA85790B0637E1592D4E2FF36031FDF' - IL_0064: call void class [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(class [mscorlib]System.Array, valuetype [mscorlib]System.RuntimeFieldHandle) - IL_0069: ldc.i4.1 - IL_006a: callvirt instance int32 string::IndexOfAny(char[], int32) - IL_006f: stloc.s 4 - IL_0071: ldloc.0 - IL_0072: ldc.i4.1 - IL_0073: ldloc.s 4 - IL_0075: ldc.i4.m1 - IL_0076: bne.un IL_0088 + 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_007b: ldloc.0 - IL_007c: callvirt instance int32 string::get_Length() - IL_0081: ldc.i4.1 - IL_0082: sub - IL_0083: br IL_008c + 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_0088: ldloc.s 4 - IL_008a: ldc.i4.1 - IL_008b: sub - IL_008c: callvirt instance string string::Substring(int32, int32) - IL_0091: stloc.s 5 - IL_0093: ldloc.s 5 - IL_0095: callvirt instance int32 string::get_Length() - IL_009a: ldc.i4.1 - IL_009b: add - IL_009c: ldloc.0 - IL_009d: callvirt instance int32 string::get_Length() - IL_00a2: bne.un IL_00b1 + IL_00b0: ldloc.3 + IL_00b1: ldc.i4.1 + IL_00b2: beq IL_0137 - IL_00a7: nop - IL_00a8: ldnull - IL_00a9: stloc.s 6 - IL_00ab: nop - IL_00ac: br IL_0106 + IL_00b7: br IL_01b2 - IL_00b1: ldloc.0 - IL_00b2: callvirt instance int32 string::get_Length() - IL_00b7: ldc.i4.1 - IL_00b8: ldloc.s 5 - IL_00ba: callvirt instance int32 string::get_Length() - IL_00bf: add - IL_00c0: ble IL_00f3 + 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_00c5: ldloc.0 - IL_00c6: ldc.i4.1 - IL_00c7: ldloc.s 5 - IL_00c9: callvirt instance int32 string::get_Length() - IL_00ce: add - IL_00cf: callvirt instance char string::get_Chars(int32) - IL_00d4: ldc.i4.s 0x3a - IL_00d6: bne.un IL_00f3 + 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_00db: nop - IL_00dc: ldloc.0 - IL_00dd: ldloc.s 5 - IL_00df: callvirt instance int32 string::get_Length() - IL_00e4: ldc.i4.2 - IL_00e5: add - IL_00e6: callvirt instance string string::Substring(int32) - IL_00eb: stloc.s 6 - IL_00ed: nop - IL_00ee: br IL_0106 + 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_00f3: nop - IL_00f4: ldloc.0 - IL_00f5: ldloc.s 5 - IL_00f7: callvirt instance int32 string::get_Length() - IL_00fc: ldc.i4.1 - IL_00fd: add - IL_00fe: callvirt instance string string::Substring(int32) - IL_0103: stloc.s 6 - IL_0105: nop - IL_0106: ldarg.0 - IL_0107: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection - IL_010c: ldloc.s 5 - IL_010e: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentCollection::get_Item(string) - IL_0113: stloc.s 7 - IL_0115: ldloc.s 7 - IL_0117: brtrue IL_0133 + 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_011c: nop - IL_011d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0122: ldstr "Unknown argument '{0}'" - IL_0127: ldloc.0 - IL_0128: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_012d: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) - IL_0132: throw - IL_0133: nop - IL_0134: ldloc.s 7 - IL_0136: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class NAnt.Core.Util.CommandLineArgument::get_Property() - IL_013b: ldtoken [mscorlib]System.ObsoleteAttribute - IL_0140: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0145: ldc.i4.0 - IL_0146: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) - IL_014b: castclass class [mscorlib]System.Attribute[] - IL_0150: stloc.s 8 - IL_0152: ldloc.s 8 - IL_0154: ldlen - IL_0155: conv.i4 - IL_0156: ldc.i4.0 - IL_0157: ble IL_01c4 + 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_015c: nop - IL_015d: ldloc.s 8 - IL_015f: ldc.i4.0 - IL_0160: ldelem.ref - IL_0161: castclass [mscorlib]System.ObsoleteAttribute - IL_0166: stloc.s 9 - IL_0168: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_016d: ldstr "NA1177" - IL_0172: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0177: ldloc.s 5 - IL_0179: ldloc.s 9 - IL_017b: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() - IL_0180: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_0185: stloc.s 10 - IL_0187: ldloc.s 9 - IL_0189: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() - IL_018e: brfalse IL_019c + 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_0193: nop - IL_0194: ldloc.s 10 - IL_0196: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) - IL_019b: throw - IL_019c: nop - IL_019d: ldsfld string [mscorlib]System.String::Empty - IL_01a2: call void class [mscorlib]System.Console::WriteLine(string) - IL_01a7: ldstr "Warning: " - IL_01ac: ldloc.s 10 - IL_01ae: call string string::Concat(string, string) - IL_01b3: call void class [mscorlib]System.Console::WriteLine(string) - IL_01b8: ldsfld string [mscorlib]System.String::Empty - IL_01bd: call void class [mscorlib]System.Console::WriteLine(string) - IL_01c2: nop - IL_01c3: nop - IL_01c4: ldloc.s 7 - IL_01c6: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_IsExclusive() - IL_01cb: brfalse IL_01f6 + IL_01b2: ldloc.0 + IL_01b3: call bool class [mscorlib]System.IO.File::Exists(string) + IL_01b8: brtrue IL_01ed - IL_01d0: ldarg.1 - IL_01d1: ldlen - IL_01d2: conv.i4 - IL_01d3: ldc.i4.1 - IL_01d4: ble IL_01f6 + 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_01d9: nop - IL_01da: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_01df: ldstr "Commandline argument '-{0}' cannot be combined with other arguments." - IL_01e4: ldloc.s 7 - IL_01e6: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() - IL_01eb: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_01f0: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) - IL_01f5: throw - IL_01f6: nop - IL_01f7: ldloc.s 7 - IL_01f9: ldloc.s 6 - IL_01fb: callvirt instance void class NAnt.Core.Util.CommandLineArgument::SetValue(string) - IL_0200: nop - IL_0201: nop - IL_0202: br IL_0294 + 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_0207: ldarg.0 - IL_0208: ldfld bool NAnt.Core.Util.CommandLineParser::_supportsResponseFile - IL_020d: brfalse IL_0255 + 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_0212: nop - IL_0213: ldloc.0 - IL_0214: ldc.i4.1 - IL_0215: ldloc.0 - IL_0216: callvirt instance int32 string::get_Length() - IL_021b: ldc.i4.1 - IL_021c: sub - IL_021d: callvirt instance string string::Substring(int32, int32) - IL_0222: stloc.s 11 - IL_0224: ldloc.s 11 - IL_0226: call bool class [mscorlib]System.IO.File::Exists(string) - IL_022b: brtrue IL_0248 + IL_0203: ldloc.1 + IL_0204: ret + } // end of method ExternalProgramBase::DetermineFilePath - IL_0230: nop - IL_0231: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0236: ldstr "Unable to open response file '{0}'." - IL_023b: ldloc.s 11 - IL_023d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0242: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) - IL_0247: throw - IL_0248: ldarg.0 - IL_0249: ldloc.s 11 - IL_024b: call instance void class NAnt.Core.Util.CommandLineParser::ProcessResponseFile(string) - IL_0250: br IL_0294 + // method line 394 + .method private hidebysig specialname + instance default class NAnt.Core.Configuration.ManagedExecutionMode get_ManagedExecutionMode () cil managed + { + // Method begins at RVA 0xabdc + // 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_0255: br IL_0295 + 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_025a: ldarg.0 - IL_025b: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_0260: brfalse IL_0278 + IL_001c: nop + IL_001d: ldnull + IL_001e: stloc.0 + IL_001f: br IL_005a - IL_0265: nop - IL_0266: ldarg.0 - IL_0267: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument - IL_026c: ldloc.0 - IL_026d: callvirt instance void class NAnt.Core.Util.CommandLineArgument::SetValue(string) - IL_0272: nop - IL_0273: br IL_028f + 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_0278: nop - IL_0279: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_027e: ldstr "Unknown argument '{0}'" - IL_0283: ldloc.0 - IL_0284: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0289: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) - IL_028e: throw - IL_028f: br IL_0294 + 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_0294: nop - IL_0295: ldloc.2 - IL_0296: ldc.i4.1 - IL_0297: add - IL_0298: stloc.2 - IL_0299: ldloc.2 - IL_029a: ldloc.1 - IL_029b: ldlen - IL_029c: conv.i4 - IL_029d: blt IL_0017 + IL_0053: ldnull + IL_0054: stloc.0 + IL_0055: br IL_005a - IL_02a2: ret - } // end of method CommandLineParser::ParseArgumentList + IL_005a: ldloc.0 + IL_005b: ret + } // end of method ExternalProgramBase::get_ManagedExecutionMode - // method line 343 - .method private static hidebysig - default class NAnt.Core.Util.CommandLineArgumentAttribute GetCommandLineAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + // method line 395 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x7440 - // Code size 62 (0x3e) - .maxstack 3 - .locals init ( - object[] V_0, - class NAnt.Core.Util.CommandLineArgumentAttribute V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldtoken NAnt.Core.Util.CommandLineArgumentAttribute - 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: stloc.0 - IL_0013: ldloc.0 - IL_0014: ldlen - IL_0015: conv.i4 - IL_0016: ldc.i4.1 - IL_0017: bne.un IL_002a - - IL_001c: ldloc.0 - IL_001d: ldc.i4.0 - IL_001e: ldelem.ref - IL_001f: castclass NAnt.Core.Util.CommandLineArgumentAttribute - IL_0024: stloc.1 - IL_0025: br IL_003c - - IL_002a: ldloc.0 - IL_002b: ldlen - IL_002c: conv.i4 - IL_002d: ldc.i4.0 - IL_002e: ceq - IL_0030: call void class [System]System.Diagnostics.Debug::Assert(bool) - IL_0035: ldnull - IL_0036: stloc.1 - IL_0037: br IL_003c + // Method begins at RVA 0xac44 + // 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 - IL_003c: ldloc.1 - IL_003d: ret - } // end of method CommandLineParser::GetCommandLineAttribute + .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.. - .property instance string LogoBanner () + .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.Util.CommandLineParser::get_LogoBanner () + .get instance default string NAnt.Core.Tasks.ExternalProgramBase::get_ProgramFileName () } - .property instance string Usage () + .property instance string ProgramArguments () { - .get instance default string NAnt.Core.Util.CommandLineParser::get_Usage () + .get instance default string NAnt.Core.Tasks.ExternalProgramBase::get_ProgramArguments () } - .property instance bool NoArgs () + .property instance class [mscorlib]System.IO.FileInfo Output () { - .get instance default bool NAnt.Core.Util.CommandLineParser::get_NoArgs () + .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') } - } // end of class NAnt.Core.Util.CommandLineParser -} - -.namespace NAnt.Core.Util -{ - .class public auto ansi sealed beforefieldinit ReflectionUtils - extends [mscorlib]System.Object - { - - // method line 344 - .method private hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x748a - // 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 ReflectionUtils::.ctor - - // method line 345 - .method public static hidebysig - default class [mscorlib]System.Type GetTypeFromString (string typeName, bool throwOnError) cil managed - { - // Method begins at RVA 0x7494 - // 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_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_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 + .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.. - 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 + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_00cd: nop - IL_00ce: br IL_00e5 + .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.. - 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 + .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.. - IL_00e5: nop - IL_00e6: nop - IL_00e7: ldloc.0 - IL_00e8: stloc.s 9 - IL_00ea: br IL_00ef + .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.... - IL_00ef: ldloc.s 9 - IL_00f1: ret - } // end of method ReflectionUtils::GetTypeFromString + .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.. - } // end of class NAnt.Core.Util.ReflectionUtils + .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 } -.namespace NAnt.Core.Util +.namespace NAnt.Core.Tasks { - .class public auto ansi sealed beforefieldinit GacCache - extends [mscorlib]System.Object - implements [mscorlib]System.IDisposable { - .field private class [mscorlib]System.AppDomain _domain - .field private class NAnt.Core.Project _project - .field private class [mscorlib]System.Collections.Hashtable _gacQueryCache - .field private bool _hasLoadedAssembly - .field private class NAnt.Core.Util.GacCache/GacResolver _resolver - .field private bool _disposed + .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.. - // method line 346 + .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 396 .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 0x7592 - // Code size 32 (0x20) + // Method begins at RVA 0xbfae + // 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 class NAnt.Core.Project NAnt.Core.Util.GacCache::_project - IL_000e: ldarg.0 - IL_000f: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() - IL_0014: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache - IL_0019: ldarg.0 - IL_001a: call instance void class NAnt.Core.Util.GacCache::RecreateDomain() - IL_001f: ret - } // end of method GacCache::.ctor - - // method line 347 - .method family virtual hidebysig - instance default void Finalize () cil managed - { - // Method begins at RVA 0x75b4 - // Code size 21 (0x15) - .maxstack 2 - IL_0000: nop - .try { // 0 - IL_0001: ldarg.0 - IL_0002: ldc.i4.0 - IL_0003: call instance void class NAnt.Core.Util.GacCache::Dispose(bool) - IL_0008: leave IL_0014 - - } // end .try 0 - finally { // 0 - IL_000d: ldarg.0 - IL_000e: call instance void object::Finalize() - IL_0013: endfinally - } // end handler 0 - IL_0014: ret - } // end of method GacCache::Finalize + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method TryCatchTask::.ctor - // method line 348 + // method line 397 .method public hidebysig specialname - instance default class NAnt.Core.Project get_Project () cil managed + instance default class NAnt.Core.ElementContainer get_TryBlock () cil managed { - // Method begins at RVA 0x75e8 + // Method begins at RVA 0xbfb8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Project V_0) + class NAnt.Core.ElementContainer V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Project NAnt.Core.Util.GacCache::_project + 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 GacCache::get_Project + } // end of method TryCatchTask::get_TryBlock - // method line 349 - .method private hidebysig specialname - instance default class [mscorlib]System.AppDomain get_Domain () cil managed + // method line 398 + .method public hidebysig specialname + instance default void set_TryBlock (class NAnt.Core.ElementContainer 'value') cil managed + { + // Method begins at RVA 0xbfd3 + // 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_0008: ret + } // end of method TryCatchTask::set_TryBlock + + // method line 399 + .method public hidebysig specialname + instance default class NAnt.Core.Tasks.TryCatchTask/CatchElement get_CatchBlock () cil managed { - // Method begins at RVA 0x7604 + // Method begins at RVA 0xbfe0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.AppDomain V_0) + class NAnt.Core.Tasks.TryCatchTask/CatchElement V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + 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 GacCache::get_Domain + } // end of method TryCatchTask::get_CatchBlock - // method line 350 - .method private hidebysig specialname - instance default class NAnt.Core.Util.GacCache/GacResolver get_Resolver () cil managed + // method line 400 + .method public hidebysig specialname + instance default void set_CatchBlock (class NAnt.Core.Tasks.TryCatchTask/CatchElement 'value') cil managed { - // Method begins at RVA 0x7620 - // Code size 80 (0x50) - .maxstack 4 - .locals init ( - class NAnt.Core.Util.GacCache/GacResolver V_0) + // Method begins at RVA 0xbffb + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver - IL_0007: brtrue IL_0042 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldarg.0 - IL_000f: call instance class [mscorlib]System.AppDomain class NAnt.Core.Util.GacCache::get_Domain() - IL_0014: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() - IL_0019: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() - IL_001e: ldtoken NAnt.Core.Util.GacCache/GacResolver - IL_0023: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0028: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_002d: callvirt instance class [mscorlib]System.Runtime.Remoting.ObjectHandle class [mscorlib]System.AppDomain::CreateInstanceFrom(string, string) - IL_0032: callvirt instance object class [mscorlib]System.Runtime.Remoting.ObjectHandle::Unwrap() - IL_0037: castclass NAnt.Core.Util.GacCache/GacResolver - IL_003c: stfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver - IL_0041: nop - IL_0042: ldarg.0 - IL_0043: ldfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver - IL_0048: stloc.0 - IL_0049: br IL_004e - - IL_004e: ldloc.0 - IL_004f: ret - } // end of method GacCache::get_Resolver + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Tasks.TryCatchTask/CatchElement NAnt.Core.Tasks.TryCatchTask::_catchBlock + IL_0008: ret + } // end of method TryCatchTask::set_CatchBlock - // method line 351 - .method public final virtual hidebysig newslot - instance default void Dispose () cil managed + // method line 401 + .method public hidebysig specialname + instance default class NAnt.Core.ElementContainer get_FinallyBlock () cil managed { - // Method begins at RVA 0x767c + // Method begins at RVA 0xc008 // Code size 15 (0xf) - .maxstack 8 + .maxstack 1 + .locals init ( + class NAnt.Core.ElementContainer V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.1 - IL_0003: call instance void class NAnt.Core.Util.GacCache::Dispose(bool) - IL_0008: ldarg.0 - IL_0009: call void class [mscorlib]System.GC::SuppressFinalize(object) + 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 GacCache::Dispose + } // end of method TryCatchTask::get_FinallyBlock - // method line 352 - .method private hidebysig - instance default void Dispose (bool disposing) cil managed + // method line 402 + .method public hidebysig specialname + instance default void set_FinallyBlock (class NAnt.Core.ElementContainer 'value') cil managed { - // Method begins at RVA 0x768c - // Code size 33 (0x21) + // Method begins at RVA 0xc023 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Util.GacCache::_disposed - IL_0007: brtrue IL_0020 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain - IL_0013: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) - IL_0018: ldarg.0 - IL_0019: ldc.i4.1 - IL_001a: stfld bool NAnt.Core.Util.GacCache::_disposed - IL_001f: nop - IL_0020: ret - } // end of method GacCache::Dispose + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_finallyBlock + IL_0008: ret + } // end of method TryCatchTask::set_FinallyBlock - // method line 353 - .method public hidebysig - instance default void RecreateDomain () cil managed + // method line 403 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x76b0 - // Code size 114 (0x72) - .maxstack 6 + // Method begins at RVA 0xc030 + // Code size 101 (0x65) + .maxstack 2 .locals init ( - class [mscorlib]System.Security.PermissionSet V_0) + class NAnt.Core.BuildException V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Util.GacCache::_hasLoadedAssembly - IL_0007: brtrue IL_001c - - IL_000c: ldarg.0 - IL_000d: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain - IL_0012: brfalse IL_001c - - IL_0017: br IL_0071 - - IL_001c: ldarg.0 - IL_001d: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain - IL_0022: brfalse IL_0032 - - IL_0027: ldarg.0 - IL_0028: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain - IL_002d: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) - IL_0032: ldarg.0 - IL_0033: ldnull - IL_0034: stfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver - IL_0039: ldc.i4.1 - IL_003a: newobj instance void class [mscorlib]System.Security.PermissionSet::'.ctor'(valuetype [mscorlib]System.Security.Permissions.PermissionState) - IL_003f: stloc.0 - IL_0040: ldarg.0 - IL_0041: ldstr "GacCacheDomain" - IL_0046: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_004b: callvirt instance class [mscorlib]System.Security.Policy.Evidence class [mscorlib]System.AppDomain::get_Evidence() - IL_0050: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0055: callvirt instance class [mscorlib]System.AppDomainSetup class [mscorlib]System.AppDomain::get_SetupInformation() - IL_005a: ldloc.0 - IL_005b: call !!0[] class [mscorlib]System.Array::Empty () - IL_0060: 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_0065: stfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain - IL_006a: ldarg.0 - IL_006b: ldc.i4.0 - IL_006c: stfld bool NAnt.Core.Util.GacCache::_hasLoadedAssembly - IL_0071: ret - } // end of method GacCache::RecreateDomain + .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 - // method line 354 - .method public hidebysig - instance default bool IsAssemblyInGac (string assemblyFile) cil managed - { - // Method begins at RVA 0x7730 - // Code size 160 (0xa0) - .maxstack 4 - .locals init ( - bool V_0, - string V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Project class NAnt.Core.Util.GacCache::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_Family() - IL_0011: ldarg.0 - IL_0012: call instance class NAnt.Core.Project class NAnt.Core.Util.GacCache::get_Project() - IL_0017: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_001c: callvirt instance string class NAnt.Core.FrameworkInfo::get_Family() - IL_0021: call bool string::op_Inequality(string, string) - IL_0026: brfalse IL_0033 + 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 - IL_002b: nop - IL_002c: ldc.i4.0 - IL_002d: stloc.0 - IL_002e: br IL_009e + } // 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_0033: ldarg.1 - IL_0034: call string class [mscorlib]System.IO.Path::GetFullPath(string) - IL_0039: stloc.1 - IL_003a: ldarg.0 - IL_003b: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache - IL_0040: ldloc.1 - IL_0041: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) - IL_0046: brfalse IL_0063 + 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_004b: nop - IL_004c: ldarg.0 - IL_004d: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache - IL_0052: ldloc.1 - IL_0053: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0058: unbox.any [mscorlib]System.Boolean - IL_005d: stloc.0 - IL_005e: br IL_009e + IL_0040: nop + IL_0041: rethrow + IL_0043: nop + IL_0044: leave IL_0064 - IL_0063: ldarg.0 - IL_0064: ldc.i4.1 - IL_0065: stfld bool NAnt.Core.Util.GacCache::_hasLoadedAssembly - IL_006a: ldarg.0 - IL_006b: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache - IL_0070: ldloc.1 - IL_0071: ldarg.0 - IL_0072: call instance class NAnt.Core.Util.GacCache/GacResolver class NAnt.Core.Util.GacCache::get_Resolver() - IL_0077: ldloc.1 - IL_0078: callvirt instance bool class NAnt.Core.Util.GacCache/GacResolver::IsAssemblyInGac(string) - IL_007d: box [mscorlib]System.Boolean - IL_0082: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) - IL_0087: ldarg.0 - IL_0088: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache - IL_008d: ldloc.1 - IL_008e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) - IL_0093: unbox.any [mscorlib]System.Boolean - IL_0098: stloc.0 - IL_0099: br IL_009e + } // 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_009e: ldloc.0 - IL_009f: ret - } // end of method GacCache::IsAssemblyInGac + 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.Project Project () + .property instance class NAnt.Core.ElementContainer TryBlock () { - .get instance default class NAnt.Core.Project NAnt.Core.Util.GacCache::get_Project () + .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 [mscorlib]System.AppDomain Domain () + .property instance class NAnt.Core.Tasks.TryCatchTask/CatchElement CatchBlock () { - .get instance default class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::get_Domain () + .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.Util.GacCache/GacResolver Resolver () + .property instance class NAnt.Core.ElementContainer FinallyBlock () { - .get instance default class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::get_Resolver () - } - .class nested private auto ansi beforefieldinit GacResolver - extends [mscorlib]System.MarshalByRefObject - { - - // method line 355 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x77dc - // 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 GacResolver::.ctor - - // method line 356 - .method public virtual hidebysig - instance default object InitializeLifetimeService () cil managed - { - // Method begins at RVA 0x77e4 - // 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_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 GacResolver::InitializeLifetimeService - - // method line 357 - .method public hidebysig - instance default bool IsAssemblyInGac (string assemblyFile) cil managed - { - // Method begins at RVA 0x7820 - // Code size 82 (0x52) - .maxstack 1 - .locals init ( - class [mscorlib]System.Reflection.AssemblyName V_0, - bool V_1, - class [mscorlib]System.Reflection.Assembly V_2) - IL_0000: nop - .try { // 0 - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance unsigned int8[] class [mscorlib]System.Reflection.AssemblyName::GetPublicKeyToken() - IL_000f: brtrue IL_001c - - IL_0014: nop - IL_0015: ldc.i4.0 - IL_0016: stloc.1 - IL_0017: leave IL_0050 - - IL_001c: ldloc.0 - IL_001d: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::Load(class [mscorlib]System.Reflection.AssemblyName) - IL_0022: stloc.2 - IL_0023: ldsfld bool NAnt.Core.PlatformHelper::IsMono - IL_0028: brfalse IL_003a - - IL_002d: nop - IL_002e: ldloc.2 - IL_002f: callvirt instance bool class [mscorlib]System.Reflection.Assembly::get_GlobalAssemblyCache() - IL_0034: stloc.1 - IL_0035: leave IL_0050 - - IL_003a: nop - IL_003b: ldloc.2 - IL_003c: call bool class [mscorlib]System.Runtime.InteropServices.RuntimeEnvironment::FromGlobalAccessCache(class [mscorlib]System.Reflection.Assembly) - IL_0041: stloc.1 - IL_0042: leave IL_0050 - - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_0047: pop - IL_0048: nop - IL_0049: ldc.i4.0 - IL_004a: stloc.1 - IL_004b: leave IL_0050 - - } // end handler 0 - IL_0050: ldloc.1 - IL_0051: ret - } // end of method GacResolver::IsAssemblyInGac - - } // end of class GacResolver - - } // end of class NAnt.Core.Util.GacCache -} + .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. -.namespace NAnt.Core.Configuration -{ - .class private auto ansi serializable beforefieldinit ManagedExecutionModes - extends NAnt.Core.Element + .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 class NAnt.Core.Configuration.ManagedExecutionMode _autoMode - .field private class NAnt.Core.Configuration.ManagedExecutionMode _strictMode + .field private string _property - // method line 358 + // method line 404 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa168 + // Method begins at RVA 0xc353 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0001: call instance void class NAnt.Core.ElementContainer::'.ctor'() IL_0006: ret - } // end of method ManagedExecutionModes::.ctor - - // method line 359 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Auto () cil managed - { - // Method begins at RVA 0xa170 - // 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_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedExecutionModes::get_Auto - - // method line 360 - .method public hidebysig specialname - instance default void set_Auto (class NAnt.Core.Configuration.ManagedExecutionMode 'value') cil managed - { - // Method begins at RVA 0xa18b - // 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 + } // end of method CatchElement::.ctor - // method line 361 + // method line 405 .method public hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Strict () cil managed + instance default string get_Property () cil managed { - // Method begins at RVA 0xa198 + // Method begins at RVA 0xc35c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_strictMode + IL_0002: ldfld string NAnt.Core.Tasks.TryCatchTask/CatchElement::_property IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ManagedExecutionModes::get_Strict + } // end of method CatchElement::get_Property - // method line 362 + // method line 406 .method public hidebysig specialname - instance default void set_Strict (class NAnt.Core.Configuration.ManagedExecutionMode 'value') cil managed + instance default void set_Property (string 'value') cil managed { - // Method begins at RVA 0xa1b3 - // Code size 9 (0x9) + // Method begins at RVA 0xc377 + // Code size 14 (0xe) .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_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 363 + // method line 407 .method public hidebysig - instance default class NAnt.Core.Configuration.ManagedExecutionMode GetExecutionMode (valuetype NAnt.Core.Types.ManagedExecution 'managed') cil managed + instance default void Catch (class NAnt.Core.BuildException be) cil managed { - // Method begins at RVA 0xa1c0 - // Code size 86 (0x56) - .maxstack 1 + // Method begins at RVA 0xc388 + // Code size 182 (0xb6) + .maxstack 3 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0) + bool V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: switch ( - IL_0018, - IL_001f, - IL_002b) - IL_0013: br IL_004e - - IL_0018: ldnull - IL_0019: stloc.0 - IL_001a: br IL_0054 + 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_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_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_002b: ldarg.0 - IL_002c: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Strict() - IL_0031: brfalse IL_0042 + } // 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_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_0075: nop + IL_0076: ldloc.0 + IL_0077: brtrue IL_0099 - 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_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_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_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 - .property instance class NAnt.Core.Configuration.ManagedExecutionMode Auto () + .property instance string Property () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 61 75 74 6F 00 00 ) // ...auto.. + .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. - .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.. + .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 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') + .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 NAnt.Core.Configuration.ManagedExecutionModes + } // end of class CatchElement + + } // end of class NAnt.Core.Tasks.TryCatchTask } -.namespace NAnt.Core.Configuration +.namespace NAnt.Core.Tasks { - .class private auto ansi serializable beforefieldinit ManagedExecutionMode - extends NAnt.Core.Element + .class public auto ansi beforefieldinit MoveTask + extends NAnt.Core.Tasks.CopyTask { - .field private class NAnt.Core.Configuration.RuntimeEngine _engine - .field private class NAnt.Core.Types.EnvironmentSet _environmentSet + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6D 6F 76 65 00 00 ) // ...move.. - // method line 364 + + // method line 408 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa222 - // Code size 18 (0x12) + // Method begins at RVA 0xd781 + // Code size 7 (0x7) .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 - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Element::'.ctor'() - IL_0011: ret - } // end of method ManagedExecutionMode::.ctor + IL_0001: call instance void class NAnt.Core.Tasks.CopyTask::'.ctor'() + IL_0006: ret + } // end of method MoveTask::.ctor - // method line 365 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.RuntimeEngine get_Engine () cil managed + // method line 409 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_SourceFile () cil managed { - // Method begins at RVA 0xa238 + // Method begins at RVA 0xd78c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.RuntimeEngine V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::_engine + 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 ManagedExecutionMode::get_Engine + } // end of method MoveTask::get_SourceFile - // method line 366 - .method public hidebysig specialname - instance default void set_Engine (class NAnt.Core.Configuration.RuntimeEngine 'value') cil managed + // method line 410 + .method public virtual hidebysig specialname + instance default void set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xa253 + // Method begins at RVA 0xd7a7 // Code size 9 (0x9) .maxstack 8 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_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_SourceFile(class [mscorlib]System.IO.FileInfo) IL_0008: ret - } // end of method ManagedExecutionMode::set_Engine + } // end of method MoveTask::set_SourceFile - // method line 367 - .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentSet get_Environment () cil managed + // method line 411 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_ToFile () cil managed { - // Method begins at RVA 0xa260 + // Method begins at RVA 0xd7b4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.EnvironmentSet V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::_environmentSet + 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 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.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 368 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa27b - // 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 369 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed - { - // Method begins at RVA 0xa284 - // Code size 49 (0x31) - .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.Configuration.DirList::_baseDirectory - 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.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 + } // end of method MoveTask::get_ToFile - // method line 370 - .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 412 + .method public virtual hidebysig specialname + instance default void set_ToFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xa2c1 + // Method begins at RVA 0xd7cf // 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.Configuration.DirList::_baseDirectory + IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_ToFile(class [mscorlib]System.IO.FileInfo) IL_0008: ret - } // end of method DirList::set_Directory + } // end of method MoveTask::set_ToFile - // method line 371 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.DirectoryName[] get_DirectoryNames () cil managed + // method line 413 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed { - // Method begins at RVA 0xa2cc + // Method begins at RVA 0xd7dc // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.DirectoryName[] V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames + 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 DirList::get_DirectoryNames + } // end of method MoveTask::get_ToDirectory - // method line 372 - .method public hidebysig specialname - instance default void set_DirectoryNames (class NAnt.Core.Configuration.DirectoryName[] 'value') cil managed + // method line 414 + .method public virtual hidebysig specialname + instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0xa2e7 + // Method begins at RVA 0xd7f7 // Code size 9 (0x9) .maxstack 8 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_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_ToDirectory(class [mscorlib]System.IO.DirectoryInfo) IL_0008: ret - } // end of method DirList::set_DirectoryNames + } // end of method MoveTask::set_ToDirectory - // method line 373 - .method public hidebysig - instance default string[] GetDirectories () cil managed + // method line 415 + .method public virtual hidebysig specialname + instance default class NAnt.Core.Types.FileSet get_CopyFileSet () cil managed { - // Method begins at RVA 0xa2f4 - // Code size 28 (0x1c) - .maxstack 2 + // Method begins at RVA 0xd804 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - string[] V_1) + class NAnt.Core.Types.FileSet 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_001a: ldloc.1 - IL_001b: ret - } // end of method DirList::GetDirectories - - // method line 374 - .method assembly hidebysig - instance default string[] GetDirectories (string baseDir) cil managed - { - // Method begins at RVA 0xa31c - // 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.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_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 -} + 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 -.namespace NAnt.Core.Configuration -{ - .class private auto ansi serializable beforefieldinit ConditionalElement - extends NAnt.Core.Element - { - .field private bool _ifDefined - .field private bool _unlessDefined + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MoveTask::get_CopyFileSet - // method line 375 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 416 + .method public virtual hidebysig specialname + instance default void set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0xa39c - // Code size 14 (0xe) + // Method begins at RVA 0xd81f + // Code size 9 (0x9) .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 376 - .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 0xa3ac - // 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: 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_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_CopyFileSet(class NAnt.Core.Types.FileSet) + IL_0008: ret + } // end of method MoveTask::set_CopyFileSet - // method line 377 - .method family hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 417 + .method public virtual hidebysig specialname + instance default bool get_Flatten () cil managed { - // Method begins at RVA 0xa3d4 + // Method begins at RVA 0xd82c // 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_0002: call instance bool class NAnt.Core.Tasks.CopyTask::get_Flatten() 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 MoveTask::get_Flatten - // method line 378 - .method family hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 418 + .method public virtual hidebysig specialname + instance default void set_Flatten (bool 'value') cil managed { - // Method begins at RVA 0xa3ef + // Method begins at RVA 0xd847 // 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_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_Flatten(bool) IL_0008: ret - } // end of method ConditionalElement::set_IfDefined + } // end of method MoveTask::set_Flatten - // method line 379 - .method family hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 419 + .method public virtual hidebysig specialname + instance default class NAnt.Core.Filters.FilterChain get_Filters () cil managed { - // Method begins at RVA 0xa3fc + // Method begins at RVA 0xd854 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Filters.FilterChain V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement::_unlessDefined + 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 ConditionalElement::get_UnlessDefined + } // end of method MoveTask::get_Filters - // method line 380 - .method family hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 420 + .method public virtual hidebysig specialname + instance default void set_Filters (class NAnt.Core.Filters.FilterChain 'value') cil managed { - // Method begins at RVA 0xa417 + // Method begins at RVA 0xd86f // 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::_unlessDefined + IL_0003: call instance void class NAnt.Core.Tasks.CopyTask::set_Filters(class NAnt.Core.Filters.FilterChain) IL_0008: ret - } // end of method ConditionalElement::set_UnlessDefined + } // end of method MoveTask::set_Filters - // method line 381 - .method assembly hidebysig specialname - instance default bool get_Enabled () cil managed + // method line 421 + .method family virtual hidebysig + instance default void DoFileOperations () cil managed { - // Method begins at RVA 0xa424 - // Code size 32 (0x20) - .maxstack 2 + // Method begins at RVA 0xd87c + // Code size 689 (0x2b1) + .maxstack 8 .locals init ( - bool V_0) + 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 bool class NAnt.Core.Configuration.ConditionalElement::get_IfDefined() - IL_0007: brfalse IL_0017 + 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_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_0012: nop + IL_0013: br IL_02b0 - IL_0017: ldc.i4.0 - IL_0018: stloc.0 - IL_0019: br IL_001e + IL_0018: ldc.i4.0 + IL_0019: stloc.0 + IL_001a: br IL_01fd - IL_001e: ldloc.0 - IL_001f: ret - } // end of method ConditionalElement::get_Enabled + 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 - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + 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 - .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.. + .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 - .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 + 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 382 - .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 0xa450 - // 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_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_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_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_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_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_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_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 - // method line 383 + 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 422 .method family virtual hidebysig - instance default bool InitializeAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + instance default class NAnt.Core.BuildException CreateSourceFileNotFoundException (string sourceFile) cil managed { - // Method begins at RVA 0xa4f0 - // Code size 34 (0x22) - .maxstack 2 + // Method begins at RVA 0xdb58 + // Code size 36 (0x24) + .maxstack 3 .locals init ( - bool V_0) + class NAnt.Core.BuildException 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_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_000c: ldc.i4.1 - IL_000d: stloc.0 - IL_000e: br IL_0020 + IL_0022: ldloc.0 + IL_0023: ret + } // end of method MoveTask::CreateSourceFileNotFoundException - 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 + .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_0020: ldloc.0 - IL_0021: ret - } // end of method ConditionalConfigurator::InitializeAttribute + .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 384 - .method family virtual hidebysig - instance default void InitializeOrderedChildElements () cil managed - { - // Method begins at RVA 0xa51e - // 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 + .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 () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 74 6F 64 69 72 00 00 ) // ...todir.. - IL_000c: br IL_0017 + .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.. - IL_0011: ldarg.0 - IL_0012: call instance void class NAnt.Core.Element/AttributeConfigurator::InitializeOrderedChildElements() - IL_0017: ret - } // end of method ConditionalConfigurator::InitializeOrderedChildElements + .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.. - } // end of class ConditionalConfigurator + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end of class NAnt.Core.Configuration.ConditionalElement + .get instance default bool NAnt.Core.Tasks.MoveTask::get_Flatten () + .set instance default void NAnt.Core.Tasks.MoveTask::set_Flatten (bool '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.. + + .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.Configuration +.namespace NAnt.Core.Tasks { - .class private auto ansi serializable beforefieldinit DirectoryName - extends NAnt.Core.Configuration.ConditionalElement + .class public auto ansi beforefieldinit MkDirTask + extends NAnt.Core.Task { - .field private string _name + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 6D 6B 64 69 72 00 00 ) // ...mkdir.. - // method line 385 + .field private class [mscorlib]System.IO.DirectoryInfo _dir + + // method line 423 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa537 + // Method begins at RVA 0xdb88 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Configuration.ConditionalElement::'.ctor'() + IL_0001: call instance void class NAnt.Core.Task::'.ctor'() IL_0006: ret - } // end of method DirectoryName::.ctor + } // end of method MkDirTask::.ctor - // method line 386 + // method line 424 .method public hidebysig specialname - instance default string get_DirName () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Dir () cil managed { - // Method begins at RVA 0xa540 + // Method begins at RVA 0xdb90 // 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.Configuration.DirectoryName::_name + 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 DirectoryName::get_DirName + } // end of method MkDirTask::get_Dir - // method line 387 + // method line 425 .method public hidebysig specialname - instance default void set_DirName (string 'value') cil managed + instance default void set_Dir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0xa55b + // Method begins at RVA 0xdbab // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Configuration.DirectoryName::_name + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MkDirTask::_dir IL_0008: ret - } // end of method DirectoryName::set_DirName - - .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 Runtime - extends NAnt.Core.Element - { - .field private class NAnt.Core.Configuration.ManagedExecutionModes _modes - .field private class NAnt.Core.Configuration.DirList _probingPaths - - // method line 388 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa565 - // 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 389 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.DirList get_ProbingPaths () cil managed - { - // Method begins at RVA 0xa584 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Configuration.DirList 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_000d: ldloc.0 - IL_000e: ret - } // end of method Runtime::get_ProbingPaths + } // end of method MkDirTask::set_Dir - // method line 390 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionModes get_Modes () cil managed + // method line 426 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xa5a0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xdbb8 + // Code size 120 (0x78) + .maxstack 7 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionModes V_0) + class [mscorlib]System.Exception 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 + .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_000d: ldloc.0 - IL_000e: ret - } // end of method Runtime::get_Modes + 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 - .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 ) // .. + } // 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 - .get instance default class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::get_ProbingPaths () - } - .property instance class NAnt.Core.Configuration.ManagedExecutionModes Modes () + .property instance class [mscorlib]System.IO.DirectoryInfo Dir () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 6D 6F 64 65 73 00 00 ) // ...modes.. + .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 NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::get_Modes () + .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.Configuration.Runtime + } // end of class NAnt.Core.Tasks.MkDirTask } -.namespace NAnt.Core.Configuration +.namespace NAnt.Core.Tasks { - .class private auto ansi serializable beforefieldinit RuntimeEngine - extends NAnt.Core.Element + .class public auto ansi beforefieldinit NAntSchemaTask + extends NAnt.Core.Task { - .field private class [mscorlib]System.IO.FileInfo _program - .field private class NAnt.Core.Types.ArgumentCollection _arguments + .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 391 + .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 427 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xa5bb + // Method begins at RVA 0xdc4c // 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_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.Element::'.ctor'() + IL_000c: call instance void class NAnt.Core.Task::'.ctor'() IL_0011: ret - } // end of method RuntimeEngine::.ctor + } // end of method NAntSchemaTask::.ctor - // method line 392 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Program () cil managed + // method line 428 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0xa5d0 + // Method begins at RVA 0xdc60 // 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.Configuration.RuntimeEngine::_program + 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 RuntimeEngine::get_Program + } // end of method NAntSchemaTask::get_OutputFile - // method line 393 - .method public hidebysig specialname - instance default void set_Program (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 429 + .method public virtual hidebysig newslot specialname + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xa5eb + // Method begins at RVA 0xdc7b // 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_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntSchemaTask::_outputFile IL_0008: ret - } // end of method RuntimeEngine::set_Program + } // end of method NAntSchemaTask::set_OutputFile - // method line 394 - .method public hidebysig specialname - instance default class NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed + // method line 430 + .method public virtual hidebysig newslot specialname + instance default string get_TargetNamespace () cil managed { - // Method begins at RVA 0xa5f8 + // Method begins at RVA 0xdc88 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.ArgumentCollection V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::_arguments + 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 RuntimeEngine::get_Arguments + } // end of method NAntSchemaTask::get_TargetNamespace - // method line 395 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 431 + .method public virtual hidebysig newslot specialname + instance default void set_TargetNamespace (string 'value') cil managed { - // Method begins at RVA 0xa614 - // Code size 73 (0x49) - .maxstack 3 + // Method begins at RVA 0xdca3 + // Code size 14 (0xe) + .maxstack 8 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 - - 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.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 396 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa669 - // 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 - - // method line 397 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.FilterCollection 'value') cil managed - { - // Method begins at RVA 0xa672 - // 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_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 - // method line 398 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.Filter[] 'value') cil managed + // method line 432 + .method public virtual hidebysig newslot specialname + instance default string get_ForType () cil managed { - // Method begins at RVA 0xa682 + // Method begins at RVA 0xdcb4 // 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 - - // method line 399 - .method public hidebysig specialname - instance default class NAnt.Core.Filters.Filter get_Item (int32 index) cil managed - { - // Method begins at RVA 0xa694 - // Code size 26 (0x1a) - .maxstack 2 + .maxstack 1 .locals init ( - class NAnt.Core.Filters.Filter 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.Filter - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld string NAnt.Core.Tasks.NAntSchemaTask::_forType + 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 NAntSchemaTask::get_ForType - // method line 400 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Filters.Filter 'value') cil managed + // method line 433 + .method public virtual hidebysig newslot specialname + instance default void set_ForType (string 'value') cil managed { - // Method begins at RVA 0xa6ba - // Code size 15 (0xf) + // Method begins at RVA 0xdccf + // 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: 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: 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 401 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Filters.Filter item) cil managed + // method line 434 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xa6cc - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xdce0 + .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 ( - int32 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 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: callvirt instance string class NAnt.Core.Tasks.NAntSchemaTask::get_ForType() + IL_0007: brtrue IL_00ee - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FilterCollection::Add + 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 - // method line 402 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Filters.Filter[] items) cil managed + 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 + + IL_006c: leave IL_0087 + + } // 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 + + 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 + + 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 + + } // 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 + + 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_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 + + } // end .try 3 + finally { // 3 + IL_021c: ldloc.s 12 + IL_021e: brfalse IL_022a + + 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 435 + .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 0xa6f0 - // Code size 34 (0x22) + // Method begins at RVA 0xdf70 + // Code size 68 (0x44) .maxstack 3 .locals init ( - int32 V_0) + class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator V_0, + class [System.Xml]System.Xml.Schema.XmlSchema 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: 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_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_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_0021: ret - } // end of method FilterCollection::AddRange + 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 403 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Filters.FilterCollection items) cil managed + IL_0042: ldloc.1 + IL_0043: ret + } // end of method NAntSchemaTask::WriteSchema + + // method line 436 + .method family static hidebysig + default string GenerateIDFromType (class [mscorlib]System.Type 'type') cil managed { - // Method begins at RVA 0xa720 - // Code size 41 (0x29) + // Method begins at RVA 0xdfc0 + // Code size 60 (0x3c) .maxstack 3 .locals init ( - int32 V_0) + string 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.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_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_0028: ret - } // end of method FilterCollection::AddRange + IL_003a: ldloc.0 + IL_003b: ret + } // end of method NAntSchemaTask::GenerateIDFromType - // method line 404 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Filters.Filter item) cil managed + // method line 437 + .method family static hidebysig + default class [System.Xml]System.Xml.Schema.XmlSchemaAttribute CreateXsdAttribute (string name, bool required) cil managed { - // Method begins at RVA 0xa758 - // Code size 21 (0x15) + // Method begins at RVA 0xe008 + // Code size 52 (0x34) .maxstack 2 .locals init ( - bool V_0) + 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: 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_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_0013: ldloc.0 - IL_0014: ret - } // end of method FilterCollection::Contains + 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 - // method line 405 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Filters.Filter[] 'array', int32 index) cil managed - { - // Method begins at RVA 0xa779 - // 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_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 406 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Filters.Filter item) cil managed + IL_0032: ldloc.1 + IL_0033: ret + } // end of method NAntSchemaTask::CreateXsdAttribute + + // method line 438 + .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 0xa78c - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xe048 + // Code size 71 (0x47) + .maxstack 6 .locals init ( - int32 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: 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: 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_0013: ldloc.0 - IL_0014: ret - } // end of method FilterCollection::IndexOf + 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 407 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Filters.Filter item) cil managed - { - // Method begins at RVA 0xa7ad - // 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_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 408 - .method public hidebysig - instance default class NAnt.Core.Filters.FilterEnumerator GetEnumerator () cil managed + IL_0045: ldloc.1 + IL_0046: ret + } // end of method NAntSchemaTask::CreateXsdSequence + + // method line 439 + .method family static hidebysig + default class [System.Xml]System.Xml.XmlNode[] TextToNodeArray (string text) cil managed { - // Method begins at RVA 0xa7c0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xe09c + // Code size 31 (0x1f) + .maxstack 5 .locals init ( - class NAnt.Core.Filters.FilterEnumerator 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: newobj instance void class NAnt.Core.Filters.FilterEnumerator::'.ctor'(class NAnt.Core.Filters.FilterCollection) - 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 FilterCollection::GetEnumerator + IL_001d: ldloc.1 + IL_001e: ret + } // end of method NAntSchemaTask::TextToNodeArray - // method line 409 - .method public hidebysig - instance default void Remove (class NAnt.Core.Filters.Filter item) cil managed + // method line 440 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0xa7db - // Code size 14 (0xe) + // Method begins at RVA 0xe0c7 + // Code size 40 (0x28) .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_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 NAnt.Core.Filters.Filter Item (int32) + .property instance class [mscorlib]System.IO.FileInfo OutputFile () { - .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') + .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. + + .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') } - } // end of class NAnt.Core.Filters.FilterCollection -} + .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. -.namespace NAnt.Core.Filters -{ - .class public auto ansi beforefieldinit FilterEnumerator + .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 - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + { + .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 410 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.FilterCollection arguments) cil managed + // method line 441 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Type[] tasks, class [mscorlib]System.Type[] dataTypes, string targetNS) cil managed { - // Method begins at RVA 0xa7ec - // Code size 22 (0x16) - .maxstack 2 + // Method begins at RVA 0xe0f0 + // Code size 934 (0x3a6) + .maxstack 7 .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) + 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: 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_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 - // method line 411 + 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 + + 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 + + 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_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_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_0227: leave IL_0243 + + } // 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_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 442 .method public hidebysig specialname - instance default class NAnt.Core.Filters.Filter get_Current () cil managed + instance default class [System.Xml]System.Xml.Schema.XmlSchema get_Schema () cil managed { - // Method begins at RVA 0xa810 - // Code size 25 (0x19) + // Method begins at RVA 0xe4b4 + // Code size 39 (0x27) .maxstack 1 .locals init ( - class NAnt.Core.Filters.Filter V_0) + class [System.Xml]System.Xml.Schema.XmlSchema 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: castclass NAnt.Core.Filters.Filter - IL_0011: stloc.0 - IL_0012: br IL_0017 + 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_0017: ldloc.0 - IL_0018: ret - } // end of method FilterEnumerator::get_Current + 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 - // method line 412 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + IL_0025: ldloc.0 + IL_0026: ret + } // end of method NAntSchemaGenerator::get_Schema + + // method line 443 + .method public hidebysig + instance default void Compile () cil managed { - // Method begins at RVA 0xa838 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - object V_0) + // Method begins at RVA 0xe4e7 + // Code size 25 (0x19) + .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 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 FilterEnumerator::System.Collections.IEnumerator.get_Current + 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 413 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 444 + .method family hidebysig + instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType CreateTaskListComplexType (class [mscorlib]System.Type[] tasks) cil managed { - // Method begins at RVA 0xa858 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0xe504 + // Code size 23 (0x17) + .maxstack 4 .locals init ( - bool V_0) + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType 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 bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + 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_0012: ldloc.0 - IL_0013: ret - } // end of method FilterEnumerator::MoveNext + IL_0015: ldloc.0 + IL_0016: ret + } // end of method NAntSchemaGenerator::CreateTaskListComplexType - // method line 414 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + // method line 445 + .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 0xa878 - .override class [mscorlib]System.Collections.IEnumerator::MoveNext - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0xe528 + // Code size 392 (0x188) + .maxstack 6 .locals init ( - bool V_0) + 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 [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: 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_0012: ldloc.0 - IL_0013: ret - } // end of method FilterEnumerator::System.Collections.IEnumerator.MoveNext + 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 - // method line 415 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0xa898 - // 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_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 - // method line 416 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0xa8a6 - .override class [mscorlib]System.Collections.IEnumerator::Reset - // 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 + 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 - .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 -} + IL_00fb: ldarg.3 + IL_00fc: brfalse IL_0136 -.namespace NAnt.Core.Filters -{ - .class private auto ansi beforefieldinit PhysicalTextReader - extends NAnt.Core.Filters.Filter - { + 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 - // method line 417 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.IO.TextReader textReader) cil managed + IL_0185: ldloc.s 16 + IL_0187: ret + } // end of method NAntSchemaGenerator::CreateTaskListComplexType + + // method line 446 + .method family hidebysig + instance default void ValidationEH (object sender, class [System.Xml]System.Xml.Schema.ValidationEventArgs args) cil managed { - // Method begins at RVA 0xaa64 - // 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 + // Method begins at RVA 0xe6bc + // 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 - } // end of class NAnt.Core.Filters.PhysicalTextReader -} + 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 -.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_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 418 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xa8b4 - // 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 + 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 - // method line 419 - .method public hidebysig specialname - instance default bool get_Base () cil managed + 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 447 + .method family hidebysig + instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType FindComplexTypeByID (string id) cil managed { - // Method begins at RVA 0xa8bc - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xe750 + // Code size 51 (0x33) + .maxstack 2 .locals init ( - bool V_0) + class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Filters.ChainableReader::_baseReader - IL_0007: stloc.0 - IL_0008: br IL_000d + 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 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ChainableReader::get_Base + 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 - // method line 420 - .method public virtual hidebysig newslot - instance default void Chain (class NAnt.Core.Filters.ChainableReader parentChainedReader) cil managed - { - // Method begins at RVA 0xa8d8 - // Code size 89 (0x59) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0018 + IL_002a: ldnull + IL_002b: stloc.0 + IL_002c: br IL_0031 - 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_0031: ldloc.0 + IL_0032: ret + } // end of method NAntSchemaGenerator::FindComplexTypeByID - // method line 421 - .method public virtual hidebysig newslot - instance default void Chain (class [mscorlib]System.IO.TextReader baseReader) cil managed + // method line 448 + .method family hidebysig + instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType FindOrCreateComplexType (class [mscorlib]System.Type t) cil managed { - // Method begins at RVA 0xa940 - // Code size 89 (0x59) - .maxstack 3 + // Method begins at RVA 0xe790 + // Code size 1102 (0x44e) + .maxstack 6 + .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) IL_0000: nop IL_0001: ldarg.1 - IL_0002: brtrue IL_0018 + 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_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_0016: nop + IL_0017: ldloc.0 + IL_0018: stloc.2 + IL_0019: br IL_044c - // method line 422 - .method public virtual hidebysig newslot - instance default int32 Peek () cil managed - { - // Method begins at RVA 0xa9a8 - // 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_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_0012: ldloc.0 - IL_0013: ret - } // end of method ChainableReader::Peek + 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 423 - .method public virtual hidebysig newslot - instance default int32 Read () cil managed - { - // Method begins at RVA 0xa9c8 - // 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/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_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_0012: ldloc.0 - IL_0013: ret - } // end of method ChainableReader::Read + IL_0097: nop + IL_0098: br IL_03f5 - // method line 424 - .method public virtual hidebysig newslot - instance default void Close () cil managed - { - // Method begins at RVA 0xa9e8 - // 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_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 425 - .method public final virtual hidebysig newslot - instance default void Dispose () cil managed - { - // Method begins at RVA 0xa9f6 - // 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 + 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 - .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_00fc: ldloc.s 9 + IL_00fe: brfalse IL_03f4 - // method line 426 - .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_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 427 - .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 + 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 - // method line 428 - .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 + 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 429 - .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 + IL_016e: ldloc.s 5 + IL_0170: isinst [mscorlib]System.Reflection.FieldInfo + IL_0175: brfalse IL_018f - } // end of class internalRead + 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 - .class nested private auto ansi sealed internalPeek - extends [mscorlib]System.MulticastDelegate - { + IL_018f: ldloc.s 5 + IL_0191: isinst [mscorlib]System.Reflection.MethodInfo + IL_0196: brfalse IL_01dd - // method line 430 - .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 + 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 431 - .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 + 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 432 - .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 + 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 - // method line 433 - .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 + 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 - } // end of class internalPeek + 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 - .class nested private auto ansi sealed internalClose - extends [mscorlib]System.MulticastDelegate - { + 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 434 - .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 + 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 - // method line 435 - .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 + 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 436 - .method public virtual hidebysig newslot - instance default class [mscorlib]System.IAsyncResult BeginInvoke (class [mscorlib]System.AsyncCallback callback, object 'object') runtime managed + 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 449 + .method private hidebysig + instance default string GetTaskName (class [mscorlib]System.Type t) cil managed { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method internalClose::BeginInvoke + // Method begins at RVA 0xebec + // 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 - // method line 437 - .method public virtual hidebysig newslot - instance default void EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + 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 450 + .method private hidebysig + instance default string GetDataTypeName (class [mscorlib]System.Type t) cil managed { - // Method begins at RVA 0x0 - // Disassembly of native methods is not supported - } // end of method internalClose::EndInvoke + // Method begins at RVA 0xec34 + // 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 - } // end of class internalClose + 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 - } // end of class NAnt.Core.Filters.ChainableReader + 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.Filters +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit FilterBuilder - extends NAnt.Core.Extensibility.ExtensionBuilder + .class public auto ansi beforefieldinit SetEnvTask + extends NAnt.Core.Task { - .field private initonly string _className - .field private initonly string _filterName + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 73 65 74 65 6E 76 00 00 ) // ...setenv.. - // method line 438 + .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 451 .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 0xaa74 - // Code size 15 (0xf) + // Method begins at RVA 0xec7a + // Code size 18 (0x12) .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 439 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed - { - // Method begins at RVA 0xaa84 - // 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 + 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 440 + // method line 452 .method public hidebysig specialname - instance default string get_ClassName () cil managed + instance default string get_EnvName () cil managed { - // Method begins at RVA 0xaad4 + // Method begins at RVA 0xec90 // 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_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 FilterBuilder::get_ClassName + } // end of method SetEnvTask::get_EnvName - // method line 441 + // method line 453 .method public hidebysig specialname - instance default string get_FilterName () cil managed + instance default void set_EnvName (string 'value') cil managed + { + // Method begins at RVA 0xecab + // 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 + + // method line 454 + .method public hidebysig specialname + instance default string get_LiteralValue () cil managed { - // Method begins at RVA 0xaaf0 + // Method begins at RVA 0xecbc // 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_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 FilterBuilder::get_FilterName + } // end of method SetEnvTask::get_LiteralValue - // method line 442 - .method public hidebysig - instance default class NAnt.Core.Filters.Filter CreateFilter () cil managed + // method line 455 + .method public hidebysig specialname + instance default void set_LiteralValue (string 'value') cil managed { - // Method begins at RVA 0xab0c - .permissionset demand = {[mscorlib]System.Security.Permissions.ReflectionPermissionAttribute = {property enum [mscorlib]System.Security.Permissions.ReflectionPermissionFlag 'Flags' = int32(0)}} - // Code size 42 (0x2a) + // Method begins at RVA 0xecd7 + // Code size 16 (0x10) .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 string FilterName () - { - .get instance default string NAnt.Core.Filters.FilterBuilder::get_FilterName () - } - } // end of class NAnt.Core.Filters.FilterBuilder -} - -.namespace NAnt.Core.Filters -{ - .class public auto ansi abstract beforefieldinit Filter - extends NAnt.Core.Filters.ChainableReader - { - .field private bool _ifDefined - .field private bool _unlessDefined - - // method line 443 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xaa05 - // Code size 14 (0xe) - .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_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 - // method line 444 + // method line 456 .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 0xaa14 + // Method begins at RVA 0xece8 // 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.SetEnvTask::_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 SetEnvTask::get_File - // method line 445 + // method line 457 .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 0xaa2f - // Code size 9 (0x9) + // Method begins at RVA 0xed03 + // Code size 21 (0x15) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Filters.Filter::_ifDefined - IL_0008: ret - } // end of method Filter::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.FileInfo NAnt.Core.Tasks.SetEnvTask::_file + IL_0014: ret + } // end of method SetEnvTask::set_File - // method line 446 + // method line 458 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed { - // Method begins at RVA 0xaa3c + // Method begins at RVA 0xed1c // 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.Filters.Filter::_unlessDefined + 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 Filter::get_UnlessDefined + } // end of method SetEnvTask::get_Directory - // method line 447 + // method line 459 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0xaa57 - // Code size 9 (0x9) + // Method begins at RVA 0xed37 + // Code size 21 (0x15) .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 - - // method line 448 - .method public virtual hidebysig newslot - instance default void InitializeFilter () cil managed - { - // Method begins at RVA 0xaa61 - // 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 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 449 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xad56 - // 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_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 450 + // method line 460 .method public hidebysig specialname - instance default class NAnt.Core.Filters.FilterCollection get_Filters () cil managed + instance default class NAnt.Core.Types.PathSet get_Path () cil managed { - // Method begins at RVA 0xad6c + // Method begins at RVA 0xed50 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Filters.FilterCollection V_0) + class NAnt.Core.Types.PathSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Filters.FilterCollection NAnt.Core.Filters.FilterChain::_filters + 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 FilterChain::get_Filters + } // end of method SetEnvTask::get_Path - // method line 451 + // method line 461 .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_InputEncoding () cil managed + instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed + { + // Method begins at RVA 0xed6b + // 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.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 + + // method line 462 + .method public hidebysig specialname + instance default class NAnt.Core.Types.EnvironmentVariableCollection get_EnvironmentVariables () cil managed { - // Method begins at RVA 0xad88 + // Method begins at RVA 0xed84 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Text.Encoding V_0) + class NAnt.Core.Types.EnvironmentVariableCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Core.Filters.FilterChain::_inputEncoding + IL_0002: ldfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Tasks.SetEnvTask::_environmentVariables IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FilterChain::get_InputEncoding + } // end of method SetEnvTask::get_EnvironmentVariables - // method line 452 + // method line 463 .method public hidebysig specialname - instance default void set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') cil managed + instance default void set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed { - // Method begins at RVA 0xada3 + // Method begins at RVA 0xed9f // 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_0003: stfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Tasks.SetEnvTask::_environmentVariables IL_0008: ret - } // end of method FilterChain::set_InputEncoding + } // end of method SetEnvTask::set_EnvironmentVariables - // method line 453 + // method line 464 .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 + instance default void Initialize () cil managed { - // Method begins at RVA 0xadb0 - // Code size 25 (0x19) - .maxstack 4 - .locals init ( - class NAnt.Core.Filters.FilterChain/FilterChainConfigurator V_0) + // Method begins at RVA 0xeda9 + // Code size 47 (0x2f) + .maxstack 8 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 + IL_0002: call instance string class NAnt.Core.Tasks.SetEnvTask::get_EnvName() + IL_0007: brtrue IL_002e - // method line 454 - .method assembly hidebysig - instance default class NAnt.Core.Filters.Filter GetBaseFilter (class NAnt.Core.Filters.PhysicalTextReader physicalTextReader) cil managed + 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 + + // method line 465 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xadd8 - // Code size 164 (0xa4) - .maxstack 2 + // Method begins at RVA 0xeddc + // Code size 149 (0x95) + .maxstack 3 .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) + 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.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_0001: ldarg.0 + IL_0002: call instance string class NAnt.Core.Tasks.SetEnvTask::get_EnvName() + IL_0007: brfalse IL_002b - 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 + 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_0040: br IL_0075 + IL_0038: br IL_0070 - 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_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_0058: ldloc.2 - IL_0059: callvirt instance bool class NAnt.Core.Filters.Filter::get_UnlessDefined() - IL_005e: brtrue IL_0074 + IL_0050: ldloc.0 + IL_0051: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() + IL_0056: brtrue IL_006f - 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_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_0080: leave IL_009b + IL_007b: leave IL_0094 } // 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 + IL_0080: ldloc.1 + IL_0081: isinst [mscorlib]System.IDisposable + IL_0086: dup + IL_0087: stloc.2 + IL_0088: brfalse IL_0093 - IL_0093: ldloc.s 4 - IL_0095: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_009a: endfinally + IL_008d: ldloc.2 + IL_008e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0093: endfinally } // end handler 0 - IL_009b: ldloc.1 - IL_009c: stloc.0 - IL_009d: br IL_00a2 - - IL_00a2: ldloc.0 - IL_00a3: ret - } // end of method FilterChain::GetBaseFilter + IL_0094: ret + } // end of method SetEnvTask::ExecuteTask - // method line 455 - .method assembly static hidebysig - default bool IsNullOrEmpty (class NAnt.Core.Filters.FilterChain filterChain) cil managed + // method line 466 + .method private hidebysig + instance default void SetSingleEnvironmentVariable (string name, string 'value') cil managed { - // Method begins at RVA 0xae98 - // Code size 41 (0x29) - .maxstack 2 + // Method begins at RVA 0xee90 + // Code size 95 (0x5f) + .maxstack 7 .locals init ( - bool V_0) + string V_0, + class [mscorlib]System.Exception V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: brtrue IL_000f - - IL_0007: nop - IL_0008: ldc.i4.1 - IL_0009: stloc.0 - IL_000a: br IL_0027 + 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_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_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_0027: ldloc.0 - IL_0028: ret - } // end of method FilterChain::IsNullOrEmpty + } // 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 - .property instance class NAnt.Core.Filters.FilterCollection Filters () + .property instance string EnvName () { - .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 + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6E 61 6D 65 00 00 ) // ...name.. - .get instance default class NAnt.Core.Filters.FilterCollection NAnt.Core.Filters.FilterChain::get_Filters () + .get instance default string NAnt.Core.Tasks.SetEnvTask::get_EnvName () + .set instance default void NAnt.Core.Tasks.SetEnvTask::set_EnvName (string 'value') } - .property instance class [mscorlib]System.Text.Encoding InputEncoding () + .property instance string LiteralValue () { - .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 [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.... + .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.Text.Encoding NAnt.Core.Filters.FilterChain::get_InputEncoding () - .set instance default void NAnt.Core.Filters.FilterChain::set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') + .get instance default string NAnt.Core.Tasks.SetEnvTask::get_LiteralValue () + .set instance default void NAnt.Core.Tasks.SetEnvTask::set_LiteralValue (string 'value') } - .class nested public auto ansi beforefieldinit FilterChainConfigurator - extends NAnt.Core.Element/AttributeConfigurator - { - - // method line 456 - .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 0xaecd - // 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 - - // method line 457 - .method family virtual hidebysig - instance default bool InitializeBuildElementCollection (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed - { - // Method begins at RVA 0xaedc - // 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_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_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_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_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_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_00b4: nop - IL_00b5: leave IL_00e6 - - 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_00f2: leave IL_010e - - } // 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_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_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 - - 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_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_0178: nop - IL_0179: ldloc.s 11 - IL_017b: stloc.s 9 - IL_017d: br IL_0195 - - 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_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_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_020f: nop - IL_0210: ldarg.1 - IL_0211: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() - IL_0216: brtrue IL_0248 - - 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_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_02b7: leave IL_02d3 - - } // 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 + .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_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 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.. - IL_02da: ldloc.2 - IL_02db: ret - } // end of method FilterChainConfigurator::InitializeBuildElementCollection + .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.. - } // end of class FilterChainConfigurator + .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 of class NAnt.Core.Filters.FilterChain + .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 } -.namespace NAnt.Core.Filters +.namespace NAnt.Core.Tasks { - .class public auto ansi serializable beforefieldinit FilterBuilderCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit SysInfoTask + 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 07 73 79 73 69 6E 66 6F 00 00 ) // ...sysinfo.. + .field private string _prefix - // method line 458 + // method line 467 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xb1e0 - // 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 FilterBuilderCollection::.ctor - - // method line 459 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilderCollection 'value') cil managed - { - // Method begins at RVA 0xb1e9 - // 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) - IL_000e: ret - } // end of method FilterBuilderCollection::.ctor - - // method line 460 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilder[] 'value') cil managed - { - // Method begins at RVA 0xb1f9 - // Code size 15 (0xf) + // Method begins at RVA 0xef0c + // 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: 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_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 461 + // method line 468 .method public hidebysig specialname - instance default class NAnt.Core.Filters.FilterBuilder get_Item (int32 index) cil managed + instance default string get_Prefix () cil managed { - // Method begins at RVA 0xb20c - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0xef20 + // 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.SysInfoTask::_prefix + 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 SysInfoTask::get_Prefix - // method line 462 + // method line 469 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Filters.FilterBuilder 'value') cil managed + instance default void set_Prefix (string 'value') cil managed { - // Method begins at RVA 0xb232 - // Code size 15 (0xf) + // Method begins at RVA 0xef3b + // 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.SysInfoTask::_prefix + IL_0008: ret + } // end of method SysInfoTask::set_Prefix - // method line 463 - .method public hidebysig specialname - instance default class NAnt.Core.Filters.FilterBuilder get_Item (string filterName) cil managed + // method line 470 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xb244 - // Code size 111 (0x6f) - .maxstack 2 + // Method begins at RVA 0xef48 + // Code size 788 (0x314) + .maxstack 7 .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 [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: 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 + 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 - } // 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_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_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 + } // 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_006d: ldloc.2 - IL_006e: ret - } // end of method FilterBuilderCollection::get_Item + 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 - // method line 464 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Filters.FilterBuilder item) cil managed - { - // Method begins at RVA 0xb2d0 - // 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_0246: nop + IL_0247: rethrow + IL_0249: nop + IL_024a: leave IL_024f - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FilterBuilderCollection::Add + } // 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 465 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Filters.FilterBuilder[] items) cil managed - { - // Method begins at RVA 0xb2f4 - // 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_025b: leave IL_0276 - 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 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_0021: ret - } // end of method FilterBuilderCollection::AddRange + 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 - // method line 466 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Filters.FilterBuilderCollection items) cil managed - { - // Method begins at RVA 0xb324 - // 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_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_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_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 - IL_0028: ret - } // end of method FilterBuilderCollection::AddRange + 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 line 467 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Filters.FilterBuilder item) cil managed - { - // Method begins at RVA 0xb35c - // 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_02f6: leave IL_0312 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method FilterBuilderCollection::Contains + } // 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 468 - .method public hidebysig - instance default bool Contains (string taskName) cil managed - { - // Method begins at RVA 0xb380 - // 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_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 - IL_0014: ldloc.0 - IL_0015: ret - } // end of method FilterBuilderCollection::Contains + .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. - // method line 469 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Filters.FilterBuilder[] 'array', int32 index) cil managed - { - // Method begins at RVA 0xb3a2 - // 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 FilterBuilderCollection::CopyTo + .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 +} - // method line 470 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Filters.FilterBuilder item) cil managed - { - // Method begins at RVA 0xb3b4 - // 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 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_0013: ldloc.0 - IL_0014: ret - } // end of method FilterBuilderCollection::IndexOf + .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 471 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Filters.FilterBuilder item) cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xb3d5 - // Code size 15 (0xf) + // Method begins at RVA 0xf290 + // Code size 25 (0x19) .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_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 line 472 - .method public hidebysig - instance default class NAnt.Core.Filters.FilterBuilderEnumerator GetEnumerator () cil managed + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_XmlFile () cil managed { - // Method begins at RVA 0xb3e8 + // Method begins at RVA 0xf2ac // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Filters.FilterBuilderEnumerator V_0) + class [mscorlib]System.IO.FileInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Filters.FilterBuilderEnumerator::'.ctor'(class NAnt.Core.Filters.FilterBuilderCollection) + 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 FilterBuilderCollection::GetEnumerator + } // end of method XmlPeekTask::get_XmlFile // method line 473 - .method public hidebysig - instance default void Remove (class NAnt.Core.Filters.FilterBuilder item) cil managed - { - // Method begins at RVA 0xb403 - // 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 - - .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 474 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilderCollection arguments) cil managed - { - // Method begins at RVA 0xb414 - // 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 - - // method line 475 .method public hidebysig specialname - instance default class NAnt.Core.Filters.FilterBuilder get_Current () cil managed - { - // Method begins at RVA 0xb438 - // 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_0017: ldloc.0 - IL_0018: ret - } // end of method FilterBuilderEnumerator::get_Current - - // method line 476 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0xb460 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // 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 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FilterBuilderEnumerator::System.Collections.IEnumerator.get_Current - - // method line 477 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0xb480 - // 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_0012: ldloc.0 - IL_0013: ret - } // end of method FilterBuilderEnumerator::MoveNext - - // method line 478 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0xb4a0 - .override class [mscorlib]System.Collections.IEnumerator::MoveNext - // 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_0012: ldloc.0 - IL_0013: ret - } // end of method FilterBuilderEnumerator::System.Collections.IEnumerator.MoveNext - - // method line 479 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0xb4c0 - // 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 - - // method line 480 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + instance default void set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xb4ce - .override class [mscorlib]System.Collections.IEnumerator::Reset - // Code size 13 (0xd) + // Method begins at RVA 0xf2c7 + // Code size 9 (0x9) .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 - - .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 -} - -.namespace NAnt.Core.Filters -{ - .class public auto ansi beforefieldinit ReplaceTokens - 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 74 6F 6B 65 6E 73 // ...replacetokens - 00 00 ) // .. - - .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 481 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xb4dc - // Code size 48 (0x30) - .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_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 line 482 + // method line 474 .method public hidebysig specialname - instance default char get_BeginToken () cil managed + instance default int32 get_NodeIndex () cil managed { - // Method begins at RVA 0xb510 + // Method begins at RVA 0xf2d4 // Code size 15 (0xf) .maxstack 1 .locals init ( - char V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld char NAnt.Core.Filters.ReplaceTokens::_beginToken + 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 ReplaceTokens::get_BeginToken + } // end of method XmlPeekTask::get_NodeIndex - // method line 483 + // method line 475 .method public hidebysig specialname - instance default void set_BeginToken (char 'value') cil managed + instance default void set_NodeIndex (int32 'value') cil managed { - // Method begins at RVA 0xb52b + // Method begins at RVA 0xf2ef // 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 int32 NAnt.Core.Tasks.XmlPeekTask::_nodeIndex IL_0008: ret - } // end of method ReplaceTokens::set_BeginToken + } // end of method XmlPeekTask::set_NodeIndex - // method line 484 + // method line 476 .method public hidebysig specialname - instance default char get_EndToken () cil managed + instance default string get_Property () cil managed { - // Method begins at RVA 0xb538 + // Method begins at RVA 0xf2fc // Code size 15 (0xf) .maxstack 1 .locals init ( - char V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld char NAnt.Core.Filters.ReplaceTokens::_endToken + 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 ReplaceTokens::get_EndToken + } // end of method XmlPeekTask::get_Property - // method line 485 + // method line 477 .method public hidebysig specialname - instance default void set_EndToken (char 'value') cil managed + instance default void set_Property (string 'value') cil managed { - // Method begins at RVA 0xb553 + // Method begins at RVA 0xf317 // 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 string NAnt.Core.Tasks.XmlPeekTask::_property IL_0008: ret - } // end of method ReplaceTokens::set_EndToken + } // end of method XmlPeekTask::set_Property - // method line 486 + // method line 478 .method public hidebysig specialname - instance default class NAnt.Core.Types.Token[] get_Tokens () cil managed + instance default string get_XPath () cil managed { - // Method begins at RVA 0xb560 + // Method begins at RVA 0xf324 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.Token[] V_0) + string 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 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 ReplaceTokens::get_Tokens + } // end of method XmlPeekTask::get_XPath - // method line 487 + // method line 479 .method public hidebysig specialname - instance default void set_Tokens (class NAnt.Core.Types.Token[] 'value') cil managed + instance default void set_XPath (string 'value') cil managed { - // Method begins at RVA 0xb57b + // Method begins at RVA 0xf33f // 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 string NAnt.Core.Tasks.XmlPeekTask::_xPath IL_0008: ret - } // end of method ReplaceTokens::set_Tokens + } // end of method XmlPeekTask::set_XPath - // method line 488 + // method line 480 .method public hidebysig specialname - instance default bool get_IgnoreCase () cil managed + instance default class NAnt.Core.Types.XmlNamespaceCollection get_Namespaces () cil managed { - // Method begins at RVA 0xb588 + // Method begins at RVA 0xf34c // 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: ldfld bool NAnt.Core.Filters.ReplaceTokens::_ignoreCase + 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 ReplaceTokens::get_IgnoreCase + } // end of method XmlPeekTask::get_Namespaces - // method line 489 + // method line 481 .method public hidebysig specialname - instance default void set_IgnoreCase (bool 'value') cil managed + instance default void set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed { - // Method begins at RVA 0xb5a3 + // Method begins at RVA 0xf367 // 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_0003: stfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPeekTask::_namespaces IL_0008: ret - } // end of method ReplaceTokens::set_IgnoreCase - - // method line 490 - .method public virtual hidebysig - instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed - { - // Method begins at RVA 0xb5ad - // 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 + } // end of method XmlPeekTask::set_Namespaces - // method line 491 - .method public virtual hidebysig - instance default int32 Read () cil managed + // method line 482 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xb5cc - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xf374 + // Code size 218 (0xda) + .maxstack 7 .locals init ( - int32 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: 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: 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_0013: ldloc.0 - IL_0014: ret - } // end of method ReplaceTokens::Read - - // method line 492 - .method public virtual hidebysig - instance default int32 Peek () cil managed - { - // Method begins at RVA 0xb5ed - // 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 - - // method line 493 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0xb600 - // 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 - - 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_0020: ldloc.0 - IL_0021: callvirt instance bool class NAnt.Core.Types.Token::get_UnlessDefined() - IL_0026: brtrue IL_006d - - 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_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: 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_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_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 + } // 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 494 + // method line 483 .method private hidebysig - instance default string FindTokenContents ([out] bool& tokenNotFound, [out] bool& unknownToken, [out] bool& streamEnded) cil managed + instance default class [System.Xml]System.Xml.XmlDocument LoadDocument (string fileName) cil managed { - // Method begins at RVA 0xb6cc - // Code size 385 (0x181) + // Method begins at RVA 0xf478 + // Code size 62 (0x3e) .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) + 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: ldc.i4.0 + IL_0001: ldnull 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 - - 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_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_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_006a: nop - IL_006b: ldc.i4.1 - IL_006c: stloc.2 - IL_006d: br IL_00dd - - 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_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_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_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_00dd: ldloc.2 - IL_00de: brfalse IL_0165 - - 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_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 + .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_017e: ldloc.s 4 - IL_0180: ret - } // end of method ReplaceTokens::FindTokenContents + } // 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 495 + // method line 484 .method private hidebysig - instance default int32 GetNextCharacter (class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate AcquireChar) cil managed + instance default string GetNodeContents (string xpath, class [System.Xml]System.Xml.XmlDocument document, int32 nodeIndex) cil managed { - // Method begins at RVA 0xb85c - // Code size 386 (0x182) - .maxstack 5 + // Method begins at RVA 0xf4d4 + // Code size 528 (0x210) + .maxstack 8 .locals init ( - int32 V_0, - int32 V_1, - int32 V_2) + 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: ldfld string NAnt.Core.Filters.ReplaceTokens::_outputBuffer - IL_0007: brtrue IL_001a + 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_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_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_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_003d: ldloc.s 4 + IL_003f: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_UnlessDefined() + IL_0044: brtrue IL_005f - IL_0031: nop - IL_0032: ldarg.0 - IL_0033: ldfld bool NAnt.Core.Filters.ReplaceTokens::_tokenNotFound - IL_0038: brfalse IL_008e + 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_003d: ldarg.0 - IL_003e: ldfld bool NAnt.Core.Filters.ReplaceTokens::_unknownToken - IL_0043: brfalse IL_008e + IL_006c: leave IL_0088 - 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 + } // 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_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_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_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 + } // 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 - IL_00b1: nop - IL_00b2: br IL_00ed + 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_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_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_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_013e: ldstr "s" + IL_0143: br IL_014d - IL_00e4: nop - IL_00e5: ldc.i4.m1 - IL_00e6: stloc.2 - IL_00e7: br IL_0180 + 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_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_015e: nop + IL_015f: ldarg.3 + IL_0160: ldloc.2 + IL_0161: blt IL_018d - 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_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_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_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_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_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_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_01cc: nop + IL_01cd: br IL_0205 - 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_01d2: nop + IL_01d3: ldloc.1 + IL_01d4: isinst [mscorlib]System.IFormattable + IL_01d9: brfalse IL_01fb - IL_0178: nop - IL_0179: ldloc.0 - IL_017a: stloc.2 - IL_017b: br IL_0180 + 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_0180: ldloc.2 - IL_0181: ret - } // end of method ReplaceTokens::GetNextCharacter + 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 - // method line 496 - .method private hidebysig - instance default bool CompareCharacters (int32 char1, int32 char2) cil managed - { - // Method begins at RVA 0xb9ec - // Code size 48 (0x30) - .maxstack 2 - .locals init ( - bool 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_020d: ldloc.s 13 + IL_020f: ret + } // end of method XmlPeekTask::GetNodeContents - 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 + .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_0023: nop - IL_0024: ldarg.1 - IL_0025: ldarg.2 - IL_0026: ceq - IL_0028: stloc.0 - IL_0029: br IL_002e + .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. - IL_002e: ldloc.0 - IL_002f: ret - } // end of method ReplaceTokens::CompareCharacters + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ - .property instance char BeginToken () + .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 0A 62 65 67 69 6E 74 6F 6B 65 6E 00 00 ) // ...begintoken.. + .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 char NAnt.Core.Filters.ReplaceTokens::get_BeginToken () - .set instance default void NAnt.Core.Filters.ReplaceTokens::set_BeginToken (char 'value') + .get instance default string NAnt.Core.Tasks.XmlPeekTask::get_Property () + .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_Property (string 'value') } - .property instance char EndToken () + .property instance string XPath () { - .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.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 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') + .get instance default string NAnt.Core.Tasks.XmlPeekTask::get_XPath () + .set instance default void NAnt.Core.Tasks.XmlPeekTask::set_XPath (string 'value') } - .property instance bool IgnoreCase () + .property instance class NAnt.Core.Types.XmlNamespaceCollection Namespaces () { - .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 ) // .... + .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 bool NAnt.Core.Filters.ReplaceTokens::get_IgnoreCase () - .set instance default void NAnt.Core.Filters.ReplaceTokens::set_IgnoreCase (bool 'value') + .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') } - .class nested private auto ansi sealed AcquireCharDelegate - extends [mscorlib]System.MulticastDelegate - { - - // method line 497 - .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 498 - .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 499 - .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 500 - .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.ReplaceTokens + } // end of class NAnt.Core.Tasks.XmlPeekTask } -.namespace NAnt.Core.Filters +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit ReplaceString - extends NAnt.Core.Filters.Filter + .class public auto ansi beforefieldinit PropertyTask + 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 08 70 72 6F 70 65 72 74 79 00 00 ) // ...property.. - .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 _name + .field private string _value + .field private bool _readOnly + .field private bool _dynamic + .field private bool _overwrite - // method line 501 + // method line 485 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xba28 - // Code size 32 (0x20) + // Method begins at RVA 0xf70c + // Code size 25 (0x19) .maxstack 8 IL_0000: ldarg.0 IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NAnt.Core.Filters.ReplaceString::_to + IL_0006: stfld string NAnt.Core.Tasks.PropertyTask::_value IL_000b: ldarg.0 - IL_000c: ldc.i4.0 - IL_000d: stfld int32 NAnt.Core.Filters.ReplaceString::_bufferPosition + IL_000c: ldc.i4.1 + IL_000d: stfld bool NAnt.Core.Tasks.PropertyTask::_overwrite 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_0013: call instance void class NAnt.Core.Task::'.ctor'() + IL_0018: ret + } // end of method PropertyTask::.ctor - // method line 502 + // method line 486 .method public hidebysig specialname - instance default string get_From () cil managed + instance default string get_PropertyName () cil managed { - // Method begins at RVA 0xba4c + // Method begins at RVA 0xf728 // 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::_from + 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 ReplaceString::get_From + } // end of method PropertyTask::get_PropertyName - // method line 503 + // method line 487 .method public hidebysig specialname - instance default void set_From (string 'value') cil managed + instance default void set_PropertyName (string 'value') cil managed { - // Method begins at RVA 0xba67 + // Method begins at RVA 0xf743 // 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 string NAnt.Core.Tasks.PropertyTask::_name IL_0008: ret - } // end of method ReplaceString::set_From + } // end of method PropertyTask::set_PropertyName - // method line 504 + // method line 488 .method public hidebysig specialname - instance default string get_To () cil managed + instance default string get_Value () cil managed { - // Method begins at RVA 0xba74 + // Method begins at RVA 0xf750 // 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.PropertyTask::_value 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 PropertyTask::get_Value - // method line 505 + // method line 489 .method public hidebysig specialname - instance default void set_To (string 'value') cil managed + instance default void set_Value (string 'value') cil managed { - // Method begins at RVA 0xba8f + // Method begins at RVA 0xf76b // 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::_to + IL_0003: stfld string NAnt.Core.Tasks.PropertyTask::_value IL_0008: ret - } // end of method ReplaceString::set_To + } // end of method PropertyTask::set_Value - // method line 506 + // method line 490 .method public hidebysig specialname - instance default bool get_IgnoreCase () cil managed + instance default bool get_ReadOnly () cil managed { - // Method begins at RVA 0xba9c + // Method begins at RVA 0xf778 // 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.ReplaceString::_ignoreCase + 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 ReplaceString::get_IgnoreCase + } // end of method PropertyTask::get_ReadOnly - // method line 507 + // method line 491 .method public hidebysig specialname - instance default void set_IgnoreCase (bool 'value') cil managed + instance default void set_ReadOnly (bool 'value') cil managed { - // Method begins at RVA 0xbab7 + // Method begins at RVA 0xf793 // 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 bool NAnt.Core.Tasks.PropertyTask::_readOnly IL_0008: ret - } // end of method ReplaceString::set_IgnoreCase - - // method line 508 - .method public virtual hidebysig - instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed - { - // Method begins at RVA 0xbac1 - // 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 + } // end of method PropertyTask::set_ReadOnly - // method line 509 - .method public virtual hidebysig - instance default int32 Read () cil managed + // method line 492 + .method public hidebysig specialname + instance default bool get_Dynamic () cil managed { - // Method begins at RVA 0xbae0 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xf7a0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + bool 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 bool NAnt.Core.Tasks.PropertyTask::_dynamic + 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 PropertyTask::get_Dynamic - // method line 510 - .method public virtual hidebysig - instance default int32 Peek () cil managed + // method line 493 + .method public hidebysig specialname + instance default void set_Dynamic (bool 'value') cil managed { - // Method begins at RVA 0xbb01 - // Code size 17 (0x11) + // Method begins at RVA 0xf7bb + // 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 ReplaceString::Peek + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.PropertyTask::_dynamic + IL_0008: ret + } // end of method PropertyTask::set_Dynamic - // method line 511 - .method private hidebysig - instance default bool FindString (int32 startChar, [out] bool& streamEnded, [out] string& nonMatchingChars) cil managed + // method line 494 + .method public hidebysig specialname + instance default bool get_Overwrite () cil managed { - // Method begins at RVA 0xbb14 - // Code size 164 (0xa4) - .maxstack 4 + // Method begins at RVA 0xf7c8 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - int32 V_1, - int32 V_2, - bool V_3) + bool V_0) 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_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_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Tasks.PropertyTask::_overwrite + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_009b: ldc.i4.1 - IL_009c: stloc.3 - IL_009d: br IL_00a2 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PropertyTask::get_Overwrite - IL_00a2: ldloc.3 - IL_00a3: ret - } // end of method ReplaceString::FindString + // method line 495 + .method public hidebysig specialname + instance default void set_Overwrite (bool 'value') cil managed + { + // Method begins at RVA 0xf7e3 + // 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_0008: ret + } // end of method PropertyTask::set_Overwrite - // method line 512 - .method private hidebysig - instance default int32 GetNextCharacter (class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate AcquireChar) cil managed + // method line 496 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xbbc4 - // Code size 397 (0x18d) - .maxstack 4 + // Method begins at RVA 0xf7f0 + // Code size 726 (0x2d6) + .maxstack 7 .locals init ( - int32 V_0, - int32 V_1, - int32 V_2) + 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: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer - IL_0007: brtrue IL_001a + IL_0002: call instance bool class NAnt.Core.Tasks.PropertyTask::get_Dynamic() + IL_0007: brtrue IL_002b 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_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_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_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_0031: nop - IL_0032: ldarg.0 - IL_0033: ldfld bool NAnt.Core.Filters.ReplaceString::_stringNotFound - IL_0038: brfalse IL_0083 + 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_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_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_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: 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_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_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_00a6: nop - IL_00a7: br IL_00e2 + 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_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_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_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_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_00d9: nop - IL_00da: ldc.i4.m1 - IL_00db: stloc.2 - IL_00dc: br IL_018b + IL_012c: leave IL_0148 - 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 + } // 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_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_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_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_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_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_01d0: nop + IL_01d1: ldarg.0 + IL_01d2: call instance bool class NAnt.Core.Tasks.PropertyTask::get_ReadOnly() + IL_01d7: brfalse IL_01f5 - 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_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_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_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_0183: nop - IL_0184: ldloc.0 - IL_0185: stloc.2 - IL_0186: br IL_018b + 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_018b: ldloc.2 - IL_018c: ret - } // end of method ReplaceString::GetNextCharacter + IL_022d: nop + IL_022e: ldarg.0 + IL_022f: call instance bool class NAnt.Core.Tasks.PropertyTask::get_Overwrite() + IL_0234: brfalse IL_02b3 - // method line 513 - .method private hidebysig - instance default bool CompareCharacters (int32 char1, int32 char2) cil managed - { - // Method begins at RVA 0xbd60 - // 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_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_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_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_0023: nop - IL_0024: ldarg.1 - IL_0025: ldarg.2 - IL_0026: ceq - IL_0028: stloc.0 - IL_0029: br IL_002e + 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_002e: ldloc.0 - IL_002f: ret - } // end of method ReplaceString::CompareCharacters + 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 - .property instance string From () + 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 66 72 6F 6D 01 00 54 02 08 52 65 71 75 // ...from..T..Requ + 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.Filters.ReplaceString::get_From () - .set instance default void NAnt.Core.Filters.ReplaceString::set_From (string '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 string To () + .property instance string Value () { .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. + 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.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.Filters.ReplaceString::get_To () - .set instance default void NAnt.Core.Filters.ReplaceString::set_To (string '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 IgnoreCase () + .property instance bool ReadOnly () { .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. + 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.Filters.ReplaceString::get_IgnoreCase () - .set instance default void NAnt.Core.Filters.ReplaceString::set_IgnoreCase (bool 'value') + .get instance default bool NAnt.Core.Tasks.PropertyTask::get_ReadOnly () + .set instance default void NAnt.Core.Tasks.PropertyTask::set_ReadOnly (bool 'value') } - .class nested private auto ansi sealed AcquireCharDelegate - extends [mscorlib]System.MulticastDelegate - { - - // method line 514 - .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 515 - .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 + .property instance bool Dynamic () + { + .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. - // method line 516 - .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 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 517 - .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 + .get instance default bool NAnt.Core.Tasks.PropertyTask::get_Dynamic () + .set instance default void NAnt.Core.Tasks.PropertyTask::set_Dynamic (bool '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 01 00 54 02 // ...overwrite..T. + 08 52 65 71 75 69 72 65 64 00 ) // .Required. - } // end of class AcquireCharDelegate + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end of class NAnt.Core.Filters.ReplaceString + .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.Filters +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit TabsToSpaces - extends NAnt.Core.Filters.Filter + .class public auto ansi beforefieldinit NAntTask + extends NAnt.Core.Task { - .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 ) // . + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6E 61 6E 74 00 00 ) // ...nant.. - .field private int32 _tabLength - .field private int32 _spacesRemaining - .field private class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate ReadChar + .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 518 + // method line 497 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xbd9c - // Code size 14 (0xe) + // Method begins at RVA 0xfae4 + // Code size 36 (0x24) .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: 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 519 + // method line 498 .method public hidebysig specialname - instance default int32 get_TabLength () cil managed + instance default class [mscorlib]System.IO.FileInfo get_BuildFile () cil managed { - // Method begins at RVA 0xbdac + // Method begins at RVA 0xfb0c // 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: ldfld int32 NAnt.Core.Filters.TabsToSpaces::_tabLength + 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 TabsToSpaces::get_TabLength + } // end of method NAntTask::get_BuildFile - // method line 520 + // method line 499 .method public hidebysig specialname - instance default void set_TabLength (int32 'value') cil managed + instance default void set_BuildFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xbdc7 + // Method begins at RVA 0xfb27 // 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_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.NAntTask::_buildFile IL_0008: ret - } // end of method TabsToSpaces::set_TabLength + } // end of method NAntTask::set_BuildFile - // method line 521 - .method public virtual hidebysig - instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed + // method line 500 + .method public hidebysig specialname + instance default string get_DefaultTarget () cil managed { - // Method begins at RVA 0xbdd1 - // Code size 27 (0x1b) - .maxstack 8 + // Method begins at RVA 0xfb34 + // 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 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 string NAnt.Core.Tasks.NAntTask::_target + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 522 - .method public virtual hidebysig - instance default int32 Peek () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntTask::get_DefaultTarget + + // method line 501 + .method public hidebysig specialname + instance default void set_DefaultTarget (string 'value') cil managed { - // Method begins at RVA 0xbded - // Code size 17 (0x11) + // Method begins at RVA 0xfb4f + // 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 TabsToSpaces::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.NAntTask::_target + IL_000d: ret + } // end of method NAntTask::set_DefaultTarget - // method line 523 - .method public virtual hidebysig - instance default int32 Read () cil managed + // method line 502 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.Types.FileSet get_BuildFiles () cil managed { - // Method begins at RVA 0xbe00 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0xfb60 + // 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.NAntTask::_buildFiles + 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 NAntTask::get_BuildFiles - // method line 524 - .method private hidebysig - instance default int32 GetNextCharacter (class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate AcquireChar) cil managed + // method line 503 + .method public virtual hidebysig newslot specialname + instance default void set_BuildFiles (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0xbe24 - // Code size 84 (0x54) - .maxstack 3 - .locals init ( - int32 V_0, - int32 V_1) + // Method begins at RVA 0xfb7b + // 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_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 - - 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_0033: nop - IL_0034: ldloc.0 - IL_0035: stloc.1 - IL_0036: br IL_0052 - - 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_0052: ldloc.1 - IL_0053: ret - } // end of method TabsToSpaces::GetNextCharacter - - .property instance int32 TabLength () - { - .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.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 int32 NAnt.Core.Filters.TabsToSpaces::get_TabLength () - .set instance default void NAnt.Core.Filters.TabsToSpaces::set_TabLength (int32 'value') - } - .class nested private auto ansi sealed AcquireCharDelegate - extends [mscorlib]System.MulticastDelegate - { - - // method line 525 - .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 526 - .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 527 - .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_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 line 528 - .method public virtual hidebysig newslot - instance default int32 EndInvoke (class [mscorlib]System.IAsyncResult result) runtime managed + // method line 504 + .method public hidebysig specialname + instance default bool get_InheritAll () 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.TabsToSpaces -} - -.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 begins at RVA 0xfb88 + // 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::_inheritAll + 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 NAntTask::get_InheritAll - // method line 529 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 505 + .method public hidebysig specialname + instance default void set_InheritAll (bool 'value') cil managed { - // Method begins at RVA 0xbe84 - // Code size 7 (0x7) + // Method begins at RVA 0xfba3 + // 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 bool NAnt.Core.Tasks.NAntTask::_inheritAll + IL_0008: ret + } // end of method NAntTask::set_InheritAll - // method line 530 - .method private hidebysig specialname - instance default bool get_AtEnd () cil managed + // method line 506 + .method public hidebysig specialname + instance default bool get_InheritRefs () cil managed { - // Method begins at RVA 0xbe8c - // Code size 23 (0x17) - .maxstack 2 + // Method begins at RVA 0xfbb0 + // 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: ldfld bool NAnt.Core.Tasks.NAntTask::_inheritRefs + 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 NAntTask::get_InheritRefs - // method line 531 - .method public virtual hidebysig - instance default void InitializeFilter () cil managed + // method line 507 + .method public hidebysig specialname + instance default void set_InheritRefs (bool 'value') cil managed { - // Method begins at RVA 0xbeaf - // Code size 24 (0x18) + // Method begins at RVA 0xfbcb + // 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: stfld bool NAnt.Core.Tasks.NAntTask::_inheritRefs + IL_0008: ret + } // end of method NAntTask::set_InheritRefs - // method line 532 - .method public virtual hidebysig - instance default int32 Read () cil managed + // method line 508 + .method public hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_OverrideProperties () cil managed { - // Method begins at RVA 0xbec8 - // Code size 36 (0x24) + // Method begins at RVA 0xfbd8 + // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0, - int32 V_1) + class [mscorlib]System.Collections.ArrayList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class NAnt.Core.Filters.ChainableReader::Peek() + IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Tasks.NAntTask::_overrideProperties 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_0008: br IL_000d - IL_0022: ldloc.1 - IL_0023: ret - } // end of method ExpandProperties::Read + IL_000d: ldloc.0 + IL_000e: ret + } // end of method NAntTask::get_OverrideProperties - // method line 533 - .method public virtual hidebysig - instance default int32 Peek () cil managed + // method line 509 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0xbef8 - // Code size 41 (0x29) - .maxstack 2 - .locals init ( - int32 V_0) + // Method begins at RVA 0xfbf4 + // Code size 84 (0x54) + .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_0014 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntTask::get_BuildFile() + IL_0007: brfalse IL_0053 - IL_000c: nop - IL_000d: ldc.i4.m1 - IL_000e: stloc.0 - IL_000f: br IL_0027 + 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 - 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_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 - IL_0027: ldloc.0 - IL_0028: ret - } // end of method ExpandProperties::Peek + 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 534 - .method private hidebysig - instance default void Advance () cil managed + // method line 510 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xbf30 - // Code size 73 (0x49) + // Method begins at RVA 0xfc54 + // Code size 157 (0x9d) .maxstack 3 + .locals init ( + 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 instance bool class NAnt.Core.Filters.ExpandProperties::get_AtEnd() - IL_0007: brfalse IL_001d + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Tasks.NAntTask::get_BuildFile() + IL_0007: brfalse IL_001f 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_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_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 + 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 line 535 + 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_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_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_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 + + 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 511 .method private hidebysig - instance default void ReplenishBuffer () cil managed + instance default void RunBuild (class [mscorlib]System.IO.FileInfo buildFile) cil managed { - // Method begins at RVA 0xbf88 - // Code size 273 (0x111) - .maxstack 5 + // Method begins at RVA 0xfd10 + // Code size 490 (0x1ea) + .maxstack 7 .locals init ( - bool V_0, - int32 V_1, - string V_2, - int32 V_3, - int32 V_4, - string V_5) + 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: ldc.i4.1 - IL_0002: stloc.0 - IL_0003: br IL_0031 + 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_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_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_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_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_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_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_0046: ldloc.0 - IL_0047: brtrue IL_0008 + IL_012e: leave IL_0149 - 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 + } // 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_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_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_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 + 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 - .property instance bool AtEnd () - { - .get instance default bool NAnt.Core.Filters.ExpandProperties::get_AtEnd () - } - } // end of class NAnt.Core.Filters.ExpandProperties -} + 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[] 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 -.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_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 - // method line 536 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xc122 - // 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 + IL_01d1: nop + IL_01d2: ldloc.0 + IL_01d3: callvirt instance bool class NAnt.Core.Project::Run() + IL_01d8: brtrue IL_01e9 - } // end of class NAnt.Core.Attributes.TaskNameAttribute -} + 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 -.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. + .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.. - .field private string _elementName + .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 537 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string collectionName, string childName) cil managed - { - // Method begins at RVA 0xc248 - // 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 + .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.. - 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 + .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.. - 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 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 538 - .method public hidebysig specialname - instance default string get_ChildElementName () cil managed - { - // Method begins at RVA 0xc2a0 - // 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.BuildElementCollectionAttribute::_elementName - IL_0007: stloc.0 - IL_0008: br IL_000d + .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.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method BuildElementCollectionAttribute::get_ChildElementName + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .property instance string ChildElementName () + .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 () { - .get instance default string NAnt.Core.Attributes.BuildElementCollectionAttribute::get_ChildElementName () + .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.Attributes.BuildElementCollectionAttribute + } // end of class NAnt.Core.Tasks.NAntTask } -.namespace NAnt.Core.Attributes +.namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit ElementNameAttribute - extends [mscorlib]System.Attribute + .class public auto ansi beforefieldinit SleepTask + extends NAnt.Core.Task { - .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. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 73 6C 65 65 70 00 00 ) // ...sleep.. - .field private string _name + .field private int32 _hours + .field private int32 _minutes + .field private int32 _seconds + .field private int32 _milliseconds - // method line 539 + // method line 512 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xc0a5 - // Code size 15 (0xf) + // Method begins at RVA 0xff18 + // Code size 35 (0x23) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() - IL_0006: nop + IL_0001: ldc.i4.0 + IL_0002: stfld int32 NAnt.Core.Tasks.SleepTask::_hours 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 + 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 540 + // method line 513 .method public hidebysig specialname - instance default string get_Name () cil managed + instance default int32 get_Hours () cil managed { - // Method begins at RVA 0xc0b8 + // Method begins at RVA 0xff3c // 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.Attributes.ElementNameAttribute::_name + 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 ElementNameAttribute::get_Name + } // end of method SleepTask::get_Hours - // method line 541 + // method line 514 .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed - { - // Method begins at RVA 0xc0d4 - // 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 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. - - - // method line 542 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void set_Hours (int32 'value') cil managed { - // Method begins at RVA 0xc2c3 - // Code size 8 (0x8) + // Method begins at RVA 0xff57 + // Code size 9 (0x9) .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 - - // method line 543 - .method public virtual hidebysig - instance default void Validate (object 'value') cil managed - { - // Method begins at RVA 0xc2cc - // 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 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 544 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xc12c - // 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 + 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 - // method line 545 + // method line 515 .method public hidebysig specialname - instance default string get_Name () cil managed + instance default int32 get_Minutes () cil managed { - // Method begins at RVA 0xc144 + // Method begins at RVA 0xff64 // 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.Attributes.BuildElementAttribute::_name + 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 BuildElementAttribute::get_Name + } // end of method SleepTask::get_Minutes - // method line 546 + // method line 516 .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed + instance default void set_Minutes (int32 'value') cil managed { - // Method begins at RVA 0xc160 - // Code size 66 (0x42) - .maxstack 3 + // Method begins at RVA 0xff7f + // Code size 9 (0x9) + .maxstack 8 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 + 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 - // method line 547 + // method line 517 .method public hidebysig specialname - instance default bool get_Required () cil managed + instance default int32 get_Seconds () cil managed { - // Method begins at RVA 0xc1b0 + // Method begins at RVA 0xff8c // 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.Attributes.BuildElementAttribute::_required + 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 BuildElementAttribute::get_Required + } // end of method SleepTask::get_Seconds - // method line 548 + // method line 518 .method public hidebysig specialname - instance default void set_Required (bool 'value') cil managed + instance default void set_Seconds (int32 'value') cil managed { - // Method begins at RVA 0xc1cb + // Method begins at RVA 0xffa7 // 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: stfld int32 NAnt.Core.Tasks.SleepTask::_seconds IL_0008: ret - } // end of method BuildElementAttribute::set_Required + } // end of method SleepTask::set_Seconds - // method line 549 + // method line 519 .method public hidebysig specialname - instance default bool get_ProcessXml () cil managed + instance default int32 get_Milliseconds () cil managed { - // Method begins at RVA 0xc1d8 + // Method begins at RVA 0xffb4 // 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.Attributes.BuildElementAttribute::_processXml + 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 BuildElementAttribute::get_ProcessXml + } // end of method SleepTask::get_Milliseconds - // method line 550 + // method line 520 .method public hidebysig specialname - instance default void set_ProcessXml (bool 'value') cil managed + instance default void set_Milliseconds (int32 'value') cil managed { - // Method begins at RVA 0xc1f3 + // Method begins at RVA 0xffcf // 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 int32 NAnt.Core.Tasks.SleepTask::_milliseconds IL_0008: ret - } // end of method BuildElementAttribute::set_ProcessXml + } // end of method SleepTask::set_Milliseconds - .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 521 + .method family virtual hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0xffd9 + // 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 -.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. + 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 522 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0xfffc + // 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 551 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 523 + .method private hidebysig + instance default int32 GetSleepTime () cil managed + { + // Method begins at RVA 0x10038 + // 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 524 + .method private hidebysig + instance default void DoSleep (int32 millis) cil managed { - // Method begins at RVA 0xc320 + // Method begins at RVA 0x10074 // 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_0000: nop + IL_0001: ldarg.1 + IL_0002: call void class [mscorlib]System.Threading.Thread::Sleep(int32) IL_0007: ret - } // end of method BooleanValidatorAttribute::.ctor + } // end of method SleepTask::DoSleep - // method line 552 - .method public virtual hidebysig - instance default void Validate (object 'value') cil managed - { - // Method begins at RVA 0xc32c - // 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 + .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.. - } // 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 + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ - } // end of class NAnt.Core.Attributes.BooleanValidatorAttribute + .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.. + + .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_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.. + + .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_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 ) // . + + .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.Attributes +.namespace NAnt.Core.Tasks { - .class public auto ansi sealed beforefieldinit FunctionSetAttribute - extends [mscorlib]System.Attribute + .class public auto ansi beforefieldinit FailTask + extends NAnt.Core.Task { - .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. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 66 61 69 6C 00 00 ) // ...fail.. - .field private string _prefix - .field private string _category + .field private string _message + .field private string _contents - // method line 553 + // method line 525 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string prefix, string category) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xc380 - // Code size 126 (0x7e) - .maxstack 3 + // Method begins at RVA 0x1007d + // Code size 7 (0x7) + .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: 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: call instance void class NAnt.Core.Task::'.ctor'() + IL_0006: ret + } // end of method FailTask::.ctor - // method line 554 + // method line 526 .method public hidebysig specialname - instance default string get_Category () cil managed + instance default string get_Message () cil managed { - // Method begins at RVA 0xc40c + // Method begins at RVA 0x10088 // 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.FunctionSetAttribute::_category + IL_0002: ldfld string NAnt.Core.Tasks.FailTask::_message 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 FailTask::get_Message - // method line 555 + // method line 527 .method public hidebysig specialname - instance default void set_Category (string 'value') cil managed + instance default void set_Message (string 'value') cil managed { - // Method begins at RVA 0xc427 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x100a4 + // Code size 72 (0x48) + .maxstack 2 IL_0000: nop - 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 + IL_0001: ldarg.1 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brtrue IL_003e - // method line 556 + 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 + + // method line 528 .method public hidebysig specialname - instance default string get_Prefix () cil managed + instance default string get_Contents () cil managed { - // Method begins at RVA 0xc434 + // Method begins at RVA 0x100f8 // 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.FunctionSetAttribute::_prefix + 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 FunctionSetAttribute::get_Prefix + } // end of method FailTask::get_Contents - // method line 557 + // method line 529 .method public hidebysig specialname - instance default void set_Prefix (string 'value') cil managed + instance default void set_Contents (string 'value') cil managed { - // Method begins at RVA 0xc44f - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x10114 + // 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_Message() + 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::_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 530 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x10168 + // Code size 82 (0x52) + .maxstack 2 + .locals init ( + string V_0) 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_0002: call instance string class NAnt.Core.Tasks.FailTask::get_Message() + IL_0007: call bool string::IsNullOrEmpty(string) + IL_000c: brtrue IL_001f - .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_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 -.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_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 - .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_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_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 558 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed + // method line 531 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0xc459 - // Code size 9 (0x9) + // Method begins at RVA 0x101c6 + // Code size 36 (0x24) .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 + 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 - } // end of class NAnt.Core.Attributes.FileSetAttribute + .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.. + + .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 } -.namespace NAnt.Core.Attributes +.namespace NAnt.Core.Tasks { - .class public auto ansi sealed beforefieldinit FrameworkConfigurableAttribute - extends [mscorlib]System.Attribute + .class public auto ansi beforefieldinit RegexTask + extends NAnt.Core.Task { - .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 05 72 65 67 65 78 00 00 ) // ...regex.. - .field private string _name - .field private bool _required - .field private bool _expandProperties + .field private string _pattern + .field private string _input + .field private valuetype [System]System.Text.RegularExpressions.RegexOptions _options - // method line 559 + // method line 532 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xc463 - // Code size 22 (0x16) + // Method begins at RVA 0x101eb + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_expandProperties + 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 [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_0008: call instance void class NAnt.Core.Task::'.ctor'() + IL_000d: ret + } // end of method RegexTask::.ctor - // method line 560 + // method line 533 .method public hidebysig specialname - instance default string get_Name () cil managed + instance default string get_Pattern () cil managed { - // Method begins at RVA 0xc47c + // Method begins at RVA 0x101fc // 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_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 FrameworkConfigurableAttribute::get_Name + } // end of method RegexTask::get_Pattern - // method line 561 + // method line 534 .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed + instance default void set_Pattern (string 'value') cil managed { - // Method begins at RVA 0xc498 - // Code size 66 (0x42) - .maxstack 3 + // Method begins at RVA 0x10217 + // Code size 9 (0x9) + .maxstack 8 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.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_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_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Tasks.RegexTask::_pattern + IL_0008: ret + } // end of method RegexTask::set_Pattern - // method line 562 + // method line 535 .method public hidebysig specialname - instance default bool get_Required () cil managed + instance default valuetype [System]System.Text.RegularExpressions.RegexOptions get_Options () cil managed { - // Method begins at RVA 0xc4e8 + // Method begins at RVA 0x10224 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype [System]System.Text.RegularExpressions.RegexOptions V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::_required + 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 FrameworkConfigurableAttribute::get_Required + } // end of method RegexTask::get_Options - // method line 563 + // method line 536 .method public hidebysig specialname - instance default void set_Required (bool 'value') cil managed + instance default void set_Options (valuetype [System]System.Text.RegularExpressions.RegexOptions 'value') cil managed { - // Method begins at RVA 0xc503 + // Method begins at RVA 0x1023f // 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_0003: stfld valuetype [System]System.Text.RegularExpressions.RegexOptions NAnt.Core.Tasks.RegexTask::_options IL_0008: ret - } // end of method FrameworkConfigurableAttribute::set_Required + } // end of method RegexTask::set_Options - // method line 564 + // method line 537 .method public hidebysig specialname - instance default bool get_ExpandProperties () cil managed + instance default string get_Input () cil managed { - // Method begins at RVA 0xc510 + // Method begins at RVA 0x1024c // 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.FrameworkConfigurableAttribute::_expandProperties + 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 FrameworkConfigurableAttribute::get_ExpandProperties + } // end of method RegexTask::get_Input - // method line 565 + // method line 538 .method public hidebysig specialname - instance default void set_ExpandProperties (bool 'value') cil managed + instance default void set_Input (string 'value') cil managed { - // Method begins at RVA 0xc52b + // Method begins at RVA 0x10267 // 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_0003: stfld string NAnt.Core.Tasks.RegexTask::_input IL_0008: ret - } // end of method FrameworkConfigurableAttribute::set_ExpandProperties + } // end of method RegexTask::set_Input - .property instance string Name () + // method line 539 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x10274 + // Code size 257 (0x101) + .maxstack 8 + .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) + 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 + + } // 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 () { - .get instance default string NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Name () - .set instance default void NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_Name (string 'value') + .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 bool Required () + .property instance valuetype [System]System.Text.RegularExpressions.RegexOptions Options () { - .get instance default bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required () - .set instance default void NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_Required (bool 'value') + .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 bool ExpandProperties () + .property instance string Input () { - .get instance default bool NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_ExpandProperties () - .set instance default void NAnt.Core.Attributes.FrameworkConfigurableAttribute::set_ExpandProperties (bool 'value') + .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.Attributes.FrameworkConfigurableAttribute + } // end of class NAnt.Core.Tasks.RegexTask } -.namespace NAnt.Core.Attributes +.namespace NAnt.Core.Tasks { - .class public auto ansi abstract beforefieldinit BuildAttributeAttribute - extends [mscorlib]System.Attribute + .class public auto ansi beforefieldinit ChooseTask + extends NAnt.Core.Task { - .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 06 63 68 6F 6F 73 65 00 00 ) // ...choose.. - .field private string _name - .field private bool _required - .field private bool _expandProperties - .field private bool _processXml + .field private class [mscorlib]System.Collections.Generic.List`1 _elementContainers - // method line 566 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed + // method line 540 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xc535 - // Code size 29 (0x1d) + // Method begins at RVA 0x10394 + // Code size 18 (0x12) + .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 + + // method line 541 + .method private hidebysig specialname + instance default bool get_IsFallbackDefined () cil managed + { + // Method begins at RVA 0x103a8 + // Code size 88 (0x58) + .maxstack 1 + .locals init ( + class NAnt.Core.ElementContainer V_0, + valuetype [mscorlib]System.Collections.Generic.List`1/Enumerator V_1, + bool 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_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 + + } // 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 542 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x1041c + // 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 543 + .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 0x104a8 + // Code size 59 (0x3b) + .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 + + // method line 544 + .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 0x104e4 + // 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 "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 + + .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 545 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x10510 + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Attributes.BuildAttributeAttribute::_expandProperties + IL_0002: stfld bool NAnt.Core.Tasks.ChooseTask/When::_test 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 + IL_0008: call instance void class NAnt.Core.ElementContainer::'.ctor'() + IL_000d: ret + } // end of method When::.ctor - // method line 567 + // method line 546 .method public hidebysig specialname - instance default string get_Name () cil managed + instance default bool get_Test () cil managed { - // Method begins at RVA 0xc554 + // Method begins at RVA 0x10520 // 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.Attributes.BuildAttributeAttribute::_name + 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 BuildAttributeAttribute::get_Name + } // end of method When::get_Test - // method line 568 + // method line 547 .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed + instance default void set_Test (bool 'value') cil managed { - // Method begins at RVA 0xc570 - // Code size 66 (0x42) - .maxstack 3 + // Method begins at RVA 0x1053b + // Code size 9 (0x9) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Tasks.ChooseTask/When::_test + IL_0008: ret + } // end of method When::set_Test - 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 + // method line 548 + .method public virtual hidebysig + instance default void Execute () cil managed + { + // Method begins at RVA 0x10545 + // 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_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 + IL_000c: nop + IL_000d: br IL_0018 - // method line 569 + 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 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 549 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1055f + // 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 550 .method public hidebysig specialname - instance default bool get_Required () cil managed + instance default string get_TargetName () cil managed { - // Method begins at RVA 0xc5c0 + // Method begins at RVA 0x10570 // 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.BuildAttributeAttribute::_required + 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 BuildAttributeAttribute::get_Required + } // end of method CallTask::get_TargetName - // method line 570 + // method line 551 .method public hidebysig specialname - instance default void set_Required (bool 'value') cil managed + instance default void set_TargetName (string 'value') cil managed { - // Method begins at RVA 0xc5db - // Code size 9 (0x9) + // Method begins at RVA 0x1058b + // Code size 14 (0xe) .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 + 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 571 + // method line 552 .method public hidebysig specialname - instance default bool get_ExpandProperties () cil managed + instance default bool get_ForceExecute () cil managed { - // Method begins at RVA 0xc5e8 + // Method begins at RVA 0x1059c // 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::_expandProperties + 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 BuildAttributeAttribute::get_ExpandProperties + } // end of method CallTask::get_ForceExecute - // method line 572 + // method line 553 .method public hidebysig specialname - instance default void set_ExpandProperties (bool 'value') cil managed + instance default void set_ForceExecute (bool 'value') cil managed { - // Method begins at RVA 0xc603 + // Method begins at RVA 0x105b7 // 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 bool NAnt.Core.Tasks.CallTask::_force IL_0008: ret - } // end of method BuildAttributeAttribute::set_ExpandProperties + } // end of method CallTask::set_ForceExecute - // method line 573 + // method line 554 .method public hidebysig specialname - instance default bool get_ProcessXml () cil managed + instance default bool get_CascadeDependencies () cil managed { - // Method begins at RVA 0xc610 + // Method begins at RVA 0x105c4 // 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.CallTask::_cascade 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 CallTask::get_CascadeDependencies - // method line 574 + // method line 555 .method public hidebysig specialname - instance default void set_ProcessXml (bool 'value') cil managed + instance default void set_CascadeDependencies (bool 'value') cil managed { - // Method begins at RVA 0xc62b + // Method begins at RVA 0x105df // 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.CallTask::_cascade 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 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. - + } // end of method CallTask::set_CascadeDependencies - // method line 575 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xc635 - // 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 of class NAnt.Core.Attributes.TaskAttributeAttribute -} - -.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 - - // method line 576 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xc640 - // 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_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_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 577 - .method public hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0xc690 - // 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.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 578 - .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed - { - // Method begins at RVA 0xc6ab - // Code size 9 (0x9) - .maxstack 8 - 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 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 579 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (valuetype NAnt.Core.Attributes.LocationType 'type') cil managed - { - // Method begins at RVA 0xc6b5 - // 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 580 - .method public hidebysig specialname - instance default valuetype NAnt.Core.Attributes.LocationType get_LocationType () cil managed - { - // Method begins at RVA 0xc6c8 - // 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_000d: ldloc.0 - IL_000e: ret - } // end of method ProgramLocationAttribute::get_LocationType - - // method line 581 - .method public hidebysig specialname - instance default void set_LocationType (valuetype NAnt.Core.Attributes.LocationType 'value') cil managed - { - // Method begins at RVA 0xc6e3 - // 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 582 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name) cil managed - { - // Method begins at RVA 0xc1fd - // 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 BuildElementArrayAttribute::.ctor - - // method line 583 - .method public hidebysig specialname - instance default class [mscorlib]System.Type get_ElementType () cil managed - { - // Method begins at RVA 0xc208 - // 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.Attributes.BuildElementArrayAttribute::_elementType - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method BuildElementArrayAttribute::get_ElementType - - // method line 584 - .method public hidebysig specialname - instance default void set_ElementType (class [mscorlib]System.Type 'value') cil managed - { - // Method begins at RVA 0xc223 - // Code size 33 (0x21) - .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 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 585 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xc6ed - // 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 586 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 minValue, int32 maxValue) cil managed - { - // Method begins at RVA 0xc714 - // 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 587 - .method public hidebysig specialname - instance default int32 get_MinValue () cil managed - { - // Method begins at RVA 0xc74c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_minValue - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Int32ValidatorAttribute::get_MinValue - - // method line 588 - .method public hidebysig specialname - instance default void set_MinValue (int32 'value') cil managed - { - // Method begins at RVA 0xc767 - // 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_0008: ret - } // end of method Int32ValidatorAttribute::set_MinValue - - // method line 589 - .method public hidebysig specialname - instance default int32 get_MaxValue () cil managed - { - // Method begins at RVA 0xc774 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_maxValue - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Int32ValidatorAttribute::get_MaxValue - - // method line 590 - .method public hidebysig specialname - instance default void set_MaxValue (int32 'value') cil managed - { - // Method begins at RVA 0xc78f - // 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 591 - .method public hidebysig specialname - instance default int32 get_Base () cil managed - { - // Method begins at RVA 0xc79c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Attributes.Int32ValidatorAttribute::_base - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Int32ValidatorAttribute::get_Base - - // method line 592 - .method public hidebysig specialname - instance default void set_Base (int32 'value') cil managed - { - // Method begins at RVA 0xc7b7 - // 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_0008: ret - } // end of method Int32ValidatorAttribute::set_Base - - // method line 593 - .method public virtual hidebysig - instance default void Validate (object 'value') cil managed + // method line 556 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xc7c4 + // Method begins at RVA 0x105ec // Code size 173 (0xad) - .maxstack 5 - .locals init ( - int32 V_0, - class [mscorlib]System.Exception 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_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 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 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 594 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xc890 - // Code size 15 (0xf) - .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 - - // method line 595 - .method public hidebysig specialname - instance default bool get_AllowEmpty () cil managed - { - // Method begins at RVA 0xc8a0 - // 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.StringValidatorAttribute::_allowEmpty - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StringValidatorAttribute::get_AllowEmpty - - // method line 596 - .method public hidebysig specialname - instance default void set_AllowEmpty (bool 'value') cil managed - { - // Method begins at RVA 0xc8bb - // Code size 9 (0x9) - .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 - - // method line 597 - .method public hidebysig specialname - instance default string get_Expression () cil managed - { - // Method begins at RVA 0xc8c8 - // 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_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StringValidatorAttribute::get_Expression - - // method line 598 - .method public hidebysig specialname - instance default void set_Expression (string 'value') cil managed - { - // Method begins at RVA 0xc8e3 - // 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::_expression - IL_0008: ret - } // end of method StringValidatorAttribute::set_Expression - - // method line 599 - .method public hidebysig specialname - instance default string get_ExpressionErrorMessage () cil managed - { - // Method begins at RVA 0xc8f0 - // Code size 15 (0xf) - .maxstack 1 + .maxstack 4 .locals init ( - string V_0) + class NAnt.Core.Target V_0, + class NAnt.Core.TargetCollection V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Attributes.StringValidatorAttribute::_expressionErrorMessage - IL_0007: stloc.0 - IL_0008: br IL_000d - + 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: ret - } // end of method StringValidatorAttribute::get_ExpressionErrorMessage - - // method line 600 - .method public hidebysig specialname - instance default void set_ExpressionErrorMessage (string 'value') cil managed - { - // Method begins at RVA 0xc90b - // 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 601 - .method public virtual hidebysig - instance default void Validate (object 'value') cil managed - { - // Method begins at RVA 0xc918 - // Code size 203 (0xcb) - .maxstack 3 - .locals init ( - string 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: 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_000e: brfalse IL_0095 - } // 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_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 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 -} - -.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 602 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xc2bb - // 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 603 - .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.Tasks -{ - .class public auto ansi beforefieldinit ExecTask - extends NAnt.Core.Tasks.ExternalProgramBase - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 65 78 65 63 00 00 ) // ...exec.. - - .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 604 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xde50 - // 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.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 605 - .method public hidebysig specialname - instance default string get_FileName () cil managed - { - // Method begins at RVA 0xde64 - // 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 - IL_000e: ret - } // end of method ExecTask::get_FileName - - // method line 606 - .method public hidebysig specialname - instance default void set_FileName (string 'value') cil managed - { - // Method begins at RVA 0xde7f - // 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.ExecTask::_program - IL_000d: ret - } // end of method ExecTask::set_FileName - - // method line 607 - .method public hidebysig specialname - instance default string get_CommandLineArguments () cil managed - { - // Method begins at RVA 0xde90 - // 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::_commandline - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_CommandLineArguments - - // method line 608 - .method public hidebysig specialname - instance default void set_CommandLineArguments (string 'value') cil managed - { - // Method begins at RVA 0xdeab - // 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.ExecTask::_commandline - IL_000d: ret - } // end of method ExecTask::set_CommandLineArguments - - // method line 609 - .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentSet get_EnvironmentSet () cil managed - { - // Method begins at RVA 0xdebc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.EnvironmentSet V_0) - 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_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_EnvironmentSet - - // method line 610 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_WorkingDirectory () cil managed - { - // Method begins at RVA 0xded8 - // Code size 39 (0x27) - .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.ExecTask::_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.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::_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 611 - .method public hidebysig specialname - instance default void set_WorkingDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0xdf0b - // 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::_workingDirectory - IL_0008: ret - } // end of method ExecTask::set_WorkingDirectory - - // method line 612 - .method public hidebysig specialname - instance default string get_ResultProperty () cil managed - { - // Method begins at RVA 0xdf18 - // 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::_resultProperty - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_ResultProperty - - // method line 613 - .method public hidebysig specialname - instance default void set_ResultProperty (string '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 string NAnt.Core.Tasks.ExecTask::_resultProperty - IL_0008: ret - } // end of method ExecTask::set_ResultProperty - - // method line 614 - .method public virtual hidebysig specialname - instance default bool get_UseRuntimeEngine () cil managed - { - // Method begins at RVA 0xdf40 - // 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.ExternalProgramBase::get_UseRuntimeEngine() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_UseRuntimeEngine - - // method line 615 - .method public virtual hidebysig specialname - instance default void set_UseRuntimeEngine (bool 'value') cil managed - { - // Method begins at RVA 0xdf5b - // 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.ExternalProgramBase::set_UseRuntimeEngine(bool) - IL_0008: ret - } // end of method ExecTask::set_UseRuntimeEngine - - // method line 616 - .method public virtual hidebysig specialname - instance default valuetype NAnt.Core.Types.ManagedExecution get_Managed () cil managed - { - // Method begins at RVA 0xdf68 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.Core.Types.ManagedExecution 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_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_Managed - - // method line 617 - .method public virtual hidebysig specialname - instance default void set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') cil managed - { - // Method begins at RVA 0xdf83 - // 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.ExternalProgramBase::set_Managed(valuetype NAnt.Core.Types.ManagedExecution) - IL_0008: ret - } // end of method ExecTask::set_Managed - - // method line 618 - .method public virtual hidebysig specialname - instance default string get_ProgramFileName () cil managed - { - // Method begins at RVA 0xdf90 - // Code size 127 (0x7f) - .maxstack 2 - .locals init ( - string V_0, - string V_1) - 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_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_001e: ldarg.0 - IL_001f: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.ExecTask::_baseDirectory - IL_0024: brtrue IL_005b - - 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_0047: nop - IL_0048: ldloc.1 - IL_0049: stloc.0 - IL_004a: br IL_007d - - 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_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_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_007d: ldloc.0 - IL_007e: ret - } // end of method ExecTask::get_ProgramFileName + 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 619 + // method line 557 .method family virtual hidebysig instance default void Initialize () cil managed { - // Method begins at RVA 0xe01c - // 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 - - IL_0018: nop - IL_0019: nop - IL_001a: nop - IL_001b: leave IL_004f - - } // 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 620 - .method public virtual hidebysig specialname - instance default string get_ProgramArguments () cil managed - { - // Method begins at RVA 0xe088 - // 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::_commandline - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_ProgramArguments - - // method line 621 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed - { - // Method begins at RVA 0xe0a4 - // Code size 39 (0x27) - .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.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 - - // method line 622 - .method public virtual hidebysig specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0xe0d7 - // 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 - - // method line 623 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Output () cil managed - { - // Method begins at RVA 0xe0e4 - // 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.ExecTask::_output - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_Output - - // method line 624 - .method public virtual hidebysig specialname - instance default void set_Output (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0xe0ff - // 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 - - // method line 625 - .method public virtual hidebysig specialname - instance default bool get_OutputAppend () cil managed - { - // Method begins at RVA 0xe10c - // 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.ExecTask::_outputAppend - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_OutputAppend - - // method line 626 - .method public virtual hidebysig specialname - instance default void set_OutputAppend (bool 'value') cil managed - { - // Method begins at RVA 0xe127 - // Code size 9 (0x9) - .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 - - // method line 627 - .method public virtual hidebysig specialname - instance default bool get_Spawn () cil managed - { - // Method begins at RVA 0xe134 - // 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.ExternalProgramBase::get_Spawn() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_Spawn - - // method line 628 - .method public virtual hidebysig specialname - instance default void set_Spawn (bool 'value') cil managed - { - // Method begins at RVA 0xe14f - // 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.ExternalProgramBase::set_Spawn(bool) - IL_0008: ret - } // end of method ExecTask::set_Spawn - - // method line 629 - .method public hidebysig specialname - instance default string get_ProcessIdProperty () cil managed - { - // Method begins at RVA 0xe15c - // 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 - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExecTask::get_ProcessIdProperty - - // method line 630 - .method public hidebysig specialname - instance default void set_ProcessIdProperty (string 'value') cil managed - { - // Method begins at RVA 0xe177 - // Code size 9 (0x9) - .maxstack 8 - 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 - - // method line 631 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0xe184 - // Code size 117 (0x75) - .maxstack 4 + // Method begins at RVA 0x106a8 + // Code size 70 (0x46) + .maxstack 2 .locals init ( - int32 V_0, - int32 V_1) + class NAnt.Core.Target V_0, + class NAnt.Core.Target 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 - - 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: 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 - // method line 632 - .method family virtual hidebysig - instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed - { - // Method begins at RVA 0xe208 - // Code size 371 (0x173) - .maxstack 3 - .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) - 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_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 - 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_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_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_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 - - 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 - - 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_0156: leave IL_0172 - - } // 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 - - 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.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.. - - .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 633 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xe3a4 - // 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 - - // method line 634 - .method public hidebysig specialname - instance default string get_Source () cil managed - { - // Method begins at RVA 0xe3c4 - // 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_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_Source - - // method line 635 - .method public hidebysig specialname - instance default void set_Source (string 'value') cil managed - { - // Method begins at RVA 0xe3df - // 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 - - // method line 636 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DestinationFile () cil managed - { - // Method begins at RVA 0xe3f0 - // 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_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_DestinationFile - - // method line 637 - .method public hidebysig specialname - instance default void set_DestinationFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0xe40b - // 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 - - // method line 638 - .method public hidebysig specialname - instance default string get_HttpProxy () cil managed - { - // Method begins at RVA 0xe418 - // 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::_httpProxy - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_HttpProxy - - // method line 639 - .method public hidebysig specialname - instance default void set_HttpProxy (string 'value') cil managed - { - // Method begins at RVA 0xe433 - // 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 640 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Proxy get_Proxy () cil managed - { - // Method begins at RVA 0xe440 - // 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 - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_Proxy - - // method line 641 - .method public hidebysig specialname - instance default void set_Proxy (class NAnt.Core.Types.Proxy 'value') cil managed - { - // Method begins at RVA 0xe45b - // 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 - - // method line 642 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Credential get_Credentials () cil managed - { - // Method begins at RVA 0xe468 - // 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 - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_Credentials - - // method line 643 - .method public hidebysig specialname - instance default void set_Credentials (class NAnt.Core.Types.Credential 'value') cil managed - { - // Method begins at RVA 0xe483 - // 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.Tasks.GetTask::_credentials - IL_0008: ret - } // end of method GetTask::set_Credentials - - // method line 644 - .method public hidebysig specialname - instance default bool get_IgnoreErrors () cil managed - { - // Method begins at RVA 0xe490 - // 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.Task::get_FailOnError() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_IgnoreErrors - - // method line 645 - .method public hidebysig specialname - instance default void set_IgnoreErrors (bool 'value') cil managed - { - // Method begins at RVA 0xe4ab - // 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 - - // method line 646 - .method public hidebysig specialname - instance default bool get_UseTimeStamp () cil managed - { - // Method begins at RVA 0xe4b8 - // 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.GetTask::_useTimeStamp - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_UseTimeStamp - - // method line 647 - .method public hidebysig specialname - instance default void set_UseTimeStamp (bool 'value') cil managed - { - // Method begins at RVA 0xe4d3 - // Code size 9 (0x9) - .maxstack 8 - 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 - - // method line 648 - .method public hidebysig specialname - instance default int32 get_Timeout () cil managed - { - // Method begins at RVA 0xe4e0 - // 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.GetTask::_timeout - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_Timeout - - // method line 649 - .method public hidebysig specialname - instance default void set_Timeout (int32 'value') cil managed - { - // Method begins at RVA 0xe4fb - // Code size 9 (0x9) - .maxstack 8 - 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 - - // method line 650 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_Certificates () cil managed - { - // Method begins at RVA 0xe508 - // 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.GetTask::_certificates - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GetTask::get_Certificates - - // method line 651 - .method public hidebysig specialname - instance default void set_Certificates (class NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0xe523 - // 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.GetTask::_certificates - IL_0008: ret - } // end of method GetTask::set_Certificates - - // method line 652 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0xe530 - // Code size 116 (0x74) - .maxstack 2 - 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_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_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 - - 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 653 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0xe5b0 - // Code size 989 (0x3dd) - .maxstack 8 - .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 - - 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 - - } // 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_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 - - } // 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 - - 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_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_01a0: ldloc.s 11 - IL_01a2: ldloc.s 7 - IL_01a4: ble IL_01b9 - - IL_01a9: nop - IL_01aa: ldloc.s 11 - IL_01ac: ldloc.s 10 - IL_01ae: bne.un IL_01b5 - - 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_01c2: ldloc.s 10 - IL_01c4: ldloc.s 7 - IL_01c6: ble IL_01dd - - 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 - - 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_0267: nop - IL_0268: ldloc.1 - IL_0269: isinst [System]System.Net.HttpWebRequest - IL_026e: brfalse IL_02c2 - - 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 - - } // 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_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_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_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 - - // method line 654 - .method family hidebysig - instance default void TouchFile (class [mscorlib]System.IO.FileInfo file, valuetype [mscorlib]System.DateTime touchDateTime) cil managed - { - // Method begins at RVA 0xea00 - // 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 - - 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_0049: nop - IL_004a: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'() - IL_004f: throw - IL_0050: nop - IL_0051: leave IL_007d - - } // 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 655 - .method private hidebysig - instance default class [System]System.Net.WebRequest GetWebRequest (string url, valuetype [mscorlib]System.DateTime fileLastModified) cil managed - { - // Method begins at RVA 0xea9c - // Code size 364 (0x16c) - .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) - 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 - - } // 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_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_0169: ldloc.s 9 - IL_016b: ret - } // end of method GetTask::GetWebRequest + 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 Source () + .property instance string TargetName () { .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. + 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.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') + .get instance default string NAnt.Core.Tasks.CallTask::get_TargetName () + .set instance default void NAnt.Core.Tasks.CallTask::set_TargetName (string 'value') } - .property instance string HttpProxy () + .property instance bool ForceExecute () { - .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 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 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 ) // .... + 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 int32 NAnt.Core.Tasks.GetTask::get_Timeout () - .set instance default void NAnt.Core.Tasks.GetTask::set_Timeout (int32 '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 class NAnt.Core.Types.FileSet Certificates () + .property instance bool CascadeDependencies () { - .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 ) // . + .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 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') + .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.GetTask + } // end of class NAnt.Core.Tasks.CallTask } .namespace NAnt.Core.Tasks @@ -22547,11 +22597,11 @@ .field private class [mscorlib]System.Text.Encoding _inputEncoding .field private class [mscorlib]System.Text.Encoding _outputEncoding - // method line 656 + // method line 558 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xec24 + // Method begins at RVA 0xc45c // Code size 72 (0x48) .maxstack 2 IL_0000: ldarg.0 @@ -22582,11 +22632,11 @@ IL_0047: ret } // end of method CopyTask::.ctor - // method line 657 + // method line 559 .method public virtual hidebysig newslot specialname instance default class [mscorlib]System.IO.FileInfo get_SourceFile () cil managed { - // Method begins at RVA 0xec78 + // Method begins at RVA 0xc4b0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22601,11 +22651,11 @@ IL_000e: ret } // end of method CopyTask::get_SourceFile - // method line 658 + // method line 560 .method public virtual hidebysig newslot specialname instance default void set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xec93 + // Method begins at RVA 0xc4cb // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -22615,11 +22665,11 @@ IL_0008: ret } // end of method CopyTask::set_SourceFile - // method line 659 + // method line 561 .method public virtual hidebysig newslot specialname instance default class [mscorlib]System.IO.FileInfo get_ToFile () cil managed { - // Method begins at RVA 0xeca0 + // Method begins at RVA 0xc4d8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22634,11 +22684,11 @@ IL_000e: ret } // end of method CopyTask::get_ToFile - // method line 660 + // method line 562 .method public virtual hidebysig newslot specialname instance default void set_ToFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xecbb + // Method begins at RVA 0xc4f3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -22648,11 +22698,11 @@ IL_0008: ret } // end of method CopyTask::set_ToFile - // method line 661 + // method line 563 .method public virtual hidebysig newslot specialname instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed { - // Method begins at RVA 0xecc8 + // Method begins at RVA 0xc500 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22667,11 +22717,11 @@ IL_000e: ret } // end of method CopyTask::get_ToDirectory - // method line 662 + // method line 564 .method public virtual hidebysig newslot specialname instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0xece3 + // Method begins at RVA 0xc51b // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -22681,11 +22731,11 @@ IL_0008: ret } // end of method CopyTask::set_ToDirectory - // method line 663 + // method line 565 .method public hidebysig specialname instance default bool get_Overwrite () cil managed { - // Method begins at RVA 0xecf0 + // Method begins at RVA 0xc528 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22700,11 +22750,11 @@ IL_000e: ret } // end of method CopyTask::get_Overwrite - // method line 664 + // method line 566 .method public hidebysig specialname instance default void set_Overwrite (bool 'value') cil managed { - // Method begins at RVA 0xed0b + // Method begins at RVA 0xc543 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -22714,11 +22764,11 @@ IL_0008: ret } // end of method CopyTask::set_Overwrite - // method line 665 + // method line 567 .method public virtual hidebysig newslot specialname instance default bool get_Flatten () cil managed { - // Method begins at RVA 0xed18 + // Method begins at RVA 0xc550 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22733,11 +22783,11 @@ IL_000e: ret } // end of method CopyTask::get_Flatten - // method line 666 + // method line 568 .method public virtual hidebysig newslot specialname instance default void set_Flatten (bool 'value') cil managed { - // Method begins at RVA 0xed33 + // Method begins at RVA 0xc56b // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -22747,11 +22797,11 @@ IL_0008: ret } // end of method CopyTask::set_Flatten - // method line 667 + // method line 569 .method public hidebysig specialname instance default bool get_IncludeEmptyDirs () cil managed { - // Method begins at RVA 0xed40 + // Method begins at RVA 0xc578 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22766,11 +22816,11 @@ IL_000e: ret } // end of method CopyTask::get_IncludeEmptyDirs - // method line 668 + // method line 570 .method public hidebysig specialname instance default void set_IncludeEmptyDirs (bool 'value') cil managed { - // Method begins at RVA 0xed5b + // Method begins at RVA 0xc593 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -22780,11 +22830,11 @@ IL_0008: ret } // end of method CopyTask::set_IncludeEmptyDirs - // method line 669 + // method line 571 .method public virtual hidebysig newslot specialname instance default class NAnt.Core.Types.FileSet get_CopyFileSet () cil managed { - // Method begins at RVA 0xed68 + // Method begins at RVA 0xc5a0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22799,11 +22849,11 @@ IL_000e: ret } // end of method CopyTask::get_CopyFileSet - // method line 670 + // method line 572 .method public virtual hidebysig newslot specialname instance default void set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0xed83 + // Method begins at RVA 0xc5bb // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -22813,11 +22863,11 @@ IL_0008: ret } // end of method CopyTask::set_CopyFileSet - // method line 671 + // method line 573 .method public virtual hidebysig newslot specialname instance default class NAnt.Core.Filters.FilterChain get_Filters () cil managed { - // Method begins at RVA 0xed90 + // Method begins at RVA 0xc5c8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22832,11 +22882,11 @@ IL_000e: ret } // end of method CopyTask::get_Filters - // method line 672 + // method line 574 .method public virtual hidebysig newslot specialname instance default void set_Filters (class NAnt.Core.Filters.FilterChain 'value') cil managed { - // Method begins at RVA 0xedab + // Method begins at RVA 0xc5e3 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -22846,11 +22896,11 @@ IL_0008: ret } // end of method CopyTask::set_Filters - // method line 673 + // method line 575 .method public hidebysig specialname instance default class [mscorlib]System.Text.Encoding get_InputEncoding () cil managed { - // Method begins at RVA 0xedb8 + // Method begins at RVA 0xc5f0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22865,11 +22915,11 @@ IL_000e: ret } // end of method CopyTask::get_InputEncoding - // method line 674 + // method line 576 .method public hidebysig specialname instance default void set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - // Method begins at RVA 0xedd3 + // Method begins at RVA 0xc60b // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -22879,11 +22929,11 @@ IL_0008: ret } // end of method CopyTask::set_InputEncoding - // method line 675 + // method line 577 .method public hidebysig specialname instance default class [mscorlib]System.Text.Encoding get_OutputEncoding () cil managed { - // Method begins at RVA 0xede0 + // Method begins at RVA 0xc618 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22898,11 +22948,11 @@ IL_000e: ret } // end of method CopyTask::get_OutputEncoding - // method line 676 + // method line 578 .method public hidebysig specialname instance default void set_OutputEncoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - // Method begins at RVA 0xedfb + // Method begins at RVA 0xc633 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -22912,11 +22962,11 @@ IL_0008: ret } // end of method CopyTask::set_OutputEncoding - // method line 677 + // method line 579 .method family hidebysig specialname instance default class [mscorlib]System.Collections.Hashtable get_FileCopyMap () cil managed { - // Method begins at RVA 0xee08 + // Method begins at RVA 0xc640 // Code size 20 (0x14) .maxstack 1 .locals init ( @@ -22932,11 +22982,11 @@ IL_0013: ret } // end of method CopyTask::get_FileCopyMap - // method line 678 + // method line 580 .method family hidebysig specialname instance default class NAnt.Core.Tasks.CopyTask/FileOperationMap get_OperationMap () cil managed { - // Method begins at RVA 0xee28 + // Method begins at RVA 0xc660 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -22951,11 +23001,11 @@ IL_000e: ret } // end of method CopyTask::get_OperationMap - // method line 679 + // method line 581 .method family virtual hidebysig instance default void Initialize () cil managed { - // Method begins at RVA 0xee44 + // Method begins at RVA 0xc67c // Code size 321 (0x141) .maxstack 3 IL_0000: nop @@ -23061,11 +23111,11 @@ IL_0140: ret } // end of method CopyTask::Initialize - // method line 680 + // method line 582 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0xef94 + // Method begins at RVA 0xc7cc // Code size 1161 (0x489) .maxstack 7 .locals init ( @@ -23524,11 +23574,11 @@ IL_0488: ret } // end of method CopyTask::ExecuteTask - // method line 681 + // method line 583 .method family virtual hidebysig newslot instance default void DoFileOperations () cil managed { - // Method begins at RVA 0xf478 + // Method begins at RVA 0xccb0 // Code size 940 (0x3ac) .maxstack 8 .locals init ( @@ -23907,11 +23957,11 @@ IL_03ab: ret } // end of method CopyTask::DoFileOperations - // method line 682 + // method line 584 .method family virtual hidebysig newslot instance default class NAnt.Core.BuildException CreateSourceFileNotFoundException (string sourceFile) cil managed { - // Method begins at RVA 0xf84c + // Method begins at RVA 0xd084 // Code size 36 (0x24) .maxstack 3 .locals init ( @@ -24038,11 +24088,11 @@ .field private valuetype [mscorlib]System.DateTime _lastWriteTime .field private string _path - // method line 683 + // method line 585 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class [mscorlib]System.IO.FileSystemInfo file) cil managed { - // Method begins at RVA 0xf87c + // Method begins at RVA 0xd0b4 // Code size 20 (0x14) .maxstack 8 IL_0000: ldarg.0 @@ -24055,11 +24105,11 @@ IL_0013: ret } // end of method FileDateInfo::.ctor - // method line 684 + // method line 586 .method public hidebysig specialname rtspecialname instance default void '.ctor' (string path, valuetype [mscorlib]System.DateTime lastWriteTime) cil managed { - // Method begins at RVA 0xf891 + // Method begins at RVA 0xd0c9 // Code size 22 (0x16) .maxstack 8 IL_0000: ldarg.0 @@ -24074,11 +24124,11 @@ IL_0015: ret } // end of method FileDateInfo::.ctor - // method line 685 + // method line 587 .method public hidebysig specialname instance default string get_Path () cil managed { - // Method begins at RVA 0xf8a8 + // Method begins at RVA 0xd0e0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -24093,11 +24143,11 @@ IL_000e: ret } // end of method FileDateInfo::get_Path - // method line 686 + // method line 588 .method public hidebysig specialname instance default valuetype [mscorlib]System.DateTime get_LastWriteTime () cil managed { - // Method begins at RVA 0xf8c4 + // Method begins at RVA 0xd0fc // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -24129,11 +24179,11 @@ .field private class [mscorlib]System.IO.FileSystemInfo _target .field private class [mscorlib]System.StringComparer _comparer - // method line 687 + // method line 589 .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 0xf8e0 + // Method begins at RVA 0xd118 // Code size 94 (0x5e) .maxstack 2 IL_0000: ldarg.0 @@ -24176,11 +24226,11 @@ IL_005d: ret } // end of method FileOperation::.ctor - // method line 688 + // method line 590 .method public hidebysig specialname instance default class [mscorlib]System.StringComparer get_Comparer () cil managed { - // Method begins at RVA 0xf94c + // Method begins at RVA 0xd184 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -24195,11 +24245,11 @@ IL_000e: ret } // end of method FileOperation::get_Comparer - // method line 689 + // method line 591 .method public hidebysig specialname instance default void set_Comparer (class [mscorlib]System.StringComparer 'value') cil managed { - // Method begins at RVA 0xf967 + // Method begins at RVA 0xd19f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -24209,11 +24259,11 @@ IL_0008: ret } // end of method FileOperation::set_Comparer - // method line 690 + // method line 592 .method public hidebysig specialname instance default string get_Source () cil managed { - // Method begins at RVA 0xf974 + // Method begins at RVA 0xd1ac // Code size 20 (0x14) .maxstack 1 .locals init ( @@ -24229,11 +24279,11 @@ IL_0013: ret } // end of method FileOperation::get_Source - // method line 691 + // method line 593 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileSystemInfo get_SourceInfo () cil managed { - // Method begins at RVA 0xf994 + // Method begins at RVA 0xd1cc // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -24248,11 +24298,11 @@ IL_000e: ret } // end of method FileOperation::get_SourceInfo - // method line 692 + // method line 594 .method public hidebysig specialname instance default class [mscorlib]System.Type get_SourceType () cil managed { - // Method begins at RVA 0xf9b0 + // Method begins at RVA 0xd1e8 // Code size 20 (0x14) .maxstack 1 .locals init ( @@ -24268,11 +24318,11 @@ IL_0013: ret } // end of method FileOperation::get_SourceType - // method line 693 + // method line 595 .method public hidebysig specialname instance default valuetype NAnt.Core.Tasks.CopyTask/OperationType get_OperationType () cil managed { - // Method begins at RVA 0xf9d0 + // Method begins at RVA 0xd208 // Code size 94 (0x5e) .maxstack 2 .locals init ( @@ -24320,11 +24370,11 @@ IL_005d: ret } // end of method FileOperation::get_OperationType - // method line 694 + // method line 596 .method public hidebysig specialname instance default bool get_Outdated () cil managed { - // Method begins at RVA 0xfa3c + // Method begins at RVA 0xd274 // Code size 66 (0x42) .maxstack 2 .locals init ( @@ -24360,11 +24410,11 @@ IL_0041: ret } // end of method FileOperation::get_Outdated - // method line 695 + // method line 597 .method public hidebysig specialname instance default string get_Target () cil managed { - // Method begins at RVA 0xfa8c + // Method begins at RVA 0xd2c4 // Code size 20 (0x14) .maxstack 1 .locals init ( @@ -24380,11 +24430,11 @@ IL_0013: ret } // end of method FileOperation::get_Target - // method line 696 + // method line 598 .method public hidebysig specialname instance default class [mscorlib]System.IO.FileSystemInfo get_TargetInfo () cil managed { - // Method begins at RVA 0xfaac + // Method begins at RVA 0xd2e4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -24399,11 +24449,11 @@ IL_000e: ret } // end of method FileOperation::get_TargetInfo - // method line 697 + // method line 599 .method public hidebysig specialname instance default class [mscorlib]System.Type get_TargetType () cil managed { - // Method begins at RVA 0xfac8 + // Method begins at RVA 0xd300 // Code size 20 (0x14) .maxstack 1 .locals init ( @@ -24419,11 +24469,11 @@ IL_0013: ret } // end of method FileOperation::get_TargetType - // method line 698 + // method line 600 .method public hidebysig instance default void NormalizeTargetAttributes () cil managed { - // Method begins at RVA 0xfae8 + // Method begins at RVA 0xd320 // Code size 79 (0x4f) .maxstack 2 IL_0000: nop @@ -24454,11 +24504,11 @@ IL_004e: ret } // end of method FileOperation::NormalizeTargetAttributes - // method line 699 + // method line 601 .method public hidebysig instance default bool SourceEqualsTarget () cil managed { - // Method begins at RVA 0xfb44 + // Method begins at RVA 0xd37c // Code size 45 (0x2d) .maxstack 3 .locals init ( @@ -24482,11 +24532,11 @@ IL_002c: ret } // end of method FileOperation::SourceEqualsTarget - // method line 700 + // method line 602 .method public hidebysig instance default bool SourceIsIdenticalToTarget () cil managed { - // Method begins at RVA 0xfb80 + // Method begins at RVA 0xd3b8 // Code size 37 (0x25) .maxstack 3 .locals init ( @@ -24507,11 +24557,11 @@ IL_0024: ret } // end of method FileOperation::SourceIsIdenticalToTarget - // method line 701 + // method line 603 .method public hidebysig instance default void UpdateSource (class [mscorlib]System.IO.FileSystemInfo newSource) cil managed { - // Method begins at RVA 0xfbb1 + // Method begins at RVA 0xd3e9 // Code size 38 (0x26) .maxstack 8 IL_0000: nop @@ -24531,11 +24581,11 @@ IL_0025: ret } // end of method FileOperation::UpdateSource - // method line 702 + // method line 604 .method public virtual hidebysig instance default string ToString () cil managed { - // Method begins at RVA 0xfbd8 + // Method begins at RVA 0xd410 // Code size 31 (0x1f) .maxstack 3 .locals init ( @@ -24554,11 +24604,11 @@ IL_001e: ret } // end of method FileOperation::ToString - // method line 703 + // method line 605 .method public static hidebysig default bool TargetIsOutdated (class [mscorlib]System.IO.FileSystemInfo source, class [mscorlib]System.IO.FileSystemInfo target) cil managed { - // Method begins at RVA 0xfc04 + // Method begins at RVA 0xd43c // Code size 40 (0x28) .maxstack 2 .locals init ( @@ -24583,11 +24633,11 @@ IL_0027: ret } // end of method FileOperation::TargetIsOutdated - // method line 704 + // method line 606 .method public static hidebysig default bool TargetDirectoryDoesNotExist (class [mscorlib]System.IO.DirectoryInfo source, class [mscorlib]System.IO.DirectoryInfo target) cil managed { - // Method begins at RVA 0xfc38 + // Method begins at RVA 0xd470 // Code size 46 (0x2e) .maxstack 3 .locals init ( @@ -24615,11 +24665,11 @@ IL_002d: ret } // end of method FileOperation::TargetDirectoryDoesNotExist - // method line 705 + // method line 607 .method private hidebysig instance default bool IsFileSystemType<(class [mscorlib]System.IO.FileSystemInfo) TFileSystemInfo> (class [mscorlib]System.IO.FileSystemInfo item) cil managed { - // Method begins at RVA 0xfc74 + // Method begins at RVA 0xd4ac // Code size 30 (0x1e) .maxstack 2 .locals init ( @@ -24681,11 +24731,11 @@ { .field private class [mscorlib]System.StringComparer _stringComparer - // method line 706 + // method line 608 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xfc9e + // Method begins at RVA 0xd4d6 // Code size 24 (0x18) .maxstack 8 IL_0000: ldarg.0 @@ -24698,11 +24748,11 @@ IL_0017: ret } // end of method FileOperationMap::.ctor - // method line 707 + // method line 609 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class [mscorlib]System.StringComparer comparer) cil managed { - // Method begins at RVA 0xfcb7 + // Method begins at RVA 0xd4ef // Code size 16 (0x10) .maxstack 8 IL_0000: ldarg.0 @@ -24715,11 +24765,11 @@ IL_000f: ret } // end of method FileOperationMap::.ctor - // method line 708 + // method line 610 .method public hidebysig instance default bool ContainsKey (string key) cil managed { - // Method begins at RVA 0xfcc8 + // Method begins at RVA 0xd500 // Code size 40 (0x28) .maxstack 2 .locals init ( @@ -24745,11 +24795,11 @@ IL_0027: ret } // end of method FileOperationMap::ContainsKey - // method line 709 + // method line 611 .method public hidebysig instance default int32 CountDirectoryOperations () cil managed { - // Method begins at RVA 0xfcfc + // Method begins at RVA 0xd534 // Code size 75 (0x4b) .maxstack 2 .locals init ( @@ -24797,11 +24847,11 @@ IL_004a: ret } // end of method FileOperationMap::CountDirectoryOperations - // method line 710 + // method line 612 .method public hidebysig instance default int32 CountFileOperations () cil managed { - // Method begins at RVA 0xfd54 + // Method begins at RVA 0xd58c // Code size 75 (0x4b) .maxstack 2 .locals init ( @@ -24849,11 +24899,11 @@ IL_004a: ret } // end of method FileOperationMap::CountFileOperations - // method line 711 + // method line 613 .method public hidebysig instance default class [mscorlib]System.Collections.Hashtable ConvertToHashtable () cil managed { - // Method begins at RVA 0xfdac + // Method begins at RVA 0xd5e4 // Code size 325 (0x145) .maxstack 4 .locals init ( @@ -25000,11 +25050,11 @@ IL_0144: ret } // end of method FileOperationMap::ConvertToHashtable - // method line 712 + // method line 614 .method family virtual hidebysig instance default string GetKeyForItem (class NAnt.Core.Tasks.CopyTask/FileOperation item) cil managed { - // Method begins at RVA 0xff00 + // Method begins at RVA 0xd738 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -25019,11 +25069,11 @@ IL_000e: ret } // end of method FileOperationMap::GetKeyForItem - // method line 713 + // method line 615 .method family virtual hidebysig instance default void InsertItem (int32 index, class NAnt.Core.Tasks.CopyTask/FileOperation item) cil managed { - // Method begins at RVA 0xff1b + // Method begins at RVA 0xd753 // Code size 22 (0x16) .maxstack 8 IL_0000: nop @@ -25038,11 +25088,11 @@ IL_0015: ret } // end of method FileOperationMap::InsertItem - // method line 714 + // method line 616 .method family virtual hidebysig instance default void SetItem (int32 index, class NAnt.Core.Tasks.CopyTask/FileOperation item) cil managed { - // Method begins at RVA 0xff32 + // Method begins at RVA 0xd76a // Code size 22 (0x16) .maxstack 8 IL_0000: nop @@ -25074,26182 +25124,27327 @@ .namespace NAnt.Core.Tasks { - .class public auto ansi beforefieldinit DeleteTask + .class public auto ansi beforefieldinit StyleTask 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.. + .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 73 74 79 6C 65 00 00 ) // ...style.. - .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 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 715 + // method line 617 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xff49 - // Code size 25 (0x19) + // Method begins at RVA 0x106fa + // Code size 51 (0x33) .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_0001: ldstr "html" + IL_0006: stfld string NAnt.Core.Tasks.StyleTask::_extension 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 + 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 716 + // method line 618 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_DestDir () cil managed { - // Method begins at RVA 0xff64 - // Code size 15 (0xf) + // Method begins at RVA 0x10730 + // Code size 49 (0x31) .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.Core.Tasks.DeleteTask::_file - 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 DeleteTask::get_File + 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 717 + 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 619 .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_DestDir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0xff7f + // Method begins at RVA 0x1076d // 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.DeleteTask::_file + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.StyleTask::_destDir IL_0008: ret - } // end of method DeleteTask::set_File + } // end of method StyleTask::set_DestDir - // method line 718 + // method line 620 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + instance default string get_Extension () cil managed { - // Method begins at RVA 0xff8c + // Method begins at RVA 0x10778 // 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.DeleteTask::_dir + 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 DeleteTask::get_Directory + } // end of method StyleTask::get_Extension - // method line 719 + // method line 621 .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_Extension (string 'value') cil managed { - // Method begins at RVA 0xffa7 + // Method begins at RVA 0x10793 // 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 string NAnt.Core.Tasks.StyleTask::_extension IL_0008: ret - } // end of method DeleteTask::set_Directory + } // end of method StyleTask::set_Extension - // method line 720 + // method line 622 .method public hidebysig specialname - instance default bool get_IncludeEmptyDirs () cil managed + instance default class [System]System.Uri get_XsltFile () cil managed { - // Method begins at RVA 0xffb4 + // Method begins at RVA 0x107a0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [System]System.Uri V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.DeleteTask::_includeEmptyDirs + 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 DeleteTask::get_IncludeEmptyDirs + } // end of method StyleTask::get_XsltFile - // method line 721 + // method line 623 .method public hidebysig specialname - instance default void set_IncludeEmptyDirs (bool 'value') cil managed + instance default void set_XsltFile (class [System]System.Uri 'value') cil managed { - // Method begins at RVA 0xffcf + // Method begins at RVA 0x107bb // 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 class [System]System.Uri NAnt.Core.Tasks.StyleTask::_xsltFile IL_0008: ret - } // end of method DeleteTask::set_IncludeEmptyDirs + } // end of method StyleTask::set_XsltFile - // method line 722 + // method line 624 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_DeleteFileSet () cil managed + instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed { - // Method begins at RVA 0xffdc + // Method begins at RVA 0x107c8 // 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.DeleteTask::_fileset + 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 DeleteTask::get_DeleteFileSet + } // end of method StyleTask::get_SrcFile - // method line 723 + // method line 625 .method public hidebysig specialname - instance default void set_DeleteFileSet (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0xfff7 + // Method begins at RVA 0x107e3 // 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.FileInfo NAnt.Core.Tasks.StyleTask::_srcFile IL_0008: ret - } // end of method DeleteTask::set_DeleteFileSet + } // end of method StyleTask::set_SrcFile - // method line 724 - .method public virtual hidebysig specialname - instance default bool get_Verbose () cil managed + // method line 626 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed { - // Method begins at RVA 0x10004 + // Method begins at RVA 0x107f0 // 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 bool class NAnt.Core.Task::get_Verbose() + 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 DeleteTask::get_Verbose + } // end of method StyleTask::get_OutputFile - // method line 725 - .method public virtual hidebysig specialname - instance default void set_Verbose (bool 'value') cil managed + // method line 627 + .method public hidebysig specialname + instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x1001f + // Method begins at RVA 0x1080b // 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_Verbose(bool) + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.StyleTask::_outputFile IL_0008: ret - } // end of method DeleteTask::set_Verbose - - // method line 726 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x1002c - // Code size 103 (0x67) - .maxstack 2 - 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_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_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_0034: ldarg.0 - IL_0035: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.DeleteTask::get_Directory() - IL_003a: brfalse IL_0066 - - 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_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 727 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x100a0 - // Code size 631 (0x277) - .maxstack 7 - .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) - 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_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_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_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_006e: nop - IL_006f: br IL_0276 - - IL_0074: ldarg.0 - IL_0075: callvirt instance bool class NAnt.Core.Task::get_Verbose() - IL_007a: brtrue IL_00a5 - - 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_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_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_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_013a: leave IL_0153 - - } // 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_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_016a: ldarg.0 - IL_016b: call instance bool class NAnt.Core.Tasks.DeleteTask::get_IncludeEmptyDirs() - IL_0170: brfalse IL_0275 - - 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 - - } // 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_0230: leave IL_024c - - } // 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_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_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 728 - .method private hidebysig - instance default void RecursiveDeleteDirectory (string path) cil managed - { - // Method begins at RVA 0x1034c - // Code size 363 (0x16b) - .maxstack 7 - .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, - string V_9, - class NAnt.Core.BuildException V_10, - class [mscorlib]System.Exception V_11, - string V_12) - 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_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_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_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_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 - - } // 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_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 - - } // 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 - - 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 - - } // 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_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 729 - .method private hidebysig - instance default void DeleteFile (string path, bool verbose) cil managed - { - // Method begins at RVA 0x10510 - // 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_0014: nop - IL_0015: leave IL_00be - - IL_001a: ldarg.2 - IL_001b: brfalse IL_003c - - 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_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 - - } // 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_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 handler 0 - IL_00be: ret - } // end of method DeleteTask::DeleteFile - - // method line 730 - .method private hidebysig - instance default void DeleteDirectory (string path) cil managed - { - // Method begins at RVA 0x105ec - // Code size 45 (0x2d) - .maxstack 8 - 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.. - - .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.. - - .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.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.. - - .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.. - - .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.Tasks -{ - .class public auto ansi beforefieldinit EchoTask - extends NAnt.Core.Task - { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 65 63 68 6F 00 00 ) // ...echo.. - - .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 731 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x1061a - // Code size 18 (0x12) - .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 + } // end of method StyleTask::set_OutputFile - // method line 732 + // method line 628 .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + instance default class NAnt.Core.Types.FileSet get_InFiles () cil managed { - // Method begins at RVA 0x10630 - // Code size 37 (0x25) + // Method begins at RVA 0x10818 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Text.Encoding V_0) + class NAnt.Core.Types.FileSet 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 NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::_inFiles + 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 StyleTask::get_InFiles - // method line 733 + // method line 629 .method public hidebysig specialname - instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + instance default void set_InFiles (class NAnt.Core.Types.FileSet 'value') cil managed { - // Method begins at RVA 0x10661 + // Method begins at RVA 0x10833 // 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 NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::_inFiles IL_0008: ret - } // end of method EchoTask::set_Encoding + } // end of method StyleTask::set_InFiles - // method line 734 + // method line 630 .method public hidebysig specialname - instance default string get_Message () cil managed + instance default class NAnt.Core.Types.XsltParameterCollection get_Parameters () cil managed { - // Method begins at RVA 0x1066c + // Method begins at RVA 0x10840 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.XsltParameterCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.EchoTask::_message + IL_0002: ldfld class NAnt.Core.Types.XsltParameterCollection NAnt.Core.Tasks.StyleTask::_xsltParameters IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EchoTask::get_Message - - // method line 735 - .method public hidebysig specialname - instance default void set_Message (string 'value') cil managed - { - // Method begins at RVA 0x10688 - // 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 + } // end of method StyleTask::get_Parameters - // method line 736 + // method line 631 .method public hidebysig specialname - instance default string get_Contents () cil managed + instance default class NAnt.Core.Types.XsltExtensionObjectCollection get_ExtensionObjects () cil managed { - // Method begins at RVA 0x106e4 + // Method begins at RVA 0x1085c // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.XsltExtensionObjectCollection 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.XsltExtensionObjectCollection NAnt.Core.Tasks.StyleTask::_xsltExtensions IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EchoTask::get_Contents - - // method line 737 - .method public hidebysig specialname - instance default void set_Contents (string 'value') cil managed - { - // Method begins at RVA 0x10700 - // 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 + } // end of method StyleTask::get_ExtensionObjects - // method line 738 + // method line 632 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + instance default class NAnt.Core.Types.Proxy get_Proxy () cil managed { - // Method begins at RVA 0x1075c + // Method begins at RVA 0x10878 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.Types.Proxy 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 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 EchoTask::get_File + } // end of method StyleTask::get_Proxy - // method line 739 + // method line 633 .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Proxy (class NAnt.Core.Types.Proxy 'value') cil managed { - // Method begins at RVA 0x10777 + // Method begins at RVA 0x10893 // 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 class NAnt.Core.Types.Proxy NAnt.Core.Tasks.StyleTask::_proxy IL_0008: ret - } // end of method EchoTask::set_File + } // end of method StyleTask::set_Proxy - // method line 740 - .method public hidebysig specialname - instance default bool get_Append () cil managed + // method line 634 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x10784 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x108a0 + // Code size 1638 (0x666) + .maxstack 7 .locals init ( - bool 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 bool NAnt.Core.Tasks.EchoTask::_append - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method EchoTask::get_Append + 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 741 - .method public hidebysig specialname - instance default void set_Append (bool 'value') cil managed - { - // Method begins at RVA 0x1079f - // 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_0008: ret - } // end of method EchoTask::set_Append + 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 - // method line 742 - .method public hidebysig specialname - instance default valuetype NAnt.Core.Level get_MessageLevel () cil managed - { - // Method begins at RVA 0x107ac - // 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.Tasks.EchoTask::_messageLevel - IL_0007: stloc.0 - IL_0008: br IL_000d + 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 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EchoTask::get_MessageLevel + 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 line 743 - .method public hidebysig specialname - instance default void set_MessageLevel (valuetype NAnt.Core.Level 'value') cil managed - { - // Method begins at RVA 0x107c8 - // 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_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_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 + IL_00b5: ldloc.0 + IL_00b6: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00bb: brtrue IL_00e6 - // method line 744 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x10818 - // 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_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 - 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_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_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_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 - 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_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 - 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_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_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_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 - } // end .try 0 - finally { // 0 - IL_00aa: ldloc.0 - IL_00ab: brfalse IL_00b6 + 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_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_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 - } // 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_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_00f1: nop - IL_00f2: ldarg.0 - IL_00f3: call instance string class NAnt.Core.Tasks.EchoTask::get_Message() - IL_00f8: brfalse IL_0116 + IL_020c: ldarg.0 + IL_020d: call instance string class NAnt.Core.Tasks.StyleTask::get_Extension() + IL_0212: br IL_0227 - 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_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_0116: ldarg.0 - IL_0117: call instance string class NAnt.Core.Tasks.EchoTask::get_Contents() - IL_011c: brfalse IL_013a + 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 - 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_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_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_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 745 - .method family virtual hidebysig - instance default void Initialize () cil managed + 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 + + IL_02e9: ldc.i4.1 + IL_02ea: stloc.s 11 + IL_02ec: ldloc.s 11 + IL_02ee: brtrue IL_032f + + 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_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_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 + + } // 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_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_03d4: ldarg.0 + IL_03d5: call instance bool class NAnt.Core.Task::get_UnlessDefined() + IL_03da: brtrue IL_03fd + + 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 + + } // 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 + + 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 + + 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_044f: ldloc.s 22 + IL_0451: callvirt instance bool class NAnt.Core.Types.XsltExtensionObject::get_UnlessDefined() + IL_0456: brtrue IL_0476 + + 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_0483: leave IL_049f + + } // 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_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_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 + + } // 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 .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 + + } // 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 635 + .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 0x10990 - // Code size 62 (0x3e) - .maxstack 8 + // Method begins at RVA 0x10fc0 + // Code size 175 (0xaf) + .maxstack 3 + .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) 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_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_0016: br IL_003d + 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_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_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 - .property instance class [mscorlib]System.Text.Encoding Encoding () + 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 636 + .method family virtual hidebysig newslot + instance default class [mscorlib]System.IO.TextWriter CreateWriter (string filepath) cil managed + { + // Method begins at RVA 0x1107c + // 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 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. + .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.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.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 Message () + .property instance string Extension () { - .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 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.EchoTask::get_Message () - .set instance default void NAnt.Core.Tasks.EchoTask::set_Message (string 'value') + .get instance default string NAnt.Core.Tasks.StyleTask::get_Extension () + .set instance default void NAnt.Core.Tasks.StyleTask::set_Extension (string 'value') } - .property instance string Contents () + .property instance class [System]System.Uri XsltFile () { - .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 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 File () + .property instance class [mscorlib]System.IO.FileInfo SrcFile () { - .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 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.EchoTask::get_File () - .set instance default void NAnt.Core.Tasks.EchoTask::set_File (class [mscorlib]System.IO.FileInfo 'value') + .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 bool Append () + .property instance class [mscorlib]System.IO.FileInfo OutputFile () { - .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 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 bool NAnt.Core.Tasks.EchoTask::get_Append () - .set instance default void NAnt.Core.Tasks.EchoTask::set_Append (bool 'value') + .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 valuetype NAnt.Core.Level MessageLevel () + .property instance class NAnt.Core.Types.FileSet InFiles () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 6C 65 76 65 6C 00 00 ) // ...level.. + .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 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 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') } - } // end of class NAnt.Core.Tasks.EchoTask + .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 +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit SleepTask - 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 05 73 6C 65 65 70 00 00 ) // ...sleep.. + .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 int32 _hours - .field private int32 _minutes - .field private int32 _seconds - .field private int32 _milliseconds + .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 746 + // method line 637 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x109cf - // Code size 35 (0x23) + // Method begins at RVA 0x110c2 + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld int32 NAnt.Core.Tasks.SleepTask::_hours + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Types.PathElement::_ifDefined 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 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method PathElement::.ctor - // method line 747 + // method line 638 .method public hidebysig specialname - instance default int32 get_Hours () cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x109f4 + // Method begins at RVA 0x110d4 // 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: ldfld int32 NAnt.Core.Tasks.SleepTask::_hours + 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 SleepTask::get_Hours + } // end of method PathElement::get_File - // method line 748 + // method line 639 .method public hidebysig specialname - instance default void set_Hours (int32 'value') cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x10a0f + // Method begins at RVA 0x110ef // 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_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.PathElement::_file IL_0008: ret - } // end of method SleepTask::set_Hours + } // end of method PathElement::set_File - // method line 749 + // method line 640 .method public hidebysig specialname - instance default int32 get_Minutes () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed { - // Method begins at RVA 0x10a1c + // Method begins at RVA 0x110fc // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.SleepTask::_minutes + 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 SleepTask::get_Minutes + } // end of method PathElement::get_Directory - // method line 750 + // method line 641 .method public hidebysig specialname - instance default void set_Minutes (int32 'value') cil managed + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x10a37 + // Method begins at RVA 0x11117 // 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_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.PathElement::_directory IL_0008: ret - } // end of method SleepTask::set_Minutes + } // end of method PathElement::set_Directory - // method line 751 + // method line 642 .method public hidebysig specialname - instance default int32 get_Seconds () cil managed + instance default class NAnt.Core.Types.PathSet get_Path () cil managed { - // Method begins at RVA 0x10a44 + // Method begins at RVA 0x11124 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Core.Types.PathSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Tasks.SleepTask::_seconds + 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 SleepTask::get_Seconds + } // end of method PathElement::get_Path - // method line 752 + // method line 643 .method public hidebysig specialname - instance default void set_Seconds (int32 'value') cil managed + instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed { - // Method begins at RVA 0x10a5f + // Method begins at RVA 0x1113f // 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::_seconds + IL_0003: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.PathElement::_path IL_0008: ret - } // end of method SleepTask::set_Seconds + } // end of method PathElement::set_Path - // method line 753 + // method line 644 .method public hidebysig specialname - instance default int32 get_Milliseconds () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x10a6c + // Method begins at RVA 0x1114c // 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.Tasks.SleepTask::_milliseconds + 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 SleepTask::get_Milliseconds + } // end of method PathElement::get_IfDefined - // method line 754 + // method line 645 .method public hidebysig specialname - instance default void set_Milliseconds (int32 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x10a87 + // Method begins at RVA 0x11167 // 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_0003: stfld bool NAnt.Core.Types.PathElement::_ifDefined IL_0008: ret - } // end of method SleepTask::set_Milliseconds + } // end of method PathElement::set_IfDefined - // method line 755 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 646 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x10a91 - // Code size 32 (0x20) - .maxstack 8 + // Method begins at RVA 0x11174 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) 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 bool NAnt.Core.Types.PathElement::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - 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 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PathElement::get_UnlessDefined - // method line 756 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 647 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x10ab4 - // Code size 47 (0x2f) - .maxstack 7 - .locals init ( - int32 V_0) + // Method begins at RVA 0x1118f + // Code size 9 (0x9) + .maxstack 8 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_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.PathElement::_unlessDefined + IL_0008: ret + } // end of method PathElement::set_UnlessDefined - // method line 757 - .method private hidebysig - instance default int32 GetSleepTime () cil managed + // method line 648 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_Parts () cil managed { - // Method begins at RVA 0x10af0 - // Code size 48 (0x30) + // Method begins at RVA 0x1119c + // Code size 129 (0x81) .maxstack 2 .locals init ( - int32 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: 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_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.PathElement::get_File() + IL_0007: brfalse IL_002c + + 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 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_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_002e: ldloc.0 - IL_002f: ret - } // end of method SleepTask::GetSleepTime + 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 - // method line 758 - .method private hidebysig - instance default void DoSleep (int32 millis) cil managed + 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_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_007f: ldloc.1 + IL_0080: ret + } // end of method PathElement::get_Parts + + // method line 649 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x10b2c - // Code size 8 (0x8) - .maxstack 8 + // Method begins at RVA 0x1122c + // Code size 134 (0x86) + .maxstack 3 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_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.PathElement::get_File() + IL_0007: brtrue IL_0043 - .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_000c: ldarg.0 + IL_000d: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.PathElement::get_Directory() + IL_0012: brtrue IL_0043 - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ + 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 - .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.. + 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 - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ + 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 - .get instance default int32 NAnt.Core.Tasks.SleepTask::get_Minutes () - .set instance default void NAnt.Core.Tasks.SleepTask::set_Minutes (int32 'value') + 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 04 66 69 6C 65 00 00 ) // ...file.. + + .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 int32 Seconds () + .property instance class [mscorlib]System.IO.DirectoryInfo Directory () { - .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.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. - .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 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 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 int32 NAnt.Core.Tasks.SleepTask::get_Seconds () - .set instance default void NAnt.Core.Tasks.SleepTask::set_Seconds (int32 'value') + .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 int32 Milliseconds () + .property instance bool IfDefined () { - .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 ) // . + .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.Int32ValidatorAttribute::'.ctor'(int32, int32) = (01 00 00 00 00 00 FF FF FF 7F 00 00 ) // ............ + .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 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 int32 NAnt.Core.Tasks.SleepTask::get_Milliseconds () - .set instance default void NAnt.Core.Tasks.SleepTask::set_Milliseconds (int32 'value') + .get instance default bool NAnt.Core.Types.PathElement::get_UnlessDefined () + .set instance default void NAnt.Core.Types.PathElement::set_UnlessDefined (bool 'value') } - } // end of class NAnt.Core.Tasks.SleepTask + .property instance class [System]System.Collections.Specialized.StringCollection Parts () + { + .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.PathElement::get_Parts () + } + } // end of class NAnt.Core.Types.PathElement } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit LoadTasksTask - extends NAnt.Core.Task + .class public auto ansi serializable beforefieldinit XsltExtensionObjectCollection + extends [mscorlib]System.Collections.CollectionBase { - .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 [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - .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 759 + // method line 650 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x10b35 - // Code size 18 (0x12) + // Method begins at RVA 0x112be + // Code size 8 (0x8) .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: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method XsltExtensionObjectCollection::.ctor - // method line 760 + // method line 651 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObjectCollection 'value') cil managed + { + // Method begins at RVA 0x112c7 + // 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 652 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObject[] 'value') cil managed + { + // Method begins at RVA 0x112d7 + // 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 XsltExtensionObjectCollection::.ctor + + // method line 653 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_AssemblyPath () cil managed + instance default class NAnt.Core.Types.XsltExtensionObject get_Item (int32 index) cil managed + { + // Method begins at RVA 0x112e8 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.Core.Types.XsltExtensionObject 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_0018: ldloc.0 + IL_0019: ret + } // end of method XsltExtensionObjectCollection::get_Item + + // method line 654 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Types.XsltExtensionObject 'value') cil managed + { + // Method begins at RVA 0x1130e + // 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 XsltExtensionObjectCollection::set_Item + + // method line 655 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XsltExtensionObject get_Item (string 'value') cil managed + { + // Method begins at RVA 0x11320 + // 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_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_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 656 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.XsltExtensionObject item) cil managed + { + // Method begins at RVA 0x113ac + // 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 XsltExtensionObjectCollection::Add + + // method line 657 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XsltExtensionObject[] items) cil managed + { + // Method begins at RVA 0x113d0 + // 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 658 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XsltExtensionObjectCollection items) cil managed + { + // Method begins at RVA 0x11400 + // 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 659 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.XsltExtensionObject item) cil managed + { + // Method begins at RVA 0x11438 + // 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 XsltExtensionObjectCollection::Contains + + // method line 660 + .method public hidebysig + instance default bool Contains (string 'value') cil managed + { + // Method begins at RVA 0x1145c + // 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.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_0014: ldloc.0 + IL_0015: ret + } // end of method XsltExtensionObjectCollection::Contains + + // method line 661 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.XsltExtensionObject[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x1147e + // 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 XsltExtensionObjectCollection::CopyTo + + // method line 662 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.XsltExtensionObject item) cil managed + { + // Method begins at RVA 0x11490 + // 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 XsltExtensionObjectCollection::IndexOf + + // method line 663 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.XsltExtensionObject item) cil managed + { + // Method begins at RVA 0x114b1 + // 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 + + // method line 664 + .method public hidebysig + instance default class NAnt.Core.Types.XsltExtensionObjectEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x10b48 + // Method begins at RVA 0x114c4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.Types.XsltExtensionObjectEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.LoadTasksTask::_assembly + 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_000d: ldloc.0 IL_000e: ret - } // end of method LoadTasksTask::get_AssemblyPath + } // end of method XsltExtensionObjectCollection::GetEnumerator - // method line 761 - .method public hidebysig specialname - instance default void set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 665 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.XsltExtensionObject item) cil managed { - // Method begins at RVA 0x10b63 - // Code size 9 (0x9) + // Method begins at RVA 0x114df + // 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.LoadTasksTask::_assembly - IL_0008: ret - } // end of method LoadTasksTask::set_AssemblyPath + 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 - // method line 762 + .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 +} + +.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 + + // method line 666 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObjectCollection arguments) cil managed + { + // Method begins at RVA 0x114f0 + // 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 + + // method line 667 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Path () cil managed + instance default class NAnt.Core.Types.XsltExtensionObject get_Current () cil managed { - // Method begins at RVA 0x10b70 - // Code size 15 (0xf) + // Method begins at RVA 0x11514 + // Code size 25 (0x19) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class NAnt.Core.Types.XsltExtensionObject V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.LoadTasksTask::_path - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 + IL_0017: ldloc.0 + IL_0018: ret + } // end of method XsltExtensionObjectEnumerator::get_Current + + // method line 668 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x1153c + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method XsltExtensionObjectEnumerator::System.Collections.IEnumerator.get_Current + + // method line 669 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x1155c + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method XsltExtensionObjectEnumerator::MoveNext + + // method line 670 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x1157c + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method XsltExtensionObjectEnumerator::System.Collections.IEnumerator.MoveNext + + // method line 671 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x1159c + // 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 + + // method line 672 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x115aa + .override class [mscorlib]System.Collections.IEnumerator::Reset + // 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 + + .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 +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi serializable beforefieldinit ArgumentCollection + 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 673 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x115b8 + // 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 ArgumentCollection::.ctor + + // method line 674 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.ArgumentCollection 'value') cil managed + { + // Method begins at RVA 0x115c1 + // 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 LoadTasksTask::get_Path + } // end of method ArgumentCollection::.ctor - // method line 763 + // method line 675 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.Argument[] 'value') cil managed + { + // Method begins at RVA 0x115d1 + // 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_000e: ret + } // end of method ArgumentCollection::.ctor + + // method line 676 .method public hidebysig specialname - instance default void set_Path (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default class NAnt.Core.Types.Argument get_Item (int32 index) cil managed { - // Method begins at RVA 0x10b8b - // Code size 9 (0x9) + // Method begins at RVA 0x115e4 + // Code size 26 (0x1a) + .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_0018: ldloc.0 + IL_0019: ret + } // end of method ArgumentCollection::get_Item + + // method line 677 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Types.Argument 'value') cil managed + { + // Method begins at RVA 0x1160a + // Code size 15 (0xf) .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_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 764 + // method line 678 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_TaskFileSet () cil managed + instance default class NAnt.Core.Types.Argument get_Item (string 'value') cil managed + { + // Method begins at RVA 0x1161c + // Code size 111 (0x6f) + .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_006d: ldloc.2 + IL_006e: ret + } // end of method ArgumentCollection::get_Item + + // method line 679 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0x116a8 + // 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_001a: ldloc.1 + IL_001b: ret + } // end of method ArgumentCollection::ToString + + // method line 680 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.Argument item) cil managed + { + // Method begins at RVA 0x116d0 + // 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 ArgumentCollection::Add + + // method line 681 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.Argument[] items) cil managed + { + // Method begins at RVA 0x116f4 + // 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.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 682 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.ArgumentCollection items) cil managed + { + // Method begins at RVA 0x11724 + // 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 683 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.Argument item) cil managed + { + // Method begins at RVA 0x1175c + // 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 ArgumentCollection::Contains + + // method line 684 + .method public hidebysig + instance default bool Contains (string 'value') cil managed + { + // Method begins at RVA 0x11780 + // 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 + + IL_0014: ldloc.0 + IL_0015: ret + } // end of method ArgumentCollection::Contains + + // method line 685 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.Argument[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x117a2 + // 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 ArgumentCollection::CopyTo + + // method line 686 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.Argument item) cil managed + { + // Method begins at RVA 0x117b4 + // 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 687 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.Argument item) cil managed + { + // Method begins at RVA 0x117d5 + // 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 688 + .method public hidebysig + instance default class NAnt.Core.Types.ArgumentEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x10b98 + // Method begins at RVA 0x117e8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + class NAnt.Core.Types.ArgumentEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.LoadTasksTask::_fileset + 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 LoadTasksTask::get_TaskFileSet + } // end of method ArgumentCollection::GetEnumerator - // method line 765 - .method public hidebysig specialname - instance default void set_TaskFileSet (class NAnt.Core.Types.FileSet 'value') cil managed + // method line 689 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.Argument item) cil managed { - // Method begins at RVA 0x10bb3 - // Code size 9 (0x9) + // Method begins at RVA 0x11803 + // 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.LoadTasksTask::_fileset - IL_0008: ret - } // end of method LoadTasksTask::set_TaskFileSet + 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 766 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 690 + .method assembly hidebysig + instance default void ToString (class [mscorlib]System.Text.StringBuilder sb) cil managed { - // Method begins at RVA 0x10bc0 - .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 0x11814 + // Code size 120 (0x78) + .maxstack 2 .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 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 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_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 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_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_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 + IL_0021: ldloc.0 + IL_0022: callvirt instance bool class NAnt.Core.Types.Argument::get_UnlessDefined() + IL_0027: brtrue IL_0052 - 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_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_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_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_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_005e: leave IL_0077 - 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 + } // 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_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 + 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 - } // 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 + .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_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 +.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 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 691 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.ArgumentCollection arguments) cil managed + { + // Method begins at RVA 0x118a8 + // 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_0188: leave IL_01a3 + // method line 692 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Argument get_Current () cil managed + { + // Method begins at RVA 0x118cc + // 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 - } // 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_0017: ldloc.0 + IL_0018: ret + } // end of method ArgumentEnumerator::get_Current - 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 + // method line 693 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x118f4 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // 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.ArgumentEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_000c: stloc.0 + IL_000d: br IL_0012 - 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 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ArgumentEnumerator::System.Collections.IEnumerator.get_Current - } // 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 + // method line 694 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x11914 + // 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.ArgumentEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0212: leave IL_022e + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ArgumentEnumerator::MoveNext - } // 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 695 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x11934 + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // 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.ArgumentEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - 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_0012: ldloc.0 + IL_0013: ret + } // end of method ArgumentEnumerator::System.Collections.IEnumerator.MoveNext - // method line 767 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 696 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x10e3c - // Code size 42 (0x2a) + // Method begins at RVA 0x11954 + // Code size 13 (0xd) .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_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 + 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 - .property instance class [mscorlib]System.IO.FileInfo AssemblyPath () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 61 73 73 65 6D 62 6C 79 00 00 ) // ...assembly.. + // method line 697 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x11962 + .override class [mscorlib]System.Collections.IEnumerator::Reset + // Code size 13 (0xd) + .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::System.Collections.IEnumerator.Reset - .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 [mscorlib]System.IO.DirectoryInfo Path () + .property instance object System.Collections.IEnumerator.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') + .get instance default object NAnt.Core.Types.ArgumentEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class NAnt.Core.Types.FileSet TaskFileSet () + .property instance class NAnt.Core.Types.Argument 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.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.Argument NAnt.Core.Types.ArgumentEnumerator::get_Current () } - } // end of class NAnt.Core.Tasks.LoadTasksTask + } // end of class NAnt.Core.Types.ArgumentEnumerator } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi abstract serializable beforefieldinit ExternalProgramBase - extends NAnt.Core.Task + .class public auto ansi serializable beforefieldinit XsltParameterCollection + extends [mscorlib]System.Collections.CollectionBase { - .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 + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 768 - .method family hidebysig specialname rtspecialname + + // method line 698 + .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0xd1ee - // Code size 54 (0x36) + // Method begins at RVA 0x11970 + // Code size 8 (0x8) .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 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method XsltParameterCollection::.ctor - // method line 769 - .method public virtual hidebysig newslot specialname - instance default string get_ExeName () cil managed + // method line 699 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltParameterCollection 'value') cil managed { - // Method begins at RVA 0xd228 - // Code size 37 (0x25) - .maxstack 1 + // Method begins at RVA 0x11979 + // 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 + + // method line 700 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltParameter[] 'value') cil managed + { + // Method begins at RVA 0x11989 + // 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 XsltParameterCollection::.ctor + + // method line 701 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XsltParameter get_Item (int32 index) cil managed + { + // Method begins at RVA 0x1199c + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - string V_0) + class NAnt.Core.Types.XsltParameter 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: 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_0023: ldloc.0 - IL_0024: ret - } // end of method ExternalProgramBase::get_ExeName + IL_0018: ldloc.0 + IL_0019: ret + } // end of method XsltParameterCollection::get_Item - // method line 770 - .method public virtual hidebysig newslot specialname - instance default void set_ExeName (string 'value') cil managed + // method line 702 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Types.XsltParameter 'value') cil managed { - // Method begins at RVA 0xd259 - // Code size 9 (0x9) + // Method begins at RVA 0x119c2 + // Code size 15 (0xf) .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 + 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 771 - .method public virtual hidebysig newslot specialname - instance default string get_ProgramFileName () cil managed + // method line 703 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XsltParameter get_Item (string 'value') cil managed { - // Method begins at RVA 0xd264 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x119d4 + // Code size 111 (0x6f) + .maxstack 2 .locals init ( - string V_0) + 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 704 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.XsltParameter item) cil managed + { + // Method begins at RVA 0x11a60 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + int32 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: 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 ExternalProgramBase::get_ProgramFileName + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XsltParameterCollection::Add - // method line 772 - .method public virtual hidebysig newslot abstract specialname - instance default string get_ProgramArguments () cil managed + // method line 705 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XsltParameter[] items) cil managed { - // Method begins at RVA 0x0 - } // end of method ExternalProgramBase::get_ProgramArguments + // Method begins at RVA 0x11a84 + // 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 - // method line 773 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.FileInfo get_Output () 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.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 706 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XsltParameterCollection items) cil managed { - // Method begins at RVA 0xd280 - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0x11ab4 + // Code size 41 (0x29) + .maxstack 3 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + int32 V_0) IL_0000: nop - IL_0001: ldnull + 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 ExternalProgramBase::get_Output + 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 - // method line 774 - .method public virtual hidebysig newslot specialname - instance default void set_Output (class [mscorlib]System.IO.FileInfo 'value') cil managed + IL_0028: ret + } // end of method XsltParameterCollection::AddRange + + // method line 707 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.XsltParameter item) cil managed { - // Method begins at RVA 0xd296 - // Code size 2 (0x2) + // Method begins at RVA 0x11aec + // 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 708 + .method public hidebysig + instance default bool Contains (string 'value') cil managed + { + // Method begins at RVA 0x11b10 + // 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 + + IL_0014: ldloc.0 + IL_0015: ret + } // end of method XsltParameterCollection::Contains + + // method line 709 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.XsltParameter[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x11b32 + // Code size 15 (0xf) .maxstack 8 IL_0000: nop - IL_0001: ret - } // end of method ExternalProgramBase::set_Output + IL_0001: 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 - // method line 775 - .method public virtual hidebysig newslot specialname - instance default bool get_OutputAppend () cil managed + // method line 710 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.XsltParameter item) cil managed { - // Method begins at RVA 0xd29c - // Code size 10 (0xa) + // Method begins at RVA 0x11b44 + // 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 + + // method line 711 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.XsltParameter item) cil managed + { + // Method begins at RVA 0x11b65 + // 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 + + // method line 712 + .method public hidebysig + instance default class NAnt.Core.Types.XsltParameterEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x11b78 + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.XsltParameterEnumerator 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: newobj instance void class NAnt.Core.Types.XsltParameterEnumerator::'.ctor'(class NAnt.Core.Types.XsltParameterCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ExternalProgramBase::get_OutputAppend + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltParameterCollection::GetEnumerator - // method line 776 - .method public virtual hidebysig newslot specialname - instance default void set_OutputAppend (bool 'value') cil managed + // method line 713 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.XsltParameter item) cil managed { - // Method begins at RVA 0xd2b2 - // Code size 2 (0x2) + // Method begins at RVA 0x11b93 + // Code size 14 (0xe) .maxstack 8 IL_0000: nop - IL_0001: ret - } // end of method ExternalProgramBase::set_OutputAppend + IL_0001: 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 - // method line 777 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + .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 714 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XsltParameterCollection arguments) cil managed + { + // Method begins at RVA 0x11ba4 + // 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 + + // method line 715 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XsltParameter get_Current () cil managed { - // Method begins at RVA 0xd2b8 + // Method begins at RVA 0x11bc8 // Code size 25 (0x19) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class NAnt.Core.Types.XsltParameter 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: 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 ExternalProgramBase::get_BaseDirectory + } // end of method XsltParameterEnumerator::get_Current - // method line 778 - .method public virtual hidebysig newslot specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 716 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0xd2dd - // Code size 2 (0x2) + // Method begins at RVA 0x11bf0 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method XsltParameterEnumerator::System.Collections.IEnumerator.get_Current + + // method line 717 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x11c10 + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method XsltParameterEnumerator::MoveNext + + // method line 718 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x11c30 + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method XsltParameterEnumerator::System.Collections.IEnumerator.MoveNext + + // method line 719 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x11c50 + // Code size 13 (0xd) .maxstack 8 IL_0000: nop - IL_0001: ret - } // end of method ExternalProgramBase::set_BaseDirectory + 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 - // method line 779 + // method line 720 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x11c5e + .override class [mscorlib]System.Collections.IEnumerator::Reset + // 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::System.Collections.IEnumerator.Reset + + .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 +} + +.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 721 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name, string 'value') cil managed + { + // Method begins at RVA 0x11c6c + // 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 722 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x11c8a + // 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 + + // method line 723 .method public hidebysig specialname - instance default int32 get_TimeOut () cil managed + instance default string get_OptionName () cil managed { - // Method begins at RVA 0xd2e0 + // Method begins at RVA 0x11c9c // 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.Tasks.ExternalProgramBase::_timeout + 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 ExternalProgramBase::get_TimeOut + } // end of method Option::get_OptionName - // method line 780 + // method line 724 .method public hidebysig specialname - instance default void set_TimeOut (int32 'value') cil managed + instance default void set_OptionName (string 'value') cil managed { - // Method begins at RVA 0xd2fb + // Method begins at RVA 0x11cb7 // 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_0003: stfld string NAnt.Core.Types.Option::_name IL_0008: ret - } // end of method ExternalProgramBase::set_TimeOut + } // end of method Option::set_OptionName - // method line 781 - .method public virtual hidebysig newslot specialname - instance default class NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed + // method line 725 + .method public hidebysig specialname + instance default string get_Value () cil managed { - // Method begins at RVA 0xd308 + // Method begins at RVA 0x11cc4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.ArgumentCollection V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Tasks.ExternalProgramBase::_arguments + 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 ExternalProgramBase::get_Arguments + } // end of method Option::get_Value - // method line 782 - .method public virtual hidebysig newslot specialname - instance default bool get_UseRuntimeEngine () cil managed + // method line 726 + .method public hidebysig specialname + instance default void set_Value (string 'value') cil managed + { + // Method begins at RVA 0x11cdf + // 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 + + // method line 727 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0xd324 + // Method begins at RVA 0x11cec // 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.ExternalProgramBase::_useRuntimeEngine + 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 ExternalProgramBase::get_UseRuntimeEngine + } // end of method Option::get_IfDefined - // method line 783 - .method public virtual hidebysig newslot specialname - instance default void set_UseRuntimeEngine (bool 'value') cil managed + // method line 728 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0xd33f + // Method begins at RVA 0x11d07 // 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_0003: stfld bool NAnt.Core.Types.Option::_ifDefined IL_0008: ret - } // end of method ExternalProgramBase::set_UseRuntimeEngine + } // end of method Option::set_IfDefined - // method line 784 - .method public virtual hidebysig newslot specialname - instance default valuetype NAnt.Core.Types.ManagedExecution get_Managed () cil managed + // method line 729 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0xd34c - // Code size 45 (0x2d) + // Method begins at RVA 0x11d14 + // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.Types.ManagedExecution V_0) + bool V_0) 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: ldfld bool NAnt.Core.Types.Option::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_002b: ldloc.0 - IL_002c: ret - } // end of method ExternalProgramBase::get_Managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Option::get_UnlessDefined - // method line 785 - .method public virtual hidebysig newslot specialname - instance default void set_Managed (valuetype NAnt.Core.Types.ManagedExecution 'value') cil managed + // method line 730 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0xd385 - // Code size 22 (0x16) + // Method begins at RVA 0x11d2f + // Code size 9 (0x9) .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 + IL_0003: stfld bool NAnt.Core.Types.Option::_unlessDefined + IL_0008: ret + } // end of method Option::set_UnlessDefined - // method line 786 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.TextWriter get_OutputWriter () cil managed - { - // Method begins at RVA 0xd39c - // Code size 50 (0x32) - .maxstack 4 - .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.Tasks.ExternalProgramBase::_outputWriter - IL_0007: brtrue IL_0024 + .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_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 + .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_0030: ldloc.0 - IL_0031: ret - } // end of method ExternalProgramBase::get_OutputWriter + .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.. - // method line 787 - .method public virtual hidebysig newslot specialname - instance default void set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed + .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.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .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.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .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 +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit Pattern + extends NAnt.Core.Element + { + .field private string _patternName + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 731 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0xd3da - // Code size 9 (0x9) + // Method begins at RVA 0x11d39 + // Code size 15 (0xf) .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 + 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 788 + // method line 732 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, string patternName) cil managed + { + // Method begins at RVA 0x11d49 + // 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 733 .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.TextWriter get_ErrorWriter () cil managed + instance default string get_PatternName () cil managed { - // Method begins at RVA 0xd3e4 - // Code size 50 (0x32) - .maxstack 4 + // Method begins at RVA 0x11d68 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.TextWriter V_0) + string V_0) 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_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_0002: ldfld string NAnt.Core.Types.Pattern::_patternName + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0030: ldloc.0 - IL_0031: ret - } // end of method ExternalProgramBase::get_ErrorWriter + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Pattern::get_PatternName - // method line 789 + // method line 734 .method public virtual hidebysig newslot specialname - instance default void set_ErrorWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed + instance default void set_PatternName (string 'value') cil managed { - // Method begins at RVA 0xd422 + // Method begins at RVA 0x11d83 // 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_0003: stfld string NAnt.Core.Types.Pattern::_patternName IL_0008: ret - } // end of method ExternalProgramBase::set_ErrorWriter + } // end of method Pattern::set_PatternName - // method line 790 + // method line 735 .method public hidebysig specialname - instance default int32 get_ExitCode () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0xd42c + // Method begins at RVA 0x11d90 // 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.Tasks.ExternalProgramBase::_exitCode + 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 ExternalProgramBase::get_ExitCode + } // end of method Pattern::get_IfDefined - // method line 791 - .method family hidebysig specialname - instance default int32 get_ProcessId () cil managed + // method line 736 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0xd448 - // Code size 61 (0x3d) - .maxstack 1 - .locals init ( - int32 V_0) + // Method begins at RVA 0x11dab + // Code size 9 (0x9) + .maxstack 8 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_003b: ldloc.0 - IL_003c: ret - } // end of method ExternalProgramBase::get_ProcessId + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Types.Pattern::_ifDefined + IL_0008: ret + } // end of method Pattern::set_IfDefined - // method line 792 - .method public virtual hidebysig newslot specialname - instance default bool get_Spawn () cil managed + // method line 737 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0xd494 + // Method begins at RVA 0x11db8 // 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.ExternalProgramBase::_spawn + 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 ExternalProgramBase::get_Spawn + } // end of method Pattern::get_UnlessDefined - // method line 793 - .method public virtual hidebysig newslot specialname - instance default void set_Spawn (bool 'value') cil managed + // method line 738 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0xd4af + // Method begins at RVA 0x11dd3 // 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_0003: stfld bool NAnt.Core.Types.Pattern::_unlessDefined IL_0008: ret - } // end of method ExternalProgramBase::set_Spawn + } // end of method Pattern::set_UnlessDefined - // method line 794 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 739 + .method assembly hidebysig specialname + instance default bool get_Enabled () cil managed { - // Method begins at RVA 0xd4bc - // Code size 489 (0x1e9) - .maxstack 4 + // Method begins at RVA 0x11de0 + // Code size 32 (0x20) + .maxstack 2 .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) + bool V_0) 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_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Types.Pattern::get_IfDefined() + IL_0007: brfalse IL_0017 - 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_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_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_0017: ldc.i4.0 + IL_0018: stloc.0 + IL_0019: br IL_001e - 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_001e: ldloc.0 + IL_001f: ret + } // end of method Pattern::get_Enabled - } // end .try 0 - catch class [mscorlib]System.Object { // 0 - IL_00b0: pop - IL_00b1: nop - IL_00b2: nop - IL_00b3: leave IL_00b8 + .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. - } // 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 + .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_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 + .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. - } // 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 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - 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 + .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. - } // 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 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_01ba: ldloc.0 - IL_01bb: callvirt instance bool class [mscorlib]System.Threading.Thread::get_IsAlive() - IL_01c0: brfalse IL_01cd + .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_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 +.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.. - IL_01d3: ldloc.1 - IL_01d4: callvirt instance bool class [mscorlib]System.Threading.Thread::get_IsAlive() - IL_01d9: brfalse IL_01e6 - 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 740 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x11e0c + // 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 - // method line 795 + // method line 741 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.OptionCollection 'value') cil managed + { + // Method begins at RVA 0x11e15 + // 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 + + // method line 742 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.Option[] 'value') cil managed + { + // Method begins at RVA 0x11e25 + // 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 743 .method public hidebysig specialname - instance default string get_CommandLine () cil managed + instance default class NAnt.Core.Types.Option get_Item (int32 index) cil managed { - // Method begins at RVA 0xd718 - // Code size 39 (0x27) + // Method begins at RVA 0x11e38 + // Code size 26 (0x1a) .maxstack 2 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1) + class NAnt.Core.Types.Option V_0) 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: 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_0025: ldloc.1 - IL_0026: ret - } // end of method ExternalProgramBase::get_CommandLine + IL_0018: ldloc.0 + IL_0019: ret + } // end of method OptionCollection::get_Item - // method line 796 - .method family virtual hidebysig newslot - instance default void PrepareProcess (class [System]System.Diagnostics.Process process) cil managed + // method line 744 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Types.Option 'value') cil managed { - // Method begins at RVA 0xd74c - // Code size 451 (0x1c3) - .maxstack 4 - .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) + // Method begins at RVA 0x11e5e + // Code size 15 (0xf) + .maxstack 8 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_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_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_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 - 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 + // method line 745 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Option get_Item (string name) cil managed + { + // Method begins at RVA 0x11e70 + // 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) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - 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 + 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_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_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_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_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - 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_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a - IL_0142: ldloc.2 - IL_0143: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() - IL_0148: brtrue IL_019a + IL_004c: leave IL_0065 - IL_014d: nop - IL_014e: ldloc.2 - IL_014f: callvirt instance string class NAnt.Core.Types.EnvironmentVariable::get_Value() - IL_0154: brtrue IL_017b + } // 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_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 - - 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_01a6: leave IL_01c1 - - } // 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_01b9: ldloc.s 4 - IL_01bb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01c0: endfinally + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: endfinally } // end handler 0 - IL_01c1: nop - IL_01c2: ret - } // end of method ExternalProgramBase::PrepareProcess - - // method line 797 - .method family virtual hidebysig newslot - instance default class [System]System.Diagnostics.Process StartProcess () cil managed - { - // Method begins at RVA 0xd92c - // Code size 154 (0x9a) - .maxstack 5 - .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) - 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_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - } // 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_006d: ldloc.2 + IL_006e: ret + } // end of method OptionCollection::get_Item - // method line 798 - .method private hidebysig - instance default void StreamReaderThread_Output () cil managed + // method line 746 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.Option item) cil managed { - // Method begins at RVA 0xd9e4 - // Code size 195 (0xc3) + // Method begins at RVA 0x11efc + // Code size 21 (0x15) .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) + int32 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_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_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_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_0013: ldloc.0 + IL_0014: ret + } // end of method OptionCollection::Add - 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 747 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.Option[] items) cil managed + { + // Method begins at RVA 0x11f20 + // 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 0 - finally { // 0 - IL_0080: ldloc.s 4 - IL_0082: brfalse.s IL_008a + 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_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_0021: ret + } // end of method OptionCollection::AddRange - 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 + // method line 748 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.OptionCollection items) cil managed + { + // Method begins at RVA 0x11f50 + // 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 1 - finally { // 1 - IL_00b6: ldloc.s 7 - IL_00b8: brfalse.s IL_00c1 + 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_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 + IL_0028: ret + } // end of method OptionCollection::AddRange - // method line 799 - .method private hidebysig - instance default void StreamReaderThread_Error () cil managed + // method line 749 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.Option item) cil managed { - // Method begins at RVA 0xdad0 - // Code size 188 (0xbc) + // Method begins at RVA 0x11f88 + // Code size 21 (0x15) .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::_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_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_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_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 - finally { // 0 - IL_0079: ldloc.s 4 - IL_007b: brfalse.s IL_0083 - - 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 - - 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 - - } // end .try 1 - finally { // 1 - IL_00af: ldloc.s 7 - IL_00b1: brfalse.s IL_00ba + 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_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 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method OptionCollection::Contains - // method line 800 - .method private hidebysig - instance default string DetermineFilePath () cil managed + // method line 750 + .method public hidebysig + instance default bool Contains (string taskName) cil managed { - // Method begins at RVA 0xdbb4 - // Code size 517 (0x205) - .maxstack 3 + // Method begins at RVA 0x11fac + // Code size 22 (0x16) + .maxstack 2 .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) + bool V_0) 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_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_00b0: ldloc.3 - IL_00b1: ldc.i4.1 - IL_00b2: beq IL_0137 + IL_0014: ldloc.0 + IL_0015: ret + } // end of method OptionCollection::Contains - IL_00b7: br IL_01b2 + // method line 751 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.Option[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x11fce + // 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 - 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 + // method line 752 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.Option item) cil managed + { + // Method begins at RVA 0x11fe0 + // 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_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_0013: ldloc.0 + IL_0014: ret + } // end of method OptionCollection::IndexOf - 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 + // method line 753 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.Option item) cil managed + { + // Method begins at RVA 0x12001 + // 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 - 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 + // method line 754 + .method public hidebysig + instance default class NAnt.Core.Types.OptionEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x12014 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.OptionEnumerator 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_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method OptionCollection::GetEnumerator - 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 + // method line 755 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.Option item) cil managed + { + // Method begins at RVA 0x1202f + // 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_01b2: ldloc.0 - IL_01b3: call bool class [mscorlib]System.IO.File::Exists(string) - IL_01b8: brtrue IL_01ed + .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_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 +.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_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 + // method line 756 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.OptionCollection arguments) cil managed + { + // Method begins at RVA 0x12040 + // 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_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 757 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Option get_Current () cil managed + { + // Method begins at RVA 0x12064 + // 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_0203: ldloc.1 - IL_0204: ret - } // end of method ExternalProgramBase::DetermineFilePath + IL_0017: ldloc.0 + IL_0018: ret + } // end of method OptionEnumerator::get_Current - // method line 801 - .method private hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionMode get_ManagedExecutionMode () cil managed + // method line 758 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0xddc8 - // Code size 92 (0x5c) - .maxstack 2 + // Method begins at RVA 0x1208c + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0, - class NAnt.Core.Configuration.Runtime V_1) + object 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: 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_001c: nop - IL_001d: ldnull - IL_001e: stloc.0 - IL_001f: br IL_005a + IL_0012: ldloc.0 + IL_0013: ret + } // end of method OptionEnumerator::System.Collections.IEnumerator.get_Current - 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 759 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x120ac + // 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_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_0012: ldloc.0 + IL_0013: ret + } // end of method OptionEnumerator::MoveNext - IL_0053: ldnull - IL_0054: stloc.0 - IL_0055: br IL_005a + // method line 760 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x120cc + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // 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_005a: ldloc.0 - IL_005b: ret - } // end of method ExternalProgramBase::get_ManagedExecutionMode + IL_0012: ldloc.0 + IL_0013: ret + } // end of method OptionEnumerator::System.Collections.IEnumerator.MoveNext - // method line 802 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 761 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0xde30 - // Code size 31 (0x1f) + // Method begins at RVA 0x120ec + // Code size 13 (0xd) .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 + 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 - .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.. + // method line 762 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x120fa + .override class [mscorlib]System.Collections.IEnumerator::Reset + // 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 - .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 () + .property instance object System.Collections.IEnumerator.Current () { - .get instance default bool NAnt.Core.Tasks.ExternalProgramBase::get_OutputAppend () - .set instance default void NAnt.Core.Tasks.ExternalProgramBase::set_OutputAppend (bool 'value') + .get instance default object NAnt.Core.Types.OptionEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class [mscorlib]System.IO.DirectoryInfo BaseDirectory () + .property instance class NAnt.Core.Types.Option Current () { - .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') + .get instance default class NAnt.Core.Types.Option NAnt.Core.Types.OptionEnumerator::get_Current () } - .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 ) // .... + } // end of class NAnt.Core.Types.OptionEnumerator +} - .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.. +.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.. - .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 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 763 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1361d + // 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 - .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.. + // method line 764 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.FileSet fs) cil managed + { + // Method begins at RVA 0x13626 + // 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 - .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.Types.DirSet } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit LoopTask - extends NAnt.Core.TaskContainer + .class public auto ansi beforefieldinit Formatter + 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.. + .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.. - .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 _property + .field private string _pattern + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 803 + // method line 765 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1119b + // Method begins at RVA 0x13630 // Code size 14 (0xe) .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.Formatter::_ifDefined IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.TaskContainer::'.ctor'() + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() IL_000d: ret - } // end of method LoopTask::.ctor + } // end of method Formatter::.ctor - // method line 804 + // method line 766 .method public hidebysig specialname instance default string get_Property () cil managed { - // Method begins at RVA 0x111ac + // Method begins at RVA 0x13640 // 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.Formatter::_property 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 Formatter::get_Property - // method line 805 + // method line 767 .method public hidebysig specialname instance default void set_Property (string 'value') cil managed { - // Method begins at RVA 0x111c8 - // Code size 104 (0x68) - .maxstack 4 - .locals init ( - string V_0, - string[] V_1, - int32 V_2) + // Method begins at RVA 0x1365b + // 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[] 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 string NAnt.Core.Types.Formatter::_property + IL_0008: ret + } // end of method Formatter::set_Property - // method line 806 + // method line 768 .method public hidebysig specialname - instance default valuetype NAnt.Core.Tasks.LoopTask/LoopItem get_ItemType () cil managed + instance default string get_Pattern () cil managed { - // Method begins at RVA 0x1123c + // Method begins at RVA 0x13668 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Core.Tasks.LoopTask/LoopItem V_0) + string 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 string NAnt.Core.Types.Formatter::_pattern 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 Formatter::get_Pattern - // method line 807 + // method line 769 .method public hidebysig specialname - instance default void set_ItemType (valuetype NAnt.Core.Tasks.LoopTask/LoopItem 'value') cil managed + instance default void set_Pattern (string 'value') cil managed { - // Method begins at RVA 0x11257 + // Method begins at RVA 0x13683 // 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 string NAnt.Core.Types.Formatter::_pattern IL_0008: ret - } // end of method LoopTask::set_ItemType + } // end of method Formatter::set_Pattern - // method line 808 + // method line 770 .method public hidebysig specialname - instance default valuetype NAnt.Core.Tasks.LoopTask/LoopTrim get_TrimType () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x11264 + // Method begins at RVA 0x13690 // Code size 15 (0xf) .maxstack 1 .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_0002: ldfld bool NAnt.Core.Types.Formatter::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LoopTask::get_TrimType + } // end of method Formatter::get_IfDefined - // method line 809 + // method line 771 .method public hidebysig specialname - instance default void set_TrimType (valuetype NAnt.Core.Tasks.LoopTask/LoopTrim 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x1127f + // Method begins at RVA 0x136ab // 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/LoopTrim NAnt.Core.Tasks.LoopTask::_loopTrim + IL_0003: stfld bool NAnt.Core.Types.Formatter::_ifDefined IL_0008: ret - } // end of method LoopTask::set_TrimType + } // end of method Formatter::set_IfDefined - // method line 810 + // method line 772 .method public hidebysig specialname - instance default string get_Source () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x1128c + // Method begins at RVA 0x136b8 // 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.LoopTask::_inAttribute + IL_0002: ldfld bool NAnt.Core.Types.Formatter::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method LoopTask::get_Source + } // end of method Formatter::get_UnlessDefined - // method line 811 + // method line 773 .method public hidebysig specialname - instance default void set_Source (string 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x112a7 - // Code size 14 (0xe) + // Method begins at RVA 0x136d3 + // 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.LoopTask::_inAttribute - IL_000d: ret - } // end of method LoopTask::set_Source + IL_0003: stfld bool NAnt.Core.Types.Formatter::_unlessDefined + IL_0008: ret + } // end of method Formatter::set_UnlessDefined - // method line 812 - .method public hidebysig specialname - instance default string get_Delimiter () cil managed - { - // Method begins at RVA 0x112b8 - // 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::_delim - IL_0007: stloc.0 - IL_0008: br IL_000d + .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_000d: ldloc.0 - IL_000e: ret - } // end of method LoopTask::get_Delimiter + .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 813 - .method public hidebysig specialname - instance default void set_Delimiter (string 'value') cil managed - { - // Method begins at RVA 0x112d3 - // Code size 42 (0x2a) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0012 + .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. - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 string::get_Length() - IL_000d: brtrue IL_0020 + .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: 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 + .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_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 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 814 - .method public hidebysig specialname - instance default class NAnt.Core.Tasks.InElement get_InElement () cil managed + .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.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .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 +} + +.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.. + + .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 774 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x11300 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x136dd + // 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 775 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, string path) cil managed + { + // Method begins at RVA 0x136fc + // 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 + + // method line 776 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0x13730 + // Code size 115 (0x73) + .maxstack 3 .locals init ( - class NAnt.Core.Tasks.InElement 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 class NAnt.Core.Tasks.InElement NAnt.Core.Tasks.LoopTask::_inElement + 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 LoopTask::get_InElement + IL_0013: nop + IL_0014: ldstr "" + IL_0019: stloc.1 + IL_001a: br IL_0071 - // method line 815 - .method public hidebysig specialname - instance default void set_InElement (class NAnt.Core.Tasks.InElement 'value') cil managed - { - // Method begins at RVA 0x1131b - // Code size 9 (0x9) - .maxstack 8 - 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_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 816 - .method public hidebysig specialname - instance default class NAnt.Core.TaskContainer get_StuffToDo () 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 777 + .method public hidebysig + instance default void AddPath (class NAnt.Core.Types.PathSet path) cil managed { - // Method begins at RVA 0x11328 + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. + + // Method begins at RVA 0x137af // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.TaskContainer V_0) + .maxstack 8 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_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 LoopTask::get_StuffToDo + } // end of method PathSet::AddPath - // method line 817 - .method public hidebysig specialname - instance default void set_StuffToDo (class NAnt.Core.TaskContainer 'value') cil managed + // method line 778 + .method public hidebysig + instance default void AddPathElement (class NAnt.Core.Types.PathElement pathElement) cil managed { - // Method begins at RVA 0x11343 - // 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 0x137bf + // 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: 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 818 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 779 + .method public hidebysig + instance default class [System]System.Collections.Specialized.StringCollection GetElements () cil managed { - // Method begins at RVA 0x11350 - // Code size 1480 (0x5c8) - .maxstack 5 + // Method begins at RVA 0x137d0 + // Code size 353 (0x161) + .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 [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 [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) + class [System]System.Collections.Specialized.StringCollection V_11) 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_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 - - .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_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_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_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 - - 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 - - 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_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_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_016c: nop - IL_016d: br IL_01f2 + 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_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 + 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_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 + 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_01a8: br IL_01c9 + IL_0046: br IL_006b - 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_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_01d5: leave IL_01f1 + 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_0077: leave IL_0093 } // 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_007c: ldloc.s 4 + IL_007e: isinst [mscorlib]System.IDisposable + IL_0083: dup + IL_0084: stloc.s 5 + IL_0086: brfalse IL_0092 - IL_01e9: ldloc.s 10 - IL_01eb: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_01f0: endfinally + IL_008b: ldloc.s 5 + IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0092: endfinally } // end handler 0 - IL_01f1: nop - IL_01f2: leave IL_058c - - 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_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_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 - - 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_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_0093: nop + IL_0094: br IL_012f - 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_0099: ldloc.1 + IL_009a: isinst NAnt.Core.Types.PathElement + IL_009f: brfalse IL_012f - 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_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_0305: nop - IL_0306: br IL_038b + IL_00b9: ldloc.s 6 + IL_00bb: callvirt instance bool class NAnt.Core.Types.PathElement::get_UnlessDefined() + IL_00c0: brfalse IL_00cb - 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_00c5: nop + IL_00c6: leave IL_0130 - 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 + 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_0341: br IL_0362 + IL_00de: br IL_0106 - 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_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 - IL_036e: leave IL_038a + 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_0112: leave IL_012e } // 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_0117: ldloc.s 8 + IL_0119: isinst [mscorlib]System.IDisposable + IL_011e: dup + IL_011f: stloc.s 9 + IL_0121: brfalse IL_012d - IL_0382: ldloc.s 18 - IL_0384: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0389: endfinally + IL_0126: ldloc.s 9 + IL_0128: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_012d: endfinally } // end handler 1 - IL_038a: nop - IL_038b: leave IL_058c + 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_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_013b: leave IL_0156 - 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 + } // 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_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 + 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_03da: ldarg.0 - IL_03db: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() - IL_03e0: brtrue IL_03f7 + IL_015e: ldloc.s 11 + IL_0160: ret + } // end of method PathSet::GetElements - 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 780 + .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 0x1398c + // Code size 388 (0x184) + .maxstack 7 + .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) + 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_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_000d: nop + IL_000e: ldloc.0 + IL_000f: stloc.1 + IL_0010: br IL_0182 - 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_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_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_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_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 + 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_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_0058: ldsfld bool NAnt.Core.Types.PathSet::_dosBasedFileSystem + IL_005d: brfalse IL_00b3 - IL_04c2: leave IL_04de + 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 - } // 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 + 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_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_008b: ldloc.s 5 + IL_008d: ldstr "/" + IL_0092: callvirt instance bool string::StartsWith(string) + IL_0097: brfalse IL_00b2 - 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_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_04f4: nop - IL_04f5: leave IL_05c7 + IL_00cd: ldloc.s 6 + IL_00cf: ldstr "%" + IL_00d4: callvirt instance bool string::EndsWith(string) + IL_00d9: brfalse IL_00e4 - 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_00de: nop + IL_00df: br IL_016e - 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_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[] 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_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_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_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_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_0587: leave IL_058c + } // 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_058c: nop - IL_058d: leave IL_05c7 + } // 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 - } // end .try 3 - finally { // 3 - IL_0592: nop - IL_0593: ldc.i4.0 - IL_0594: stloc.s 26 - IL_0596: br IL_05bb + 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_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_017b: ldloc.0 + IL_017c: stloc.1 + IL_017d: br IL_0182 - IL_05c5: nop - IL_05c6: endfinally - } // end handler 3 - IL_05c7: ret - } // end of method LoopTask::ExecuteTask + IL_0182: ldloc.1 + IL_0183: ret + } // end of method PathSet::TranslatePath - // method line 819 - .method family virtual hidebysig - instance default void ExecuteChildTasks () cil managed + // method line 781 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x11988 - // Code size 39 (0x27) + // Method begins at RVA 0x13b2c + // 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_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 - 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 + } // end of class NAnt.Core.Types.PathSet +} - 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 +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit Credential + extends NAnt.Core.DataTypeBase + { + .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.. - // method line 820 - .method family virtual hidebysig newslot - instance default void DoWork (string[] propVals) cil managed + .field private string _domain + .field private string _password + .field private string _userName + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 782 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - .param [1] - .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0x13b3c + // Code size 15 (0xf) + .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 - // Method begins at RVA 0x119b0 - // Code size 155 (0x9b) - .maxstack 3 + // method line 783 + .method public hidebysig specialname + instance default string get_Domain () cil managed + { + // Method begins at RVA 0x13b4c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0, - string V_1, - valuetype NAnt.Core.Tasks.LoopTask/LoopTrim V_2) + string V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_008b + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Types.Credential::_domain + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000e: ret + } // end of method Credential::get_Domain - IL_0042: ldloc.2 - IL_0043: ldc.i4.1 - IL_0044: beq IL_0066 + // method line 784 + .method public hidebysig specialname + instance default void set_Domain (string 'value') cil managed + { + // Method begins at RVA 0x13b67 + // 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 - IL_0049: br IL_0072 + // method line 785 + .method public hidebysig specialname + instance default string get_Password () cil managed + { + // Method begins at RVA 0x13b78 + // 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_0007: stloc.0 + IL_0008: br IL_000d - IL_004e: ldloc.1 - IL_004f: callvirt instance string string::Trim() - IL_0054: stloc.1 - IL_0055: br IL_0072 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Credential::get_Password - IL_005a: ldloc.1 - IL_005b: callvirt instance string string::TrimStart() - IL_0060: stloc.1 - IL_0061: br IL_0072 + // method line 786 + .method public hidebysig specialname + instance default void set_Password (string 'value') cil managed + { + // Method begins at RVA 0x13b93 + // 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::_password + IL_000d: ret + } // end of method Credential::set_Password - IL_0066: ldloc.1 - IL_0067: callvirt instance string string::TrimEnd() - IL_006c: stloc.1 - IL_006d: br IL_0072 + // method line 787 + .method public hidebysig specialname + instance default string get_UserName () cil managed + { + // Method begins at RVA 0x13ba4 + // 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::_userName + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method Credential::get_UserName - IL_0094: ldarg.0 - IL_0095: call instance void class NAnt.Core.TaskContainer::ExecuteTask() - IL_009a: ret - } // end of method LoopTask::DoWork + // method line 788 + .method public hidebysig specialname + instance default void set_UserName (string 'value') cil managed + { + // Method begins at RVA 0x13bbf + // 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::_userName + IL_000d: ret + } // end of method Credential::set_UserName - // method line 821 - .method private hidebysig - instance default void DoWorkOnFileLines (string filename) cil managed + // method line 789 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x11a58 - // Code size 115 (0x73) - .maxstack 5 + // Method begins at RVA 0x13bd0 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - string V_1) + bool 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_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.Credential::_ifDefined 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_0008: br IL_000d - IL_0018: nop - IL_0019: leave IL_005f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Credential::get_IfDefined - IL_001e: ldarg.0 - IL_001f: call instance string class NAnt.Core.Tasks.LoopTask::get_Delimiter() - IL_0024: brtrue IL_0040 + // method line 790 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x13beb + // 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_0008: ret + } // end of method Credential::set_IfDefined - 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 + // method line 791 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x13bf8 + // 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_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_000d: ldloc.0 + IL_000e: ret + } // end of method Credential::get_UnlessDefined - IL_005f: nop - IL_0060: leave IL_0072 + // method line 792 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x13c13 + // 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 - } // end .try 0 - finally { // 0 - IL_0065: ldloc.0 - IL_0066: brfalse IL_0071 + // method line 793 + .method public hidebysig + instance default class [System]System.Net.ICredentials GetCredential () cil managed + { + // Method begins at RVA 0x13c20 + // 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_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_000e: ldarg.0 + IL_000f: call instance bool class NAnt.Core.Types.Credential::get_UnlessDefined() + IL_0014: brtrue IL_0033 - .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_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 - .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_003a: ldloc.1 + IL_003b: ret + } // end of method Credential::GetCredential - .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 () + .property instance string Domain () { .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. + 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 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') + .get instance default string NAnt.Core.Types.Credential::get_Domain () + .set instance default void NAnt.Core.Types.Credential::set_Domain (string 'value') } - .property instance valuetype NAnt.Core.Tasks.LoopTask/LoopTrim TrimType () + .property instance string Password () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 74 72 69 6D 00 00 ) // ...trim.. + .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 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') + .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 Source () + .property instance string UserName () { .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. + 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.Tasks.LoopTask::get_Source () - .set instance default void NAnt.Core.Tasks.LoopTask::set_Source (string 'value') + .get instance default string NAnt.Core.Types.Credential::get_UserName () + .set instance default void NAnt.Core.Types.Credential::set_UserName (string 'value') } - .property instance string Delimiter () + .property instance bool IfDefined () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 64 65 6C 69 6D 00 00 ) // ...delim.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - .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.. + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .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') + .get instance default bool NAnt.Core.Types.Credential::get_IfDefined () + .set instance default void NAnt.Core.Types.Credential::set_IfDefined (bool 'value') } - .property instance class NAnt.Core.TaskContainer StuffToDo () + .property instance bool UnlessDefined () { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 02 64 6F 00 00 ) // ...do.. - - .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) - - } // 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) + .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 LoopTrim + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - } // end of class NAnt.Core.Tasks.LoopTask + .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 InElement - extends NAnt.Core.Element - { - .field private class NAnt.Core.Types.FileSet _items + .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.. - // method line 822 + .field private initonly class [mscorlib]System.Collections.ArrayList _list + + // method line 794 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x11ae8 - // Code size 7 (0x7) + // Method begins at RVA 0x13c68 + // Code size 19 (0x13) .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_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 823 + // method line 795 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_Items () cil managed + instance default class NAnt.Core.Types.Pattern get_Item (int32 index) cil managed { - // Method begins at RVA 0x11af0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x13c7c + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - class NAnt.Core.Types.FileSet V_0) + class NAnt.Core.Types.Pattern V_0) IL_0000: nop 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method InElement::get_Items + IL_0018: ldloc.0 + IL_0019: ret + } // end of method PatternCollection::get_Item - // method line 824 + // method line 796 .method public hidebysig specialname - instance default void set_Items (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Core.Types.Pattern 'value') cil managed { - // Method begins at RVA 0x11b0b - // Code size 9 (0x9) + // Method begins at RVA 0x13ca2 + // Code size 15 (0xf) .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 - - .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.. - - .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 -} - -.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 825 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x11b15 - // 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 + 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 826 - .method public hidebysig specialname - instance default string get_Resource () cil managed + // method line 797 + .method private hidebysig specialname + instance default class [mscorlib]System.Collections.ArrayList get_List () cil managed { - // Method begins at RVA 0x11b20 + // Method begins at RVA 0x13cb4 // 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.AvailableTask::_resource + 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 AvailableTask::get_Resource + } // end of method PatternCollection::get_List - // method line 827 - .method public hidebysig specialname - instance default void set_Resource (string 'value') cil managed + // method line 798 + .method public final virtual hidebysig newslot specialname + instance default int32 get_Count () cil managed { - // Method begins at RVA 0x11b3b - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x13cd0 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + int32 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.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 int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 828 - .method public hidebysig specialname - instance default valuetype NAnt.Core.Tasks.AvailableTask/ResourceType get_Type () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PatternCollection::get_Count + + // method line 799 + .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 0x11b4c + // Method begins at RVA 0x13cf0 + .override class [mscorlib]System.Collections.ICollection::CopyTo // 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::System.Collections.ICollection.CopyTo + + // method line 800 + .method private final virtual hidebysig newslot specialname + instance default bool System.Collections.ICollection.get_IsSynchronized () cil managed + { + // Method begins at RVA 0x13d00 + .override class [mscorlib]System.Collections.ICollection::get_IsSynchronized + // Code size 20 (0x14) .maxstack 1 .locals init ( - valuetype NAnt.Core.Tasks.AvailableTask/ResourceType V_0) + bool 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method AvailableTask::get_Type + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PatternCollection::System.Collections.ICollection.get_IsSynchronized - // method line 829 - .method public hidebysig specialname - instance default void set_Type (valuetype NAnt.Core.Tasks.AvailableTask/ResourceType 'value') cil managed + // method line 801 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.ICollection.get_SyncRoot () cil managed { - // Method begins at RVA 0x11b68 - // Code size 65 (0x41) - .maxstack 3 + // Method begins at RVA 0x13d20 + .override class [mscorlib]System.Collections.ICollection::get_SyncRoot + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) 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.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_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_0012: ldloc.0 + IL_0013: ret + } // end of method PatternCollection::System.Collections.ICollection.get_SyncRoot - // method line 830 - .method public hidebysig specialname - instance default string get_PropertyName () cil managed + // method line 802 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed { - // Method begins at RVA 0x11bb8 - // Code size 15 (0xf) + // Method begins at RVA 0x13d40 + .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator + // Code size 20 (0x14) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Collections.IEnumerator V_0) 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method AvailableTask::get_PropertyName + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PatternCollection::System.Collections.IEnumerable.GetEnumerator - // method line 831 - .method public hidebysig specialname - instance default void set_PropertyName (string 'value') cil managed + // method line 803 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IList.get_Item (int32 index) cil managed { - // Method begins at RVA 0x11bd3 - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x13d60 + .override class [mscorlib]System.Collections.IList::get_Item + // 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.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Tasks.AvailableTask::_propertyName - IL_000d: ret - } // end of method AvailableTask::set_PropertyName + 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 - // method line 832 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method PatternCollection::System.Collections.IList.get_Item + + // method line 804 + .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 0x11be4 - // Code size 43 (0x2b) - .maxstack 4 + // Method begins at RVA 0x13d7c + .override class [mscorlib]System.Collections.IList::set_Item + // Code size 81 (0x51) + .maxstack 3 + 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_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 805 + .method private final virtual hidebysig newslot specialname + instance default bool System.Collections.IList.get_IsFixedSize () cil managed + { + // Method begins at RVA 0x13ddc + .override class [mscorlib]System.Collections.IList::get_IsFixedSize + // Code size 10 (0xa) + .maxstack 1 .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 + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - // method line 833 - .method family virtual hidebysig newslot - instance default bool Evaluate () cil managed + IL_0008: ldloc.0 + IL_0009: ret + } // end of method PatternCollection::System.Collections.IList.get_IsFixedSize + + // method line 806 + .method private final virtual hidebysig newslot specialname + instance default bool System.Collections.IList.get_IsReadOnly () cil managed { - // Method begins at RVA 0x11c1c - // Code size 181 (0xb5) - .maxstack 7 + // Method begins at RVA 0x13df4 + .override class [mscorlib]System.Collections.IList::get_IsReadOnly + // Code size 10 (0xa) + .maxstack 1 .locals init ( - bool V_0, - valuetype NAnt.Core.Tasks.AvailableTask/ResourceType V_1, - bool V_2) + bool 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_0008 - 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_0008: ldloc.0 + IL_0009: ret + } // end of method PatternCollection::System.Collections.IList.get_IsReadOnly - IL_0033: ldarg.0 - IL_0034: call instance bool class NAnt.Core.Tasks.AvailableTask::CheckDirectory() - IL_0039: stloc.0 - IL_003a: br IL_0077 + // method line 807 + .method private final virtual hidebysig newslot + instance default int32 System.Collections.IList.Add (object 'value') cil managed + { + // Method begins at RVA 0x13e0c + .override class [mscorlib]System.Collections.IList::Add + // Code size 87 (0x57) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - 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_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_004b: ldarg.0 - IL_004c: call instance bool class NAnt.Core.Tasks.AvailableTask::CheckFrameworkSDK() - IL_0051: stloc.0 - IL_0052: br IL_0077 + 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_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_0055: ldloc.0 + IL_0056: ret + } // end of method PatternCollection::System.Collections.IList.Add - 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 + // method line 808 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IList.Contains (object 'value') cil managed + { + // Method begins at RVA 0x13e70 + .override class [mscorlib]System.Collections.IList::Contains + // Code size 87 (0x57) + .maxstack 3 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_00b3: ldloc.2 - IL_00b4: ret - } // end of method AvailableTask::Evaluate + 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 834 - .method private hidebysig - instance default bool CheckFile () 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 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 809 + .method public final virtual hidebysig newslot + instance default void Clear () cil managed { - // Method begins at RVA 0x11ce0 - // Code size 80 (0x50) + // Method begins at RVA 0x13ed3 + // 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 + + // method line 810 + .method private final virtual hidebysig newslot + instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed + { + // Method begins at RVA 0x13ee4 + .override class [mscorlib]System.Collections.IList::IndexOf + // Code size 87 (0x57) .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 + IL_0001: ldarg.1 + IL_0002: brtrue IL_0013 - } // 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_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 835 - .method private hidebysig - instance default bool CheckDirectory () 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 811 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed + { + // Method begins at RVA 0x13f48 + .override class [mscorlib]System.Collections.IList::Insert + // Code size 81 (0x51) + .maxstack 3 + 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_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 812 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.Remove (object 'value') cil managed { - // Method begins at RVA 0x11d4c + // Method begins at RVA 0x13fa8 + .override class [mscorlib]System.Collections.IList::Remove // 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_0001: ldarg.1 + IL_0002: brtrue IL_0013 - } // 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_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 void class NAnt.Core.Types.PatternCollection::Remove(class NAnt.Core.Types.Pattern) IL_004f: ret - } // end of method AvailableTask::CheckDirectory + } // end of method PatternCollection::System.Collections.IList.Remove - // method line 836 - .method private hidebysig - instance default bool CheckFramework () cil managed + // method line 813 + .method private final virtual hidebysig newslot + instance default void System.Collections.IList.RemoveAt (int32 index) cil managed { - // Method begins at RVA 0x11db8 - // Code size 31 (0x1f) + // Method begins at RVA 0x14004 + .override class [mscorlib]System.Collections.IList::RemoveAt + // 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 + + // method line 814 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.Pattern item) cil managed + { + // Method begins at RVA 0x14014 + // 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.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_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_0013: ldloc.0 + IL_0014: ret + } // end of method PatternCollection::Add + + // method line 815 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.Pattern[] items) cil managed + { + // Method begins at RVA 0x14038 + // 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.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: br IL_001d + IL_0018: ldloc.0 + IL_0019: ldarg.1 + IL_001a: ldlen + IL_001b: conv.i4 + IL_001c: blt IL_0008 - IL_001d: ldloc.0 - IL_001e: ret - } // end of method AvailableTask::CheckFramework + IL_0021: ret + } // end of method PatternCollection::AddRange - // method line 837 - .method private hidebysig - instance default bool CheckFrameworkSDK () cil managed + // method line 816 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.PatternCollection items) cil managed { - // Method begins at RVA 0x11de4 - // Code size 59 (0x3b) + // Method begins at RVA 0x14068 + // 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.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_0028: ret + } // end of method PatternCollection::AddRange + + // method line 817 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.Pattern item) cil managed + { + // Method begins at RVA 0x140a0 + // Code size 21 (0x15) .maxstack 2 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - bool V_1) + 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 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 bool class [mscorlib]System.Collections.ArrayList::Contains(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::Contains - IL_0031: nop - IL_0032: ldc.i4.0 - IL_0033: stloc.1 - IL_0034: br IL_0039 + // method line 818 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.Pattern[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x140c1 + // 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_0039: ldloc.1 - IL_003a: ret - } // end of method AvailableTask::CheckFrameworkSDK + // method line 819 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.Pattern item) cil managed + { + // Method begins at RVA 0x140d4 + // 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 - .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_0013: ldloc.0 + IL_0014: ret + } // end of method PatternCollection::IndexOf - .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 820 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.Pattern item) cil managed + { + // Method begins at RVA 0x140f5 + // 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 - .get instance default string NAnt.Core.Tasks.AvailableTask::get_Resource () - .set instance default void NAnt.Core.Tasks.AvailableTask::set_Resource (string 'value') + // method line 821 + .method public hidebysig + instance default class NAnt.Core.Types.PatternEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x14108 + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method PatternCollection::GetEnumerator + + // method line 822 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.Pattern item) cil managed + { + // Method begins at RVA 0x14123 + // 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 + + .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. + .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 +} - .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. +.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 - .get instance default string NAnt.Core.Tasks.AvailableTask::get_PropertyName () - .set instance default void NAnt.Core.Tasks.AvailableTask::set_PropertyName (string '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) + // method line 823 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.PatternCollection arguments) cil managed + { + // Method begins at RVA 0x14134 + // 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 - } // end of class ResourceType + // method line 824 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Pattern get_Current () cil managed + { + // Method begins at RVA 0x14158 + // 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 - } // end of class NAnt.Core.Tasks.AvailableTask + IL_0017: ldloc.0 + IL_0018: ret + } // end of method PatternEnumerator::get_Current + + // method line 825 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x14180 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method PatternEnumerator::System.Collections.IEnumerator.get_Current + + // method line 826 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x141a0 + // 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.PatternEnumerator::_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 PatternEnumerator::MoveNext + + // method line 827 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed + { + // Method begins at RVA 0x141c0 + // 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 + + .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.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit TouchTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit Token + extends NAnt.Core.Element { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 74 6F 75 63 68 00 00 ) // ...touch.. + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 05 74 6F 6B 65 6E 00 00 ) // ...token.. - .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 + .field private string _key + .field private string _value + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 838 + // method line 828 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x11e2b - // Code size 18 (0x12) + // Method begins at RVA 0x141ce + // Code size 14 (0xe) .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_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 839 + // method line 829 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + instance default string get_Key () cil managed { - // Method begins at RVA 0x11e40 + // Method begins at RVA 0x141e0 // 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.TouchTask::_file + IL_0002: ldfld string NAnt.Core.Types.Token::_key IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TouchTask::get_File + } // end of method Token::get_Key - // method line 840 + // method line 830 .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Key (string 'value') cil managed { - // Method begins at RVA 0x11e5b + // Method begins at RVA 0x141fb // 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_0003: stfld string NAnt.Core.Types.Token::_key IL_0008: ret - } // end of method TouchTask::set_File + } // end of method Token::set_Key - // method line 841 + // method line 831 .method public hidebysig specialname - instance default int64 get_Millis () cil managed + instance default string get_Value () cil managed { - // Method begins at RVA 0x11e68 + // Method begins at RVA 0x14208 // Code size 15 (0xf) .maxstack 1 .locals init ( - int64 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int64 NAnt.Core.Tasks.TouchTask::_millis + IL_0002: ldfld string NAnt.Core.Types.Token::_value IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TouchTask::get_Millis + } // end of method Token::get_Value - // method line 842 + // method line 832 .method public hidebysig specialname - instance default void set_Millis (int64 'value') cil managed + instance default void set_Value (string 'value') cil managed { - // Method begins at RVA 0x11e83 + // Method begins at RVA 0x14223 // 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_0003: stfld string NAnt.Core.Types.Token::_value IL_0008: ret - } // end of method TouchTask::set_Millis + } // end of method Token::set_Value - // method line 843 + // method line 833 .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_Datetime () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x11e90 + // Method begins at RVA 0x14230 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Core.Tasks.TouchTask::_datetime + 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 TouchTask::get_Datetime + } // end of method Token::get_IfDefined - // method line 844 + // method line 834 .method public hidebysig specialname - instance default void set_Datetime (valuetype [mscorlib]System.DateTime 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x11eab + // Method begins at RVA 0x1424b // 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_0003: stfld bool NAnt.Core.Types.Token::_ifDefined IL_0008: ret - } // end of method TouchTask::set_Datetime + } // end of method Token::set_IfDefined - // method line 845 + // method line 835 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_TouchFileSet () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x11eb8 + // Method begins at RVA 0x14258 // Code size 15 (0xf) .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.TouchTask::_fileset + 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 TouchTask::get_TouchFileSet + } // end of method Token::get_UnlessDefined - // method line 846 + // method line 836 .method public hidebysig specialname - instance default void set_TouchFileSet (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x11ed3 + // Method begins at RVA 0x14273 // 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_0003: stfld bool NAnt.Core.Types.Token::_unlessDefined IL_0008: ret - } // end of method TouchTask::set_TouchFileSet + } // end of method Token::set_UnlessDefined - // method line 847 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x11ee0 - // 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 + .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. - 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 + .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_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 + .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. - 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 + .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. - 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 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - // method line 848 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x11f54 - // 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 + .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. - 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 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - 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 + .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 +} - 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 +.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.. - 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_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 + // method line 837 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1427d + // 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 - 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_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_00cb: leave IL_00e4 - - } // 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_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 849 - .method private hidebysig - instance default void TouchFile (string path, valuetype [mscorlib]System.DateTime touchDateTime) cil managed - { - // Method begins at RVA 0x12058 - // 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 - - } // 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_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 850 - .method private hidebysig - instance default valuetype [mscorlib]System.DateTime GetDateTime (int64 milliSeconds) cil managed - { - // Method begins at RVA 0x12168 - // 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.. - - .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 NAntSchemaTask - extends NAnt.Core.Task - { - .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.. - - .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 851 + // method line 838 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed { - // Method begins at RVA 0x1219b - // Code size 18 (0x12) + // Method begins at RVA 0x14286 + // 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 - - // method line 852 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed - { - // Method begins at RVA 0x121b0 - // 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.NAntSchemaTask::_outputFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.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 NAntSchemaTask::get_OutputFile - - // method line 853 - .method public virtual hidebysig newslot specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x121cb - // 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_0008: ret - } // end of method NAntSchemaTask::set_OutputFile + } // end of method XmlNamespaceCollection::.ctor - // method line 854 - .method public virtual hidebysig newslot specialname - instance default string get_TargetNamespace () cil managed + // method line 839 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XmlNamespace[] 'value') cil managed { - // Method begins at RVA 0x121d8 + // Method begins at RVA 0x14296 // 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_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method NAntSchemaTask::get_TargetNamespace - - // method line 855 - .method public virtual hidebysig newslot specialname - instance default void set_TargetNamespace (string 'value') cil managed - { - // Method begins at RVA 0x121f3 - // 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.NAntSchemaTask::_targetNamespace - IL_000d: ret - } // end of method NAntSchemaTask::set_TargetNamespace + 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 856 - .method public virtual hidebysig newslot specialname - instance default string get_ForType () cil managed + // method line 840 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XmlNamespace get_Item (int32 index) cil managed { - // Method begins at RVA 0x12204 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x142a8 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - string V_0) + class NAnt.Core.Types.XmlNamespace V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.NAntSchemaTask::_forType - 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 NAntSchemaTask::get_ForType + IL_0018: ldloc.0 + IL_0019: ret + } // end of method XmlNamespaceCollection::get_Item - // method line 857 - .method public virtual hidebysig newslot specialname - instance default void set_ForType (string 'value') cil managed + // method line 841 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Types.XmlNamespace 'value') cil managed { - // Method begins at RVA 0x1221f - // Code size 14 (0xe) + // Method begins at RVA 0x142ce + // 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.NAntSchemaTask::_forType - IL_000d: ret - } // end of method NAntSchemaTask::set_ForType + 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 858 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 842 + .method public hidebysig specialname + instance default class NAnt.Core.Types.XmlNamespace get_Item (string 'value') cil managed { - // Method begins at RVA 0x12230 - .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 0x142e0 + // Code size 111 (0x6f) + .maxstack 2 .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) + 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: callvirt instance string class NAnt.Core.Tasks.NAntSchemaTask::get_ForType() - IL_0007: brtrue IL_00ee + IL_0001: ldarg.1 + IL_0002: brfalse IL_0066 - 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 + 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_0039: br IL_0061 + IL_0015: br IL_0041 - 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 + 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_006c: leave IL_0087 + 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_0071: ldloc.3 - IL_0072: isinst [mscorlib]System.IDisposable - IL_0077: dup - IL_0078: stloc.s 4 - IL_007a: brfalse IL_0086 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 - IL_007f: ldloc.s 4 - IL_0081: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0086: endfinally + IL_005e: ldloc.3 + IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0064: 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 - - 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 + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - 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 + IL_006d: ldloc.2 + IL_006e: ret + } // end of method XmlNamespaceCollection::get_Item - } // 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 843 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.XmlNamespace item) cil managed + { + // Method begins at RVA 0x1436c + // 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_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_0013: ldloc.0 + IL_0014: ret + } // end of method XmlNamespaceCollection::Add - 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 844 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XmlNamespace[] items) cil managed + { + // Method begins at RVA 0x14390 + // 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 3 - finally { // 3 - IL_021c: ldloc.s 12 - IL_021e: brfalse IL_022a + 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_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 + IL_0021: ret + } // end of method XmlNamespaceCollection::AddRange - // method line 859 - .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 845 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.XmlNamespaceCollection items) cil managed { - // Method begins at RVA 0x124c0 - // Code size 68 (0x44) + // Method begins at RVA 0x143c0 + // Code size 41 (0x29) .maxstack 3 .locals init ( - class NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator V_0, - class [System.Xml]System.Xml.Schema.XmlSchema V_1) + int32 V_0) 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_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - 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_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_0042: ldloc.1 - IL_0043: ret - } // end of method NAntSchemaTask::WriteSchema + IL_0028: ret + } // end of method XmlNamespaceCollection::AddRange - // method line 860 - .method family static hidebysig - default string GenerateIDFromType (class [mscorlib]System.Type 'type') cil managed + // method line 846 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.XmlNamespace item) cil managed { - // Method begins at RVA 0x12510 - // Code size 60 (0x3c) - .maxstack 3 + // Method begins at RVA 0x143f8 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - string V_0) + bool 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 [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_003a: ldloc.0 - IL_003b: ret - } // end of method NAntSchemaTask::GenerateIDFromType + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XmlNamespaceCollection::Contains - // method line 861 - .method family static hidebysig - default class [System.Xml]System.Xml.Schema.XmlSchemaAttribute CreateXsdAttribute (string name, bool required) cil managed + // method line 847 + .method public hidebysig + instance default bool Contains (string 'value') cil managed { - // Method begins at RVA 0x12558 - // Code size 52 (0x34) + // Method begins at RVA 0x1441c + // Code size 22 (0x16) .maxstack 2 .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_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_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_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 + IL_0014: ldloc.0 + IL_0015: ret + } // end of method XmlNamespaceCollection::Contains - IL_0032: ldloc.1 - IL_0033: ret - } // end of method NAntSchemaTask::CreateXsdAttribute + // method line 848 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.XmlNamespace[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x1443e + // 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 XmlNamespaceCollection::CopyTo - // method line 862 - .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 line 849 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.XmlNamespace item) cil managed { - // Method begins at RVA 0x12598 - // Code size 71 (0x47) - .maxstack 6 + // Method begins at RVA 0x14450 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_0, - class [System.Xml]System.Xml.Schema.XmlSchemaSequence V_1) + int32 V_0) 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 + IL_0001: 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_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 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method XmlNamespaceCollection::IndexOf - IL_0045: ldloc.1 - IL_0046: ret - } // end of method NAntSchemaTask::CreateXsdSequence + // method line 850 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.XmlNamespace item) cil managed + { + // Method begins at RVA 0x14471 + // 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 863 - .method family static hidebysig - default class [System.Xml]System.Xml.XmlNode[] TextToNodeArray (string text) cil managed + // method line 851 + .method public hidebysig + instance default class NAnt.Core.Types.XmlNamespaceEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x125ec - // Code size 31 (0x1f) - .maxstack 5 + // Method begins at RVA 0x14484 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [System.Xml]System.Xml.XmlDocument V_0, - class [System.Xml]System.Xml.XmlNode[] V_1) + class NAnt.Core.Types.XmlNamespaceEnumerator 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: newobj instance void class NAnt.Core.Types.XmlNamespaceEnumerator::'.ctor'(class NAnt.Core.Types.XmlNamespaceCollection) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001d: ldloc.1 - IL_001e: ret - } // end of method NAntSchemaTask::TextToNodeArray + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlNamespaceCollection::GetEnumerator - // method line 864 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 852 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.XmlNamespace item) cil managed { - // Method begins at RVA 0x12617 - // Code size 40 (0x28) + // Method begins at RVA 0x1449f + // Code size 14 (0xe) .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 + IL_0000: nop + IL_0001: 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 [mscorlib]System.IO.FileInfo OutputFile () + .property instance class NAnt.Core.Types.XmlNamespace Item (int32) { - .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. - - .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') + .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 string TargetNamespace () + .property instance class NAnt.Core.Types.XmlNamespace Item (string) { - .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') + .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceCollection::get_Item (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. + } // end of class NAnt.Core.Types.XmlNamespaceCollection +} - .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 +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit XmlNamespaceEnumerator 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 + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 865 - .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 853 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.XmlNamespaceCollection arguments) cil managed { - // Method begins at RVA 0x12640 - // Code size 934 (0x3a6) - .maxstack 7 + // Method begins at RVA 0x144b0 + // Code size 22 (0x16) + .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) + class [mscorlib]System.Collections.IEnumerable V_0) 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 - - 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 - - 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_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_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_0227: leave IL_0243 - - } // 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_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 + 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 866 + // method line 854 .method public hidebysig specialname - instance default class [System.Xml]System.Xml.Schema.XmlSchema get_Schema () cil managed + instance default class NAnt.Core.Types.XmlNamespace get_Current () cil managed { - // Method begins at RVA 0x12a04 - // Code size 39 (0x27) + // Method begins at RVA 0x144d4 + // Code size 25 (0x19) .maxstack 1 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchema V_0) + class NAnt.Core.Types.XmlNamespace 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_0025: ldloc.0 - IL_0026: ret - } // end of method NAntSchemaGenerator::get_Schema + 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 - // method line 867 - .method public hidebysig - instance default void Compile () cil managed - { - // Method begins at RVA 0x12a37 - // 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_0017: ldloc.0 IL_0018: ret - } // end of method NAntSchemaGenerator::Compile + } // end of method XmlNamespaceEnumerator::get_Current - // method line 868 - .method family hidebysig - instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType CreateTaskListComplexType (class [mscorlib]System.Type[] tasks) cil managed + // method line 855 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x12a54 - // Code size 23 (0x17) - .maxstack 4 + // Method begins at RVA 0x144fc + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0) + object 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 - - // method line 869 - .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 0x12a78 - // Code size 392 (0x188) - .maxstack 6 - .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) - 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_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_0185: ldloc.s 16 - IL_0187: ret - } // end of method NAntSchemaGenerator::CreateTaskListComplexType - - // method line 870 - .method family hidebysig - instance default void ValidationEH (object sender, class [System.Xml]System.Xml.Schema.ValidationEventArgs args) cil managed - { - // Method begins at RVA 0x12c0c - // 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_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_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 - - 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_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_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_0012: ldloc.0 + IL_0013: ret + } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.get_Current - // method line 871 - .method family hidebysig - instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType FindComplexTypeByID (string id) cil managed + // method line 856 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x12ca0 - // Code size 51 (0x33) - .maxstack 2 + // Method begins at RVA 0x1451c + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class [System.Xml]System.Xml.Schema.XmlSchemaComplexType V_0) + bool 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 - - 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_002a: ldnull - IL_002b: stloc.0 - IL_002c: br IL_0031 + 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_0031: ldloc.0 - IL_0032: ret - } // end of method NAntSchemaGenerator::FindComplexTypeByID + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XmlNamespaceEnumerator::MoveNext - // method line 872 - .method family hidebysig - instance default class [System.Xml]System.Xml.Schema.XmlSchemaComplexType FindOrCreateComplexType (class [mscorlib]System.Type t) cil managed + // method line 857 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x12ce0 - // Code size 1102 (0x44e) - .maxstack 6 + // Method begins at RVA 0x1453c + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // Code size 20 (0x14) + .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) + bool 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_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_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_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_0097: nop - IL_0098: br IL_03f5 - - 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_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_00fc: ldloc.s 9 - IL_00fe: brfalse IL_03f4 - - 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_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_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_016e: ldloc.s 5 - IL_0170: isinst [mscorlib]System.Reflection.FieldInfo - IL_0175: brfalse IL_018f - - 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_018f: ldloc.s 5 - IL_0191: isinst [mscorlib]System.Reflection.MethodInfo - IL_0196: brfalse IL_01dd - - 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 - - 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_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_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_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 - - 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_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_044c: ldloc.2 - IL_044d: ret - } // end of method NAntSchemaGenerator::FindOrCreateComplexType + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.MoveNext - // method line 873 - .method private hidebysig - instance default string GetTaskName (class [mscorlib]System.Type t) cil managed + // method line 858 + .method public hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x1313c - // Code size 58 (0x3a) - .maxstack 3 - .locals init ( - class NAnt.Core.Attributes.TaskNameAttribute[] V_0, - string V_1) + // Method begins at RVA 0x1455c + // Code size 13 (0xd) + .maxstack 8 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 + 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 874 - .method private hidebysig - instance default string GetDataTypeName (class [mscorlib]System.Type t) cil managed + // method line 859 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x13184 - // Code size 58 (0x3a) - .maxstack 3 - .locals init ( - class NAnt.Core.Attributes.ElementNameAttribute[] V_0, - string V_1) + // Method begins at RVA 0x1456a + .override class [mscorlib]System.Collections.IEnumerator::Reset + // Code size 13 (0xd) + .maxstack 8 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 + 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 class [System.Xml]System.Xml.Schema.XmlSchema Schema () + .property instance object System.Collections.IEnumerator.Current () { - .get instance default class [System.Xml]System.Xml.Schema.XmlSchema NAnt.Core.Tasks.NAntSchemaTask/NAntSchemaGenerator::get_Schema () + .get instance default object NAnt.Core.Types.XmlNamespaceEnumerator::System.Collections.IEnumerator.get_Current () } - } // end of class NAntSchemaGenerator - - } // end of class NAnt.Core.Tasks.NAntSchemaTask + .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 StyleTask - 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 05 73 74 79 6C 65 00 00 ) // ...style.. + .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.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 + .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 875 + // method line 860 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x131ca - // Code size 51 (0x33) + // Method begins at RVA 0x1231a + // Code size 48 (0x30) .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: 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 876 + // method line 861 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.FileSet fs) cil managed + { + // Method begins at RVA 0x1234b + // 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 862 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_DestDir () cil managed + instance default bool get_CaseSensitive () cil managed { - // Method begins at RVA 0x13200 - // Code size 49 (0x31) + // Method begins at RVA 0x12384 + // Code size 20 (0x14) .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.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: 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_002f: ldloc.0 - IL_0030: ret - } // end of method StyleTask::get_DestDir + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FileSet::get_CaseSensitive - // method line 877 + // method line 863 .method public hidebysig specialname - instance default void set_DestDir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_CaseSensitive (bool 'value') cil managed { - // Method begins at RVA 0x1323d - // Code size 9 (0x9) + // Method begins at RVA 0x123a4 + // 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.StyleTask::_destDir - IL_0008: ret - } // end of method StyleTask::set_DestDir + 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 878 + // method line 864 .method public hidebysig specialname - instance default string get_Extension () cil managed + instance default bool get_FailOnEmpty () cil managed { - // Method begins at RVA 0x13248 + // Method begins at RVA 0x123b4 // 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.StyleTask::_extension + 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 StyleTask::get_Extension + } // end of method FileSet::get_FailOnEmpty - // method line 879 + // method line 865 .method public hidebysig specialname - instance default void set_Extension (string 'value') cil managed + instance default void set_FailOnEmpty (bool 'value') cil managed { - // Method begins at RVA 0x13263 + // Method begins at RVA 0x123cf // 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_0003: stfld bool NAnt.Core.Types.FileSet::_failOnEmpty IL_0008: ret - } // end of method StyleTask::set_Extension + } // end of method FileSet::set_FailOnEmpty - // method line 880 + // method line 866 .method public hidebysig specialname - instance default class [System]System.Uri get_XsltFile () cil managed + instance default bool get_DefaultExcludes () cil managed { - // Method begins at RVA 0x13270 + // Method begins at RVA 0x123dc // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System]System.Uri V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Uri NAnt.Core.Tasks.StyleTask::_xsltFile + 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 StyleTask::get_XsltFile + } // end of method FileSet::get_DefaultExcludes - // method line 881 + // method line 867 .method public hidebysig specialname - instance default void set_XsltFile (class [System]System.Uri 'value') cil managed + instance default void set_DefaultExcludes (bool 'value') cil managed { - // Method begins at RVA 0x1328b + // Method begins at RVA 0x123f7 // 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_0003: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes IL_0008: ret - } // end of method StyleTask::set_XsltFile + } // end of method FileSet::set_DefaultExcludes - // method line 882 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed + // method line 868 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed { - // Method begins at RVA 0x13298 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x12404 + // Code size 127 (0x7f) + .maxstack 2 .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.Core.Tasks.StyleTask::_srcFile - 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 StyleTask::get_SrcFile + 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 883 - .method public hidebysig specialname - instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo '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 869 + .method public virtual hidebysig newslot specialname + instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x132b3 + // Method begins at RVA 0x1248f // 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_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory IL_0008: ret - } // end of method StyleTask::set_SrcFile + } // end of method FileSet::set_BaseDirectory - // method line 884 + // method line 870 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_OutputFile () cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_Includes () cil managed { - // Method begins at RVA 0x132c0 - // Code size 15 (0xf) + // Method begins at RVA 0x1249c + // Code size 20 (0x14) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class [System]System.Collections.Specialized.StringCollection 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method StyleTask::get_OutputFile + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FileSet::get_Includes - // method line 885 + // method line 871 .method public hidebysig specialname - instance default void set_OutputFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_Excludes () cil managed { - // Method begins at RVA 0x132db - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x124bc + // 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: 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: 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 - // method line 886 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FileSet::get_Excludes + + // method line 872 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_InFiles () cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_AsIs () cil managed { - // Method begins at RVA 0x132e8 + // Method begins at RVA 0x124dc // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + class [System]System.Collections.Specialized.StringCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FileSet NAnt.Core.Tasks.StyleTask::_inFiles + 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 StyleTask::get_InFiles - - // method line 887 - .method public hidebysig specialname - instance default void set_InFiles (class NAnt.Core.Types.FileSet 'value') cil managed - { - // Method begins at RVA 0x13303 - // 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.StyleTask::_inFiles - IL_0008: ret - } // end of method StyleTask::set_InFiles + } // end of method FileSet::get_AsIs - // method line 888 + // method line 873 .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltParameterCollection get_Parameters () cil managed + instance default class NAnt.Core.PathScanner get_PathFiles () cil managed { - // Method begins at RVA 0x13310 + // Method begins at RVA 0x124f8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.XsltParameterCollection V_0) + class NAnt.Core.PathScanner V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.XsltParameterCollection NAnt.Core.Tasks.StyleTask::_xsltParameters + IL_0002: ldfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StyleTask::get_Parameters + } // end of method FileSet::get_PathFiles - // method line 889 + // method line 874 .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltExtensionObjectCollection get_ExtensionObjects () cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_FileNames () cil managed { - // Method begins at RVA 0x1332c - // Code size 15 (0xf) + // Method begins at RVA 0x12514 + // Code size 39 (0x27) .maxstack 1 .locals init ( - class NAnt.Core.Types.XsltExtensionObjectCollection V_0) + class [System]System.Collections.Specialized.StringCollection 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_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned + IL_0007: brtrue IL_0014 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StyleTask::get_ExtensionObjects + 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 - // method line 890 + IL_0025: ldloc.0 + IL_0026: ret + } // end of method FileSet::get_FileNames + + // method line 875 .method public hidebysig specialname - instance default class NAnt.Core.Types.Proxy get_Proxy () cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_DirectoryNames () cil managed { - // Method begins at RVA 0x13348 - // Code size 15 (0xf) + // Method begins at RVA 0x12548 + // Code size 39 (0x27) .maxstack 1 .locals init ( - class NAnt.Core.Types.Proxy V_0) + class [System]System.Collections.Specialized.StringCollection 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_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned + IL_0007: brtrue IL_0014 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StyleTask::get_Proxy + 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 - // method line 891 + IL_0025: ldloc.0 + IL_0026: ret + } // end of method FileSet::get_DirectoryNames + + // method line 876 .method public hidebysig specialname - instance default void set_Proxy (class NAnt.Core.Types.Proxy 'value') cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_ScannedDirectories () cil managed + { + // Method begins at RVA 0x1257c + // 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_ScannedDirectories() + IL_001f: stloc.0 + IL_0020: br IL_0025 + + IL_0025: ldloc.0 + IL_0026: ret + } // end of method FileSet::get_ScannedDirectories + + // method line 877 + .method public hidebysig specialname + instance default void set_SetIncludes (class NAnt.Core.Types.FileSet/Include[] 'value') cil managed { - // Method begins at RVA 0x13363 + // Method begins at RVA 0x125af // 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.StyleTask::_proxy + IL_0003: call instance void class NAnt.Core.Types.FileSet::set_IncludeElements(class NAnt.Core.Types.FileSet/Include[]) IL_0008: ret - } // end of method StyleTask::set_Proxy + } // end of method FileSet::set_SetIncludes - // method line 892 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 878 + .method public hidebysig specialname + instance default void set_IncludeElements (class NAnt.Core.Types.FileSet/Include[] 'value') cil managed { - // Method begins at RVA 0x13370 - // Code size 1638 (0x666) - .maxstack 7 + // Method begins at RVA 0x125bc + // Code size 239 (0xef) + .maxstack 4 .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) + class NAnt.Core.Types.FileSet/Include V_0, + class NAnt.Core.Types.FileSet/Include[] V_1, + int32 V_2) 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_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_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_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 + 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_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_001b: ldloc.0 + IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() + IL_0021: brtrue IL_00e0 - 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_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_00b5: ldloc.0 - IL_00b6: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() - IL_00bb: brtrue IL_00e6 + 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_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 + IL_006a: ldloc.0 + IL_006b: callvirt instance bool class NAnt.Core.Types.FileSet/Include::get_FromPath() + IL_0070: brfalse IL_00ac - 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_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_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 + 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_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 + IL_00ee: ret + } // end of method FileSet::set_IncludeElements - 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 + // method line 879 + .method public hidebysig specialname + instance default void set_SetExcludes (class NAnt.Core.Types.FileSet/Exclude[] 'value') cil managed + { + // Method begins at RVA 0x126b7 + // 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_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 880 + .method public hidebysig specialname + instance default void set_ExcludeElements (class NAnt.Core.Types.FileSet/Exclude[] 'value') cil managed + { + // Method begins at RVA 0x126c4 + // 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_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_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_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_001b: ldloc.0 + IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() + IL_0021: brtrue IL_0059 - 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_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_020c: ldarg.0 - IL_020d: call instance string class NAnt.Core.Tasks.StyleTask::get_Extension() - IL_0212: br IL_0227 + IL_0067: ret + } // end of method FileSet::set_ExcludeElements - 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 + // method line 881 + .method public hidebysig specialname + instance default void set_SetIncludesList (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') cil managed + { + // Method begins at RVA 0x12738 + // 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_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 882 + .method public hidebysig specialname + instance default void set_IncludesFiles (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') cil managed + { + // Method begins at RVA 0x12744 + // 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_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_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_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_001b: ldloc.0 + IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined() + IL_0021: brtrue IL_0197 - 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 + 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_02e9: ldc.i4.1 - IL_02ea: stloc.s 11 - IL_02ec: ldloc.s 11 - IL_02ee: brtrue IL_032f + 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_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_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_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_0083: leave IL_009f - 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 + } // 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 - } // 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_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_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_00a5: ldloc.0 + IL_00a6: callvirt instance bool class NAnt.Core.Types.FileSet/IncludesFile::get_FromPath() + IL_00ab: brfalse IL_0125 - IL_03d4: ldarg.0 - IL_03d5: call instance bool class NAnt.Core.Task::get_UnlessDefined() - IL_03da: brtrue IL_03fd + 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_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_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_040a: leave IL_0426 + IL_0103: leave IL_011f - } // 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 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_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 + 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_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_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_044f: ldloc.s 22 - IL_0451: callvirt instance bool class NAnt.Core.Types.XsltExtensionObject::get_UnlessDefined() - IL_0456: brtrue IL_0476 + 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 - 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_0179: leave IL_0195 - IL_0483: leave IL_049f + } // 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 .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_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_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_01a5: ret + } // end of method FileSet::set_IncludesFiles - 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 + // method line 883 + .method public hidebysig specialname + instance default void set_ExcludesFiles (class NAnt.Core.Types.FileSet/ExcludesFile[] 'value') cil managed + { + // Method begins at RVA 0x12920 + // 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 - } // 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_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 - } // 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_001b: ldloc.0 + IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined() + IL_0021: brtrue IL_0094 - 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_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_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_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_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_0077: leave IL_0093 - IL_0649: leave IL_0665 + } // 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 - } // 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_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_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 + IL_00a2: ret + } // end of method FileSet::set_ExcludesFiles - // method line 893 - .method family virtual hidebysig newslot - instance default class [System.Xml]System.Xml.XmlReader CreateXmlReader (class [System]System.Uri uri) cil managed + // method line 884 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_MostRecentLastWriteTimeFile () cil managed { - // Method begins at RVA 0x13a90 - // Code size 175 (0xaf) - .maxstack 3 + // Method begins at RVA 0x129e0 + // Code size 210 (0xd2) + .maxstack 5 .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 [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: 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 894 - .method family virtual hidebysig newslot - instance default class [mscorlib]System.IO.TextWriter CreateWriter (string filepath) cil managed - { - // Method begins at RVA 0x13b4c - // 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. + 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 - .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. + 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 - .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. + IL_002a: ldloc.3 + IL_002b: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_0030: brfalse IL_0039 - .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. + 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 - .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.. + 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 - .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.. + IL_0065: ldloc.0 + IL_0066: brfalse IL_00a0 - .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.. + 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 - .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.. + 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 - .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_00ac: leave IL_00c7 -.namespace NAnt.Core.Tasks -{ - .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.. + } // 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_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 895 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x13b92 - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Tasks.CopyTask::'.ctor'() - IL_0006: ret - } // end of method MoveTask::.ctor + IL_00cf: ldloc.s 5 + IL_00d1: ret + } // end of method FileSet::get_MostRecentLastWriteTimeFile - // method line 896 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_SourceFile () cil managed + // method line 885 + .method public virtual hidebysig newslot + instance default object Clone () cil managed { - // Method begins at RVA 0x13b9c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x12ad0 + // Code size 23 (0x17) + .maxstack 2 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.Types.FileSet V_0, + object V_1) 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_000d: ldloc.0 - IL_000e: ret - } // end of method MoveTask::get_SourceFile + 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 897 - .method public virtual hidebysig specialname - instance default void set_SourceFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FileSet::Clone + + // method line 886 + .method family virtual hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0x12af4 + // Code size 395 (0x18b) + .maxstack 2 + 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_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 887 + .method public virtual hidebysig + instance default void Reset () cil managed { - // Method begins at RVA 0x13bb7 + // Method begins at RVA 0x12c8b // 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_SourceFile(class [mscorlib]System.IO.FileInfo) + IL_0002: ldc.i4.0 + IL_0003: stfld bool NAnt.Core.Types.FileSet::_hasScanned IL_0008: ret - } // end of method MoveTask::set_SourceFile + } // end of method FileSet::Reset + + // method line 888 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0x12c98 + // Code size 398 (0x18e) + .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, + class [System]System.Collections.Specialized.StringEnumerator 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: 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_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_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_00f1: leave IL_010a + + } // 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_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_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_0161: leave IL_017d + + } // 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_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_018b: ldloc.s 7 + IL_018d: ret + } // end of method FileSet::ToString + + // method line 889 + .method public hidebysig + instance default void AddPatternSet (class NAnt.Core.Types.PatternSet patternSet) 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 0x12e50 + // Code size 36 (0x24) + .maxstack 8 + 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 + + // method line 890 + .method public virtual hidebysig newslot + instance default void Scan () cil managed + { + // Method begins at RVA 0x12e78 + // 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_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_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_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_007c: leave IL_0095 + + } // 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_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_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_00d5: leave IL_00f1 + + } // 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_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: call instance bool class NAnt.Core.Types.FileSet::get_FailOnEmpty() + IL_011a: brfalse IL_0170 + + 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 + + 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 891 + .method family hidebysig + instance default void CopyTo (class NAnt.Core.Types.FileSet clone) cil managed + { + // Method begins at RVA 0x13020 + // 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 + + 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 + + // method line 892 + .method assembly hidebysig + instance default string Find (string fileName) cil managed + { + // Method begins at RVA 0x130b4 + // 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_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_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_004a: nop + IL_004b: ldloc.2 + IL_004c: stloc.s 4 + IL_004e: leave IL_0082 + + 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_005f: leave IL_007a + + } // 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_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_0082: ldloc.s 4 + IL_0084: ret + } // end of method FileSet::Find + + // method line 893 + .method famorassem hidebysig specialname + instance default bool get_IsEverythingIncluded () cil managed + { + // Method begins at RVA 0x13158 + // 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_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_0025: ldloc.0 + IL_0026: ret + } // end of method FileSet::get_IsEverythingIncluded + + // method line 894 + .method public static hidebysig + default string FindMoreRecentLastWriteTime (string fileName, valuetype [mscorlib]System.DateTime targetLastWriteTime) cil managed + { + // Method begins at RVA 0x1318c + // 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_001c: ldloc.1 + IL_001d: ret + } // end of method FileSet::FindMoreRecentLastWriteTime + + // method line 895 + .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 0x131b8 + // 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_0009: br IL_0097 + + 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_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_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_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_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_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_00a2: leave IL_00bd + + } // 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_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_00c4: ldloc.3 + IL_00c5: ret + } // end of method FileSet::FindMoreRecentLastWriteTime + + // method line 896 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x1329c + // 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 + + .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 ) // .. + + .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.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .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.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .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.. + + .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.. + + .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 ) // .... + + .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.. + + .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.. + + .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 ) // .... + + .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.. + + .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 897 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x132b2 + // 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 898 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ToFile () cil managed + .method public virtual hidebysig newslot specialname + instance default string get_Pattern () cil managed { - // Method begins at RVA 0x13bc4 + // Method begins at RVA 0x132c4 // 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.IO.FileInfo class NAnt.Core.Tasks.CopyTask::get_ToFile() + IL_0002: ldfld string NAnt.Core.Types.FileSet/Exclude::_pattern IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method MoveTask::get_ToFile + } // end of method Exclude::get_Pattern // method line 899 - .method public virtual hidebysig specialname - instance default void set_ToFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + .method public virtual hidebysig newslot specialname + instance default void set_Pattern (string 'value') cil managed { - // Method begins at RVA 0x13bdf + // Method begins at RVA 0x132df // 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_ToFile(class [mscorlib]System.IO.FileInfo) + IL_0003: stfld string NAnt.Core.Types.FileSet/Exclude::_pattern IL_0008: ret - } // end of method MoveTask::set_ToFile + } // end of method Exclude::set_Pattern // method line 900 - .method public virtual hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed + .method public virtual hidebysig newslot specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x13bec + // Method begins at RVA 0x132ec // 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: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Tasks.CopyTask::get_ToDirectory() + IL_0002: ldfld bool NAnt.Core.Types.FileSet/Exclude::_ifDefined 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 Exclude::get_IfDefined // method line 901 - .method public virtual hidebysig specialname - instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + .method public virtual hidebysig newslot specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x13c07 + // Method begins at RVA 0x13307 // 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_ToDirectory(class [mscorlib]System.IO.DirectoryInfo) + IL_0003: stfld bool NAnt.Core.Types.FileSet/Exclude::_ifDefined IL_0008: ret - } // end of method MoveTask::set_ToDirectory + } // end of method Exclude::set_IfDefined // method line 902 - .method public virtual hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_CopyFileSet () cil managed + .method public virtual hidebysig newslot specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x13c14 + // Method begins at RVA 0x13314 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet V_0) + bool 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 bool NAnt.Core.Types.FileSet/Exclude::_unlessDefined 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 Exclude::get_UnlessDefined // method line 903 - .method public virtual hidebysig specialname - instance default void set_CopyFileSet (class NAnt.Core.Types.FileSet 'value') cil managed + .method public virtual hidebysig newslot specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x13c2f + // Method begins at RVA 0x1332f // 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 bool NAnt.Core.Types.FileSet/Exclude::_unlessDefined IL_0008: ret - } // end of method MoveTask::set_CopyFileSet + } // end of method Exclude::set_UnlessDefined + + .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. + + .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.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.. + + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 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') + } + .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/Exclude::get_UnlessDefined () + .set instance default void NAnt.Core.Types.FileSet/Exclude::set_UnlessDefined (bool 'value') + } + } // end of class Exclude + + .class nested public auto ansi beforefieldinit Include + extends NAnt.Core.Types.FileSet/Exclude + { + .field private bool _asIs + .field private bool _fromPath // method line 904 - .method public virtual hidebysig specialname - instance default bool get_Flatten () cil managed + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x13339 + // 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 + + // method line 905 + .method public hidebysig specialname + instance default bool get_AsIs () cil managed { - // Method begins at RVA 0x13c3c + // Method begins at RVA 0x13344 // 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.FileSet/Include::_asIs 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 Include::get_AsIs - // method line 905 - .method public virtual hidebysig specialname - instance default void set_Flatten (bool 'value') cil managed + // method line 906 + .method public hidebysig specialname + instance default void set_AsIs (bool 'value') cil managed { - // Method begins at RVA 0x13c57 + // Method begins at RVA 0x1335f // 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.FileSet/Include::_asIs IL_0008: ret - } // end of method MoveTask::set_Flatten + } // end of method Include::set_AsIs - // method line 906 - .method public virtual hidebysig specialname - instance default class NAnt.Core.Filters.FilterChain get_Filters () cil managed + // method line 907 + .method public hidebysig specialname + instance default bool get_FromPath () cil managed { - // Method begins at RVA 0x13c64 + // Method begins at RVA 0x1336c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Filters.FilterChain V_0) + bool 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 bool NAnt.Core.Types.FileSet/Include::_fromPath 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 Include::get_FromPath - // method line 907 - .method public virtual hidebysig specialname - instance default void set_Filters (class NAnt.Core.Filters.FilterChain 'value') cil managed + // method line 908 + .method public hidebysig specialname + instance default void set_FromPath (bool 'value') cil managed { - // Method begins at RVA 0x13c7f + // Method begins at RVA 0x13387 // 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 bool NAnt.Core.Types.FileSet/Include::_fromPath IL_0008: ret - } // end of method MoveTask::set_Filters + } // end of method Include::set_FromPath - // method line 908 - .method family virtual hidebysig - instance default void DoFileOperations () cil managed + // method line 909 + .method public virtual hidebysig specialname + instance default string get_Pattern () cil managed { - // Method begins at RVA 0x13c8c - // Code size 689 (0x2b1) - .maxstack 8 + // Method begins at RVA 0x13394 + // 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) + 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_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_0002: call instance string class NAnt.Core.Types.FileSet/Exclude::get_Pattern() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0256: ldstr "s" - IL_025b: br IL_0265 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Include::get_Pattern - 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 + // method line 910 + .method public virtual hidebysig specialname + instance default void set_Pattern (string 'value') cil managed + { + // Method begins at RVA 0x133af + // 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_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 + // method line 911 + .method public virtual hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0x133bc + // 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 - IL_029a: ldstr "directories" - IL_029f: br IL_02a9 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Include::get_IfDefined - 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 912 + .method public virtual hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x133d7 + // 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 909 - .method family virtual hidebysig - instance default class NAnt.Core.BuildException CreateSourceFileNotFoundException (string sourceFile) cil managed + // method line 913 + .method public virtual hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x13f68 - // Code size 36 (0x24) - .maxstack 3 + // Method begins at RVA 0x133e4 + // 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 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: call instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() + 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 Include::get_UnlessDefined - .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 914 + .method public virtual hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x133ff + // 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.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 () + .property instance bool AsIs () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 74 6F 66 69 6C 65 00 00 ) // ...tofile.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 61 73 69 73 00 00 ) // ...asis.. - .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') + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .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 class [mscorlib]System.IO.DirectoryInfo ToDirectory () + .property instance bool FromPath () { - .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 08 66 72 6F 6D 70 61 74 68 00 00 ) // ...frompath.. - .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.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .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 class NAnt.Core.Types.FileSet CopyFileSet () + .property instance string Pattern () { - .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 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 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') + .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.FileSet/Include::get_Pattern () + .set instance default void NAnt.Core.Types.FileSet/Include::set_Pattern (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 00 00 ) // ...if.. .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.FileSet/Include::get_IfDefined () + .set instance default void NAnt.Core.Types.FileSet/Include::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 00 00 ) // ...unless.. - .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.FileSet/Include::get_UnlessDefined () + .set instance default void NAnt.Core.Types.FileSet/Include::set_UnlessDefined (bool 'value') } - } // end of class NAnt.Core.Tasks.MoveTask -} + } // end of class Include -.namespace NAnt.Core.Tasks -{ - .class public auto ansi beforefieldinit PropertyTask - extends NAnt.Core.Task + .class nested public auto ansi beforefieldinit ExcludesFile + extends NAnt.Core.Element { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 70 72 6F 70 65 72 74 79 00 00 ) // ...property.. - - .field private string _name - .field private string _value - .field private bool _readOnly - .field private bool _dynamic - .field private bool _overwrite + .field private bool _ifDefined + .field private bool _unlessDefined + .field private class [mscorlib]System.IO.FileInfo _patternFile - // method line 910 + // method line 915 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x13f98 - // Code size 25 (0x19) + // Method begins at RVA 0x13409 + // Code size 14 (0xe) .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.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 - // method line 911 + // method line 916 .method public hidebysig specialname - instance default string get_PropertyName () cil managed + instance default class [System]System.Collections.Specialized.StringCollection get_Patterns () cil managed + { + // Method begins at RVA 0x13418 + // Code size 191 (0xbf) + .maxstack 3 + .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) + 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_0012: nop + IL_0013: ldloc.0 + IL_0014: stloc.1 + IL_0015: br IL_00bd + + .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 + + 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 + + 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 + + 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_0078: nop + IL_0079: leave IL_008b + + } // end .try 0 + finally { // 0 + IL_007e: ldloc.2 + IL_007f: brfalse IL_008a + + 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 + + } // 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 917 + .method public virtual hidebysig newslot specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x13fb4 + // Method begins at RVA 0x13500 // 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.PropertyTask::_name + 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 PropertyTask::get_PropertyName + } // end of method ExcludesFile::get_IfDefined - // method line 912 - .method public hidebysig specialname - instance default void set_PropertyName (string 'value') cil managed + // method line 918 + .method public virtual hidebysig newslot specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x13fcf + // Method begins at RVA 0x1351b // 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 bool NAnt.Core.Types.FileSet/ExcludesFile::_ifDefined IL_0008: ret - } // end of method PropertyTask::set_PropertyName + } // end of method ExcludesFile::set_IfDefined - // method line 913 - .method public hidebysig specialname - instance default string get_Value () cil managed + // method line 919 + .method public virtual hidebysig newslot specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x13fdc + // Method begins at RVA 0x13528 // 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.PropertyTask::_value + IL_0002: ldfld bool NAnt.Core.Types.FileSet/ExcludesFile::_unlessDefined 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 ExcludesFile::get_UnlessDefined - // method line 914 - .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed + // method line 920 + .method public virtual hidebysig newslot specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x13ff7 + // Method begins at RVA 0x13543 // 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 bool NAnt.Core.Types.FileSet/ExcludesFile::_unlessDefined IL_0008: ret - } // end of method PropertyTask::set_Value + } // end of method ExcludesFile::set_UnlessDefined - // method line 915 + // method line 921 .method public hidebysig specialname - instance default bool get_ReadOnly () cil managed + instance default class [mscorlib]System.IO.FileInfo get_PatternFile () cil managed { - // Method begins at RVA 0x14004 + // Method begins at RVA 0x13550 // 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.Tasks.PropertyTask::_readOnly + 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 PropertyTask::get_ReadOnly + } // end of method ExcludesFile::get_PatternFile - // method line 916 + // method line 922 .method public hidebysig specialname - instance default void set_ReadOnly (bool 'value') cil managed + instance default void set_PatternFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x1401f + // Method begins at RVA 0x1356b // 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.FileInfo NAnt.Core.Types.FileSet/ExcludesFile::_patternFile IL_0008: ret - } // end of method PropertyTask::set_ReadOnly + } // end of method ExcludesFile::set_PatternFile - // method line 917 + .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 923 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x13575 + // 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 924 .method public hidebysig specialname - instance default bool get_Dynamic () cil managed + instance default bool get_AsIs () cil managed { - // Method begins at RVA 0x1402c + // Method begins at RVA 0x13580 // 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.FileSet/IncludesFile::_asIs 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 IncludesFile::get_AsIs - // method line 918 + // method line 925 .method public hidebysig specialname - instance default void set_Dynamic (bool 'value') cil managed + instance default void set_AsIs (bool 'value') cil managed { - // Method begins at RVA 0x14047 + // Method begins at RVA 0x1359b // 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.FileSet/IncludesFile::_asIs IL_0008: ret - } // end of method PropertyTask::set_Dynamic + } // end of method IncludesFile::set_AsIs - // method line 919 + // method line 926 .method public hidebysig specialname - instance default bool get_Overwrite () cil managed + instance default bool get_FromPath () cil managed { - // Method begins at RVA 0x14054 + // Method begins at RVA 0x135a8 // 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.FileSet/IncludesFile::_fromPath 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 IncludesFile::get_FromPath - // method line 920 + // method line 927 .method public hidebysig specialname - instance default void set_Overwrite (bool 'value') cil managed + instance default void set_FromPath (bool 'value') cil managed { - // Method begins at RVA 0x1406f + // Method begins at RVA 0x135c3 // 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.FileSet/IncludesFile::_fromPath IL_0008: ret - } // end of method PropertyTask::set_Overwrite + } // end of method IncludesFile::set_FromPath - // method line 921 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 928 + .method public virtual hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x1407c - // Code size 726 (0x2d6) - .maxstack 7 + // Method begins at RVA 0x135d0 + // Code size 15 (0xf) + .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) + bool 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_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_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_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_0002: call instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_IfDefined() + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method IncludesFile::get_IfDefined - 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 + // method line 929 + .method public virtual hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x135eb + // 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 - 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 + // method line 930 + .method public virtual hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x135f8 + // 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_UnlessDefined() + IL_0007: stloc.0 + IL_0008: br IL_000d - .property instance string PropertyName () - { - .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 IncludesFile::get_UnlessDefined - .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 931 + .method public virtual hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x13613 + // 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 - .get instance default string NAnt.Core.Tasks.PropertyTask::get_PropertyName () - .set instance default void NAnt.Core.Tasks.PropertyTask::set_PropertyName (string 'value') - } - .property instance string Value () + .property instance bool AsIs () { - .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 04 61 73 69 73 00 00 ) // ...asis.. - .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. + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .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 bool NAnt.Core.Types.FileSet/IncludesFile::get_AsIs () + .set instance default void NAnt.Core.Types.FileSet/IncludesFile::set_AsIs (bool 'value') } - .property instance bool ReadOnly () + .property instance bool FromPath () { - .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.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.PropertyTask::get_ReadOnly () - .set instance default void NAnt.Core.Tasks.PropertyTask::set_ReadOnly (bool 'value') + .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 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.FileSet/IncludesFile::get_IfDefined () + .set instance default void NAnt.Core.Types.FileSet/IncludesFile::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.FileSet/IncludesFile::get_UnlessDefined () + .set instance default void NAnt.Core.Types.FileSet/IncludesFile::set_UnlessDefined (bool 'value') } - } // end of class NAnt.Core.Tasks.PropertyTask + } // end of class IncludesFile + + } // end of class NAnt.Core.Types.FileSet } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit IncludeTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit PatternSet + extends NAnt.Core.DataTypeBase { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. + .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 string _buildFileName - .field private static class [mscorlib]System.Collections.Stack _includedFileNames - .field private static string _currentBasedir - .field private static int32 _nestinglevel + .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 922 + // method line 932 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x14370 - // Code size 7 (0x7) + // Method begins at RVA 0x14578 + // Code size 52 (0x34) .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: 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 923 + // method line 933 .method public hidebysig specialname - instance default string get_BuildFileName () cil managed + instance default class NAnt.Core.Types.PatternCollection get_Include () cil managed { - // Method begins at RVA 0x14378 + // Method begins at RVA 0x145b0 // 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.IncludeTask::_buildFileName + 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 IncludeTask::get_BuildFileName + } // end of method PatternSet::get_Include - // method line 924 + // method line 934 .method public hidebysig specialname - instance default void set_BuildFileName (string 'value') cil managed + instance default class NAnt.Core.Types.PatternCollection get_IncludesFile () cil managed { - // Method begins at RVA 0x14393 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x145cc + // 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: stfld string NAnt.Core.Tasks.IncludeTask::_buildFileName - IL_0008: ret - } // end of method IncludeTask::set_BuildFileName + IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_includesFile + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 925 - .method family virtual hidebysig - instance default void Initialize () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PatternSet::get_IncludesFile + + // method line 935 + .method public hidebysig specialname + instance default class NAnt.Core.Types.PatternCollection get_Exclude () cil managed { - // Method begins at RVA 0x143a0 - // Code size 271 (0x10f) - .maxstack 3 + // Method begins at RVA 0x145e8 + // 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) + class NAnt.Core.Types.PatternCollection 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 class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude + 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 PatternSet::get_Exclude - 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 936 + .method public hidebysig specialname + instance default class NAnt.Core.Types.PatternCollection get_ExcludesFile () cil managed + { + // Method begins at RVA 0x14604 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.PatternCollection V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_excludesFile + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0042: ldsfld int32 NAnt.Core.Tasks.IncludeTask::_nestinglevel - IL_0047: brtrue IL_005e + IL_000d: ldloc.0 + IL_000e: ret + } // end of method PatternSet::get_ExcludesFile - 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 + // method line 937 + .method public hidebysig + instance default void Append (class NAnt.Core.Types.PatternSet patternSet) 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 0x14620 + // 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 938 + .method public hidebysig + instance default string[] GetIncludePatterns () cil managed + { + // Method begins at RVA 0x146b4 + // 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_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_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 - 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 + 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_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 + 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_00b2: br IL_00e8 + IL_007d: br IL_00e6 - 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 + 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_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 + IL_0098: nop + IL_0099: leave IL_00e6 - IL_00f3: leave IL_010e + 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_00f8: ldloc.3 + IL_00f7: ldloc.s 5 IL_00f9: isinst [mscorlib]System.IDisposable IL_00fe: dup - IL_00ff: stloc.s 4 + IL_00ff: stloc.s 7 IL_0101: brfalse IL_010d - IL_0106: ldloc.s 4 + IL_0106: ldloc.s 7 IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() IL_010d: endfinally } // end handler 1 - IL_010e: ret - } // end of method IncludeTask::Initialize + 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 - // method line 926 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + IL_012a: ldloc.s 8 + IL_012c: ret + } // end of method PatternSet::GetIncludePatterns + + // method line 939 + .method public hidebysig + instance default string[] GetExcludePatterns () cil managed { - // Method begins at RVA 0x144d8 - // Code size 564 (0x234) - .maxstack 7 + // Method begins at RVA 0x1480c + // Code size 301 (0x12d) + .maxstack 3 .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, + 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 [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) + class [mscorlib]System.IDisposable V_7, + string[] V_8) 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 + 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_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 + 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_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_0037: nop + IL_0038: leave IL_004b - 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_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_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_0056: leave IL_006f - 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_005b: ldloc.2 + IL_005c: isinst [mscorlib]System.IDisposable + IL_0061: dup + IL_0062: stloc.3 + IL_0063: brfalse IL_006e - } // end .try 0 - finally { // 0 - IL_01c7: ldloc.s 9 - IL_01c9: brfalse IL_01d5 + 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_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 + 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 - } // 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_0098: nop + IL_0099: leave IL_00e6 - // method line 927 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + 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 940 + .method private hidebysig + instance default void ReadPatterns (string fileName, class [mscorlib]System.Collections.ArrayList patterns) cil managed { - // Method begins at RVA 0x1477c - // 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 0x14964 + // 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 BuildFileName () + 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 + + .property instance class NAnt.Core.Types.PatternCollection Include () { - .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. + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. - .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 NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_Include () + } + .property instance class NAnt.Core.Types.PatternCollection IncludesFile () + { + .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 string NAnt.Core.Tasks.IncludeTask::get_BuildFileName () - .set instance default void NAnt.Core.Tasks.IncludeTask::set_BuildFileName (string 'value') + .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_IncludesFile () } - } // end of class NAnt.Core.Tasks.IncludeTask + .property instance class NAnt.Core.Types.PatternCollection Exclude () + { + .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 () + } + .property instance class NAnt.Core.Types.PatternCollection ExcludesFile () + { + .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 () + } + } // end of class NAnt.Core.Types.PatternSet } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit MailTask - extends NAnt.Core.Task + .class public auto ansi serializable beforefieldinit Argument + extends NAnt.Core.Element { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 6D 61 69 6C 00 00 ) // ...mail.. + .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. - .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 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 928 + // method line 941 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x14798 - // Code size 106 (0x6a) - .maxstack 2 + // Method begins at RVA 0x149e8 + // Code size 15 (0xf) + .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: 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 929 - .method public hidebysig specialname - instance default string get_From () cil managed + // method line 942 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string 'value') cil managed { - // Method begins at RVA 0x14810 - // Code size 15 (0xf) + // Method begins at RVA 0x149f8 + // 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 943 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x14a0f + // 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 944 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.PathSet 'value') cil managed + { + // Method begins at RVA 0x14a26 + // 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 945 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0x14a40 + // Code size 170 (0xaa) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_from - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() + IL_0007: brfalse IL_0023 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MailTask::get_From + 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 - // method line 930 - .method public hidebysig specialname - instance default void set_From (string 'value') cil managed - { - // Method begins at RVA 0x1482b - // 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 + 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 - // method line 931 + 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 946 .method public hidebysig specialname - instance default string get_ToList () cil managed + instance default string get_Value () cil managed { - // Method begins at RVA 0x1483c + // Method begins at RVA 0x14af8 // 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::_toList + 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 MailTask::get_ToList + } // end of method Argument::get_Value - // method line 932 + // method line 947 .method public hidebysig specialname - instance default void set_ToList (string 'value') cil managed + instance default void set_Value (string 'value') cil managed { - // Method begins at RVA 0x14857 + // Method begins at RVA 0x14b13 // 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 string NAnt.Core.Types.Argument::_value IL_0008: ret - } // end of method MailTask::set_ToList + } // end of method Argument::set_Value - // method line 933 + // method line 948 .method public hidebysig specialname - instance default string get_ReplyTo () cil managed + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x14864 + // Method begins at RVA 0x14b20 // 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::_replyTo + 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 MailTask::get_ReplyTo + } // end of method Argument::get_File - // method line 934 + // method line 949 .method public hidebysig specialname - instance default void set_ReplyTo (string 'value') cil managed + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x1487f + // Method begins at RVA 0x14b3b // 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 [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::_file IL_0008: ret - } // end of method MailTask::set_ReplyTo + } // end of method Argument::set_File - // method line 935 + // method line 950 .method public hidebysig specialname - instance default string get_CcList () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed { - // Method begins at RVA 0x1488c + // Method begins at RVA 0x14b48 // 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.MailTask::_ccList + 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 MailTask::get_CcList + } // end of method Argument::get_Directory - // method line 936 + // method line 951 .method public hidebysig specialname - instance default void set_CcList (string 'value') cil managed + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x148a7 + // Method begins at RVA 0x14b63 // 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_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.Argument::_directory IL_0008: ret - } // end of method MailTask::set_CcList + } // end of method Argument::set_Directory - // method line 937 + // method line 952 .method public hidebysig specialname - instance default string get_BccList () cil managed + instance default class NAnt.Core.Types.PathSet get_Path () cil managed { - // Method begins at RVA 0x148b4 + // Method begins at RVA 0x14b70 // 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.MailTask::_bccList + 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 MailTask::get_BccList + } // end of method Argument::get_Path - // method line 938 + // method line 953 .method public hidebysig specialname - instance default void set_BccList (string 'value') cil managed + instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed { - // Method begins at RVA 0x148cf - // Code size 9 (0x9) + // Method begins at RVA 0x14b8b + // Code size 38 (0x26) .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 + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0007: brfalse IL_001e - // method line 939 + 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 954 .method public hidebysig specialname - instance default string get_Mailhost () cil managed + instance default class NAnt.Core.Types.PathSet get_PathSet () cil managed { - // Method begins at RVA 0x148dc + // Method begins at RVA 0x14bb4 // 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.MailTask::_mailHost + 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 MailTask::get_Mailhost + } // end of method Argument::get_PathSet - // method line 940 + // method line 955 .method public hidebysig specialname - instance default void set_Mailhost (string 'value') cil managed + instance default void set_PathSet (class NAnt.Core.Types.PathSet 'value') cil managed { - // Method begins at RVA 0x148f7 - // Code size 14 (0xe) + // Method begins at RVA 0x14bcf + // Code size 38 (0x26) .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::_mailHost - IL_000d: ret - } // end of method MailTask::set_Mailhost + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0007: brfalse IL_001e - // method line 941 + 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 956 .method public hidebysig specialname - instance default int32 get_Port () cil managed + instance default string get_Line () cil managed { - // Method begins at RVA 0x14908 + // Method begins at RVA 0x14bf8 // 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.Tasks.MailTask::_portNumber + 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 MailTask::get_Port + } // end of method Argument::get_Line - // method line 942 + // method line 957 .method public hidebysig specialname - instance default void set_Port (int32 'value') cil managed + instance default void set_Line (string 'value') cil managed { - // Method begins at RVA 0x14923 + // Method begins at RVA 0x14c13 // 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 string NAnt.Core.Types.Argument::_line IL_0008: ret - } // end of method MailTask::set_Port + } // end of method Argument::set_Line - // method line 943 + // method line 958 .method public hidebysig specialname - instance default bool get_EnableSsl () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x14930 + // Method begins at RVA 0x14c20 // 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.Types.Argument::_ifDefined 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 Argument::get_IfDefined - // method line 944 + // method line 959 .method public hidebysig specialname - instance default void set_EnableSsl (bool 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x1494b + // Method begins at RVA 0x14c3b // 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.Types.Argument::_ifDefined IL_0008: ret - } // end of method MailTask::set_EnableSsl + } // end of method Argument::set_IfDefined - // method line 945 + // method line 960 .method public hidebysig specialname - instance default string get_Message () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x14958 + // Method begins at RVA 0x14c48 // 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.MailTask::_message + 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 MailTask::get_Message + } // end of method Argument::get_UnlessDefined - // method line 946 + // method line 961 .method public hidebysig specialname - instance default void set_Message (string 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x14973 - // Code size 14 (0xe) + // Method begins at RVA 0x14c63 + // 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::_message - IL_000d: ret - } // end of method MailTask::set_Message + IL_0003: stfld bool NAnt.Core.Types.Argument::_unlessDefined + IL_0008: ret + } // end of method Argument::set_UnlessDefined - // method line 947 - .method public hidebysig specialname - instance default string get_Subject () cil managed + // method line 962 + .method assembly hidebysig specialname + instance default string get_StringValue () cil managed { - // Method begins at RVA 0x14984 - // Code size 15 (0xf) + // Method begins at RVA 0x14c70 + // Code size 127 (0x7f) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.MailTask::_subject - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() + IL_0007: brfalse IL_001e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MailTask::get_Subject + 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 - // method line 948 - .method public hidebysig specialname - instance default void set_Subject (string 'value') cil managed - { - // Method begins at RVA 0x1499f - // 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 + 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 - // method line 949 - .method public hidebysig specialname - instance default bool get_IsBodyHtml () cil managed + 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_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_0058: ldarg.0 + IL_0059: call instance string class NAnt.Core.Types.Argument::get_Line() + IL_005e: brfalse IL_0070 + + 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_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_007d: ldloc.0 + IL_007e: ret + } // end of method Argument::get_StringValue + + // method line 963 + .method private static hidebysig + default string QuoteArgument (string argument) cil managed { - // Method begins at RVA 0x149b0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x14cfc + // Code size 97 (0x61) + .maxstack 3 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.MailTask::_isBodyHtml - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldstr "\"" + IL_0007: callvirt instance int32 string::IndexOf(string) + IL_000c: ldc.i4.m1 + IL_000d: ble IL_001a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MailTask::get_IsBodyHtml + IL_0012: nop + IL_0013: ldarg.0 + IL_0014: stloc.0 + IL_0015: br IL_005f - // method line 950 - .method public hidebysig specialname - instance default void set_IsBodyHtml (bool 'value') cil managed + 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_005f: ldloc.0 + IL_0060: ret + } // end of method Argument::QuoteArgument + + .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.. + + .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 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 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.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.. + + .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 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.Argument::get_IfDefined () + .set instance default void NAnt.Core.Types.Argument::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.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 () + } + } // end of class NAnt.Core.Types.Argument +} + +.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 964 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x149cb - // Code size 9 (0x9) + // Method begins at RVA 0x14d69 + // Code size 8 (0x8) .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: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method FormatterCollection::.ctor - // method line 951 - .method public hidebysig specialname - instance default string get_UserName () cil managed + // method line 965 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.FormatterCollection 'value') cil managed { - // Method begins at RVA 0x149d8 + // Method begins at RVA 0x14d72 // 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::_userName - 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.FormatterCollection::AddRange(class NAnt.Core.Types.FormatterCollection) IL_000e: ret - } // end of method MailTask::get_UserName + } // end of method FormatterCollection::.ctor - // method line 952 - .method public hidebysig specialname - instance default void set_UserName (string 'value') cil managed + // method line 966 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.Formatter[] 'value') cil managed { - // Method begins at RVA 0x149f3 - // Code size 9 (0x9) + // Method begins at RVA 0x14d82 + // Code size 15 (0xf) .maxstack 8 - 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 + 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 - // method line 953 + // method line 967 .method public hidebysig specialname - instance default string get_Password () cil managed + instance default class NAnt.Core.Types.Formatter get_Item (int32 index) cil managed { - // Method begins at RVA 0x14a00 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x14d94 + // Code size 26 (0x1a) + .maxstack 2 .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.MailTask::_passWord - 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.Formatter + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method MailTask::get_Password + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FormatterCollection::get_Item - // method line 954 + // method line 968 .method public hidebysig specialname - instance default void set_Password (string 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Core.Types.Formatter 'value') cil managed { - // Method begins at RVA 0x14a1b - // Code size 9 (0x9) + // Method begins at RVA 0x14dba + // Code size 15 (0xf) .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_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 955 - .method public hidebysig specialname - instance default valuetype NAnt.Core.Tasks.MailTask/MailFormat get_Format () cil managed + // method line 969 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.Formatter item) cil managed { - // Method begins at RVA 0x14a28 - // Code size 29 (0x1d) - .maxstack 1 + // Method begins at RVA 0x14dcc + // Code size 21 (0x15) + .maxstack 2 .locals init ( - valuetype NAnt.Core.Tasks.MailTask/MailFormat V_0) + int32 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_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_000c: nop - IL_000d: ldc.i4.1 - IL_000e: stloc.0 - IL_000f: br IL_001b + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FormatterCollection::Add - IL_0014: ldc.i4.0 - IL_0015: stloc.0 - IL_0016: br IL_001b + // method line 970 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.Formatter[] items) cil managed + { + // Method begins at RVA 0x14df0 + // 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_001b: ldloc.0 - IL_001c: ret - } // end of method MailTask::get_Format + 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 - // method line 956 - .method public hidebysig specialname - instance default void set_Format (valuetype NAnt.Core.Tasks.MailTask/MailFormat 'value') cil managed + IL_0021: ret + } // end of method FormatterCollection::AddRange + + // method line 971 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.FormatterCollection items) cil managed { - // Method begins at RVA 0x14a54 - // Code size 105 (0x69) + // Method begins at RVA 0x14e20 + // Code size 41 (0x29) .maxstack 3 + .locals init ( + int32 V_0) 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_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_001c - 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_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_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_0028: ret + } // end of method FormatterCollection::AddRange - 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 972 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.Formatter item) cil managed + { + // Method begins at RVA 0x14e58 + // 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 - // method line 957 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_Files () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FormatterCollection::Contains + + // method line 973 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.Formatter[] 'array', int32 index) cil managed { - // Method begins at RVA 0x14acc + // Method begins at RVA 0x14e79 // 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 FormatterCollection::CopyTo + + // method line 974 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.Formatter item) cil managed + { + // Method begins at RVA 0x14e8c + // Code size 21 (0x15) + .maxstack 2 .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.MailTask::_files - 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 MailTask::get_Files + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FormatterCollection::IndexOf - // method line 958 - .method public hidebysig specialname - instance default void set_Files (class NAnt.Core.Types.FileSet 'value') cil managed + // method line 975 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.Formatter item) cil managed { - // Method begins at RVA 0x14ae7 - // Code size 9 (0x9) + // Method begins at RVA 0x14ead + // Code size 15 (0xf) .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 + 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 959 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_Attachments () cil managed + // method line 976 + .method public hidebysig + instance default class NAnt.Core.Types.FormatterEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x14af4 + // Method begins at RVA 0x14ec0 // 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.MailTask::_attachments + 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 MailTask::get_Attachments + } // end of method FormatterCollection::GetEnumerator - // method line 960 - .method public hidebysig specialname - instance default void set_Attachments (class NAnt.Core.Types.FileSet 'value') cil managed + // method line 977 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.Formatter item) cil managed { - // Method begins at RVA 0x14b0f - // Code size 9 (0x9) + // Method begins at RVA 0x14edb + // 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.MailTask::_attachments - IL_0008: ret - } // end of method MailTask::set_Attachments + 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 - // method line 961 - .method family virtual hidebysig - instance default void Initialize () cil managed + .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 978 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.FormatterCollection arguments) cil managed { - // Method begins at RVA 0x14b1c - // Code size 68 (0x44) + // Method begins at RVA 0x14eec + // 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 + + // method line 979 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Formatter get_Current () cil managed + { + // Method begins at RVA 0x14f10 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.Formatter 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_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_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_0017: ldloc.0 + IL_0018: ret + } // end of method FormatterEnumerator::get_Current - // method line 962 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 980 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x14b6c - // Code size 1509 (0x5e5) - .maxstack 7 - .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) + // Method begins at RVA 0x14f38 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + object V_0) 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 - .try { // 0 - IL_0037: br IL_0054 - - 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_0060: leave IL_0074 - - } // end .try 0 - finally { // 0 - IL_0065: ldloc.s 5 - IL_0067: brfalse IL_0073 - - 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 - - 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_00a6: leave IL_00ba - - } // end .try 1 - finally { // 1 - IL_00ab: ldloc.s 7 - IL_00ad: brfalse IL_00b9 - - 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_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_00ec: leave IL_0100 - - } // end .try 2 - finally { // 2 - IL_00f1: ldloc.s 9 - IL_00f3: brfalse IL_00ff - - 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 - - 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 - - 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 - - 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 - - IL_0160: leave IL_0174 - - } // end .try 3 - finally { // 3 - IL_0165: ldloc.s 12 - IL_0167: brfalse IL_0173 - - 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_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_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_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_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_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 - - } // 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 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_02c0: leave IL_02dc - - } // 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_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_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_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 - - } // 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 - - } // 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_0378: leave IL_0394 - - } // 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_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_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_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_046e: nop - IL_046f: ldsfld bool NAnt.Core.PlatformHelper::IsMono - IL_0474: brfalse IL_048c - - 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_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 - - 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 .try 9 - finally { // 9 - IL_05d5: ldloc.s 25 - IL_05d7: brfalse IL_05e3 + 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_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 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FormatterEnumerator::System.Collections.IEnumerator.get_Current - // method line 963 - .method private hidebysig - instance default string ReadFile (string filename) cil managed + // method line 981 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x15254 - // Code size 49 (0x31) + // Method begins at RVA 0x14f58 + // Code size 20 (0x14) .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_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 - .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_000d: br IL_0012 - 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_0012: ldloc.0 + IL_0013: ret + } // end of method FormatterEnumerator::MoveNext - // method line 964 - .method private hidebysig - instance default class [System]System.Net.Mail.MailAddressCollection ParseAddresses (string addresses) cil managed + // method line 982 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x152a4 - // Code size 147 (0x93) - .maxstack 5 + // Method begins at RVA 0x14f78 + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // Code size 20 (0x14) + .maxstack 1 .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) + bool V_0) 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_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_0012: nop - IL_0013: ldarg.1 - IL_0014: ldstr ";" - IL_0019: callvirt instance bool string::Contains(string) - IL_001e: brfalse IL_0078 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FormatterEnumerator::System.Collections.IEnumerator.MoveNext - 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 + // method line 983 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x14f98 + // 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_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 + // method line 984 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x14fa6 + .override class [mscorlib]System.Collections.IEnumerator::Reset + // 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_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 + .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_0072: nop - IL_0073: br IL_0087 +.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 ) // .. - 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 + .field private string _name + .field private string _namespaceUri + .field private string _value + .field private bool _ifDefined + .field private bool _unlessDefined - IL_0090: ldloc.s 5 - IL_0092: ret - } // end of method MailTask::ParseAddresses + // method line 985 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x14fb4 + // 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 965 - .method private hidebysig - instance default class [System]System.Net.Mail.MailAddress ConvertStringToMailAddress (string address) cil managed + // method line 986 + .method public hidebysig specialname + instance default string get_ParameterName () cil managed { - // Method begins at RVA 0x15344 - // Code size 298 (0x12a) - .maxstack 4 + // Method begins at RVA 0x14fe8 + // Code size 15 (0xf) + .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) + string 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 string NAnt.Core.Types.XsltParameter::_name + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method XsltParameter::get_ParameterName - 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 987 + .method public hidebysig specialname + instance default void set_ParameterName (string 'value') cil managed + { + // Method begins at RVA 0x15003 + // 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_0008: ret + } // end of method XsltParameter::set_ParameterName - 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 988 + .method public hidebysig specialname + instance default string get_NamespaceUri () cil managed + { + // Method begins at RVA 0x15010 + // 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::_namespaceUri + IL_0007: stloc.0 + IL_0008: br IL_000d - .try { // 0 - IL_00b7: nop - IL_00b8: ldloc.1 - IL_00b9: call bool string::IsNullOrEmpty(string) - IL_00be: brtrue IL_00de + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltParameter::get_NamespaceUri - IL_00c3: ldloc.2 - IL_00c4: call bool string::IsNullOrEmpty(string) - IL_00c9: brtrue IL_00de + // method line 989 + .method public hidebysig specialname + instance default void set_NamespaceUri (string 'value') cil managed + { + // Method begins at RVA 0x1502b + // 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_0008: ret + } // end of method XsltParameter::set_NamespaceUri - 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 + // method line 990 + .method public hidebysig specialname + instance default string get_Value () cil managed + { + // Method begins at RVA 0x15038 + // 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_0007: stloc.0 + IL_0008: br IL_000d - IL_00de: ldloc.2 - IL_00df: call bool string::IsNullOrEmpty(string) - IL_00e4: brtrue IL_00f8 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltParameter::get_Value - 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 + // method line 991 + .method public hidebysig specialname + instance default void set_Value (string 'value') cil managed + { + // Method begins at RVA 0x15053 + // 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_0008: ret + } // end of method XsltParameter::set_Value - 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 + // method line 992 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0x15060 + // 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 - } // 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_000d: ldloc.0 + IL_000e: ret + } // end of method XsltParameter::get_IfDefined - // method line 966 - .method private hidebysig - instance default string UnescapeXmlCodes (string 'value') cil managed + // method line 993 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x15498 - // Code size 85 (0x55) - .maxstack 3 + // Method begins at RVA 0x1507b + // 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::_ifDefined + IL_0008: ret + } // end of method XsltParameter::set_IfDefined + + // method line 994 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x15088 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0) + bool 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_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Types.XsltParameter::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0053: ldloc.0 - IL_0054: ret - } // end of method MailTask::UnescapeXmlCodes + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XsltParameter::get_UnlessDefined - .property instance string From () + // method line 995 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x150a3 + // 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 + + .property instance string ParameterName () { .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 + 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.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') + .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 BccList () + .property instance string NamespaceUri () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 62 63 63 6C 69 73 74 00 00 ) // ...bcclist.. + .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.Tasks.MailTask::get_BccList () - .set instance default void NAnt.Core.Tasks.MailTask::set_BccList (string 'value') + .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 Mailhost () + .property instance string Value () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6D 61 69 6C 68 6F 73 74 00 00 ) // ...mailhost.. + .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.Tasks.MailTask::get_Mailhost () - .set instance default void NAnt.Core.Tasks.MailTask::set_Mailhost (string '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 int32 Port () + .property instance bool IfDefined () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 6D 61 69 6C 70 6F 72 74 00 00 ) // ...mailport.. + .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.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default int32 NAnt.Core.Tasks.MailTask::get_Port () - .set instance default void NAnt.Core.Tasks.MailTask::set_Port (int32 'value') + .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 EnableSsl () + .property instance bool UnlessDefined () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 73 73 6C 00 00 ) // ...ssl.. + .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.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.. - - .get instance default string NAnt.Core.Tasks.MailTask::get_Message () - .set instance default void NAnt.Core.Tasks.MailTask::set_Message (string 'value') + .get instance default bool NAnt.Core.Types.XsltParameter::get_UnlessDefined () + .set instance default void NAnt.Core.Types.XsltParameter::set_UnlessDefined (bool '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.. + } // end of class NAnt.Core.Types.XsltParameter +} - .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.. +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit RawXml + extends NAnt.Core.Element + { - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 996 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x150ad + // 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 - .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 997 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNode get_Xml () cil managed + { + // Method begins at RVA 0x150b8 + // 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: call instance class [System.Xml]System.Xml.XmlNode class NAnt.Core.Element::get_XmlNode() + IL_0007: stloc.0 + IL_0008: br IL_000d - .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.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RawXml::get_Xml - .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.. + // method line 998 + .method family virtual hidebysig specialname + instance default bool get_CustomXmlProcessing () cil managed + { + // Method begins at RVA 0x150d4 + // 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 - .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... + IL_0008: ldloc.0 + IL_0009: ret + } // end of method RawXml::get_CustomXmlProcessing - .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 () + .property instance class [System.Xml]System.Xml.XmlNode Xml () { - .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') + .get instance default class [System.Xml]System.Xml.XmlNode NAnt.Core.Types.RawXml::get_Xml () } - .property instance class NAnt.Core.Types.FileSet Attachments () + .property instance bool CustomXmlProcessing () { - .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') + .get instance default bool NAnt.Core.Types.RawXml::get_CustomXmlProcessing () } - .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 + } // end of class NAnt.Core.Types.RawXml } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit UpToDateTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit Proxy + extends NAnt.Core.DataTypeBase { - .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 05 70 72 6F 78 79 00 00 ) // ...proxy.. - .field private string _propertyName - .field private class NAnt.Core.Types.FileSet _sourceFiles - .field private class NAnt.Core.Types.FileSet _targetFiles + .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 967 + // method line 999 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x154f9 - // Code size 7 (0x7) + // Method begins at RVA 0x150ea + // 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 UpToDateTask::.ctor + 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 968 + // method line 1000 .method public hidebysig specialname - instance default string get_PropertyName () cil managed + instance default string get_Host () cil managed { - // Method begins at RVA 0x15504 + // Method begins at RVA 0x150fc // 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.UpToDateTask::_propertyName + 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 UpToDateTask::get_PropertyName + } // end of method Proxy::get_Host - // method line 969 + // method line 1001 .method public hidebysig specialname - instance default void set_PropertyName (string 'value') cil managed + instance default void set_Host (string 'value') cil managed { - // Method begins at RVA 0x1551f + // Method begins at RVA 0x15117 // 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.UpToDateTask::_propertyName + IL_0008: stfld string NAnt.Core.Types.Proxy::_host IL_000d: ret - } // end of method UpToDateTask::set_PropertyName + } // end of method Proxy::set_Host - // method line 970 + // method line 1002 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_SourceFiles () cil managed + instance default int32 get_Port () cil managed { - // Method begins at RVA 0x15530 + // Method begins at RVA 0x15128 // 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.UpToDateTask::_sourceFiles + 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 UpToDateTask::get_SourceFiles + } // end of method Proxy::get_Port - // method line 971 + // method line 1003 .method public hidebysig specialname - instance default void set_SourceFiles (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_Port (int32 'value') cil managed { - // Method begins at RVA 0x1554b + // Method begins at RVA 0x15143 // 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 int32 NAnt.Core.Types.Proxy::_port IL_0008: ret - } // end of method UpToDateTask::set_SourceFiles + } // end of method Proxy::set_Port - // method line 972 + // method line 1004 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_TargetFiles () cil managed + instance default bool get_BypassOnLocal () cil managed { - // Method begins at RVA 0x15558 + // Method begins at RVA 0x15150 // Code size 15 (0xf) .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.UpToDateTask::_targetFiles + 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 UpToDateTask::get_TargetFiles + } // end of method Proxy::get_BypassOnLocal - // method line 973 + // method line 1005 .method public hidebysig specialname - instance default void set_TargetFiles (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_BypassOnLocal (bool 'value') cil managed { - // Method begins at RVA 0x15573 + // Method begins at RVA 0x1516b // 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 bool NAnt.Core.Types.Proxy::_bypassOnLocal IL_0008: ret - } // end of method UpToDateTask::set_TargetFiles + } // end of method Proxy::set_BypassOnLocal - // method line 974 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1006 + .method public hidebysig specialname + instance default class NAnt.Core.Types.Credential get_Credentials () cil managed { - // Method begins at RVA 0x15580 - // Code size 169 (0xa9) - .maxstack 7 + // Method begins at RVA 0x15178 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - bool V_0, - class [mscorlib]System.IO.FileInfo V_1, - string V_2, - bool V_3) + class NAnt.Core.Types.Credential 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_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_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_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 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. - - .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.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.. + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::_credentials + IL_0007: stloc.0 + IL_0008: br IL_000d - .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.. + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Proxy::get_Credentials - .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 -} + // method line 1007 + .method public hidebysig specialname + instance default void set_Credentials (class NAnt.Core.Types.Credential 'value') cil managed + { + // Method begins at RVA 0x15193 + // 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_0008: ret + } // end of method Proxy::set_Credentials -.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.. + // method line 1008 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed + { + // Method begins at RVA 0x151a0 + // 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::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - .field private string _prefix + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Proxy::get_IfDefined - // method line 975 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1009 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x15635 - // Code size 18 (0x12) + // Method begins at RVA 0x151bb + // Code size 9 (0x9) .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_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 - // method line 976 + // method line 1010 .method public hidebysig specialname - instance default string get_Prefix () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x15648 + // Method begins at RVA 0x151c8 // 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.SysInfoTask::_prefix + IL_0002: ldfld bool NAnt.Core.Types.Proxy::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method SysInfoTask::get_Prefix + } // end of method Proxy::get_UnlessDefined - // method line 977 + // method line 1011 .method public hidebysig specialname - instance default void set_Prefix (string 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x15663 + // Method begins at RVA 0x151e3 // 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_0003: stfld bool NAnt.Core.Types.Proxy::_unlessDefined IL_0008: ret - } // end of method SysInfoTask::set_Prefix + } // end of method Proxy::set_UnlessDefined - // method line 978 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1012 + .method public hidebysig + instance default class [System]System.Net.IWebProxy GetWebProxy () cil managed { - // Method begins at RVA 0x15670 - // Code size 788 (0x314) - .maxstack 7 + // Method begins at RVA 0x151f0 + // Code size 105 (0x69) + .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) + class [System]System.Net.WebProxy V_0, + class [System]System.Net.IWebProxy V_1) 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_0002: call instance bool class NAnt.Core.Types.Proxy::get_IfDefined() + IL_0007: brfalse IL_005b - 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_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Types.Proxy::get_UnlessDefined() + IL_0012: brtrue IL_005b - } // 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: 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_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_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_0246: nop - IL_0247: rethrow - IL_0249: nop - IL_024a: leave IL_024f + 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 - } // 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_0067: ldloc.1 + IL_0068: ret + } // end of method Proxy::GetWebProxy - IL_025b: leave IL_0276 + .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. - } // 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 + .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_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 + .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_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 + .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - 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 + .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_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 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_02f6: leave IL_0312 + .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. - } // 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 + .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_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 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .property instance string Prefix () + .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 70 72 65 66 69 78 01 00 54 02 08 52 65 // ...prefix..T..Re + 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 string NAnt.Core.Tasks.SysInfoTask::get_Prefix () - .set instance default void NAnt.Core.Tasks.SysInfoTask::set_Prefix (string 'value') + .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.Tasks.SysInfoTask + } // end of class NAnt.Core.Types.Proxy } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit FailTask - 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 04 66 61 69 6C 00 00 ) // ...fail.. + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - .field private string _message - .field private string _contents - // method line 979 + // method line 1013 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x159b8 - // Code size 7 (0x7) + // Method begins at RVA 0x15265 + // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() - IL_0006: ret - } // end of method FailTask::.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 980 - .method public hidebysig specialname - instance default string get_Message () cil managed + // method line 1014 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed { - // Method begins at RVA 0x159c0 + // Method begins at RVA 0x1526e // 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.Core.Types.EnvironmentVariableCollection::AddRange(class NAnt.Core.Types.EnvironmentVariableCollection) + IL_000e: ret + } // end of method EnvironmentVariableCollection::.ctor + + // method line 1015 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariable[] 'value') cil managed + { + // Method begins at RVA 0x1527e + // 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.EnvironmentVariable[]) + IL_000e: ret + } // end of method EnvironmentVariableCollection::.ctor + + // method line 1016 + .method public hidebysig specialname + instance default class NAnt.Core.Types.EnvironmentVariable get_Item (int32 index) cil managed + { + // Method begins at RVA 0x15290 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - string V_0) + class NAnt.Core.Types.EnvironmentVariable 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 + 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_0018: ldloc.0 + IL_0019: ret + } // end of method EnvironmentVariableCollection::get_Item + + // method line 1017 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Types.EnvironmentVariable 'value') cil managed + { + // Method begins at RVA 0x152b6 + // 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 FailTask::get_Message + } // end of method EnvironmentVariableCollection::set_Item - // method line 981 + // method line 1018 .method public hidebysig specialname - instance default void set_Message (string 'value') cil managed + instance default class NAnt.Core.Types.EnvironmentVariable get_Item (string name) cil managed { - // Method begins at RVA 0x159dc - // Code size 72 (0x48) + // Method begins at RVA 0x152c8 + // 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: call bool string::IsNullOrEmpty(string) - IL_0007: brtrue IL_003e + IL_0002: brfalse IL_0066 - 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_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_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_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_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 + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - // method line 982 - .method public hidebysig specialname - instance default string get_Contents () 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 EnvironmentVariableCollection::get_Item + + // method line 1019 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Types.EnvironmentVariable item) cil managed { - // Method begins at RVA 0x15a30 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x15354 + // 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.Core.Tasks.FailTask::_contents - 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 FailTask::get_Contents + IL_0013: ldloc.0 + IL_0014: ret + } // end of method EnvironmentVariableCollection::Add - // method line 983 - .method public hidebysig specialname - instance default void set_Contents (string 'value') cil managed + // method line 1020 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.EnvironmentVariable[] items) cil managed { - // Method begins at RVA 0x15a4c - // Code size 72 (0x48) + // Method begins at RVA 0x15378 + // 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.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_0021: ret + } // end of method EnvironmentVariableCollection::AddRange + + // method line 1021 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Types.EnvironmentVariableCollection items) cil managed + { + // Method begins at RVA 0x153a8 + // 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.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 + + IL_0028: ret + } // end of method EnvironmentVariableCollection::AddRange + + // method line 1022 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Types.EnvironmentVariable item) cil managed + { + // Method begins at RVA 0x153e0 + // Code size 21 (0x15) .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call bool string::IsNullOrEmpty(string) - IL_0007: brtrue IL_003e + IL_0001: 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_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 + IL_0013: ldloc.0 + IL_0014: ret + } // end of method EnvironmentVariableCollection::Contains - 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 + // method line 1023 + .method public hidebysig + instance default bool Contains (string 'value') cil managed + { + // Method begins at RVA 0x15404 + // 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_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 + IL_0014: ldloc.0 + IL_0015: ret + } // end of method EnvironmentVariableCollection::Contains - // method line 984 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1024 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Types.EnvironmentVariable[] 'array', int32 index) cil managed { - // Method begins at RVA 0x15aa0 - // Code size 82 (0x52) + // Method begins at RVA 0x15426 + // 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 + + // method line 1025 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Types.EnvironmentVariable item) cil managed + { + // Method begins at RVA 0x15438 + // 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.Core.Tasks.FailTask::get_Message() - IL_0007: call bool string::IsNullOrEmpty(string) - IL_000c: brtrue 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_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_0013: ldloc.0 + IL_0014: ret + } // end of method EnvironmentVariableCollection::IndexOf - 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 1026 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Types.EnvironmentVariable item) cil managed + { + // Method begins at RVA 0x15459 + // 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_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 line 1027 + .method public hidebysig + instance default class NAnt.Core.Types.EnvironmentVariableEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x1546c + // 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_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_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariableCollection::GetEnumerator - // method line 985 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 1028 + .method public hidebysig + instance default void Remove (class NAnt.Core.Types.EnvironmentVariable item) cil managed { - // Method begins at RVA 0x15afe - // Code size 36 (0x24) + // Method begins at RVA 0x15487 + // Code size 14 (0xe) .maxstack 8 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_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 - .property instance string Message () + .property instance class NAnt.Core.Types.EnvironmentVariable Item (int32) { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 07 6D 65 73 73 61 67 65 00 00 ) // ...message.. - - .get instance default string NAnt.Core.Tasks.FailTask::get_Message () - .set instance default void NAnt.Core.Tasks.FailTask::set_Message (string 'value') + .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 string Contents () + .property instance class NAnt.Core.Types.EnvironmentVariable Item (string) { - .get instance default string NAnt.Core.Tasks.FailTask::get_Contents () - .set instance default void NAnt.Core.Tasks.FailTask::set_Contents (string 'value') + .get instance default class NAnt.Core.Types.EnvironmentVariable NAnt.Core.Types.EnvironmentVariableCollection::get_Item (string name) } - } // end of class NAnt.Core.Tasks.FailTask + } // end of class NAnt.Core.Types.EnvironmentVariableCollection } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .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.. - - .field private class [mscorlib]System.IO.DirectoryInfo _dir + .class public auto ansi beforefieldinit EnvironmentVariableEnumerator + extends [mscorlib]System.Object + implements [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 986 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1029 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariableCollection arguments) cil managed { - // Method begins at RVA 0x15b23 - // Code size 7 (0x7) - .maxstack 8 + // Method begins at RVA 0x15498 + // 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.Task::'.ctor'() - IL_0006: ret - } // end of method MkDirTask::.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.EnvironmentVariableEnumerator::_baseEnumerator + IL_0015: ret + } // end of method EnvironmentVariableEnumerator::.ctor - // method line 987 + // method line 1030 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Dir () cil managed + instance default class NAnt.Core.Types.EnvironmentVariable get_Current () cil managed { - // Method begins at RVA 0x15b2c - // Code size 15 (0xf) + // Method begins at RVA 0x154bc + // Code size 25 (0x19) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class NAnt.Core.Types.EnvironmentVariable V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MkDirTask::_dir - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method MkDirTask::get_Dir + IL_0017: ldloc.0 + IL_0018: ret + } // end of method EnvironmentVariableEnumerator::get_Current - // method line 988 - .method public hidebysig specialname - instance default void set_Dir (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 1031 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x15b47 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x154e4 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // 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 class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Tasks.MkDirTask::_dir - IL_0008: ret - } // end of method MkDirTask::set_Dir + 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 - // method line 989 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method EnvironmentVariableEnumerator::System.Collections.IEnumerator.get_Current + + // method line 1032 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x15b54 - // Code size 120 (0x78) - .maxstack 7 + // Method begins at RVA 0x15504 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class [mscorlib]System.Exception V_0) + bool 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.EnvironmentVariableEnumerator::_baseEnumerator + IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_000c: stloc.0 + IL_000d: br IL_0012 - 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_0012: ldloc.0 + IL_0013: ret + } // end of method EnvironmentVariableEnumerator::MoveNext - } // 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 1033 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x15524 + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // 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.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 EnvironmentVariableEnumerator::System.Collections.IEnumerator.MoveNext - .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 1034 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x15544 + // 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 + + // method line 1035 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x15552 + .override class [mscorlib]System.Collections.IEnumerator::Reset + // 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 + + .property instance object System.Collections.IEnumerator.Current () + { + .get instance default object NAnt.Core.Types.EnvironmentVariableEnumerator::System.Collections.IEnumerator.get_Current () } - } // end of class NAnt.Core.Tasks.MkDirTask + .property instance class NAnt.Core.Types.EnvironmentVariable Current () + { + .get instance default class NAnt.Core.Types.EnvironmentVariable NAnt.Core.Types.EnvironmentVariableEnumerator::get_Current () + } + } // end of class NAnt.Core.Types.EnvironmentVariableEnumerator } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit AttribTask - extends NAnt.Core.Task + .class public auto ansi sealed ManagedExecution + extends [mscorlib]System.Enum { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 06 61 74 74 72 69 62 00 00 ) // ...attrib.. + .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 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 + .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) - // method line 990 + } // end of class NAnt.Core.Types.ManagedExecution +} + +.namespace NAnt.Core.Types +{ + .class public auto ansi beforefieldinit ManagedExecutionConverter + extends [System]System.ComponentModel.EnumConverter + { + + // method line 1036 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x15be8 + // Method begins at RVA 0x15560 // 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.AttribTask::_fileset - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Task::'.ctor'() + 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 AttribTask::.ctor + } // end of method ManagedExecutionConverter::.ctor - // method line 991 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + // method line 1037 + .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 0x15bfc - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x15574 + // Code size 122 (0x7a) + .maxstack 4 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0, + object V_1) 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_0001: ldarg.3 + IL_0002: isinst [mscorlib]System.String + IL_0007: brfalse IL_0069 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AttribTask::get_File + 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 - // method line 992 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x15c17 - // 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_0026: nop + IL_0027: ldc.i4.1 + IL_0028: box NAnt.Core.Types.ManagedExecution + IL_002d: stloc.1 + IL_002e: br IL_0078 - // method line 993 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_AttribFileSet () cil managed - { - // Method begins at RVA 0x15c24 - // 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.AttribTask::_fileset - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method AttribTask::get_AttribFileSet + IL_0045: nop + IL_0046: ldc.i4.0 + IL_0047: box NAnt.Core.Types.ManagedExecution + IL_004c: stloc.1 + IL_004d: br IL_0078 - // method line 994 - .method public hidebysig specialname - instance default void set_AttribFileSet (class NAnt.Core.Types.FileSet 'value') cil managed + 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 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 1038 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x15c3f - // Code size 9 (0x9) + // Method begins at RVA 0x155fa + // Code size 26 (0x1a) .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_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 - // method line 995 + // method line 1039 .method public hidebysig specialname - instance default bool get_ArchiveAttrib () cil managed + instance default string get_NamespaceUri () cil managed { - // Method begins at RVA 0x15c4c + // Method begins at RVA 0x15618 // 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.Tasks.AttribTask::_archiveAttrib + IL_0002: ldfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AttribTask::get_ArchiveAttrib + } // end of method XsltExtensionObject::get_NamespaceUri - // method line 996 + // method line 1040 .method public hidebysig specialname - instance default void set_ArchiveAttrib (bool 'value') cil managed + instance default void set_NamespaceUri (string 'value') cil managed { - // Method begins at RVA 0x15c67 + // Method begins at RVA 0x15633 // 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_0003: stfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri IL_0008: ret - } // end of method AttribTask::set_ArchiveAttrib + } // end of method XsltExtensionObject::set_NamespaceUri - // method line 997 + // method line 1041 .method public hidebysig specialname - instance default bool get_HiddenAttrib () cil managed + instance default string get_TypeName () cil managed { - // Method begins at RVA 0x15c74 + // Method begins at RVA 0x15640 // 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.Tasks.AttribTask::_hiddenAttrib + IL_0002: ldfld string NAnt.Core.Types.XsltExtensionObject::_typeName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AttribTask::get_HiddenAttrib + } // end of method XsltExtensionObject::get_TypeName - // method line 998 + // method line 1042 .method public hidebysig specialname - instance default void set_HiddenAttrib (bool 'value') cil managed + instance default void set_TypeName (string 'value') cil managed { - // Method begins at RVA 0x15c8f + // Method begins at RVA 0x1565b // 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::_hiddenAttrib + IL_0003: stfld string NAnt.Core.Types.XsltExtensionObject::_typeName IL_0008: ret - } // end of method AttribTask::set_HiddenAttrib + } // end of method XsltExtensionObject::set_TypeName - // method line 999 + // method line 1043 .method public hidebysig specialname - instance default bool get_NormalAttrib () cil managed + instance default class [mscorlib]System.IO.FileInfo get_AssemblyPath () cil managed { - // Method begins at RVA 0x15c9c + // Method begins at RVA 0x15668 // 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.Tasks.AttribTask::_normalAttrib + 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 AttribTask::get_NormalAttrib + } // end of method XsltExtensionObject::get_AssemblyPath - // method line 1000 + // method line 1044 .method public hidebysig specialname - instance default void set_NormalAttrib (bool 'value') cil managed + instance default void set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x15cb7 + // Method begins at RVA 0x15683 // 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::_normalAttrib + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.XsltExtensionObject::_assemblyPath IL_0008: ret - } // end of method AttribTask::set_NormalAttrib + } // end of method XsltExtensionObject::set_AssemblyPath - // method line 1001 + // method line 1045 .method public hidebysig specialname - instance default bool get_ReadOnlyAttrib () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x15cc4 + // Method begins at RVA 0x15690 // 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.AttribTask::_readOnlyAttrib + IL_0002: ldfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AttribTask::get_ReadOnlyAttrib + } // end of method XsltExtensionObject::get_IfDefined - // method line 1002 + // method line 1046 .method public hidebysig specialname - instance default void set_ReadOnlyAttrib (bool 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x15cdf + // Method begins at RVA 0x156ab // 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::_readOnlyAttrib + IL_0003: stfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined IL_0008: ret - } // end of method AttribTask::set_ReadOnlyAttrib + } // end of method XsltExtensionObject::set_IfDefined - // method line 1003 + // method line 1047 .method public hidebysig specialname - instance default bool get_SystemAttrib () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x15cec + // Method begins at RVA 0x156b8 // 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.AttribTask::_systemAttrib + IL_0002: ldfld bool NAnt.Core.Types.XsltExtensionObject::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method AttribTask::get_SystemAttrib + } // end of method XsltExtensionObject::get_UnlessDefined - // method line 1004 + // method line 1048 .method public hidebysig specialname - instance default void set_SystemAttrib (bool 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x15d07 + // Method begins at RVA 0x156d3 // 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_0003: stfld bool NAnt.Core.Types.XsltExtensionObject::_unlessDefined IL_0008: ret - } // end of method AttribTask::set_SystemAttrib + } // end of method XsltExtensionObject::set_UnlessDefined - // method line 1005 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1049 + .method public hidebysig + instance default object CreateInstance () cil managed { - // Method begins at RVA 0x15d14 - // Code size 506 (0x1fa) - .maxstack 8 + // Method begins at RVA 0x156e0 + // Code size 217 (0xd9) + .maxstack 4 .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) + 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 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 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: 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_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 - - } // 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 1006 - .method private hidebysig - instance default valuetype [mscorlib]System.IO.FileAttributes GetFileAttributes () cil managed - { - // Method begins at RVA 0x15f38 - // Code size 141 (0x8d) - .maxstack 2 - .locals init ( - valuetype [mscorlib]System.IO.FileAttributes V_0, - valuetype [mscorlib]System.IO.FileAttributes V_1) - IL_0000: nop - 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_000e: nop - IL_000f: ldc.i4 128 - IL_0014: stloc.0 - IL_0015: nop - IL_0016: br IL_0062 - - 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_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_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_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_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_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_008b: ldloc.1 - IL_008c: ret - } // end of method AttribTask::GetFileAttributes - - // method line 1007 - .method private hidebysig - instance default void SetFileAttributes (string path, valuetype [mscorlib]System.IO.FileAttributes fileAttributes) cil managed - { - // Method begins at RVA 0x15fd4 - // Code size 114 (0x72) - .maxstack 5 - .locals init ( - class [mscorlib]System.Exception V_0, - string V_1) - IL_0000: 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_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 - - } // 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 - - IL_003e: nop - IL_003f: ldloc.1 + IL_003f: nop 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 - - } // end handler 0 - IL_0071: ret - } // end of method AttribTask::SetFileAttributes - - // method line 1008 - .method private hidebysig - instance default valuetype [mscorlib]System.IO.FileAttributes GetDirectoryAttributes () cil managed - { - // Method begins at RVA 0x16064 - // Code size 95 (0x5f) - .maxstack 2 - .locals init ( - valuetype [mscorlib]System.IO.FileAttributes V_0, - valuetype [mscorlib]System.IO.FileAttributes V_1) - 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_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 1009 - .method private hidebysig - instance default void SetDirectoryAttributes (string path, valuetype [mscorlib]System.IO.FileAttributes fileAttributes) cil managed - { - // Method begins at RVA 0x160d0 - // Code size 139 (0x8b) - .maxstack 5 - .locals init ( - class [mscorlib]System.Exception V_0, - string V_1) - 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_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_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_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_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_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 - + 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_008a: ret - } // end of method AttribTask::SetDirectoryAttributes - - .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_00d0: ldloc.0 + IL_00d1: stloc.3 + IL_00d2: br IL_00d7 - .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_00d7: ldloc.3 + IL_00d8: ret + } // end of method XsltExtensionObject::CreateInstance - .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 () + .property instance string NamespaceUri () { - .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 ) // .... + .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 bool NAnt.Core.Tasks.AttribTask::get_ArchiveAttrib () - .set instance default void NAnt.Core.Tasks.AttribTask::set_ArchiveAttrib (bool 'value') + .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 HiddenAttrib () + .property instance string TypeName () { - .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 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.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.AttribTask::get_HiddenAttrib () - .set instance default void NAnt.Core.Tasks.AttribTask::set_HiddenAttrib (bool 'value') + .get instance default string NAnt.Core.Types.XsltExtensionObject::get_TypeName () + .set instance default void NAnt.Core.Types.XsltExtensionObject::set_TypeName (string 'value') } - .property instance bool NormalAttrib () + .property instance class [mscorlib]System.IO.FileInfo AssemblyPath () { - .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.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.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.AttribTask::get_NormalAttrib () - .set instance default void NAnt.Core.Tasks.AttribTask::set_NormalAttrib (bool 'value') + .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 bool ReadOnlyAttrib () + .property instance bool IfDefined () { - .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.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.AttribTask::get_ReadOnlyAttrib () - .set instance default void NAnt.Core.Tasks.AttribTask::set_ReadOnlyAttrib (bool 'value') + .get instance default bool NAnt.Core.Types.XsltExtensionObject::get_IfDefined () + .set instance default void NAnt.Core.Types.XsltExtensionObject::set_IfDefined (bool 'value') } - .property instance bool SystemAttrib () + .property instance bool UnlessDefined () { - .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.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.AttribTask::get_SystemAttrib () - .set instance default void NAnt.Core.Tasks.AttribTask::set_SystemAttrib (bool 'value') + .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 NAnt.Core.Tasks.AttribTask + } // end of class NAnt.Core.Types.XsltExtensionObject } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit ChooseTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit XmlNamespace + extends NAnt.Core.Element { - .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 09 6E 61 6D 65 73 70 61 63 65 00 00 ) // ...namespace.. - .field private class [mscorlib]System.Collections.Generic.List`1 _elementContainers + .field private string _prefix + .field private string _uri + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 1010 + // method line 1050 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x16178 - // Code size 18 (0x12) + // Method begins at RVA 0x157d8 + // Code size 14 (0xe) .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.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 1011 - .method private hidebysig specialname - instance default bool get_IsFallbackDefined () cil managed + // method line 1051 + .method public hidebysig specialname + instance default string get_Prefix () cil managed { - // Method begins at RVA 0x1618c - // Code size 88 (0x58) + // Method begins at RVA 0x157e8 + // 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.XmlNamespace::_prefix + 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 XmlNamespace::get_Prefix - IL_0056: ldloc.2 - IL_0057: ret - } // end of method ChooseTask::get_IsFallbackDefined + // method line 1052 + .method public hidebysig specialname + instance default void set_Prefix (string 'value') cil managed + { + // Method begins at RVA 0x15803 + // 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_0008: ret + } // end of method XmlNamespace::set_Prefix - // method line 1012 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1053 + .method public hidebysig specialname + instance default string get_Uri () cil managed { - // Method begins at RVA 0x16200 - // Code size 112 (0x70) + // Method begins at RVA 0x15810 + // 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.XmlNamespace::_uri + 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 XmlNamespace::get_Uri - // method line 1013 - .method public hidebysig - instance default void AddCondition (class NAnt.Core.Tasks.ChooseTask/When when) cil managed + // method line 1054 + .method public hidebysig specialname + instance default void set_Uri (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 0x1628c - // Code size 59 (0x3b) + // Method begins at RVA 0x1582b + // Code size 9 (0x9) .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: stfld string NAnt.Core.Types.XmlNamespace::_uri + IL_0008: ret + } // end of method XmlNamespace::set_Uri - // method line 1014 - .method public hidebysig - instance default void AddFallback (class NAnt.Core.ElementContainer fallback) cil managed + // method line 1055 + .method public hidebysig specialname + instance default bool get_IfDefined () 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 0x162c8 - // Code size 43 (0x2b) - .maxstack 8 + // Method begins at RVA 0x15838 + // 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.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 bool NAnt.Core.Types.XmlNamespace::_ifDefined + 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 XmlNamespace::get_IfDefined - // method line 1015 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1056 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x16587 - // Code size 14 (0xe) + // Method begins at RVA 0x15853 + // Code size 9 (0x9) .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 + 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 1016 + // method line 1057 .method public hidebysig specialname - instance default bool get_Test () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x16598 + // Method begins at RVA 0x15860 // 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.XmlNamespace::_unlessDefined 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 XmlNamespace::get_UnlessDefined - // method line 1017 + // method line 1058 .method public hidebysig specialname - instance default void set_Test (bool 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x165b3 + // Method begins at RVA 0x1587b // 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.XmlNamespace::_unlessDefined IL_0008: ret - } // end of method When::set_Test - - // method line 1018 - .method public virtual hidebysig - instance default void Execute () cil managed - { - // Method begins at RVA 0x165bd - // 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 + } // end of method XmlNamespace::set_UnlessDefined - IL_000c: nop - IL_000d: br IL_0018 + .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_0012: ldarg.0 - IL_0013: call instance void class NAnt.Core.ElementContainer::Execute() - IL_0018: ret - } // end of method When::Execute + .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. - .property instance bool Test () + .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 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 03 75 72 69 01 00 54 02 08 52 65 71 75 69 // ...uri..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 01 ) // y. + + .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.. .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.XmlNamespace::get_IfDefined () + .set instance default void NAnt.Core.Types.XmlNamespace::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.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 NAntTask - 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 04 6E 61 6E 74 00 00 ) // ...nant.. + .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 _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 + .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 1019 + // method line 1059 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string name, string 'value') cil managed + { + // Method begins at RVA 0x15885 + // 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 1060 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x165d7 - // Code size 36 (0x24) + // Method begins at RVA 0x158a3 + // 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.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: 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 1020 + // method line 1061 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_BuildFile () cil managed + instance default string get_VariableName () cil managed { - // Method begins at RVA 0x165fc + // Method begins at RVA 0x158b4 // 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.NAntTask::_buildFile + 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 NAntTask::get_BuildFile + } // end of method EnvironmentVariable::get_VariableName - // method line 1021 + // method line 1062 .method public hidebysig specialname - instance default void set_BuildFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_VariableName (string 'value') cil managed { - // Method begins at RVA 0x16617 + // Method begins at RVA 0x158cf // 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_0003: stfld string NAnt.Core.Types.EnvironmentVariable::_name IL_0008: ret - } // end of method NAntTask::set_BuildFile + } // end of method EnvironmentVariable::set_VariableName - // method line 1022 + // method line 1063 .method public hidebysig specialname - instance default string get_DefaultTarget () cil managed + instance default string get_LiteralValue () cil managed { - // Method begins at RVA 0x16624 + // Method begins at RVA 0x158dc // 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.NAntTask::_target + 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 NAntTask::get_DefaultTarget + } // end of method EnvironmentVariable::get_LiteralValue - // method line 1023 + // method line 1064 .method public hidebysig specialname - instance default void set_DefaultTarget (string 'value') cil managed + instance default void set_LiteralValue (string 'value') cil managed { - // Method begins at RVA 0x1663f - // Code size 14 (0xe) + // Method begins at RVA 0x158f7 + // Code size 16 (0x10) .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_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 1024 - .method public virtual hidebysig newslot specialname - instance default class NAnt.Core.Types.FileSet get_BuildFiles () cil managed + // method line 1065 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_File () cil managed { - // Method begins at RVA 0x16650 + // Method begins at RVA 0x15908 // 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.NAntTask::_buildFiles + 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 NAntTask::get_BuildFiles + } // end of method EnvironmentVariable::get_File - // method line 1025 - .method public virtual hidebysig newslot specialname - instance default void set_BuildFiles (class NAnt.Core.Types.FileSet 'value') cil managed + // method line 1066 + .method public hidebysig specialname + instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x1666b - // Code size 9 (0x9) + // Method begins at RVA 0x15923 + // 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.NAntTask::_buildFiles - IL_0008: ret - } // end of method NAntTask::set_BuildFiles + 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 1026 + // method line 1067 .method public hidebysig specialname - instance default bool get_InheritAll () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed { - // Method begins at RVA 0x16678 + // Method begins at RVA 0x1593c // 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.NAntTask::_inheritAll + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.EnvironmentVariable::_directory IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NAntTask::get_InheritAll + } // end of method EnvironmentVariable::get_Directory - // method line 1027 + // method line 1068 .method public hidebysig specialname - instance default void set_InheritAll (bool 'value') cil managed + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x16693 - // Code size 9 (0x9) + // Method begins at RVA 0x15957 + // Code size 21 (0x15) .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 + 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 - // method line 1028 + // method line 1069 .method public hidebysig specialname - instance default bool get_InheritRefs () cil managed + instance default class NAnt.Core.Types.PathSet get_Path () cil managed { - // Method begins at RVA 0x166a0 + // Method begins at RVA 0x15970 // 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: ldfld bool NAnt.Core.Tasks.NAntTask::_inheritRefs + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NAntTask::get_InheritRefs + } // end of method EnvironmentVariable::get_Path - // method line 1029 + // method line 1070 .method public hidebysig specialname - instance default void set_InheritRefs (bool 'value') cil managed + instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed { - // Method begins at RVA 0x166bb - // Code size 9 (0x9) + // Method begins at RVA 0x1598b + // Code size 21 (0x15) .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_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 - // method line 1030 + // method line 1071 .method public hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_OverrideProperties () cil managed + instance default class NAnt.Core.Types.PathSet get_PathSet () cil managed { - // Method begins at RVA 0x166c8 + // Method begins at RVA 0x159a4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + class NAnt.Core.Types.PathSet V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Tasks.NAntTask::_overrideProperties + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method NAntTask::get_OverrideProperties + } // end of method EnvironmentVariable::get_PathSet - // method line 1031 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 1072 + .method public hidebysig specialname + instance default void set_PathSet (class NAnt.Core.Types.PathSet 'value') cil managed { - // Method begins at RVA 0x166e4 - // Code size 84 (0x54) - .maxstack 3 + // Method begins at RVA 0x159bf + // Code size 50 (0x32) + .maxstack 8 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 + IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path + IL_0007: brfalse IL_001e - 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 + 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 - 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 - - 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 1032 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1073 + .method public hidebysig specialname + instance default string get_Value () cil managed { - // Method begins at RVA 0x16744 - // Code size 157 (0x9d) - .maxstack 3 + // Method begins at RVA 0x159f4 + // 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) + string V_0) 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_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_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_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_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_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_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 + IL_0002: ldfld string NAnt.Core.Types.EnvironmentVariable::_value + IL_0007: stloc.0 + IL_0008: br IL_000d - 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 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariable::get_Value - // method line 1033 - .method private hidebysig - instance default void RunBuild (class [mscorlib]System.IO.FileInfo buildFile) cil managed + // method line 1074 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x16800 - // Code size 490 (0x1ea) - .maxstack 7 + // Method begins at RVA 0x15a10 + // Code size 15 (0xf) + .maxstack 1 .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) + bool V_0) 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_0002: ldfld bool NAnt.Core.Types.EnvironmentVariable::_ifDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariable::get_IfDefined - 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 line 1075 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x15a2b + // 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 - 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[] 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 + // method line 1076 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed + { + // Method begins at RVA 0x15a38 + // 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_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_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentVariable::get_UnlessDefined - 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 1077 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed + { + // Method begins at RVA 0x15a53 + // 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 - IL_01d1: nop - IL_01d2: ldloc.0 - IL_01d3: callvirt instance bool class NAnt.Core.Project::Run() - IL_01d8: brtrue IL_01e9 + .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_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 + .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 BuildFile () + .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 09 62 75 69 6C 64 66 69 6C 65 00 00 ) // ...buildfile.. + .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.NAntTask::get_BuildFile () - .set instance default void NAnt.Core.Tasks.NAntTask::set_BuildFile (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 string DefaultTarget () + .property instance class [mscorlib]System.IO.FileInfo File () { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 74 61 72 67 65 74 00 00 ) // ...target.. + .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.NAntTask::get_DefaultTarget () - .set instance default void NAnt.Core.Tasks.NAntTask::set_DefaultTarget (string 'value') + .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 NAnt.Core.Types.FileSet BuildFiles () + .property instance class [mscorlib]System.IO.DirectoryInfo Directory () { - .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.. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. - .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') + .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 bool InheritAll () + .property instance class NAnt.Core.Types.PathSet Path () { - .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.TaskAttributeAttribute::'.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.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 bool NAnt.Core.Tasks.NAntTask::get_InheritAll () - .set instance default void NAnt.Core.Tasks.NAntTask::set_InheritAll (bool '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') } - .property instance bool InheritRefs () + .property instance string Value () { - .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.. + .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.Tasks.NAntTask::get_InheritRefs () - .set instance default void NAnt.Core.Tasks.NAntTask::set_InheritRefs (bool 'value') + .get instance default bool NAnt.Core.Types.EnvironmentVariable::get_IfDefined () + .set instance default void NAnt.Core.Types.EnvironmentVariable::set_IfDefined (bool 'value') } - .property instance class [mscorlib]System.Collections.ArrayList OverrideProperties () + .property instance bool UnlessDefined () { - .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 + .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.Collections.ArrayList NAnt.Core.Tasks.NAntTask::get_OverrideProperties () + .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.Tasks.NAntTask + } // end of class NAnt.Core.Types.EnvironmentVariable } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Types { - .class public auto ansi beforefieldinit XmlPokeTask - 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 07 78 6D 6C 70 6F 6B 65 00 00 ) // ...xmlpoke.. + .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 [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 + .field private class NAnt.Core.Types.OptionCollection _options + .field private class NAnt.Core.Types.EnvironmentVariableCollection _environmentVariables - // method line 1034 + // method line 1078 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x16a08 - // Code size 18 (0x12) + // Method begins at RVA 0x15a5d + // Code size 29 (0x1d) .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_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: call instance void class NAnt.Core.Task::'.ctor'() - IL_0011: ret - } // end of method XmlPokeTask::.ctor + 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 1035 + // method line 1079 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_XmlFile () cil managed + instance default class NAnt.Core.Types.OptionCollection get_Options () cil managed { - // Method begins at RVA 0x16a1c + // Method begins at RVA 0x15a7c // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.Types.OptionCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.XmlPokeTask::_xmlFile + 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 XmlPokeTask::get_XmlFile + } // end of method EnvironmentSet::get_Options - // method line 1036 + // method line 1080 .method public hidebysig specialname - instance default void set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Options (class NAnt.Core.Types.OptionCollection 'value') cil managed { - // Method begins at RVA 0x16a37 + // Method begins at RVA 0x15a97 // 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_0003: stfld class NAnt.Core.Types.OptionCollection NAnt.Core.Types.EnvironmentSet::_options IL_0008: ret - } // end of method XmlPokeTask::set_XmlFile + } // end of method EnvironmentSet::set_Options - // method line 1037 + // method line 1081 .method public hidebysig specialname - instance default string get_XPath () cil managed + instance default class NAnt.Core.Types.EnvironmentVariableCollection get_EnvironmentVariables () cil managed { - // Method begins at RVA 0x16a44 + // Method begins at RVA 0x15aa4 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Types.EnvironmentVariableCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.XmlPokeTask::_xPathExpression + 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 XmlPokeTask::get_XPath + } // end of method EnvironmentSet::get_EnvironmentVariables - // method line 1038 + // method line 1082 .method public hidebysig specialname - instance default void set_XPath (string 'value') cil managed + instance default void set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed { - // Method begins at RVA 0x16a5f + // Method begins at RVA 0x15abf // 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_0003: stfld class NAnt.Core.Types.EnvironmentVariableCollection NAnt.Core.Types.EnvironmentSet::_environmentVariables IL_0008: ret - } // end of method XmlPokeTask::set_XPath + } // end of method EnvironmentSet::set_EnvironmentVariables - // method line 1039 - .method public hidebysig specialname - instance default string get_Value () cil managed - { - // Method begins at RVA 0x16a6c - // 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_0007: stloc.0 - IL_0008: br IL_000d + .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_000d: ldloc.0 - IL_000e: ret - } // end of method XmlPokeTask::get_Value + .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... - // method line 1040 - .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed + .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.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 1083 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x16a87 - // Code size 9 (0x9) + // Method begins at RVA 0x15ac9 + // Code size 18 (0x12) .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 + 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 1041 + // method line 1084 .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespaceCollection get_Namespaces () cil managed + instance default class NAnt.Core.Filters.FilterCollection get_Filters () cil managed { - // Method begins at RVA 0x16a94 + // Method begins at RVA 0x15adc // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespaceCollection V_0) + class NAnt.Core.Filters.FilterCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.XmlNamespaceCollection NAnt.Core.Tasks.XmlPokeTask::_namespaces + 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 XmlPokeTask::get_Namespaces - - // method line 1042 - .method public hidebysig specialname - instance default void set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed - { - // Method begins at RVA 0x16aaf - // 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 + } // end of method FilterChain::get_Filters - // method line 1043 + // method line 1085 .method public hidebysig specialname - instance default bool get_PreserveWhitespace () cil managed + instance default class [mscorlib]System.Text.Encoding get_InputEncoding () cil managed { - // Method begins at RVA 0x16abc + // Method begins at RVA 0x15af8 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Text.Encoding V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Tasks.XmlPokeTask::_preserveWhitespace + 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 XmlPokeTask::get_PreserveWhitespace + } // end of method FilterChain::get_InputEncoding - // method line 1044 + // method line 1086 .method public hidebysig specialname - instance default void set_PreserveWhitespace (bool 'value') cil managed + instance default void set_InputEncoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - // Method begins at RVA 0x16ad7 + // Method begins at RVA 0x15b13 // 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_0003: stfld class [mscorlib]System.Text.Encoding NAnt.Core.Filters.FilterChain::_inputEncoding IL_0008: ret - } // end of method XmlPokeTask::set_PreserveWhitespace + } // end of method FilterChain::set_InputEncoding - // method line 1045 + // method line 1087 .method family virtual hidebysig - instance default void ExecuteTask () 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 0x16ae4 - // Code size 329 (0x149) + // Method begins at RVA 0x15b20 + // Code size 25 (0x19) .maxstack 4 .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) + class NAnt.Core.Filters.FilterChain/FilterChainConfigurator 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_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_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 - IL_0087: ldloc.2 - IL_0088: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_UnlessDefined() - IL_008d: brtrue IL_00a6 + // method line 1088 + .method assembly hidebysig + instance default class NAnt.Core.Filters.Filter GetBaseFilter (class NAnt.Core.Filters.PhysicalTextReader physicalTextReader) cil managed + { + // Method begins at RVA 0x15b48 + // 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_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_0007: nop + IL_0008: ldnull + IL_0009: stloc.0 + IL_000a: br IL_00a2 - IL_00b2: leave IL_00cd + IL_000f: ldarg.1 + IL_0010: callvirt instance bool class NAnt.Core.Filters.ChainableReader::get_Base() + IL_0015: brtrue IL_0031 - } // 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 + 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_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 + 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_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_0058: ldloc.2 + IL_0059: callvirt instance bool class NAnt.Core.Filters.Filter::get_UnlessDefined() + IL_005e: brtrue IL_0074 - } // 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_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 - // method line 1046 - .method private hidebysig - instance default class [System.Xml]System.Xml.XmlDocument LoadDocument (string fileName, bool preserveWhitespace) cil managed - { - // Method begins at RVA 0x16c64 - // Code size 121 (0x79) - .maxstack 7 - .locals init ( - 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: 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_0080: leave IL_009b } // 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 + 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 + + IL_0093: ldloc.s 4 + IL_0095: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009a: endfinally } // end handler 0 - IL_0077: ldloc.1 - IL_0078: ret - } // end of method XmlPokeTask::LoadDocument + IL_009b: ldloc.1 + IL_009c: stloc.0 + IL_009d: br IL_00a2 - // method line 1047 - .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 + IL_00a2: ldloc.0 + IL_00a3: ret + } // end of method FilterChain::GetBaseFilter + + // method line 1089 + .method assembly static hidebysig + default bool IsNullOrEmpty (class NAnt.Core.Filters.FilterChain filterChain) cil managed { - // Method begins at RVA 0x16cfc - // Code size 181 (0xb5) - .maxstack 7 + // Method begins at RVA 0x15c08 + // Code size 41 (0x29) + .maxstack 2 .locals init ( - class [System.Xml]System.Xml.XmlNodeList V_0, - class [mscorlib]System.Exception V_1, - class [System.Xml]System.Xml.XmlNodeList V_2) + bool 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 "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_0001: ldarg.0 + IL_0002: brtrue IL_000f - } // 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_0007: nop + IL_0008: ldc.i4.1 + IL_0009: stloc.0 + IL_000a: br IL_0027 - IL_0057: ldloc.0 - IL_0058: callvirt instance int32 class [System.Xml]System.Xml.XmlNodeList::get_Count() - IL_005d: brtrue IL_0084 + 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_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_0027: ldloc.0 + IL_0028: ret + } // end of method FilterChain::IsNullOrEmpty - IL_00b3: ldloc.2 - IL_00b4: ret - } // end of method XmlPokeTask::SelectNodes + .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 - // method line 1048 - .method private hidebysig - instance default void UpdateNodes (class [System.Xml]System.Xml.XmlNodeList nodes, string 'value') cil managed + .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.. + + .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.... + + .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 + { + + // method line 1090 + .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 0x16dd0 - // Code size 161 (0xa1) - .maxstack 7 + // Method begins at RVA 0x15c3d + // 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 + + // method line 1091 + .method family virtual hidebysig + instance default bool InitializeBuildElementCollection (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x15c4c + // Code size 732 (0x2dc) + .maxstack 8 .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) + 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: 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 + 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_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_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_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_0025: br IL_0062 + IL_0072: br IL_00e6 - 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_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_006d: leave IL_0086 + 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_00b4: nop + IL_00b5: leave IL_00e6 + + 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_00f2: leave IL_010e } // 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_00f7: ldloc.s 6 + IL_00f9: isinst [mscorlib]System.IDisposable + IL_00fe: dup + IL_00ff: stloc.s 8 + IL_0101: brfalse IL_010d - IL_007f: ldloc.3 - IL_0080: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0085: endfinally + IL_0106: ldloc.s 8 + IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_010d: 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 + 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 - // method line 1049 - .method private hidebysig - instance default void SaveDocument (class [System.Xml]System.Xml.XmlDocument document, string fileName) cil managed - { - // Method begins at RVA 0x16e90 - // 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 + 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 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 + 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 - .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_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 - .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. + IL_0178: nop + IL_0179: ldloc.s 11 + IL_017b: stloc.s 9 + IL_017d: br IL_0195 - .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_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 - .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_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 - .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_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 - .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.. + IL_020f: nop + IL_0210: ldarg.1 + IL_0211: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_0216: brtrue IL_0248 - .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_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 - .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_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 - .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 + IL_02b7: leave IL_02d3 + + } // 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_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_02da: ldloc.2 + IL_02db: ret + } // end of method FilterChainConfigurator::InitializeBuildElementCollection + + } // end of class FilterChainConfigurator + + } // end of class NAnt.Core.Filters.FilterChain } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Filters { - .class public auto ansi beforefieldinit RegexTask - extends NAnt.Core.Task + .class private auto ansi beforefieldinit PhysicalTextReader + extends NAnt.Core.Filters.Filter { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 72 65 67 65 78 00 00 ) // ...regex.. - - .field private string _pattern - .field private string _input - .field private valuetype [System]System.Text.RegularExpressions.RegexOptions _options - // method line 1050 + // method line 1092 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class [mscorlib]System.IO.TextReader textReader) cil managed { - // Method begins at RVA 0x16f14 - // Code size 14 (0xe) + // Method begins at RVA 0x16100 + // Code size 15 (0xf) .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_0001: call instance void class NAnt.Core.Filters.Filter::'.ctor'() + IL_0006: nop IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Task::'.ctor'() - IL_000d: ret - } // end of method RegexTask::.ctor + 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 - // method line 1051 - .method public hidebysig specialname - instance default string get_Pattern () cil managed - { - // Method begins at RVA 0x16f24 - // 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::_pattern - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end of class NAnt.Core.Filters.PhysicalTextReader +} - IL_000d: ldloc.0 - IL_000e: ret - } // end of method RegexTask::get_Pattern +.namespace NAnt.Core.Filters +{ + .class public auto ansi abstract beforefieldinit Filter + extends NAnt.Core.Filters.ChainableReader + { + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 1052 - .method public hidebysig specialname - instance default void set_Pattern (string 'value') cil managed + // method line 1093 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x16f3f - // Code size 9 (0x9) + // Method begins at RVA 0x160a1 + // Code size 14 (0xe) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Tasks.RegexTask::_pattern - IL_0008: ret - } // end of method RegexTask::set_Pattern + 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 - // method line 1053 + // method line 1094 .method public hidebysig specialname - instance default valuetype [System]System.Text.RegularExpressions.RegexOptions get_Options () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x16f4c + // Method begins at RVA 0x160b0 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [System]System.Text.RegularExpressions.RegexOptions V_0) + bool 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 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 RegexTask::get_Options + } // end of method Filter::get_IfDefined - // method line 1054 + // method line 1095 .method public hidebysig specialname - instance default void set_Options (valuetype [System]System.Text.RegularExpressions.RegexOptions 'value') cil managed + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x16f67 + // Method begins at RVA 0x160cb // 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 bool NAnt.Core.Filters.Filter::_ifDefined IL_0008: ret - } // end of method RegexTask::set_Options + } // end of method Filter::set_IfDefined - // method line 1055 + // method line 1096 .method public hidebysig specialname - instance default string get_Input () cil managed + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x16f74 + // Method begins at RVA 0x160d8 // 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.RegexTask::_input + IL_0002: ldfld bool NAnt.Core.Filters.Filter::_unlessDefined 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 Filter::get_UnlessDefined - // method line 1056 + // method line 1097 .method public hidebysig specialname - instance default void set_Input (string 'value') cil managed + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x16f8f + // Method begins at RVA 0x160f3 // 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 bool NAnt.Core.Filters.Filter::_unlessDefined IL_0008: ret - } // end of method RegexTask::set_Input + } // end of method Filter::set_UnlessDefined - // method line 1057 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1098 + .method public virtual hidebysig newslot + instance default void InitializeFilter () cil managed { - // Method begins at RVA 0x16f9c - // Code size 257 (0x101) + // Method begins at RVA 0x160fd + // Code size 2 (0x2) .maxstack 8 - .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) 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 - - } // 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. + IL_0001: ret + } // end of method Filter::InitializeFilter - .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 () + .property instance bool IfDefined () { - .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.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - .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. + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .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') + .get instance default bool NAnt.Core.Filters.Filter::get_IfDefined () + .set instance default void NAnt.Core.Filters.Filter::set_IfDefined (bool 'value') } - .property instance string Input () + .property instance bool UnlessDefined () { - .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.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. - .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. + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - .get instance default string NAnt.Core.Tasks.RegexTask::get_Input () - .set instance default void NAnt.Core.Tasks.RegexTask::set_Input (string 'value') + .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.Tasks.RegexTask + } // end of class NAnt.Core.Filters.Filter } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Filters { - .class public auto ansi beforefieldinit TStampTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit FilterBuilder + extends NAnt.Core.Extensibility.ExtensionBuilder { - .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 + .field private initonly string _className + .field private initonly string _filterName - // method line 1058 + // method line 1099 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly', string className) cil managed { - // Method begins at RVA 0x170bc - // Code size 18 (0x12) + // Method begins at RVA 0x16110 + // Code size 15 (0xf) .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 - - // method line 1059 - .method public hidebysig specialname - instance default string get_Property () cil managed - { - // Method begins at RVA 0x170d0 - // 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 + 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 TStampTask::get_Property + } // end of method FilterBuilder::.ctor - // method line 1060 - .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed + // method line 1100 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed { - // Method begins at RVA 0x170eb - // 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 0x16120 + // 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 1061 + // method line 1101 .method public hidebysig specialname - instance default string get_Pattern () cil managed + instance default string get_ClassName () cil managed { - // Method begins at RVA 0x170f8 + // Method begins at RVA 0x16170 // 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::_pattern + 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 TStampTask::get_Pattern - - // method line 1062 - .method public hidebysig specialname - instance default void set_Pattern (string 'value') cil managed - { - // Method begins at RVA 0x17113 - // 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::_pattern - IL_0008: ret - } // end of method TStampTask::set_Pattern + } // end of method FilterBuilder::get_ClassName - // method line 1063 + // method line 1102 .method public hidebysig specialname - instance default class NAnt.Core.Types.FormatterCollection get_Formatters () cil managed + instance default string get_FilterName () cil managed { - // Method begins at RVA 0x17120 + // Method begins at RVA 0x1618c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FormatterCollection V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.FormatterCollection NAnt.Core.Tasks.TStampTask::_formatters + 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 TStampTask::get_Formatters + } // end of method FilterBuilder::get_FilterName - // method line 1064 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1103 + .method public hidebysig + instance default class NAnt.Core.Filters.Filter CreateFilter () cil managed { - // Method begins at RVA 0x1713c - // Code size 447 (0x1bf) + // Method begins at RVA 0x161a8 + .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 ( - 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) + class NAnt.Core.Filters.Filter V_0) IL_0000: nop - IL_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() - IL_0006: stloc.0 + 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: 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_01a5: leave IL_01be - - } // 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_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 + 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 - .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_0028: ldloc.0 + IL_0029: ret + } // end of method FilterBuilder::CreateFilter - .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 () + .property instance string ClassName () { - .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. - - .get instance default string NAnt.Core.Tasks.TStampTask::get_Pattern () - .set instance default void NAnt.Core.Tasks.TStampTask::set_Pattern (string 'value') + .get instance default string NAnt.Core.Filters.FilterBuilder::get_ClassName () } - .property instance class NAnt.Core.Types.FormatterCollection Formatters () + .property instance string FilterName () { - .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.. - - .get instance default class NAnt.Core.Types.FormatterCollection NAnt.Core.Tasks.TStampTask::get_Formatters () + .get instance default string NAnt.Core.Filters.FilterBuilder::get_FilterName () } - } // end of class NAnt.Core.Tasks.TStampTask + } // end of class NAnt.Core.Filters.FilterBuilder } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Filters { - .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 + .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 1065 - .method public hidebysig specialname rtspecialname + // method line 1104 + .method family hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x17318 + // Method begins at RVA 0x15f50 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() IL_0006: ret - } // end of method TryCatchTask::.ctor + } // end of method ChainableReader::.ctor - // method line 1066 + // method line 1105 .method public hidebysig specialname - instance default class NAnt.Core.ElementContainer get_TryBlock () cil managed + instance default bool get_Base () cil managed { - // Method begins at RVA 0x17320 + // Method begins at RVA 0x15f58 // 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::_tryBlock + IL_0002: ldfld bool NAnt.Core.Filters.ChainableReader::_baseReader 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 ChainableReader::get_Base - // method line 1067 - .method public hidebysig specialname - instance default void set_TryBlock (class NAnt.Core.ElementContainer 'value') cil managed + // method line 1106 + .method public virtual hidebysig newslot + instance default void Chain (class NAnt.Core.Filters.ChainableReader parentChainedReader) cil managed { - // Method begins at RVA 0x1733b - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x15f74 + // Code size 89 (0x59) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_tryBlock - IL_0008: ret - } // end of method TryCatchTask::set_TryBlock + IL_0001: ldarg.1 + IL_0002: brtrue IL_0018 - // method line 1068 - .method public hidebysig specialname - instance default class NAnt.Core.Tasks.TryCatchTask/CatchElement get_CatchBlock () cil managed + 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 + + // method line 1107 + .method public virtual hidebysig newslot + instance default void Chain (class [mscorlib]System.IO.TextReader baseReader) cil managed { - // Method begins at RVA 0x17348 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Tasks.TryCatchTask/CatchElement V_0) + // Method begins at RVA 0x15fdc + // Code size 89 (0x59) + .maxstack 3 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Tasks.TryCatchTask/CatchElement NAnt.Core.Tasks.TryCatchTask::_catchBlock - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarg.1 + IL_0002: brtrue IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TryCatchTask::get_CatchBlock + 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 - // method line 1069 - .method public hidebysig specialname - instance default void set_CatchBlock (class NAnt.Core.Tasks.TryCatchTask/CatchElement 'value') cil managed + // method line 1108 + .method public virtual hidebysig newslot + instance default int32 Peek () cil managed { - // Method begins at RVA 0x17363 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x16044 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + int32 V_0) 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_0008: ret - } // end of method TryCatchTask::set_CatchBlock + 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 - // method line 1070 - .method public hidebysig specialname - instance default class NAnt.Core.ElementContainer get_FinallyBlock () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ChainableReader::Peek + + // method line 1109 + .method public virtual hidebysig newslot + instance default int32 Read () cil managed { - // Method begins at RVA 0x17370 - // Code size 15 (0xf) + // Method begins at RVA 0x16064 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.Core.ElementContainer V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.ElementContainer NAnt.Core.Tasks.TryCatchTask::_finallyBlock - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method TryCatchTask::get_FinallyBlock + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ChainableReader::Read - // method line 1071 - .method public hidebysig specialname - instance default void set_FinallyBlock (class NAnt.Core.ElementContainer 'value') cil managed + // method line 1110 + .method public virtual hidebysig newslot + instance default void Close () cil managed { - // Method begins at RVA 0x1738b - // Code size 9 (0x9) + // Method begins at RVA 0x16084 + // Code size 13 (0xd) .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_0008: ret - } // end of method TryCatchTask::set_FinallyBlock + 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 - // method line 1072 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1111 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed { - // Method begins at RVA 0x17398 - // Code size 101 (0x65) - .maxstack 2 - .locals init ( - class NAnt.Core.BuildException V_0) + // Method begins at RVA 0x16092 + // Code size 14 (0xe) + .maxstack 8 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_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 - 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 + .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 + { - } // 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 1112 + .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_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 + // method line 1113 + .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 - IL_0040: nop - IL_0041: rethrow - IL_0043: nop - IL_0044: leave IL_0064 + // method line 1114 + .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 - } // 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 + // method line 1115 + .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 - 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 + } // end of class internalRead - .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. + .class nested private auto ansi sealed internalPeek + extends [mscorlib]System.MulticastDelegate + { - .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. + // method line 1116 + .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 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. + // method line 1117 + .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 - .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 + // method line 1118 + .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 1119 + .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 { - .field private string _property - // method line 1073 + // method line 1120 + .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 1121 + .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 1122 + .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 1123 + .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 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.. + + + // method line 1124 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x17428 - // Code size 7 (0x7) + // Method begins at RVA 0x161de + // Code size 8 (0x8) .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 class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method FilterBuilderCollection::.ctor - // method line 1074 - .method public hidebysig specialname - instance default string get_Property () cil managed + // method line 1125 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilderCollection 'value') cil managed { - // Method begins at RVA 0x17430 + // Method begins at RVA 0x161e7 // 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.Core.Filters.FilterBuilderCollection::AddRange(class NAnt.Core.Filters.FilterBuilderCollection) + IL_000e: ret + } // end of method FilterBuilderCollection::.ctor + + // method line 1126 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilder[] 'value') cil managed + { + // Method begins at RVA 0x161f7 + // 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.FilterBuilder[]) + IL_000e: ret + } // end of method FilterBuilderCollection::.ctor + + // method line 1127 + .method public hidebysig specialname + instance default class NAnt.Core.Filters.FilterBuilder get_Item (int32 index) cil managed + { + // Method begins at RVA 0x16208 + // 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.TryCatchTask/CatchElement::_property - 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 CatchElement::get_Property + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FilterBuilderCollection::get_Item - // method line 1075 + // method line 1128 .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Core.Filters.FilterBuilder 'value') cil managed { - // Method begins at RVA 0x1744b - // Code size 14 (0xe) + // Method begins at RVA 0x1622e + // 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.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 1076 - .method public hidebysig - instance default void Catch (class NAnt.Core.BuildException be) cil managed + // method line 1129 + .method public hidebysig specialname + instance default class NAnt.Core.Filters.FilterBuilder get_Item (string filterName) cil managed { - // Method begins at RVA 0x1745c - // Code size 182 (0xb6) - .maxstack 3 + // Method begins at RVA 0x16240 + // Code size 111 (0x6f) + .maxstack 2 .locals init ( - bool V_0, - string V_1) + 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: 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_0001: ldarg.1 + IL_0002: brfalse IL_0066 - 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 + 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_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_0015: br IL_0041 - } // 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_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_0075: nop - IL_0076: ldloc.0 - IL_0077: brtrue IL_0099 + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_006d - 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_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a - 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 + 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_00b5: ret - } // end of method CatchElement::Catch + IL_0065: nop + IL_0066: ldnull + IL_0067: stloc.2 + IL_0068: br IL_006d - .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_006d: ldloc.2 + IL_006e: ret + } // end of method FilterBuilderCollection::get_Item - .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 1130 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Filters.FilterBuilder item) cil managed + { + // Method begins at RVA 0x162cc + // 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 - .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_0013: ldloc.0 + IL_0014: ret + } // end of method FilterBuilderCollection::Add - } // end of class NAnt.Core.Tasks.TryCatchTask -} + // method line 1131 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Filters.FilterBuilder[] items) cil managed + { + // Method begins at RVA 0x162f0 + // 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 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_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 - .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 + IL_0021: ret + } // end of method FilterBuilderCollection::AddRange - // method line 1077 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1132 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Filters.FilterBuilderCollection items) cil managed { - // Method begins at RVA 0x17530 - // Code size 25 (0x19) - .maxstack 8 - IL_0000: ldarg.0 + // Method begins at RVA 0x16320 + // Code size 41 (0x29) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop 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_0002: stloc.0 + IL_0003: br IL_001c - // method line 1078 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_XmlFile () 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.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 1133 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Filters.FilterBuilder item) cil managed { - // Method begins at RVA 0x1754c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x16358 + // Code size 21 (0x15) + .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.Core.Tasks.XmlPeekTask::_xmlFile - 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 XmlPeekTask::get_XmlFile + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FilterBuilderCollection::Contains - // method line 1079 - .method public hidebysig specialname - instance default void set_XmlFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 1134 + .method public hidebysig + instance default bool Contains (string taskName) cil managed { - // Method begins at RVA 0x17567 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x1637c + // 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.FileInfo NAnt.Core.Tasks.XmlPeekTask::_xmlFile - IL_0008: ret - } // end of method XmlPeekTask::set_XmlFile + 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 - // method line 1080 - .method public hidebysig specialname - instance default int32 get_NodeIndex () cil managed + IL_0014: ldloc.0 + IL_0015: ret + } // end of method FilterBuilderCollection::Contains + + // method line 1135 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Filters.FilterBuilder[] 'array', int32 index) cil managed { - // Method begins at RVA 0x17574 + // Method begins at RVA 0x1639e // 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 FilterBuilderCollection::CopyTo + + // method line 1136 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Filters.FilterBuilder item) cil managed + { + // Method begins at RVA 0x163b0 + // Code size 21 (0x15) + .maxstack 2 .locals init ( int32 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 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 XmlPeekTask::get_NodeIndex + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FilterBuilderCollection::IndexOf - // method line 1081 - .method public hidebysig specialname - instance default void set_NodeIndex (int32 'value') cil managed + // method line 1137 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Filters.FilterBuilder item) cil managed { - // Method begins at RVA 0x1758f - // Code size 9 (0x9) + // Method begins at RVA 0x163d1 + // 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::Insert(int32, object) + IL_000e: ret + } // end of method FilterBuilderCollection::Insert - // method line 1082 - .method public hidebysig specialname - instance default string get_Property () cil managed + // method line 1138 + .method public hidebysig + instance default class NAnt.Core.Filters.FilterBuilderEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x1759c + // Method begins at RVA 0x163e4 // 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.XmlPeekTask::_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 XmlPeekTask::get_Property + } // end of method FilterBuilderCollection::GetEnumerator - // method line 1083 - .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed + // method line 1139 + .method public hidebysig + instance default void Remove (class NAnt.Core.Filters.FilterBuilder item) cil managed { - // Method begins at RVA 0x175b7 - // Code size 9 (0x9) + // Method begins at RVA 0x163ff + // Code size 14 (0xe) .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_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 1084 + .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 1140 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.FilterBuilderCollection arguments) cil managed + { + // Method begins at RVA 0x16410 + // 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 + + // method line 1141 .method public hidebysig specialname - instance default string get_XPath () cil managed + instance default class NAnt.Core.Filters.FilterBuilder get_Current () cil managed { - // Method begins at RVA 0x175c4 - // Code size 15 (0xf) + // Method begins at RVA 0x16434 + // Code size 25 (0x19) .maxstack 1 .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.XmlPeekTask::_xPath - 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: castclass NAnt.Core.Filters.FilterBuilder + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlPeekTask::get_XPath + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FilterBuilderEnumerator::get_Current - // method line 1085 - .method public hidebysig specialname - instance default void set_XPath (string 'value') cil managed + // method line 1142 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x175df - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x1645c + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // 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.Tasks.XmlPeekTask::_xPath - IL_0008: ret - } // end of method XmlPeekTask::set_XPath + 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 - // method line 1086 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespaceCollection get_Namespaces () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FilterBuilderEnumerator::System.Collections.IEnumerator.get_Current + + // method line 1143 + .method public hidebysig + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x175ec - // Code size 15 (0xf) + // Method begins at RVA 0x1647c + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespaceCollection V_0) + bool 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 + 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_000d: ldloc.0 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FilterBuilderEnumerator::MoveNext + + // method line 1144 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x1649c + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method FilterBuilderEnumerator::System.Collections.IEnumerator.MoveNext + + // method line 1145 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x164bc + // 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 + + // method line 1146 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x164ca + .override class [mscorlib]System.Collections.IEnumerator::Reset + // 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 + + .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 +} + +.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 1147 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x164d8 + // 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 + + // method line 1148 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.FilterCollection 'value') cil managed + { + // Method begins at RVA 0x164e1 + // 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 XmlPeekTask::get_Namespaces + } // end of method FilterCollection::.ctor - // method line 1087 + // method line 1149 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.Filter[] 'value') cil managed + { + // Method begins at RVA 0x164f1 + // 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 + + // method line 1150 .method public hidebysig specialname - instance default void set_Namespaces (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed + instance default class NAnt.Core.Filters.Filter get_Item (int32 index) cil managed { - // Method begins at RVA 0x17607 - // Code size 9 (0x9) + // Method begins at RVA 0x16504 + // 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 + + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FilterCollection::get_Item + + // method line 1151 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Filters.Filter 'value') cil managed + { + // Method begins at RVA 0x1652a + // Code size 15 (0xf) .maxstack 8 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: 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 - // method line 1088 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1152 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Filters.Filter item) cil managed { - // Method begins at RVA 0x17614 - // Code size 218 (0xda) - .maxstack 7 + // Method begins at RVA 0x1653c + // Code size 21 (0x15) + .maxstack 2 .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_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_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 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_0013: ldloc.0 + IL_0014: ret + } // end of method FilterCollection::Add - // method line 1089 - .method private hidebysig - instance default class [System.Xml]System.Xml.XmlDocument LoadDocument (string fileName) cil managed + // method line 1153 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Filters.Filter[] items) cil managed { - // Method begins at RVA 0x17718 - // Code size 62 (0x3e) + // Method begins at RVA 0x16560 + // Code size 34 (0x22) .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_0018 - } // 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: 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 - // method line 1090 - .method private hidebysig - instance default string GetNodeContents (string xpath, class [System.Xml]System.Xml.XmlDocument document, int32 nodeIndex) cil managed + IL_0021: ret + } // end of method FilterCollection::AddRange + + // method line 1154 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Filters.FilterCollection items) cil managed { - // Method begins at RVA 0x17774 - // Code size 528 (0x210) - .maxstack 8 + // Method begins at RVA 0x16590 + // Code size 41 (0x29) + .maxstack 3 .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) + int32 V_0) IL_0000: nop - IL_0001: ldnull + IL_0001: ldc.i4.0 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_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_0003: br IL_001c - IL_003d: ldloc.s 4 - IL_003f: callvirt instance bool class NAnt.Core.Types.XmlNamespace::get_UnlessDefined() - IL_0044: brtrue IL_005f + 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_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_0028: ret + } // end of method FilterCollection::AddRange - IL_006c: leave IL_0088 + // method line 1155 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Filters.Filter item) cil managed + { + // Method begins at RVA 0x165c8 + // 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 - } // 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_0013: ldloc.0 + IL_0014: ret + } // end of method FilterCollection::Contains - 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 1156 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Filters.Filter[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x165e9 + // 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 - } // 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 1157 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Filters.Filter item) cil managed + { + // Method begins at RVA 0x165fc + // 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_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_0013: ldloc.0 + IL_0014: ret + } // end of method FilterCollection::IndexOf - 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 1158 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Filters.Filter item) cil managed + { + // Method begins at RVA 0x1661d + // 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_013e: ldstr "s" - IL_0143: br IL_014d + // method line 1159 + .method public hidebysig + instance default class NAnt.Core.Filters.FilterEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x16630 + // 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_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_000d: ldloc.0 + IL_000e: ret + } // end of method FilterCollection::GetEnumerator - IL_015e: nop - IL_015f: ldarg.3 - IL_0160: ldloc.2 - IL_0161: blt IL_018d + // method line 1160 + .method public hidebysig + instance default void Remove (class NAnt.Core.Filters.Filter item) cil managed + { + // Method begins at RVA 0x1664b + // 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_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 + .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_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.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_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 1161 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Filters.FilterCollection arguments) cil managed + { + // Method begins at RVA 0x1665c + // 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_01cc: nop - IL_01cd: br IL_0205 + // method line 1162 + .method public hidebysig specialname + instance default class NAnt.Core.Filters.Filter get_Current () cil managed + { + // Method begins at RVA 0x16680 + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.Filters.Filter 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: castclass NAnt.Core.Filters.Filter + 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 FilterEnumerator::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 1163 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x166a8 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // 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_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 FilterEnumerator::System.Collections.IEnumerator.get_Current - IL_020d: ldloc.s 13 - IL_020f: ret - } // end of method XmlPeekTask::GetNodeContents + // method line 1164 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x166c8 + // 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.FilterEnumerator::_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 FilterEnumerator::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 1165 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x166e8 + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // 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.FilterEnumerator::_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 FilterEnumerator::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 1166 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x16708 + // 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 - .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 1167 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x16716 + .override class [mscorlib]System.Collections.IEnumerator::Reset + // 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 - .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.Filters.FilterEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class NAnt.Core.Types.XmlNamespaceCollection Namespaces () + .property instance class NAnt.Core.Filters.Filter 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.Filters.Filter NAnt.Core.Filters.FilterEnumerator::get_Current () } - } // end of class NAnt.Core.Tasks.XmlPeekTask + } // end of class NAnt.Core.Filters.FilterEnumerator } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Filters { - .class public auto ansi beforefieldinit SetEnvTask - 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 06 73 65 74 65 6E 76 00 00 ) // ...setenv.. + .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 _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 + .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 1091 + // method line 1168 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x179ac - // Code size 18 (0x12) + // Method begins at RVA 0x16724 + // Code size 48 (0x30) .maxstack 8 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: 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 1092 + // method line 1169 .method public hidebysig specialname - instance default string get_EnvName () cil managed + instance default char get_BeginToken () cil managed { - // Method begins at RVA 0x179c0 + // Method begins at RVA 0x16758 // 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.SetEnvTask::_name + 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 SetEnvTask::get_EnvName + } // end of method ReplaceTokens::get_BeginToken - // method line 1093 + // method line 1170 .method public hidebysig specialname - instance default void set_EnvName (string 'value') cil managed + instance default void set_BeginToken (char 'value') cil managed { - // Method begins at RVA 0x179db - // Code size 14 (0xe) + // Method begins at RVA 0x16773 + // 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.SetEnvTask::_name - IL_000d: ret - } // end of method SetEnvTask::set_EnvName + IL_0003: stfld char NAnt.Core.Filters.ReplaceTokens::_beginToken + IL_0008: ret + } // end of method ReplaceTokens::set_BeginToken - // method line 1094 + // method line 1171 .method public hidebysig specialname - instance default string get_LiteralValue () cil managed + instance default char get_EndToken () cil managed { - // Method begins at RVA 0x179ec + // Method begins at RVA 0x16780 // 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.SetEnvTask::_literalValue + 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 SetEnvTask::get_LiteralValue + } // end of method ReplaceTokens::get_EndToken - // method line 1095 + // method line 1172 .method public hidebysig specialname - instance default void set_LiteralValue (string 'value') cil managed + instance default void set_EndToken (char 'value') cil managed { - // Method begins at RVA 0x17a07 - // Code size 16 (0x10) + // Method begins at RVA 0x1679b + // Code size 9 (0x9) .maxstack 8 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_0003: stfld char NAnt.Core.Filters.ReplaceTokens::_endToken + IL_0008: ret + } // end of method ReplaceTokens::set_EndToken - // method line 1096 + // method line 1173 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + instance default class NAnt.Core.Types.Token[] get_Tokens () cil managed { - // Method begins at RVA 0x17a18 + // Method begins at RVA 0x167a8 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.Types.Token[] V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Tasks.SetEnvTask::_file + 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 SetEnvTask::get_File + } // end of method ReplaceTokens::get_Tokens - // method line 1097 + // method line 1174 .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Tokens (class NAnt.Core.Types.Token[] 'value') cil managed { - // Method begins at RVA 0x17a33 - // Code size 21 (0x15) + // Method begins at RVA 0x167c3 + // Code size 9 (0x9) .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_0003: stfld class NAnt.Core.Types.Token[] NAnt.Core.Filters.ReplaceTokens::_tokens + IL_0008: ret + } // end of method ReplaceTokens::set_Tokens - // method line 1098 + // method line 1175 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + instance default bool get_IgnoreCase () cil managed { - // Method begins at RVA 0x17a4c + // Method begins at RVA 0x167d0 // 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.SetEnvTask::_directory + IL_0002: ldfld bool NAnt.Core.Filters.ReplaceTokens::_ignoreCase IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method SetEnvTask::get_Directory + } // end of method ReplaceTokens::get_IgnoreCase - // method line 1099 + // method line 1176 .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_IgnoreCase (bool 'value') cil managed { - // Method begins at RVA 0x17a67 - // Code size 21 (0x15) + // Method begins at RVA 0x167eb + // Code size 9 (0x9) .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 - - // method line 1100 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_Path () cil managed - { - // Method begins at RVA 0x17a80 - // 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 - IL_000e: ret - } // end of method SetEnvTask::get_Path + IL_0003: stfld bool NAnt.Core.Filters.ReplaceTokens::_ignoreCase + IL_0008: ret + } // end of method ReplaceTokens::set_IgnoreCase - // method line 1101 - .method public hidebysig specialname - instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed + // method line 1177 + .method public virtual hidebysig + instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed { - // Method begins at RVA 0x17a9b - // Code size 21 (0x15) + // Method begins at RVA 0x167f5 + // Code size 27 (0x1b) .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_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 - // method line 1102 - .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentVariableCollection get_EnvironmentVariables () cil managed + // method line 1178 + .method public virtual hidebysig + instance default int32 Read () cil managed { - // Method begins at RVA 0x17ab4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x16814 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class NAnt.Core.Types.EnvironmentVariableCollection V_0) + int32 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: 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_000d: ldloc.0 - IL_000e: ret - } // end of method SetEnvTask::get_EnvironmentVariables + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ReplaceTokens::Read - // method line 1103 - .method public hidebysig specialname - instance default void set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed + // method line 1179 + .method public virtual hidebysig + instance default int32 Peek () cil managed { - // Method begins at RVA 0x17acf - // Code size 9 (0x9) + // Method begins at RVA 0x16835 + // Code size 17 (0x11) .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 + 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 - // method line 1104 + // method line 1180 .method family virtual hidebysig instance default void Initialize () cil managed { - // Method begins at RVA 0x17ad9 - // Code size 47 (0x2f) - .maxstack 8 + // Method begins at RVA 0x16848 + // 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: ldarg.0 - IL_0002: call instance string class NAnt.Core.Tasks.SetEnvTask::get_EnvName() - IL_0007: brtrue IL_002e + 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_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_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_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_0020: ldloc.0 + IL_0021: callvirt instance bool class NAnt.Core.Types.Token::get_UnlessDefined() + IL_0026: brtrue IL_006d - // method line 1105 - .method family virtual hidebysig - instance default void ExecuteTask () 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 1181 + .method private hidebysig + instance default string FindTokenContents ([out] bool& tokenNotFound, [out] bool& unknownToken, [out] bool& streamEnded) cil managed { - // Method begins at RVA 0x17b0c - // Code size 149 (0x95) + // Method begins at RVA 0x16914 + // Code size 385 (0x181) .maxstack 3 .locals init ( - class NAnt.Core.Types.EnvironmentVariable V_0, - class NAnt.Core.Types.EnvironmentVariableEnumerator V_1, - class [mscorlib]System.IDisposable V_2) + 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 + + 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_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_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_006a: nop + IL_006b: ldc.i4.1 + IL_006c: stloc.2 + IL_006d: br IL_00dd + + 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_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_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_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_00dd: ldloc.2 + IL_00de: brfalse IL_0165 + + 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_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 1182 + .method private hidebysig + instance default int32 GetNextCharacter (class NAnt.Core.Filters.ReplaceTokens/AcquireCharDelegate AcquireChar) cil managed + { + // Method begins at RVA 0x16aa4 + // Code size 386 (0x182) + .maxstack 5 + .locals init ( + int32 V_0, + int32 V_1, + int32 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 + 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 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 + IL_000e: call instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_0013: stloc.0 + IL_0014: nop + IL_0015: br IL_00ee - 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: 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_0050: ldloc.0 - IL_0051: callvirt instance bool class NAnt.Core.Types.EnvironmentVariable::get_UnlessDefined() - IL_0056: brtrue IL_006f + IL_0031: nop + IL_0032: ldarg.0 + IL_0033: ldfld bool NAnt.Core.Filters.ReplaceTokens::_tokenNotFound + IL_0038: brfalse IL_008e - 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_003d: ldarg.0 + IL_003e: ldfld bool NAnt.Core.Filters.ReplaceTokens::_unknownToken + IL_0043: brfalse IL_008e - IL_007b: leave IL_0094 + 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 - } // 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_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_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 + 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 - // method line 1106 + 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 + + // method line 1183 .method private hidebysig - instance default void SetSingleEnvironmentVariable (string name, string 'value') cil managed + instance default bool CompareCharacters (int32 char1, int32 char2) cil managed { - // Method begins at RVA 0x17bc0 - // Code size 95 (0x5f) - .maxstack 7 + // Method begins at RVA 0x16c34 + // Code size 48 (0x30) + .maxstack 2 .locals init ( - string V_0, - class [mscorlib]System.Exception V_1) + bool 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_0002: call instance bool class NAnt.Core.Filters.ReplaceTokens::get_IgnoreCase() + IL_0007: brfalse IL_0023 - 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_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 - } // 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_0023: nop + IL_0024: ldarg.1 + IL_0025: ldarg.2 + IL_0026: ceq + IL_0028: stloc.0 + IL_0029: br IL_002e - .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_002e: ldloc.0 + IL_002f: ret + } // end of method ReplaceTokens::CompareCharacters - .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 () + .property instance char BeginToken () { - .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.TaskAttributeAttribute::'.ctor'(string) = (01 00 0A 62 65 67 69 6E 74 6F 6B 65 6E 00 00 ) // ...begintoken.. - .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.. + .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.Tasks.SetEnvTask::get_File () - .set instance default void NAnt.Core.Tasks.SetEnvTask::set_File (class [mscorlib]System.IO.FileInfo 'value') + .get instance default char NAnt.Core.Filters.ReplaceTokens::get_BeginToken () + .set instance default void NAnt.Core.Filters.ReplaceTokens::set_BeginToken (char 'value') } - .property instance class [mscorlib]System.IO.DirectoryInfo Directory () + .property instance char EndToken () { - .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.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 64 74 6F 6B 65 6E 00 00 ) // ...endtoken.. - .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') + .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.PathSet Path () + .property instance class NAnt.Core.Types.Token[] Tokens () { - .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.BuildElementArrayAttribute::'.ctor'(string) = (01 00 05 74 6F 6B 65 6E 00 00 ) // ...token.. - .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') + .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 class NAnt.Core.Types.EnvironmentVariableCollection EnvironmentVariables () + .property instance bool IgnoreCase () { - .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 + .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. - .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') + .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') } - } // end of class NAnt.Core.Tasks.SetEnvTask + .class nested private auto ansi sealed AcquireCharDelegate + extends [mscorlib]System.MulticastDelegate + { + + // method line 1184 + .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 1185 + .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 1186 + .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 1187 + .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.ReplaceTokens } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Filters { - .class public auto ansi beforefieldinit LoadFileTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit ExpandProperties + extends NAnt.Core.Filters.Filter { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 08 6C 6F 61 64 66 69 6C 65 00 00 ) // ...loadfile.. + .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.IO.FileInfo _file - .field private class [mscorlib]System.Text.Encoding _encoding - .field private string _property - .field private class NAnt.Core.Filters.FilterChain _filterChain + .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 1107 + // method line 1188 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x17c3c + // Method begins at RVA 0x16c70 // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Task::'.ctor'() + IL_0001: call instance void class NAnt.Core.Filters.Filter::'.ctor'() IL_0006: ret - } // end of method LoadFileTask::.ctor + } // end of method ExpandProperties::.ctor - // method line 1108 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + // method line 1189 + .method private hidebysig specialname + instance default bool get_AtEnd () cil managed { - // Method begins at RVA 0x17c44 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x16c78 + // Code size 23 (0x17) + .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.Core.Tasks.LoadFileTask::_file - 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 LoadFileTask::get_File + IL_0015: ldloc.0 + IL_0016: ret + } // end of method ExpandProperties::get_AtEnd - // method line 1109 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 1190 + .method public virtual hidebysig + instance default void InitializeFilter () cil managed { - // Method begins at RVA 0x17c5f - // Code size 9 (0x9) + // Method begins at RVA 0x16c9b + // Code size 24 (0x18) .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: 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 1110 - .method public hidebysig specialname - instance default string get_Property () cil managed + // method line 1191 + .method public virtual hidebysig + instance default int32 Read () cil managed { - // Method begins at RVA 0x17c6c - // Code size 15 (0xf) + // Method begins at RVA 0x16cb4 + // Code size 36 (0x24) .maxstack 1 .locals init ( - string V_0) + int32 V_0, + int32 V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Tasks.LoadFileTask::_property + 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 LoadFileTask::get_Property + 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 1111 - .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed - { - // Method begins at RVA 0x17c87 - // Code size 9 (0x9) - .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_0022: ldloc.1 + IL_0023: ret + } // end of method ExpandProperties::Read - // method line 1112 - .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + // method line 1192 + .method public virtual hidebysig + instance default int32 Peek () cil managed { - // Method begins at RVA 0x17c94 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x16ce4 + // Code size 41 (0x29) + .maxstack 2 .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.Core.Tasks.LoadFileTask::_encoding - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance bool class NAnt.Core.Filters.ExpandProperties::get_AtEnd() + IL_0007: brfalse IL_0014 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LoadFileTask::get_Encoding + IL_000c: nop + IL_000d: ldc.i4.m1 + IL_000e: stloc.0 + IL_000f: br IL_0027 - // method line 1113 - .method public hidebysig specialname - instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed - { - // Method begins at RVA 0x17caf - // 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_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 - // method line 1114 - .method public hidebysig specialname - instance default class NAnt.Core.Filters.FilterChain get_FilterChain () cil managed + IL_0027: ldloc.0 + IL_0028: ret + } // end of method ExpandProperties::Peek + + // method line 1193 + .method private hidebysig + instance default void Advance () cil managed { - // Method begins at RVA 0x17cbc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Filters.FilterChain V_0) + // Method begins at RVA 0x16d1c + // Code size 73 (0x49) + .maxstack 3 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: call instance bool class NAnt.Core.Filters.ExpandProperties::get_AtEnd() + IL_0007: brfalse IL_001d - IL_000d: ldloc.0 - IL_000e: ret - } // end of method LoadFileTask::get_FilterChain + 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 - // method line 1115 - .method public hidebysig specialname - instance default void set_FilterChain (class NAnt.Core.Filters.FilterChain 'value') cil managed - { - // Method begins at RVA 0x17cd7 - // 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 + 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 1116 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1194 + .method private hidebysig + instance default void ReplenishBuffer () cil managed { - // Method begins at RVA 0x17ce4 - // Code size 159 (0x9f) - .maxstack 3 + // Method begins at RVA 0x16d74 + // Code size 273 (0x111) + .maxstack 5 .locals init ( - string V_0, - class [mscorlib]System.IO.IOException 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: 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_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 - - } // 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 - - .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. - - .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 () - { - .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_0001: ldc.i4.1 + IL_0002: stloc.0 + IL_0003: br IL_0031 - .get instance default string NAnt.Core.Tasks.LoadFileTask::get_Property () - .set instance default void NAnt.Core.Tasks.LoadFileTask::set_Property (string 'value') - } - .property instance class [mscorlib]System.Text.Encoding Encoding () - { - .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_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 - .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 class NAnt.Core.Filters.FilterChain FilterChain () - { - .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.. + 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 - .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.Tasks.LoadFileTask -} + 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 -.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.. + 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 - // method line 1117 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x17da0 - // 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 + 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 - // method line 1118 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x17da8 - // Code size 2 (0x2) - .maxstack 8 - IL_0000: nop - IL_0001: ret - } // end of method DescriptionTask::ExecuteTask + 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 - } // end of class NAnt.Core.Tasks.DescriptionTask + .property instance bool AtEnd () + { + .get instance default bool NAnt.Core.Filters.ExpandProperties::get_AtEnd () + } + } // end of class NAnt.Core.Filters.ExpandProperties } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Filters { - .class public auto ansi beforefieldinit CallTask - extends NAnt.Core.Task + .class public auto ansi beforefieldinit TabsToSpaces + extends NAnt.Core.Filters.Filter { - .custom instance void class NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 04 63 61 6C 6C 00 00 ) // ...call.. + .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 string _target - .field private bool _force - .field private bool _cascade + .field private int32 _tabLength + .field private int32 _spacesRemaining + .field private class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate ReadChar - // method line 1119 + // method line 1195 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x17dab + // Method begins at RVA 0x16e91 // 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_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.Task::'.ctor'() + IL_0008: call instance void class NAnt.Core.Filters.Filter::'.ctor'() IL_000d: ret - } // end of method CallTask::.ctor + } // end of method TabsToSpaces::.ctor - // method line 1120 + // method line 1196 .method public hidebysig specialname - instance default string get_TargetName () cil managed + instance default int32 get_TabLength () cil managed { - // Method begins at RVA 0x17dbc + // Method begins at RVA 0x16ea0 // 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.CallTask::_target + IL_0002: ldfld int32 NAnt.Core.Filters.TabsToSpaces::_tabLength IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method CallTask::get_TargetName + } // end of method TabsToSpaces::get_TabLength - // method line 1121 + // method line 1197 .method public hidebysig specialname - instance default void set_TargetName (string 'value') cil managed + instance default void set_TabLength (int32 'value') cil managed { - // Method begins at RVA 0x17dd7 - // Code size 14 (0xe) + // Method begins at RVA 0x16ebb + // 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.CallTask::_target - IL_000d: ret - } // end of method CallTask::set_TargetName + IL_0003: stfld int32 NAnt.Core.Filters.TabsToSpaces::_tabLength + IL_0008: ret + } // end of method TabsToSpaces::set_TabLength - // method line 1122 - .method public hidebysig specialname - instance default bool get_ForceExecute () cil managed + // method line 1198 + .method public virtual hidebysig + instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed { - // Method begins at RVA 0x17de8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) + // Method begins at RVA 0x16ec5 + // Code size 27 (0x1b) + .maxstack 8 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_000d: ldloc.0 - IL_000e: ret - } // end of method CallTask::get_ForceExecute + 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 - // method line 1123 - .method public hidebysig specialname - instance default void set_ForceExecute (bool 'value') cil managed + // method line 1199 + .method public virtual hidebysig + instance default int32 Peek () cil managed { - // Method begins at RVA 0x17e03 - // Code size 9 (0x9) + // Method begins at RVA 0x16ee1 + // Code size 17 (0x11) .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_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 1124 - .method public hidebysig specialname - instance default bool get_CascadeDependencies () cil managed + // method line 1200 + .method public virtual hidebysig + instance default int32 Read () cil managed { - // Method begins at RVA 0x17e10 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x16ef4 + // 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::_cascade - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method CallTask::get_CascadeDependencies + 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 - // method line 1125 - .method public hidebysig specialname - instance default void set_CascadeDependencies (bool 'value') cil managed - { - // Method begins at RVA 0x17e2b - // Code size 9 (0x9) - .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_0013: ldloc.0 + IL_0014: ret + } // end of method TabsToSpaces::Read - // method line 1126 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1201 + .method private hidebysig + instance default int32 GetNextCharacter (class NAnt.Core.Filters.TabsToSpaces/AcquireCharDelegate AcquireChar) cil managed { - // Method begins at RVA 0x17e38 - // Code size 173 (0xad) - .maxstack 4 + // Method begins at RVA 0x16f18 + // Code size 84 (0x54) + .maxstack 3 .locals init ( - class NAnt.Core.Target V_0, - class NAnt.Core.TargetCollection V_1) + int32 V_0, + int32 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 - - 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 + IL_0002: ldfld int32 NAnt.Core.Filters.TabsToSpaces::_spacesRemaining + IL_0007: brtrue IL_003b - 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_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 - 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 + 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 - // method line 1127 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x17ef4 - // 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: 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_0033: nop + IL_0034: ldloc.0 + IL_0035: stloc.1 + IL_0036: br IL_0052 - 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_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_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 + IL_0052: ldloc.1 + IL_0053: ret + } // end of method TabsToSpaces::GetNextCharacter - .property instance string TargetName () + .property instance int32 TabLength () { - .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.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.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 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 string NAnt.Core.Tasks.CallTask::get_TargetName () - .set instance default void NAnt.Core.Tasks.CallTask::set_TargetName (string '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 ForceExecute () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 66 6F 72 63 65 00 00 ) // ...force.. + .class nested private auto ansi sealed AcquireCharDelegate + extends [mscorlib]System.MulticastDelegate + { - .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.... + // method line 1202 + .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.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.. + // method line 1203 + .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 - .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 + // method line 1204 + .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 1205 + .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.TabsToSpaces } -.namespace NAnt.Core.Tasks +.namespace NAnt.Core.Filters { - .class public auto ansi beforefieldinit IfTask - extends NAnt.Core.TaskContainer + .class public auto ansi beforefieldinit ReplaceString + extends NAnt.Core.Filters.Filter { - .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.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 _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 + .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 1128 + // method line 1206 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x17f46 - // Code size 7 (0x7) + // Method begins at RVA 0x16f78 + // Code size 32 (0x20) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.TaskContainer::'.ctor'() - IL_0006: ret - } // end of method IfTask::.ctor - - // method line 1129 - .method public hidebysig specialname - instance default void set_UpToDateFile (string 'value') cil managed - { - // Method begins at RVA 0x17f50 - // 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 - - // method line 1130 - .method public hidebysig specialname - instance default void set_CompareFile (string 'value') cil managed - { - // Method begins at RVA 0x17fb8 - // 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 - - 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_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: 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 1131 + // method line 1207 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_CompareFiles () cil managed + instance default string get_From () cil managed { - // Method begins at RVA 0x18020 + // Method begins at RVA 0x16f9c // Code size 15 (0xf) .maxstack 1 .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.IfTask::_compareFiles + 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 IfTask::get_CompareFiles + } // end of method ReplaceString::get_From - // method line 1132 + // method line 1208 .method public hidebysig specialname - instance default void set_CompareFiles (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_From (string 'value') cil managed { - // Method begins at RVA 0x1803b + // Method begins at RVA 0x16fb7 // 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_0003: stfld string NAnt.Core.Filters.ReplaceString::_from IL_0008: ret - } // end of method IfTask::set_CompareFiles + } // end of method ReplaceString::set_From - // method line 1133 + // method line 1209 .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_UpToDateFiles () cil managed + instance default string get_To () cil managed { - // Method begins at RVA 0x18048 + // Method begins at RVA 0x16fc4 // Code size 15 (0xf) .maxstack 1 .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.IfTask::_uptodateFiles + IL_0002: ldfld string NAnt.Core.Filters.ReplaceString::_to 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 ReplaceString::get_To - // method line 1134 + // method line 1210 .method public hidebysig specialname - instance default void set_UpToDateFiles (class NAnt.Core.Types.FileSet 'value') cil managed + instance default void set_To (string 'value') cil managed { - // Method begins at RVA 0x18063 + // Method begins at RVA 0x16fdf // 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_0003: stfld string NAnt.Core.Filters.ReplaceString::_to IL_0008: ret - } // end of method IfTask::set_UpToDateFiles + } // end of method ReplaceString::set_To - // method line 1135 + // method line 1211 .method public hidebysig specialname - instance default string get_PropertyNameTrue () cil managed + instance default bool get_IgnoreCase () cil managed { - // Method begins at RVA 0x18070 + // Method begins at RVA 0x16fec // 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.IfTask::_propNameTrue + IL_0002: ldfld bool NAnt.Core.Filters.ReplaceString::_ignoreCase 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 ReplaceString::get_IgnoreCase - // method line 1136 + // method line 1212 .method public hidebysig specialname - instance default void set_PropertyNameTrue (string 'value') cil managed + instance default void set_IgnoreCase (bool 'value') cil managed { - // Method begins at RVA 0x1808b - // Code size 14 (0xe) + // Method begins at RVA 0x17007 + // 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.IfTask::_propNameTrue - IL_000d: ret - } // end of method IfTask::set_PropertyNameTrue - - // method line 1137 - .method public hidebysig specialname - instance default string get_PropertyNameExists () cil managed - { - // Method begins at RVA 0x1809c - // 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.IfTask::_propNameExists - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method IfTask::get_PropertyNameExists + IL_0003: stfld bool NAnt.Core.Filters.ReplaceString::_ignoreCase + IL_0008: ret + } // end of method ReplaceString::set_IgnoreCase - // method line 1138 - .method public hidebysig specialname - instance default void set_PropertyNameExists (string 'value') cil managed + // method line 1213 + .method public virtual hidebysig + instance default void Chain (class NAnt.Core.Filters.ChainableReader chainedReader) cil managed { - // Method begins at RVA 0x180b7 - // Code size 14 (0xe) + // Method begins at RVA 0x17011 + // Code size 27 (0x1b) .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::_propNameExists - IL_000d: ret - } // end of method IfTask::set_PropertyNameExists + 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 1139 - .method public hidebysig specialname - instance default string get_TargetNameExists () cil managed + // method line 1214 + .method public virtual hidebysig + instance default int32 Read () cil managed { - // Method begins at RVA 0x180c8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x17030 + // 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.Core.Tasks.IfTask::_targetName - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method IfTask::get_TargetNameExists + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ReplaceString::Read - // method line 1140 - .method public hidebysig specialname - instance default void set_TargetNameExists (string 'value') cil managed + // method line 1215 + .method public virtual hidebysig + instance default int32 Peek () cil managed { - // Method begins at RVA 0x180e3 - // Code size 14 (0xe) + // Method begins at RVA 0x17051 + // Code size 17 (0x11) .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::_targetName - IL_000d: ret - } // end of method IfTask::set_TargetNameExists + 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 1141 - .method public hidebysig specialname - instance default string get_Test () cil managed + // method line 1216 + .method private hidebysig + instance default bool FindString (int32 startChar, [out] bool& streamEnded, [out] string& nonMatchingChars) cil managed { - // Method begins at RVA 0x180f4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x17064 + // Code size 164 (0xa4) + .maxstack 4 .locals init ( - string V_0) + 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: ldfld string NAnt.Core.Tasks.IfTask::_test - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method IfTask::get_Test + 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 - // method line 1142 - .method public hidebysig specialname - instance default void set_Test (string 'value') cil managed - { - // Method begins at RVA 0x1810f - // 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.IfTask::_test - IL_000d: ret - } // end of method IfTask::set_Test + 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 - // method line 1143 - .method family virtual hidebysig newslot specialname - instance default bool get_ConditionsTrue () cil managed + 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 + + // method line 1217 + .method private hidebysig + instance default int32 GetNextCharacter (class NAnt.Core.Filters.ReplaceString/AcquireCharDelegate AcquireChar) cil managed { - // Method begins at RVA 0x18120 - // Code size 457 (0x1c9) - .maxstack 7 + // Method begins at RVA 0x17114 + // Code size 397 (0x18d) + .maxstack 4 .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) + int32 V_0, + int32 V_1, + int32 V_2) 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_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.Filters.ReplaceString::_outputBuffer + IL_0007: brtrue IL_001a - 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_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_0024: nop - IL_0025: ldc.i4.0 - IL_0026: stloc.1 - IL_0027: br IL_01c7 + 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_002c: nop - IL_002d: ldarg.0 - IL_002e: call instance string class NAnt.Core.Tasks.IfTask::get_TargetNameExists() - IL_0033: brfalse IL_006e + IL_0031: nop + IL_0032: ldarg.0 + IL_0033: ldfld bool NAnt.Core.Filters.ReplaceString::_stringNotFound + IL_0038: brfalse IL_0083 - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: brfalse IL_005d + 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_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_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_005d: ldc.i4.0 - IL_005e: stloc.0 - IL_005f: ldloc.0 - IL_0060: brtrue IL_006d + 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_0065: nop - IL_0066: ldc.i4.0 - IL_0067: stloc.1 - IL_0068: br IL_01c7 + IL_00a6: nop + IL_00a7: br IL_00e2 - 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_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_0079: nop - IL_007a: ldloc.0 - IL_007b: brfalse IL_0093 + 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_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_00d9: nop + IL_00da: ldc.i4.m1 + IL_00db: stloc.2 + IL_00dc: br IL_018b - IL_0093: ldc.i4.0 - IL_0094: stloc.0 - IL_0095: ldloc.0 - IL_0096: brtrue IL_00a3 + 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_009b: nop - IL_009c: ldc.i4.0 - IL_009d: stloc.1 - IL_009e: br IL_01c7 + 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_00a3: nop - IL_00a4: ldarg.0 - IL_00a5: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() - IL_00aa: brfalse IL_010f + 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_00af: nop - .try { // 0 - IL_00b0: nop - IL_00b1: ldloc.0 - IL_00b2: brfalse IL_00cf + 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_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_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_00cf: ldc.i4.0 - IL_00d0: stloc.0 - IL_00d1: ldloc.0 - IL_00d2: brtrue IL_00df + 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_00d7: nop - IL_00d8: ldc.i4.0 - IL_00d9: stloc.1 - IL_00da: leave IL_01c7 + IL_0183: nop + IL_0184: ldloc.0 + IL_0185: stloc.2 + IL_0186: br IL_018b - IL_00df: nop - IL_00e0: leave IL_010e + IL_018b: ldloc.2 + IL_018c: ret + } // end of method ReplaceString::GetNextCharacter - } // 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 1218 + .method private hidebysig + instance default bool CompareCharacters (int32 char1, int32 char2) cil managed + { + // Method begins at RVA 0x172b0 + // 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_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_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_012d: ldloc.3 - IL_012e: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0133: brtrue IL_0151 + IL_0023: nop + IL_0024: ldarg.1 + IL_0025: ldarg.2 + IL_0026: ceq + IL_0028: stloc.0 + IL_0029: br IL_002e - 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_002e: ldloc.0 + IL_002f: ret + } // end of method ReplaceString::CompareCharacters - 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 + .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_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 + .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_01a7: ldloc.s 5 - IL_01a9: ldc.i4.0 - IL_01aa: ceq - IL_01ac: br.s IL_01af + .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_01ae: ldc.i4.0 - IL_01af: stloc.0 - IL_01b0: nop - IL_01b1: ldloc.0 - IL_01b2: brtrue IL_01bf + .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_01b7: nop - IL_01b8: ldc.i4.0 - IL_01b9: stloc.1 - IL_01ba: br IL_01c7 + .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_01bf: nop - IL_01c0: ldloc.0 - IL_01c1: stloc.1 - IL_01c2: br IL_01c7 + .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - IL_01c7: ldloc.1 - IL_01c8: ret - } // end of method IfTask::get_ConditionsTrue + .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 1144 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed + // method line 1219 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (object 'object', native int 'method') runtime managed { - // Method begins at RVA 0x18308 - // 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 + // 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: call instance void class NAnt.Core.TaskContainer::ExecuteTask() - IL_0013: nop - IL_0014: ret - } // end of method IfTask::ExecuteTask + // method line 1220 + .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 1145 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 1221 + .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 0x18320 - // 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 + // Method begins at RVA 0x0 + // Disassembly of native methods is not supported + } // end of method AcquireCharDelegate::BeginInvoke - 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 + // method line 1222 + .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_001d: ldarg.0 - IL_001e: call instance string class NAnt.Core.Tasks.IfTask::get_Test() - IL_0023: brtrue IL_005b + } // end of class AcquireCharDelegate - IL_0028: ldarg.0 - IL_0029: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameExists() - IL_002e: brtrue IL_005b + } // end of class NAnt.Core.Filters.ReplaceString +} - IL_0033: ldarg.0 - IL_0034: call instance string class NAnt.Core.Tasks.IfTask::get_PropertyNameTrue() - IL_0039: brtrue IL_005b +.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_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 + // method line 1223 + .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 0x17321 + // 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 - .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 ) // . + // method line 1224 + .method public static hidebysig + default float64 GetTotalDays (valuetype [mscorlib]System.TimeSpan 'value') 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.. - .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.... + // Method begins at RVA 0x1732c + // 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_TotalDays() + IL_0008: stloc.0 + IL_0009: br IL_000e - .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_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalDays - .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.... + // method line 1225 + .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.. - .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 ) // . + // Method begins at RVA 0x17348 + // 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 - .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_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalHours - .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 ) // .. + // method line 1226 + .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.. - .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 ) // .... + // Method begins at RVA 0x17364 + // 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 - .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 ) // . + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalMinutes - .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.... + // method line 1227 + .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 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.. + // Method begins at RVA 0x17380 + // 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 - .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 ) // .. + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalSeconds - .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 ) // . + // method line 1228 + .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.. - .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.... + // Method begins at RVA 0x1739c + // 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 - .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.. + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalMilliseconds - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1229 + .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.. - .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 -} + // Method begins at RVA 0x173b8 + // 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 -.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.. + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetDays - .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 1230 + .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.. + + // Method begins at RVA 0x173d4 + // 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_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetHours - // method line 1146 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1231 + .method public static hidebysig + default int32 GetMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x18388 - // 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 + .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.. - // method line 1147 - .method family virtual hidebysig specialname - instance default bool get_ConditionsTrue () cil managed + // Method begins at RVA 0x173f0 + // 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_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetMinutes + + // method line 1232 + .method public static hidebysig + default int32 GetSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x18390 - // Code size 18 (0x12) - .maxstack 2 + .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.. + + // Method begins at RVA 0x1740c + // Code size 16 (0x10) + .maxstack 1 .locals init ( - bool V_0) + int32 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_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_0010: ldloc.0 - IL_0011: ret - } // end of method IfNotTask::get_ConditionsTrue + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetSeconds - .property instance bool ConditionsTrue () - { - .get instance default bool NAnt.Core.Tasks.IfNotTask::get_ConditionsTrue () - } - } // end of class NAnt.Core.Tasks.IfNotTask -} + // method line 1233 + .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.. -.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.. + // Method begins at RVA 0x17428 + // 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 - .field private string _property - .field private string _pattern - .field private bool _ifDefined - .field private bool _unlessDefined + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetMilliseconds - // method line 1148 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1234 + .method public static hidebysig + default int64 GetTicks (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x183ae - // 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 + .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 1149 - .method public hidebysig specialname - instance default string get_Property () cil managed + // Method begins at RVA 0x17444 + // 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 + + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTicks + + // method line 1235 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromDays (float64 'value') cil managed { - // Method begins at RVA 0x183c0 + .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 0x17460 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Formatter::_property + 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 Formatter::get_Property + } // end of method TimeSpanFunctions::FromDays - // method line 1150 - .method public hidebysig specialname - instance default void set_Property (string 'value') cil managed + // method line 1236 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromHours (float64 'value') cil managed { - // Method begins at RVA 0x183db - // 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 + .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 1151 - .method public hidebysig specialname - instance default string get_Pattern () cil managed - { - // Method begins at RVA 0x183e8 + // Method begins at RVA 0x1747c // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Formatter::_pattern + 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 Formatter::get_Pattern + } // end of method TimeSpanFunctions::FromHours - // method line 1152 - .method public hidebysig specialname - instance default void set_Pattern (string 'value') cil managed + // method line 1237 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromMinutes (float64 'value') cil managed { - // Method begins at RVA 0x18403 - // 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 + .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 line 1153 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x18410 + // Method begins at RVA 0x17498 // 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.Types.Formatter::_ifDefined + 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 Formatter::get_IfDefined + } // end of method TimeSpanFunctions::FromMinutes - // method line 1154 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 1238 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromSeconds (float64 'value') cil managed { - // Method begins at RVA 0x1842b - // 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 + .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 line 1155 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x18438 + // Method begins at RVA 0x174b4 // 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.Types.Formatter::_unlessDefined + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromSeconds(float64) 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 TimeSpanFunctions::FromSeconds - // method line 1156 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 1239 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromMilliseconds (float64 'value') cil managed { - // Method begins at RVA 0x18453 - // Code size 9 (0x9) - .maxstack 8 + .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 0x174d0 + // 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.Types.Formatter::_unlessDefined - IL_0008: ret - } // end of method Formatter::set_UnlessDefined - - .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.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. - - .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_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMilliseconds(float64) + IL_0007: stloc.0 + IL_0008: br IL_000d - .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_000d: ldloc.0 + IL_000e: ret + } // end of method TimeSpanFunctions::FromMilliseconds - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1240 + .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 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.. + // Method begins at RVA 0x174ec + // 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TimeSpanFunctions::FromTicks - .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.Functions.TimeSpanFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi serializable beforefieldinit XsltExtensionObjectCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit TimeSpanConversionFunctions + extends NAnt.Core.FunctionSetBase { - .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.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 1157 + // method line 1241 .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 0x1845d - // Code size 8 (0x8) + // Method begins at RVA 0x17507 + // Code size 10 (0xa) .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 + 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 1158 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObjectCollection 'value') cil managed + // method line 1242 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan Parse (string s) cil managed { - // Method begins at RVA 0x18466 + .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 0x17514 // 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) + .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::Parse(string) + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method XsltExtensionObjectCollection::.ctor + } // end of method TimeSpanConversionFunctions::Parse - // method line 1159 + // method line 1243 + .method public static hidebysig + default string ToString (valuetype [mscorlib]System.TimeSpan '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 0x17530 + // 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 + + IL_0014: ldloc.0 + IL_0015: ret + } // end of method TimeSpanConversionFunctions::ToString + + } // end of class NAnt.Core.Functions.TimeSpanConversionFunctions +} + +.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 1244 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObject[] 'value') cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x18476 - // Code size 15 (0xf) + // Method begins at RVA 0x17552 + // Code size 10 (0xa) .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_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 1160 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltExtensionObject get_Item (int32 index) cil managed + // method line 1245 + .method public static hidebysig + default valuetype [mscorlib]System.DateTime Now () cil managed { - // Method begins at RVA 0x18488 - // Code size 26 (0x1a) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 03 6E 6F 77 00 00 ) // ...now.. + + // Method begins at RVA 0x17560 + // Code size 14 (0xe) + .maxstack 1 .locals init ( - class NAnt.Core.Types.XsltExtensionObject V_0) + valuetype [mscorlib]System.DateTime 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_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0018: ldloc.0 - IL_0019: ret - } // end of method XsltExtensionObjectCollection::get_Item + IL_000c: ldloc.0 + IL_000d: ret + } // end of method DateTimeFunctions::Now - // method line 1161 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.XsltExtensionObject 'value') cil managed + // method line 1246 + .method public static hidebysig + default int32 GetYear (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x184ae - // Code size 15 (0xf) - .maxstack 8 + .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 0x1757c + // Code size 16 (0x10) + .maxstack 1 + .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: 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_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Year() + IL_0008: stloc.0 + IL_0009: br IL_000e - // method line 1162 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltExtensionObject get_Item (string 'value') cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetYear + + // method line 1247 + .method public static hidebysig + default int32 GetMonth (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x184c0 - // Code size 111 (0x6f) - .maxstack 2 + .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 0x17598 + // Code size 16 (0x10) + .maxstack 1 .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) + int32 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: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Month() + IL_0008: stloc.0 + IL_0009: br IL_000e - 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_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetMonth - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d + // method line 1248 + .method public static hidebysig + default int32 GetDay (valuetype [mscorlib]System.DateTime 'date') 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.. - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a + // Method begins at RVA 0x175b4 + // 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_Day() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_004c: leave IL_0065 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDay - } // 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 1249 + .method public static hidebysig + default int32 GetHour (valuetype [mscorlib]System.DateTime 'date') 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.. - 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 begins at RVA 0x175d0 + // 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_Hour() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_006d: ldloc.2 - IL_006e: ret - } // end of method XsltExtensionObjectCollection::get_Item + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetHour - // method line 1163 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.XsltExtensionObject item) cil managed + // method line 1250 + .method public static hidebysig + default int32 GetMinute (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x1854c - // Code size 21 (0x15) - .maxstack 2 + .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 0x175ec + // Code size 16 (0x10) + .maxstack 1 .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_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_0013: ldloc.0 - IL_0014: ret - } // end of method XsltExtensionObjectCollection::Add + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetMinute - // method line 1164 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XsltExtensionObject[] items) cil managed + // method line 1251 + .method public static hidebysig + default int32 GetSecond (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x18570 - // Code size 34 (0x22) - .maxstack 3 + .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 0x17608 + // Code size 16 (0x10) + .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: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Second() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0021: ret - } // end of method XsltExtensionObjectCollection::AddRange + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetSecond - // method line 1165 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XsltExtensionObjectCollection items) cil managed + // method line 1252 + .method public static hidebysig + default int32 GetMillisecond (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x185a0 - // Code size 41 (0x29) - .maxstack 3 + .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 0x17624 + // Code size 16 (0x10) + .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: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Millisecond() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0028: ret - } // end of method XsltExtensionObjectCollection::AddRange + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetMillisecond - // method line 1166 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.XsltExtensionObject item) cil managed + // method line 1253 + .method public static hidebysig + default int64 GetTicks (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x185d8 - // Code size 21 (0x15) - .maxstack 2 + .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 0x17640 + // Code size 16 (0x10) + .maxstack 1 .locals init ( - bool V_0) + int64 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_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_0013: ldloc.0 - IL_0014: ret - } // end of method XsltExtensionObjectCollection::Contains + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetTicks - // method line 1167 - .method public hidebysig - instance default bool Contains (string 'value') cil managed + // method line 1254 + .method public static hidebysig + default int32 GetDayOfWeek (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x185fc - // Code size 22 (0x16) - .maxstack 2 + .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 0x1765c + // Code size 16 (0x10) + .maxstack 1 .locals init ( - bool V_0) + int32 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_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_0014: ldloc.0 - IL_0015: ret - } // end of method XsltExtensionObjectCollection::Contains + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDayOfWeek - // method line 1168 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.XsltExtensionObject[] 'array', int32 index) cil managed + // method line 1255 + .method public static hidebysig + default int32 GetDayOfYear (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x1861e - // Code size 15 (0xf) - .maxstack 8 + .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 0x17678 + // Code size 16 (0x10) + .maxstack 1 + .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: 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_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_DayOfYear() + IL_0008: stloc.0 + IL_0009: br IL_000e - // method line 1169 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.XsltExtensionObject item) cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDayOfYear + + // method line 1256 + .method public static hidebysig + default int32 GetDaysInMonth (int32 year, int32 month) cil managed { - // Method begins at RVA 0x18630 - // Code size 21 (0x15) + .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.. + + // Method begins at RVA 0x17694 + // Code size 16 (0x10) .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: ldarg.1 + IL_0003: call int32 valuetype [mscorlib]System.DateTime::DaysInMonth(int32, int32) + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XsltExtensionObjectCollection::IndexOf + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDaysInMonth - // method line 1170 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.XsltExtensionObject item) cil managed + // method line 1257 + .method public static hidebysig + default bool IsLeapYear (int32 year) cil managed { - // Method begins at RVA 0x18651 - // 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 + .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 ) // . - // method line 1171 - .method public hidebysig - instance default class NAnt.Core.Types.XsltExtensionObjectEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x18664 + // Method begins at RVA 0x176b0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.XsltExtensionObjectEnumerator V_0) + bool 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_0002: call bool valuetype [mscorlib]System.DateTime::IsLeapYear(int32) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XsltExtensionObjectCollection::GetEnumerator - - // method line 1172 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.XsltExtensionObject item) cil managed - { - // Method begins at RVA 0x1867f - // 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 of method DateTimeFunctions::IsLeapYear - .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 + } // end of class NAnt.Core.Functions.DateTimeFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit XsltExtensionObjectEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + .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.. - // method line 1173 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltExtensionObjectCollection arguments) cil managed + + // method line 1258 + .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 0x18690 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) + // Method begins at RVA 0x176cb + // Code size 10 (0xa) + .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.XsltExtensionObjectEnumerator::_baseEnumerator - IL_0015: ret - } // end of method XsltExtensionObjectEnumerator::.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 DateTimeConversionFunctions::.ctor - // method line 1174 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltExtensionObject get_Current () cil managed + // method line 1259 + .method public static hidebysig + default valuetype [mscorlib]System.DateTime Parse (string s) cil managed { - // Method begins at RVA 0x186b4 - // 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_0017: ldloc.0 - IL_0018: ret - } // end of method XsltExtensionObjectEnumerator::get_Current + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. - // method line 1175 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x186dc - .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Method begins at RVA 0x176d8 // Code size 20 (0x14) - .maxstack 1 + .maxstack 2 .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.XsltExtensionObjectEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + 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 XsltExtensionObjectEnumerator::System.Collections.IEnumerator.get_Current + } // end of method DateTimeConversionFunctions::Parse - // method line 1176 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 1260 + .method public static hidebysig + default string ToString (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x186fc - // Code size 20 (0x14) - .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 0x176f8 + // 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.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_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_0012: ldloc.0 - IL_0013: ret - } // end of method XsltExtensionObjectEnumerator::MoveNext + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DateTimeConversionFunctions::ToString - // method line 1177 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + // method line 1261 + .method public static hidebysig + default string ToString (valuetype [mscorlib]System.DateTime 'value', string format) cil managed { - // Method begins at RVA 0x1871c - .override class [mscorlib]System.Collections.IEnumerator::MoveNext + .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.. + + // Method begins at RVA 0x1771c + // 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_0014: ldloc.0 + IL_0015: ret + } // end of method DateTimeConversionFunctions::ToString + + } // end of class NAnt.Core.Functions.DateTimeConversionFunctions +} + +.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.. + + + // method line 1262 + .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 0x1773e + // 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 + + // method line 1263 + .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.. + + // Method begins at RVA 0x1774c // Code size 20 (0x14) - .maxstack 1 + .maxstack 2 .locals init ( - bool V_0) + float64 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_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_0012: ldloc.0 IL_0013: ret - } // end of method XsltExtensionObjectEnumerator::System.Collections.IEnumerator.MoveNext + } // end of method DoubleConversionFunctions::Parse - // method line 1178 - .method public hidebysig - instance default void Reset () cil managed + // method line 1264 + .method public static hidebysig + default string ToString (float64 'value') cil managed { - // Method begins at RVA 0x1873c - // 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 + .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 line 1179 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x1874a - .override class [mscorlib]System.Collections.IEnumerator::Reset - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x1776c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + string 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 void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method XsltExtensionObjectEnumerator::System.Collections.IEnumerator.Reset + 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 - .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_0013: ldloc.0 + IL_0014: ret + } // end of method DoubleConversionFunctions::ToString + + } // end of class NAnt.Core.Functions.DoubleConversionFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi serializable beforefieldinit XsltParameterCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit Int64ConversionFunctions + extends NAnt.Core.FunctionSetBase { - .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.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 1180 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x18758 - // 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 XsltParameterCollection::.ctor - // method line 1181 + // method line 1265 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltParameterCollection 'value') cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x18761 - // Code size 15 (0xf) + // Method begins at RVA 0x1778d + // Code size 10 (0xa) .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_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 1182 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltParameter[] 'value') cil managed + // method line 1266 + .method public static hidebysig + default int64 Parse (string s) cil managed { - // Method begins at RVA 0x18771 - // 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 XsltParameterCollection::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. - // method line 1183 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltParameter get_Item (int32 index) cil managed - { - // Method begins at RVA 0x18784 - // Code size 26 (0x1a) + // Method begins at RVA 0x17798 + // Code size 20 (0x14) .maxstack 2 .locals init ( - class NAnt.Core.Types.XsltParameter V_0) + int64 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.XsltParameter - IL_0012: stloc.0 - IL_0013: br IL_0018 + 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_0018: ldloc.0 - IL_0019: ret - } // end of method XsltParameterCollection::get_Item + IL_0012: ldloc.0 + IL_0013: ret + } // end of method Int64ConversionFunctions::Parse - // method line 1184 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.XsltParameter 'value') cil managed + // method line 1267 + .method public static hidebysig + default string ToString (int64 'value') cil managed { - // Method begins at RVA 0x187aa - // 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 + .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 line 1185 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltParameter get_Item (string 'value') cil managed - { - // Method begins at RVA 0x187bc - // Code size 111 (0x6f) + // Method begins at RVA 0x177b8 + // Code size 21 (0x15) .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) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 + 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_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_0013: ldloc.0 + IL_0014: ret + } // end of method Int64ConversionFunctions::ToString - 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 + } // end of class NAnt.Core.Functions.Int64ConversionFunctions +} - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d +.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_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 + // method line 1268 + .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 0x177d9 + // 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 - 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 1269 + .method public hidebysig + instance default bool Exists (string framework) 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_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 begins at RVA 0x177e4 + // Code size 42 (0x2a) + .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.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_006d: ldloc.2 - IL_006e: ret - } // end of method XsltParameterCollection::get_Item + IL_0019: ldloc.0 + IL_001a: callvirt instance bool class NAnt.Core.FrameworkInfo::get_IsValid() + IL_001f: br.s IL_0022 - // method line 1186 + IL_0021: ldc.i4.0 + IL_0022: stloc.1 + IL_0023: br IL_0028 + + IL_0028: ldloc.1 + IL_0029: ret + } // end of method FrameworkFunctions::Exists + + // method line 1270 .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.XsltParameter item) cil managed + instance default bool SdkExists (string framework) cil managed { - // Method begins at RVA 0x18848 - // Code size 21 (0x15) + .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 0x1781c + // Code size 29 (0x1d) .maxstack 2 .locals init ( - int32 V_0) + class NAnt.Core.FrameworkInfo V_0, + bool 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_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_0013: ldloc.0 - IL_0014: ret - } // end of method XsltParameterCollection::Add + IL_001b: ldloc.1 + IL_001c: ret + } // end of method FrameworkFunctions::SdkExists - // method line 1187 + // method line 1271 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XsltParameter[] items) cil managed + instance default string GetTargetFramework () cil managed { - // Method begins at RVA 0x1886c - // Code size 34 (0x22) - .maxstack 3 + .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 begins at RVA 0x17848 + // Code size 25 (0x19) + .maxstack 1 .locals init ( - int32 V_0) + string 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_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_0021: ret - } // end of method XsltParameterCollection::AddRange + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetTargetFramework - // method line 1188 + // method line 1272 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XsltParameterCollection items) cil managed + instance default string GetRuntimeFramework () cil managed { - // Method begins at RVA 0x1889c - // Code size 41 (0x29) - .maxstack 3 + .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 begins at RVA 0x17870 + // Code size 25 (0x19) + .maxstack 1 .locals init ( - int32 V_0) + string 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_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 - IL_0028: ret - } // end of method XsltParameterCollection::AddRange + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetRuntimeFramework - // method line 1189 + // method line 1273 .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.XsltParameter item) cil managed + instance default string GetFamily (string framework) cil managed { - // Method begins at RVA 0x188d4 - // Code size 21 (0x15) + .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 begins at RVA 0x17898 + // Code size 23 (0x17) .maxstack 2 .locals init ( - bool V_0) + class NAnt.Core.FrameworkInfo V_0, + string 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 bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + 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_0013: ldloc.0 - IL_0014: ret - } // end of method XsltParameterCollection::Contains + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetFamily - // method line 1190 + // method line 1274 .method public hidebysig - instance default bool Contains (string 'value') cil managed + instance default class [mscorlib]System.Version GetVersion () cil managed { - // Method begins at RVA 0x188f8 - // Code size 22 (0x16) - .maxstack 2 + .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 0x178bc + // Code size 25 (0x19) + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Version 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_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_0014: ldloc.0 - IL_0015: ret - } // end of method XsltParameterCollection::Contains + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetVersion - // method line 1191 + // method line 1275 .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.XsltParameter[] 'array', int32 index) cil managed + instance default class [mscorlib]System.Version GetVersion (string framework) cil managed { - // Method begins at RVA 0x1891a - // Code size 15 (0xf) - .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 0x178e4 + // 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: 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 + 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 1192 + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetVersion + + // method line 1276 .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.XsltParameter item) cil managed + instance default string GetDescription () cil managed { - // Method begins at RVA 0x1892c - // Code size 21 (0x15) - .maxstack 2 + .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 0x17908 + // Code size 25 (0x19) + .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: 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_0013: ldloc.0 - IL_0014: ret - } // end of method XsltParameterCollection::IndexOf + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetDescription - // method line 1193 + // method line 1277 .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.XsltParameter item) cil managed + instance default string GetDescription (string framework) cil managed { - // Method begins at RVA 0x1894d - // Code size 15 (0xf) - .maxstack 8 + .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 0x17930 + // 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: 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: 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 - // method line 1194 + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetDescription + + // method line 1278 .method public hidebysig - instance default class NAnt.Core.Types.XsltParameterEnumerator GetEnumerator () cil managed + instance default class [mscorlib]System.Version GetClrVersion () cil managed { - // Method begins at RVA 0x18960 - // Code size 15 (0xf) + .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 0x17954 + // Code size 25 (0x19) .maxstack 1 .locals init ( - class NAnt.Core.Types.XsltParameterEnumerator V_0) + class [mscorlib]System.Version 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 + 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 XsltParameterCollection::GetEnumerator + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetClrVersion - // method line 1195 + // method line 1279 .method public hidebysig - instance default void Remove (class NAnt.Core.Types.XsltParameter item) cil managed + instance default class [mscorlib]System.Version GetClrVersion (string framework) cil managed { - // Method begins at RVA 0x1897b - // Code size 14 (0xe) - .maxstack 8 + .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 0x1797c + // 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: 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 -} + 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 -.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 + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetClrVersion - // method line 1196 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XsltParameterCollection arguments) cil managed + // method line 1280 + .method public hidebysig + instance default string GetFrameworkDirectory (string framework) cil managed { - // Method begins at RVA 0x1898c - // Code size 22 (0x16) + .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 0x179a0 + // Code size 28 (0x1c) .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 + 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: 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_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 - // method line 1197 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XsltParameter get_Current () cil managed + IL_001a: ldloc.1 + IL_001b: ret + } // end of method FrameworkFunctions::GetFrameworkDirectory + + // method line 1281 + .method public hidebysig + instance default string GetAssemblyDirectory (string framework) cil managed { - // Method begins at RVA 0x189b0 - // Code size 25 (0x19) - .maxstack 1 + .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 0x179c8 + // Code size 28 (0x1c) + .maxstack 2 .locals init ( - class NAnt.Core.Types.XsltParameter V_0) + class NAnt.Core.FrameworkInfo V_0, + string V_1) 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_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_0017: ldloc.0 - IL_0018: ret - } // end of method XsltParameterEnumerator::get_Current + IL_001a: ldloc.1 + IL_001b: ret + } // end of method FrameworkFunctions::GetAssemblyDirectory - // method line 1198 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 1282 + .method public hidebysig + instance default string GetSdkDirectory (string framework) cil managed { - // Method begins at RVA 0x189d8 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 20 (0x14) - .maxstack 1 + .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 0x179f0 + // Code size 46 (0x2e) + .maxstack 2 .locals init ( - object 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.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_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_0012: ldloc.0 - IL_0013: ret - } // end of method XsltParameterEnumerator::System.Collections.IEnumerator.get_Current + IL_0016: ldloc.1 + IL_0017: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001c: br IL_0026 - // method line 1199 + 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 1283 .method public hidebysig - instance default bool MoveNext () cil managed + instance default string GetToolPath (string tool) cil managed { - // Method begins at RVA 0x189f8 - // Code size 20 (0x14) - .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 0x17a2c + // Code size 57 (0x39) + .maxstack 3 .locals init ( - bool V_0) + string V_0, + string V_1) 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_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_0012: ldloc.0 - IL_0013: ret - } // end of method XsltParameterEnumerator::MoveNext + 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 1200 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + IL_0037: ldloc.1 + IL_0038: ret + } // end of method FrameworkFunctions::GetToolPath + + // method line 1284 + .method public hidebysig + instance default string GetRuntimeEngine (string framework) cil managed { - // Method begins at RVA 0x18a18 - .override class [mscorlib]System.Collections.IEnumerator::MoveNext - // Code size 20 (0x14) - .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 0x17a74 + // Code size 23 (0x17) + .maxstack 2 .locals init ( - bool V_0) + class NAnt.Core.FrameworkInfo V_0, + string V_1) 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_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_0012: ldloc.0 - IL_0013: ret - } // end of method XsltParameterEnumerator::System.Collections.IEnumerator.MoveNext + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetRuntimeEngine - // method line 1201 + // method line 1285 .method public hidebysig - instance default void Reset () cil managed + instance default string GetFrameworks (valuetype NAnt.Core.FrameworkTypes types) cil managed { - // Method begins at RVA 0x18a38 - // Code size 13 (0xd) - .maxstack 8 + .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 0x17a98 + // 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) 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_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 - // method line 1202 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed + 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 + + // method line 1286 + .method private hidebysig + instance default class NAnt.Core.FrameworkInfo GetFramework (string framework) cil managed { - // Method begins at RVA 0x18a46 - .override class [mscorlib]System.Collections.IEnumerator::Reset - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x17b14 + // Code size 114 (0x72) + .maxstack 3 + .locals init ( + class NAnt.Core.FrameworkInfo V_0, + class NAnt.Core.FrameworkInfo V_1) 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_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 - .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_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.Types +.namespace NAnt.Core.Functions { - .class public auto ansi serializable beforefieldinit FileSet - extends NAnt.Core.DataTypeBase + .class public auto ansi beforefieldinit AssemblyNameFunctions + extends NAnt.Core.FunctionSetBase { - .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.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.. - .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 1203 + // method line 1287 .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 0x18a54 - // Code size 48 (0x30) + // Method begins at RVA 0x17b92 + // Code size 10 (0xa) .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 + 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 1204 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.FileSet fs) cil managed + // method line 1288 + .method public static hidebysig + default string GetCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { - // Method begins at RVA 0x18a85 - // 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 + .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 line 1205 - .method public hidebysig specialname - instance default bool get_CaseSensitive () cil managed - { - // Method begins at RVA 0x18ac0 - // Code size 20 (0x14) + // Method begins at RVA 0x17ba0 + // 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: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_CodeBase() + 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 AssemblyNameFunctions::GetCodeBase - // method line 1206 - .method public hidebysig specialname - instance default void set_CaseSensitive (bool 'value') cil managed + // method line 1289 + .method public static hidebysig + default string GetEscapedCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { - // Method begins at RVA 0x18ae0 - // Code size 14 (0xe) - .maxstack 8 - 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 + .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 line 1207 - .method public hidebysig specialname - instance default bool get_FailOnEmpty () cil managed - { - // Method begins at RVA 0x18af0 + // Method begins at RVA 0x17bbc // 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::_failOnEmpty + 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 FileSet::get_FailOnEmpty + } // end of method AssemblyNameFunctions::GetEscapedCodeBase - // method line 1208 - .method public hidebysig specialname - instance default void set_FailOnEmpty (bool 'value') cil managed + // method line 1290 + .method public static hidebysig + default string GetFullName (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { - // Method begins at RVA 0x18b0b - // Code size 9 (0x9) - .maxstack 8 + .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 0x17bd8 + // 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 bool NAnt.Core.Types.FileSet::_failOnEmpty - IL_0008: ret - } // end of method FileSet::set_FailOnEmpty + IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1209 - .method public hidebysig specialname - instance default bool get_DefaultExcludes () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyNameFunctions::GetFullName + + // method line 1291 + .method public static hidebysig + default string GetName (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { - // Method begins at RVA 0x18b18 + .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 0x17bf4 // 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::_defaultExcludes + 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 FileSet::get_DefaultExcludes + } // end of method AssemblyNameFunctions::GetName - // method line 1210 - .method public hidebysig specialname - instance default void set_DefaultExcludes (bool 'value') cil managed + // method line 1292 + .method public static hidebysig + default class [mscorlib]System.Version GetVersion (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { - // Method begins at RVA 0x18b33 - // 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 0x17c10 + // 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 bool NAnt.Core.Types.FileSet::_defaultExcludes - IL_0008: ret - } // end of method FileSet::set_DefaultExcludes + IL_0002: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1211 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyNameFunctions::GetVersion + + // method line 1293 + .method public hidebysig + instance default class [mscorlib]System.Reflection.AssemblyName GetAssemblyName (string assemblyFile) cil managed { - // Method begins at RVA 0x18b40 - // Code size 127 (0x7f) + .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 0x17c2c + // Code size 26 (0x1a) .maxstack 2 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class [mscorlib]System.Reflection.AssemblyName 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_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_004e: ldarg.0 - IL_004f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0054: brfalse IL_0070 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method AssemblyNameFunctions::GetAssemblyName - 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 + } // end of class NAnt.Core.Functions.AssemblyNameFunctions +} - 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 +.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.. - IL_007d: ldloc.0 - IL_007e: ret - } // end of method FileSet::get_BaseDirectory - // method line 1212 - .method public virtual hidebysig newslot specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 1294 + .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 0x18bcb - // Code size 9 (0x9) + // Method begins at RVA 0x17c52 + // 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.Types.FileSet::_baseDirectory - IL_0008: ret - } // end of method FileSet::set_BaseDirectory + 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 1213 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Includes () cil managed + // method line 1295 + .method public static hidebysig + default float64 Round (float64 'value') cil managed { - // Method begins at RVA 0x18bd8 - // 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 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 72 6F 75 6E 64 00 00 ) // ...round.. - // method line 1214 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Excludes () cil managed - { - // Method begins at RVA 0x18bf8 - // Code size 20 (0x14) + // Method begins at RVA 0x17c60 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + float64 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_0002: call float64 class [mscorlib]System.Math::Round(float64) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileSet::get_Excludes + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MathFunctions::Round - // method line 1215 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_AsIs () cil managed + // method line 1296 + .method public static hidebysig + default float64 Floor (float64 'value') cil managed { - // Method begins at RVA 0x18c18 + .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 0x17c7c // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + float64 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis + IL_0002: call float64 class [mscorlib]System.Math::Floor(float64) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileSet::get_AsIs + } // end of method MathFunctions::Floor - // method line 1216 - .method public hidebysig specialname - instance default class NAnt.Core.PathScanner get_PathFiles () cil managed + // method line 1297 + .method public static hidebysig + default float64 Ceiling (float64 'value') cil managed { - // Method begins at RVA 0x18c34 + .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 0x17c98 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.PathScanner V_0) + float64 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles + 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 FileSet::get_PathFiles + } // end of method MathFunctions::Ceiling - // method line 1217 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_FileNames () cil managed + // method line 1298 + .method public static hidebysig + default float64 Abs (float64 'value') cil managed { - // Method begins at RVA 0x18c50 - // 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 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 03 61 62 73 00 00 ) // ...abs.. - // method line 1218 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_DirectoryNames () cil managed - { - // Method begins at RVA 0x18c84 - // Code size 39 (0x27) + // Method begins at RVA 0x17cb4 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + float64 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_DirectoryNames() - IL_001f: stloc.0 - IL_0020: br IL_0025 + IL_0002: call float64 class [mscorlib]System.Math::Abs(float64) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0025: ldloc.0 - IL_0026: ret - } // end of method FileSet::get_DirectoryNames + IL_000d: ldloc.0 + IL_000e: ret + } // end of method MathFunctions::Abs - // method line 1219 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_ScannedDirectories () cil managed - { - // Method begins at RVA 0x18cb8 - // 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 + } // end of class NAnt.Core.Functions.MathFunctions +} - 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 +.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_0025: ldloc.0 - IL_0026: ret - } // end of method FileSet::get_ScannedDirectories - // method line 1220 - .method public hidebysig specialname - instance default void set_SetIncludes (class NAnt.Core.Types.FileSet/Include[] 'value') cil managed + // method line 1299 + .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 0x18ceb - // Code size 9 (0x9) + // Method begins at RVA 0x17ccf + // Code size 10 (0xa) .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_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 1221 - .method public hidebysig specialname - instance default void set_IncludeElements (class NAnt.Core.Types.FileSet/Include[] 'value') cil managed + // method line 1300 + .method public static hidebysig + default bool Parse (string s) cil managed { - // Method begins at RVA 0x18cf8 - // Code size 239 (0xef) - .maxstack 4 + .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 0x17cdc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Types.FileSet/Include V_0, - class NAnt.Core.Types.FileSet/Include[] V_1, - int32 V_2) + bool V_0) 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_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_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_006a: ldloc.0 - IL_006b: callvirt instance bool class NAnt.Core.Types.FileSet/Include::get_FromPath() - IL_0070: brfalse IL_00ac - - 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_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_0001: ldarg.0 + IL_0002: call bool bool::Parse(string) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00ee: ret - } // end of method FileSet::set_IncludeElements + IL_000d: ldloc.0 + IL_000e: ret + } // end of method BooleanConversionFunctions::Parse - // method line 1222 - .method public hidebysig specialname - instance default void set_SetExcludes (class NAnt.Core.Types.FileSet/Exclude[] 'value') cil managed + // method line 1301 + .method public static hidebysig + default string ToString (bool 'value') cil managed { - // Method begins at RVA 0x18df3 - // 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 + .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 line 1223 - .method public hidebysig specialname - instance default void set_ExcludeElements (class NAnt.Core.Types.FileSet/Exclude[] 'value') cil managed - { - // Method begins at RVA 0x18e00 - // Code size 104 (0x68) - .maxstack 4 + // Method begins at RVA 0x17cf8 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - class NAnt.Core.Types.FileSet/Exclude V_0, - class NAnt.Core.Types.FileSet/Exclude[] V_1, - int32 V_2) + string V_0) 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_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_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_0013: ldloc.0 + IL_0014: ret + } // end of method BooleanConversionFunctions::ToString - IL_001b: ldloc.0 - IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() - IL_0021: brtrue IL_0059 + } // end of class NAnt.Core.Functions.BooleanConversionFunctions +} - 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 +.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_0067: ret - } // end of method FileSet::set_ExcludeElements - // method line 1224 - .method public hidebysig specialname - instance default void set_SetIncludesList (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') cil managed + // method line 1302 + .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 0x18e74 - // Code size 9 (0x9) + // Method begins at RVA 0x17d19 + // Code size 10 (0xa) .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_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 1225 - .method public hidebysig specialname - instance default void set_IncludesFiles (class NAnt.Core.Types.FileSet/IncludesFile[] 'value') cil managed + // method line 1303 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetCreationTime (string path) cil managed { - // Method begins at RVA 0x18e80 - // 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_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_001b: ldloc.0 - IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined() - IL_0021: brtrue IL_0197 - - 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_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_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_0083: leave IL_009f - - } // 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_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_00a5: ldloc.0 - IL_00a6: callvirt instance bool class NAnt.Core.Types.FileSet/IncludesFile::get_FromPath() - IL_00ab: brfalse IL_0125 - - 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_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_0103: leave IL_011f - - } // 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_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_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_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 - - IL_0179: leave IL_0195 - - } // 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_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_01a5: ret - } // end of method FileSet::set_IncludesFiles + .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 line 1226 - .method public hidebysig specialname - instance default void set_ExcludesFiles (class NAnt.Core.Types.FileSet/ExcludesFile[] 'value') cil managed - { - // Method begins at RVA 0x1905c - // Code size 163 (0xa3) - .maxstack 4 + // Method begins at RVA 0x17d24 + // Code size 62 (0x3e) + .maxstack 3 .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) + string V_0, + valuetype [mscorlib]System.DateTime V_1) 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_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_001b: ldloc.0 - IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/ExcludesFile::get_UnlessDefined() - IL_0021: brtrue IL_0094 - - 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_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_0077: leave IL_0093 - - } // 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_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_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_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_00a2: ret - } // end of method FileSet::set_ExcludesFiles + IL_003c: ldloc.1 + IL_003d: ret + } // end of method FileFunctions::GetCreationTime - // method line 1227 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_MostRecentLastWriteTimeFile () cil managed + // method line 1304 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed { - // Method begins at RVA 0x1911c - // 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_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_002a: ldloc.3 - IL_002b: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_0030: brfalse IL_0039 - - 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_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_0065: ldloc.0 - IL_0066: brfalse IL_00a0 - - 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_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_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_00cf: ldloc.s 5 - IL_00d1: ret - } // end of method FileSet::get_MostRecentLastWriteTimeFile + .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 line 1228 - .method public virtual hidebysig newslot - instance default object Clone () cil managed - { - // Method begins at RVA 0x1920c - // Code size 23 (0x17) - .maxstack 2 + // Method begins at RVA 0x17d70 + // Code size 62 (0x3e) + .maxstack 3 .locals init ( - class NAnt.Core.Types.FileSet V_0, - object V_1) + string V_0, + valuetype [mscorlib]System.DateTime 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_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: stloc.1 - IL_0010: br IL_0015 - - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FileSet::Clone + IL_000f: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0014: brtrue IL_0030 - // method line 1229 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x19230 - // Code size 395 (0x18b) - .maxstack 2 - 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_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_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_003c: ldloc.1 + IL_003d: ret + } // end of method FileFunctions::GetLastWriteTime - // method line 1230 - .method public virtual hidebysig - instance default void Reset () cil managed + // method line 1305 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed { - // Method begins at RVA 0x193c7 - // 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 + .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 line 1231 - .method public virtual hidebysig - instance default string ToString () cil managed - { - // Method begins at RVA 0x193d4 - // Code size 398 (0x18e) + // Method begins at RVA 0x17dbc + // Code size 62 (0x3e) .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, - class [System]System.Collections.Specialized.StringEnumerator V_5, - class [mscorlib]System.IDisposable V_6, - string V_7) + string V_0, + valuetype [mscorlib]System.DateTime 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: 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_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_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_00f1: leave IL_010a - - } // 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_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_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_0161: leave IL_017d - - } // 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_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_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_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_018b: ldloc.s 7 - IL_018d: ret - } // end of method FileSet::ToString + IL_003c: ldloc.1 + IL_003d: ret + } // end of method FileFunctions::GetLastAccessTime - // method line 1232 + // method line 1306 .method public hidebysig - instance default void AddPatternSet (class NAnt.Core.Types.PatternSet patternSet) cil managed + instance default bool Exists (string file) 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.. + .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 0x1958c - // Code size 36 (0x24) - .maxstack 8 + // Method begins at RVA 0x17e08 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + bool V_0) 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_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.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 1233 - .method public virtual hidebysig newslot - instance default void Scan () cil managed - { - // Method begins at RVA 0x195b4 - // 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_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_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_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_007c: leave IL_0095 - - } // 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_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_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_00d5: leave IL_00f1 - - } // 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_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: call instance bool class NAnt.Core.Types.FileSet::get_FailOnEmpty() - IL_011a: brfalse IL_0170 - - 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 + 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_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 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method FileFunctions::Exists - // method line 1234 - .method family hidebysig - instance default void CopyTo (class NAnt.Core.Types.FileSet clone) cil managed + // method line 1307 + .method public hidebysig + instance default bool UpToDate (string srcFile, string targetFile) cil managed { - // Method begins at RVA 0x1975c - // 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 - - 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 + .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 line 1235 - .method assembly hidebysig - instance default string Find (string fileName) cil managed - { - // Method begins at RVA 0x197f0 - // Code size 133 (0x85) - .maxstack 4 + // Method begins at RVA 0x17e30 + // Code size 75 (0x4b) + .maxstack 2 .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) + string V_0, + string V_1, + bool V_2, + valuetype [mscorlib]System.DateTime V_3, + string V_4) 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_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: 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_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_004a: nop - IL_004b: ldloc.2 - IL_004c: stloc.s 4 - IL_004e: leave IL_0082 - - 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_005f: leave IL_007a + 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 - } // 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_0026: nop + IL_0027: ldc.i4.0 + IL_0028: stloc.2 + IL_0029: br IL_0049 - 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_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_0082: ldloc.s 4 - IL_0084: ret - } // end of method FileSet::Find + IL_0049: ldloc.2 + IL_004a: ret + } // end of method FileFunctions::UpToDate - // method line 1236 - .method famorassem hidebysig specialname - instance default bool get_IsEverythingIncluded () cil managed + // method line 1308 + .method public hidebysig + instance default int64 GetLength (string file) cil managed { - // Method begins at RVA 0x19894 - // 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_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_0025: ldloc.0 - IL_0026: ret - } // end of method FileSet::get_IsEverythingIncluded + .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 line 1237 - .method public static hidebysig - default string FindMoreRecentLastWriteTime (string fileName, valuetype [mscorlib]System.DateTime targetLastWriteTime) cil managed - { - // Method begins at RVA 0x198c8 - // Code size 30 (0x1e) + // Method begins at RVA 0x17e88 + // Code size 33 (0x21) .maxstack 2 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0, - string V_1) + class [mscorlib]System.IO.FileInfo V_0, + int64 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_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_001c: ldloc.1 - IL_001d: ret - } // end of method FileSet::FindMoreRecentLastWriteTime + IL_001f: ldloc.1 + IL_0020: ret + } // end of method FileFunctions::GetLength - // method line 1238 - .method public static hidebysig - default string FindMoreRecentLastWriteTime (class [System]System.Collections.Specialized.StringCollection fileNames, valuetype [mscorlib]System.DateTime targetLastWriteTime) cil managed + // method line 1309 + .method public hidebysig + instance default bool IsAssembly (string assemblyFile) cil managed { - // Method begins at RVA 0x198f4 - // Code size 198 (0xc6) - .maxstack 5 + .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 0x17eb8 + // Code size 47 (0x2f) + .maxstack 2 .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) + bool V_0) 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_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_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_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_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_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_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_00a2: leave IL_00bd + 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_00a7: ldloc.1 - IL_00a8: isinst [mscorlib]System.IDisposable - IL_00ad: dup - IL_00ae: stloc.s 4 - IL_00b0: brfalse IL_00bc + 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_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_00c4: ldloc.3 - IL_00c5: ret - } // end of method FileSet::FindMoreRecentLastWriteTime - - // method line 1239 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x199d8 - // 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 - - .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 ) // .. - - .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.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .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.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .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.. - - .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.. - - .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 ) // .... - - .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.. - - .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.. - - .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 ) // .... - - .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.. - - .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 ) // . + 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 - .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 ) // . + } // end handler 1 + IL_002d: ldloc.0 + IL_002e: ret + } // end of method FileFunctions::IsAssembly - .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 ) // . + } // end of class NAnt.Core.Functions.FileFunctions +} - .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 +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit AssemblyFunctions + extends NAnt.Core.FunctionSetBase { - .field private string _pattern - .field private bool _ifDefined - .field private bool _unlessDefined + .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 1240 + + // method line 1310 .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 0x199ee - // Code size 14 (0xe) + // Method begins at RVA 0x17f10 + // Code size 10 (0xa) .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 + 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 1241 - .method public virtual hidebysig newslot specialname - instance default string get_Pattern () cil managed + // method line 1311 + .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 0x17f1c + // 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_0018: ldloc.0 + IL_0019: ret + } // end of method AssemblyFunctions::LoadFromFile + + // method line 1312 + .method public hidebysig + instance default class [mscorlib]System.Reflection.Assembly Load (string assemblyString) cil managed { - // Method begins at RVA 0x19a00 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 04 6C 6F 61 64 00 00 ) // ...load.. + + // Method begins at RVA 0x17f44 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Reflection.Assembly V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.FileSet/Exclude::_pattern + 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 Exclude::get_Pattern + } // end of method AssemblyFunctions::Load - // method line 1242 - .method public virtual hidebysig newslot specialname - instance default void set_Pattern (string 'value') cil managed + // method line 1313 + .method public static hidebysig + default string GetFullName (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { - // Method begins at RVA 0x19a1b - // 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 + .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 line 1243 - .method public virtual hidebysig newslot specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x19a28 + // Method begins at RVA 0x17f60 // 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/Exclude::_ifDefined + IL_0002: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() 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 AssemblyFunctions::GetFullName - // method line 1244 - .method public virtual hidebysig newslot specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 1314 + .method public static hidebysig + default class [mscorlib]System.Reflection.AssemblyName GetName (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { - // Method begins at RVA 0x19a43 - // Code size 9 (0x9) - .maxstack 8 + .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 0x17f7c + // Code size 16 (0x10) + .maxstack 2 + .locals init ( + class [mscorlib]System.Reflection.AssemblyName V_0) 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_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 - // method line 1245 - .method public virtual hidebysig newslot specialname - instance default bool get_UnlessDefined () cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method AssemblyFunctions::GetName + + // method line 1315 + .method public static hidebysig + default string GetLocation (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { - // Method begins at RVA 0x19a50 + .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 0x17f98 // 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/Exclude::_unlessDefined + 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 Exclude::get_UnlessDefined - - // method line 1246 - .method public virtual hidebysig newslot specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x19a6b - // 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 - - .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. - - .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.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.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 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') - } - .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 ) // .... + } // end of method AssemblyFunctions::GetLocation - .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 + } // end of class NAnt.Core.Functions.AssemblyFunctions +} - .class nested public auto ansi beforefieldinit Include - extends NAnt.Core.Types.FileSet/Exclude +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit OperatingSystemFunctions + extends NAnt.Core.FunctionSetBase { - .field private bool _asIs - .field private bool _fromPath + .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.. - // method line 1247 + + // method line 1316 .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 0x19a75 - // Code size 7 (0x7) + // Method begins at RVA 0x17fb3 + // Code size 10 (0xa) .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: 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 - // method line 1248 - .method public hidebysig specialname - instance default bool get_AsIs () cil managed + // method line 1317 + .method public static hidebysig + default valuetype [mscorlib]System.PlatformID GetPlatform (class [mscorlib]System.OperatingSystem operatingSystem) cil managed { - // Method begins at RVA 0x19a80 + .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 ) // . + + // Method begins at RVA 0x17fc0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + valuetype [mscorlib]System.PlatformID V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet/Include::_asIs + IL_0002: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() 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 OperatingSystemFunctions::GetPlatform - // method line 1249 - .method public hidebysig specialname - instance default void set_AsIs (bool 'value') cil managed + // method line 1318 + .method public static hidebysig + default class [mscorlib]System.Version GetVersion (class [mscorlib]System.OperatingSystem operatingSystem) cil managed { - // Method begins at RVA 0x19a9b - // 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 + .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 1250 - .method public hidebysig specialname - instance default bool get_FromPath () cil managed - { - // Method begins at RVA 0x19aa8 + // Method begins at RVA 0x17fdc // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet/Include::_fromPath + IL_0002: callvirt instance class [mscorlib]System.Version class [mscorlib]System.OperatingSystem::get_Version() 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 OperatingSystemFunctions::GetVersion - // method line 1251 - .method public hidebysig specialname - instance default void set_FromPath (bool 'value') cil managed + // method line 1319 + .method public static hidebysig + default string ToString (class [mscorlib]System.OperatingSystem operatingSystem) cil managed { - // Method begins at RVA 0x19ac3 - // 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 + .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 line 1252 - .method public virtual hidebysig specialname - instance default string get_Pattern () cil managed - { - // Method begins at RVA 0x19ad0 + // Method begins at RVA 0x17ff8 // 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_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 Include::get_Pattern + } // end of method OperatingSystemFunctions::ToString - // method line 1253 - .method public virtual hidebysig specialname - instance default void set_Pattern (string 'value') cil managed + } // end of class NAnt.Core.Functions.OperatingSystemFunctions +} + +.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.. + + + // method line 1320 + .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 0x19aeb - // Code size 9 (0x9) + // Method begins at RVA 0x18013 + // Code size 10 (0xa) .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_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 1254 - .method public virtual hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 1321 + .method public static hidebysig + default int32 ToInt (int32 'value') cil managed { - // Method begins at RVA 0x19af8 - // Code size 15 (0xf) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 74 6F 2D 69 6E 74 00 00 ) // ...to-int.. + + .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 begins at RVA 0x18020 + // Code size 10 (0xa) .maxstack 1 .locals init ( - bool V_0) + int32 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 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Include::get_IfDefined + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToInt - // method line 1255 - .method public virtual hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 1322 + .method public static hidebysig + default float64 ToDouble (float64 'value') cil managed { - // Method begins at RVA 0x19b13 - // 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 + .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.. - // method line 1256 - .method public virtual hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x19b20 - // Code size 15 (0xf) + .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 begins at RVA 0x18038 + // Code size 10 (0xa) .maxstack 1 .locals init ( - bool V_0) + float64 V_0) IL_0000: nop 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 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Include::get_UnlessDefined + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToDouble - // method line 1257 - .method public virtual hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 1323 + .method public static hidebysig + default string ConvertToString (string 'value') cil managed { - // Method begins at RVA 0x19b3b - // Code size 9 (0x9) - .maxstack 8 + .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.. + + .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 begins at RVA 0x18050 + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + string V_0) 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 - - .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_0002: stloc.0 + IL_0003: br IL_0008 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ConvertToString - .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 1324 + .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.. - .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 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 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. + // Method begins at RVA 0x18068 + // 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.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 ConversionFunctions::ToDateTime - .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 1325 + .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.. - .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 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 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.. + // Method begins at RVA 0x18080 + // 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToBoolean - .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 + } // end of class NAnt.Core.Functions.ConversionFunctions +} - .class nested public auto ansi beforefieldinit ExcludesFile - extends NAnt.Core.Element +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit PathFunctions + extends NAnt.Core.FunctionSetBase { - .field private bool _ifDefined - .field private bool _unlessDefined - .field private class [mscorlib]System.IO.FileInfo _patternFile + .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.. - // method line 1258 + + // method line 1326 .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 0x19b45 - // Code size 14 (0xe) + // Method begins at RVA 0x18096 + // Code size 10 (0xa) .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 + 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 1259 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Patterns () cil managed + // method line 1327 + .method public hidebysig + instance default string GetFullPath (string path) cil managed { - // Method begins at RVA 0x19b54 - // Code size 191 (0xbf) - .maxstack 3 + .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 0x180a4 + // Code size 21 (0x15) + .maxstack 2 .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) 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: 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_0012: nop IL_0013: ldloc.0 - IL_0014: stloc.1 - IL_0015: br IL_00bd + IL_0014: ret + } // end of method PathFunctions::GetFullPath - .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 + // method line 1328 + .method public static hidebysig + default string Combine (string path1, string path2) 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.. - 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 + // Method begins at RVA 0x180c8 + // Code size 16 (0x10) + .maxstack 2 + .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_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 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method PathFunctions::Combine - 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 + // method line 1329 + .method public static hidebysig + default string ChangeExtension (string path, string extension) 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.. - IL_0078: nop - IL_0079: leave IL_008b + // Method begins at RVA 0x180e4 + // Code size 16 (0x10) + .maxstack 2 + .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 - } // end .try 0 - finally { // 0 - IL_007e: ldloc.2 - IL_007f: brfalse IL_008a + IL_000e: ldloc.0 + IL_000f: ret + } // end of method PathFunctions::ChangeExtension - 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 + // method line 1330 + .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.. - } // 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 begins at RVA 0x18100 + // 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 - // method line 1260 - .method public virtual hidebysig newslot specialname - instance default bool get_IfDefined () cil managed + IL_0014: ldloc.1 + IL_0015: ret + } // end of method PathFunctions::GetDirectoryName + + // method line 1331 + .method public static hidebysig + default string GetExtension (string path) cil managed { - // Method begins at RVA 0x19c3c + .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 0x18124 // 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::_ifDefined + 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 ExcludesFile::get_IfDefined + } // end of method PathFunctions::GetExtension - // method line 1261 - .method public virtual hidebysig newslot specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 1332 + .method public static hidebysig + default string GetFileName (string path) cil managed { - // Method begins at RVA 0x19c57 - // 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::_ifDefined - IL_0008: ret - } // end of method ExcludesFile::set_IfDefined + .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 line 1262 - .method public virtual hidebysig newslot specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x19c64 + // Method begins at RVA 0x18140 // 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: call string class [mscorlib]System.IO.Path::GetFileName(string) 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 PathFunctions::GetFileName - // method line 1263 - .method public virtual hidebysig newslot specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 1333 + .method public static hidebysig + default string GetFileNameWithoutExtension (string path) cil managed { - // Method begins at RVA 0x19c7f - // 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 + .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 line 1264 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_PatternFile () cil managed - { - // Method begins at RVA 0x19c8c + // Method begins at RVA 0x1815c // 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: 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 ExcludesFile::get_PatternFile + } // end of method PathFunctions::GetFileNameWithoutExtension - // method line 1265 - .method public hidebysig specialname - instance default void set_PatternFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 1334 + .method public static hidebysig + default string GetPathRoot (string path) cil managed { - // Method begins at RVA 0x19ca7 - // 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 0x18178 + // 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 [mscorlib]System.IO.FileInfo NAnt.Core.Types.FileSet/ExcludesFile::_patternFile - 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.. + 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0014: ldloc.1 + IL_0015: ret + } // end of method PathFunctions::GetPathRoot - .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.. + // method line 1335 + .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.. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0x1819c + // 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 - .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_000c: ldloc.0 + IL_000d: ret + } // end of method PathFunctions::GetTempFileName - .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 1336 + .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 ) // .. - .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 + // Method begins at RVA 0x181b8 + // 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 - .class nested public auto ansi beforefieldinit IncludesFile - extends NAnt.Core.Types.FileSet/ExcludesFile - { - .field private bool _asIs - .field private bool _fromPath + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PathFunctions::GetTempPath - // method line 1266 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 1337 + .method public static hidebysig + default bool HasExtension (string path) cil managed { - // Method begins at RVA 0x19cb1 - // 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 + .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 line 1267 - .method public hidebysig specialname - instance default bool get_AsIs () cil managed - { - // Method begins at RVA 0x19cbc + // Method begins at RVA 0x181d4 // 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: 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 IncludesFile::get_AsIs + } // end of method PathFunctions::HasExtension - // method line 1268 - .method public hidebysig specialname - instance default void set_AsIs (bool 'value') cil managed + // method line 1338 + .method public static hidebysig + default bool IsPathRooted (string path) cil managed { - // Method begins at RVA 0x19cd7 - // 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 + .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 1269 - .method public hidebysig specialname - instance default bool get_FromPath () cil managed - { - // Method begins at RVA 0x19ce4 + // Method begins at RVA 0x181f0 // 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: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) 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 PathFunctions::IsPathRooted - // method line 1270 - .method public hidebysig specialname - instance default void set_FromPath (bool 'value') cil managed + } // end of class NAnt.Core.Functions.PathFunctions +} + +.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.. + + + // method line 1339 + .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 0x19cff - // Code size 9 (0x9) + // Method begins at RVA 0x1820b + // Code size 10 (0xa) .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 + 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 - // method line 1271 - .method public virtual hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 1340 + .method public static hidebysig + default string GetFolderPath (valuetype [mscorlib]System.Environment/SpecialFolder folder) cil managed { - // Method begins at RVA 0x19d0c + .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 0x18218 // 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.Types.FileSet/ExcludesFile::get_IfDefined() + IL_0002: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) 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 EnvironmentFunctions::GetFolderPath - // method line 1272 - .method public virtual hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 1341 + .method public static hidebysig + default string GetMachineName () cil managed { - // Method begins at RVA 0x19d27 - // Code size 9 (0x9) - .maxstack 8 + .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 0x18234 + // 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 instance void class NAnt.Core.Types.FileSet/ExcludesFile::set_IfDefined(bool) - IL_0008: ret - } // end of method IncludesFile::set_IfDefined + IL_0001: call string class [mscorlib]System.Environment::get_MachineName() + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 1273 - .method public virtual hidebysig specialname - instance default bool get_UnlessDefined () cil managed + IL_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetMachineName + + // method line 1342 + .method public static hidebysig + default class [mscorlib]System.OperatingSystem GetOperatingSystem () cil managed { - // Method begins at RVA 0x19d34 - // Code size 15 (0xf) + .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 0x18250 + // Code size 14 (0xe) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.OperatingSystem V_0) 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_0001: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method IncludesFile::get_UnlessDefined + IL_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetOperatingSystem - // method line 1274 - .method public virtual hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 1343 + .method public static hidebysig + default string GetUserName () cil managed { - // Method begins at RVA 0x19d4f - // Code size 9 (0x9) - .maxstack 8 + .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 ) // .. + + // Method begins at RVA 0x1826c + // 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_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetUserName + + // method line 1344 + .method public static hidebysig + default string GetVariable (string name) 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 0x18288 + // Code size 54 (0x36) + .maxstack 3 + .locals init ( + string V_0) 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_0002: call bool class NAnt.Core.Functions.EnvironmentFunctions::VariableExists(string) + IL_0007: brtrue IL_0028 - .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_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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0034: ldloc.0 + IL_0035: ret + } // end of method EnvironmentFunctions::GetVariable - .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 1345 + .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.. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0x182cc + // 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 - .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.. + IL_0013: ldloc.0 + IL_0014: ret + } // end of method EnvironmentFunctions::VariableExists - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1346 + .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.. - .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.. + // Method begins at RVA 0x182f0 + // 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetVersion - .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 + // method line 1347 + .method public static hidebysig + default string NewLine () 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.. - } // end of class NAnt.Core.Types.FileSet + // Method begins at RVA 0x1830c + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string 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 } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi serializable beforefieldinit OptionCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit DnsFunctions + extends NAnt.Core.FunctionSetBase { - .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.FunctionSetAttribute::'.ctor'(string, string) = (01 00 03 64 6E 73 03 44 4E 53 00 00 ) // ...dns.DNS.. - // method line 1275 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x19d59 - // 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 - // method line 1276 + // method line 1348 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.OptionCollection 'value') cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x19d62 - // Code size 15 (0xf) + // Method begins at RVA 0x18326 + // Code size 10 (0xa) .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_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 1277 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.Option[] 'value') cil managed + // method line 1349 + .method public static hidebysig + default string GetHostName () cil managed { - // Method begins at RVA 0x19d72 - // 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 + .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 line 1278 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Option get_Item (int32 index) cil managed - { - // Method begins at RVA 0x19d84 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x18334 + // Code size 14 (0xe) + .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_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 DnsFunctions::GetHostName + + } // end of class NAnt.Core.Functions.DnsFunctions +} + +.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.. + + + // method line 1350 + .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 0x1834e + // 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 + + // method line 1351 + .method public hidebysig + instance default class [System]System.Diagnostics.FileVersionInfo GetVersionInfo (string fileName) 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.. + + // Method begins at RVA 0x1835c + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class [System]System.Diagnostics.FileVersionInfo 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_0018: ldloc.0 IL_0019: ret - } // end of method OptionCollection::get_Item + } // end of method FileVersionInfoFunctions::GetVersionInfo - // method line 1279 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.Option 'value') cil managed + // method line 1352 + .method public static hidebysig + default string GetCompanyName (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed { - // Method begins at RVA 0x19daa + .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 begins at RVA 0x18384 // 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: 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 OptionCollection::set_Item + } // end of method FileVersionInfoFunctions::GetCompanyName - // method line 1280 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Option get_Item (string name) cil managed + // method line 1353 + .method public static hidebysig + default class [mscorlib]System.Version GetFileVersion (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed { - // Method begins at RVA 0x19dbc - // Code size 111 (0x6f) - .maxstack 2 + .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 begins at RVA 0x183a0 + // Code size 38 (0x26) + .maxstack 4 .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) + class [mscorlib]System.Version V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 + 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_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_0024: ldloc.0 + IL_0025: ret + } // end of method FileVersionInfoFunctions::GetFileVersion - 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 + // method line 1354 + .method public static hidebysig + default string GetProductName (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) 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.. - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d + // Method begins at RVA 0x183d4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string 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_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FileVersionInfoFunctions::GetProductName - IL_004c: leave IL_0065 + // method line 1355 + .method public static hidebysig + default class [mscorlib]System.Version GetProductVersion (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) 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.. - } // 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 begins at RVA 0x183f0 + // Code size 38 (0x26) + .maxstack 4 + .locals init ( + class [mscorlib]System.Version 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_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_0024: ldloc.0 + IL_0025: ret + } // end of method FileVersionInfoFunctions::GetProductVersion - IL_006d: ldloc.2 - IL_006e: ret - } // end of method OptionCollection::get_Item + } // end of class NAnt.Core.Functions.FileVersionInfoFunctions +} - // method line 1281 +.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.. + + + // method line 1356 + .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 0x18422 + // 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 + + // method line 1357 .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.Option item) cil managed + instance default string GetVariable (string package, string name) cil managed { - // Method begins at RVA 0x19e48 - // Code size 21 (0x15) - .maxstack 2 + .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 0x18430 + // Code size 94 (0x5e) + .maxstack 7 .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: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method OptionCollection::Add + 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 - // method line 1282 + IL_005c: ldloc.0 + IL_005d: ret + } // end of method PkgConfigFunctions::GetVariable + + // method line 1358 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.Option[] items) cil managed + instance default string GetLinkFlags (string package) cil managed { - // Method begins at RVA 0x19e6c - // Code size 34 (0x22) - .maxstack 3 + .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 0x1849c + // Code size 83 (0x53) + .maxstack 5 .locals init ( - int32 V_0) + string 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: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - 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_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 - IL_0021: ret - } // end of method OptionCollection::AddRange + IL_0051: ldloc.0 + IL_0052: ret + } // end of method PkgConfigFunctions::GetLinkFlags - // method line 1283 + // method line 1359 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.OptionCollection items) cil managed + instance default string GetCompileFlags (string package) cil managed { - // Method begins at RVA 0x19e9c - // Code size 41 (0x29) - .maxstack 3 + .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 0x184fc + // Code size 83 (0x53) + .maxstack 5 .locals init ( - int32 V_0) + string 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: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - 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_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: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + 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_0028: ret - } // end of method OptionCollection::AddRange + IL_0051: ldloc.0 + IL_0052: ret + } // end of method PkgConfigFunctions::GetCompileFlags - // method line 1284 + // method line 1360 .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.Option item) cil managed + instance default string GetModVersion (string package) cil managed { - // Method begins at RVA 0x19ed4 - // Code size 21 (0x15) - .maxstack 2 + .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.. + + // Method begins at RVA 0x1855c + // Code size 83 (0x53) + .maxstack 5 .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: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method OptionCollection::Contains + 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 1285 + IL_0051: ldloc.0 + IL_0052: ret + } // end of method PkgConfigFunctions::GetModVersion + + // method line 1361 .method public hidebysig - instance default bool Contains (string taskName) cil managed + instance default bool IsAtLeastVersion (string package, string version) cil managed { - // Method begins at RVA 0x19ef8 - // Code size 22 (0x16) - .maxstack 2 + .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 0x185bc + // Code size 54 (0x36) + .maxstack 7 .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_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_0014: ldloc.0 - IL_0015: ret - } // end of method OptionCollection::Contains + IL_0034: ldloc.0 + IL_0035: ret + } // end of method PkgConfigFunctions::IsAtLeastVersion - // method line 1286 + // method line 1362 .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.Option[] 'array', int32 index) cil managed + instance default bool IsExactVersion (string package, string version) cil managed { - // Method begins at RVA 0x19f1a - // Code size 15 (0xf) - .maxstack 8 + .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 0x18600 + // Code size 54 (0x36) + .maxstack 7 + .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: 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_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 - // method line 1287 + IL_0034: ldloc.0 + IL_0035: ret + } // end of method PkgConfigFunctions::IsExactVersion + + // method line 1363 .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.Option item) cil managed + instance default bool IsMaxVersion (string package, string version) cil managed { - // Method begins at RVA 0x19f2c - // Code size 21 (0x15) - .maxstack 2 + .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 0x18644 + // Code size 54 (0x36) + .maxstack 7 .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: 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_0013: ldloc.0 - IL_0014: ret - } // end of method OptionCollection::IndexOf + IL_0034: ldloc.0 + IL_0035: ret + } // end of method PkgConfigFunctions::IsMaxVersion - // method line 1288 + // method line 1364 .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.Option item) cil managed + instance default bool IsBetweenVersion (string package, string minVersion, string maxVersion) cil managed { - // Method begins at RVA 0x19f4d - // Code size 15 (0xf) - .maxstack 8 + .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 0x18688 + // Code size 78 (0x4e) + .maxstack 7 + .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: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method OptionCollection::Insert + 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 1289 + IL_004c: ldloc.0 + IL_004d: ret + } // end of method PkgConfigFunctions::IsBetweenVersion + + // method line 1365 .method public hidebysig - instance default class NAnt.Core.Types.OptionEnumerator GetEnumerator () cil managed + instance default bool Exists (string package) cil managed { - // Method begins at RVA 0x19f60 - // 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 0x186e4 + // Code size 43 (0x2b) + .maxstack 5 .locals init ( - class NAnt.Core.Types.OptionEnumerator V_0) + bool 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_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 OptionCollection::GetEnumerator + IL_0029: ldloc.0 + IL_002a: ret + } // end of method PkgConfigFunctions::Exists - // method line 1290 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.Option item) cil managed + // method line 1366 + .method private hidebysig + instance default bool RunPkgConfigBool (class NAnt.Core.Types.Argument[] args) cil managed { - // Method begins at RVA 0x19f7b - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x1871c + // 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) IL_0000: nop - IL_0001: 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_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 - .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 -} + } // 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 -.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_003b: nop + IL_003c: rethrow + IL_003e: ldc.i4.0 + IL_003f: stloc.2 + IL_0040: leave IL_0045 - // method line 1291 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.OptionCollection arguments) cil managed + } // end handler 0 + IL_0045: ldloc.2 + IL_0046: ret + } // end of method PkgConfigFunctions::RunPkgConfigBool + + // method line 1367 + .method private hidebysig + instance default string RunPkgConfigString (class NAnt.Core.Types.Argument[] args) cil managed { - // Method begins at RVA 0x19f8c - // Code size 22 (0x16) + // Method begins at RVA 0x18780 + // Code size 134 (0x86) .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 + 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 - // method line 1292 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Option get_Current () cil managed + } // 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 1368 + .method private hidebysig + instance default class NAnt.Core.Tasks.ExecTask GetTask (class [mscorlib]System.IO.Stream 'stream') cil managed { - // Method begins at RVA 0x19fb0 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0x18824 + // Code size 83 (0x53) + .maxstack 3 .locals init ( - class NAnt.Core.Types.Option V_0) + 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: 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_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_0017: ldloc.0 - IL_0018: ret - } // end of method OptionEnumerator::get_Current + IL_0051: ldloc.2 + IL_0052: ret + } // end of method PkgConfigFunctions::GetTask - // method line 1293 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + } // end of class NAnt.Core.Functions.PkgConfigFunctions +} + +.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 1369 + .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 0x19fd8 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 20 (0x14) + // Method begins at RVA 0x18883 + // 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 1370 + .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.. + + // Method begins at RVA 0x18890 + // Code size 19 (0x13) .maxstack 1 .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.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_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_0012: ldloc.0 - IL_0013: ret - } // end of method OptionEnumerator::System.Collections.IEnumerator.get_Current + IL_0011: ldloc.0 + IL_0012: ret + } // end of method NAntFunctions::GetBaseDirectory - // method line 1294 + // method line 1371 .method public hidebysig - instance default bool MoveNext () cil managed + instance default class [mscorlib]System.Reflection.Assembly GetAssembly () cil managed { - // Method begins at RVA 0x19ff8 - // Code size 20 (0x14) - .maxstack 1 + .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 0x188b0 + // Code size 50 (0x32) + .maxstack 2 .locals init ( - bool V_0) + class [mscorlib]System.Reflection.Assembly V_0, + class [mscorlib]System.Reflection.Assembly 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 bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + 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_0012: ldloc.0 - IL_0013: ret - } // end of method OptionEnumerator::MoveNext + 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 1295 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + IL_0030: ldloc.1 + IL_0031: ret + } // end of method NAntFunctions::GetAssembly + + // method line 1372 + .method public hidebysig + instance default string ScanProbingPaths (string fileName) cil managed { - // Method begins at RVA 0x1a018 - .override class [mscorlib]System.Collections.IEnumerator::MoveNext - // Code size 20 (0x14) - .maxstack 1 + .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 0x188f0 + // Code size 92 (0x5c) + .maxstack 3 .locals init ( - bool V_0) + string V_0, + class NAnt.Core.FrameworkInfo V_1, + string[] V_2, + string V_3) 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_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_0012: ldloc.0 - IL_0013: ret - } // end of method OptionEnumerator::System.Collections.IEnumerator.MoveNext + 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 - // method line 1296 + 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 1373 .method public hidebysig - instance default void Reset () cil managed + instance default string ScanProbingPaths (string baseDirectory, string fileName) cil managed { - // Method begins at RVA 0x1a038 - // 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 + .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.. - // method line 1297 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x1a046 - .override class [mscorlib]System.Collections.IEnumerator::Reset - // Code size 13 (0xd) - .maxstack 8 + .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 0x18958 + // 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: 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_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 - .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_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.Types +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit Proxy - extends NAnt.Core.DataTypeBase + .class public auto ansi beforefieldinit ProjectFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 05 70 72 6F 78 79 00 00 ) // ...proxy.. + .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 _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 1298 + // method line 1374 .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 0x1a054 - // Code size 15 (0xf) + // Method begins at RVA 0x189c1 + // Code size 10 (0xa) .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 + 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 1299 - .method public hidebysig specialname - instance default string get_Host () cil managed + // method line 1375 + .method public hidebysig + instance default string GetName () cil managed { - // Method begins at RVA 0x1a064 - // 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 0x189cc + // Code size 25 (0x19) .maxstack 1 .locals init ( string V_0) 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 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 Proxy::get_Host + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ProjectFunctions::GetName - // method line 1300 - .method public hidebysig specialname - instance default void set_Host (string 'value') cil managed + // method line 1376 + .method public hidebysig + instance default string GetBuildFileUri () cil managed { - // Method begins at RVA 0x1a07f - // Code size 14 (0xe) - .maxstack 8 + .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 0x189f4 + // Code size 59 (0x3b) + .maxstack 2 + .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.Types.Proxy::_host - IL_000d: ret - } // end of method Proxy::set_Host + 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 - // method line 1301 - .method public hidebysig specialname - instance default int32 get_Port () cil managed + 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_002e: ldsfld string [mscorlib]System.String::Empty + IL_0033: stloc.0 + IL_0034: br IL_0039 + + IL_0039: ldloc.0 + IL_003a: ret + } // end of method ProjectFunctions::GetBuildFileUri + + // method line 1377 + .method public hidebysig + instance default string GetBuildFilePath () cil managed { - // Method begins at RVA 0x1a090 - // Code size 15 (0xf) + .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 0x18a3c + // Code size 25 (0x19) .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: 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_000d: ldloc.0 - IL_000e: ret - } // end of method Proxy::get_Port + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ProjectFunctions::GetBuildFilePath - // method line 1302 - .method public hidebysig specialname - instance default void set_Port (int32 'value') cil managed + // method line 1378 + .method public hidebysig + instance default string GetDefaultTarget () cil managed { - // Method begins at RVA 0x1a0ab - // 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_0008: ret - } // end of method Proxy::set_Port + .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.. - // method line 1303 - .method public hidebysig specialname - instance default bool get_BypassOnLocal () cil managed - { - // Method begins at RVA 0x1a0b8 - // Code size 15 (0xf) + // Method begins at RVA 0x18a64 + // Code size 25 (0x19) .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_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_DefaultTargetName() + 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 Proxy::get_BypassOnLocal + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ProjectFunctions::GetDefaultTarget - // method line 1304 - .method public hidebysig specialname - instance default void set_BypassOnLocal (bool 'value') cil managed + // method line 1379 + .method public hidebysig + instance default string GetBaseDirectory () cil managed { - // Method begins at RVA 0x1a0d3 - // 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::_bypassOnLocal - IL_0008: ret - } // end of method Proxy::set_BypassOnLocal + .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 line 1305 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Credential get_Credentials () cil managed - { - // Method begins at RVA 0x1a0e0 - // Code size 15 (0xf) + // Method begins at RVA 0x18a8c + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.Core.Types.Credential V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::_credentials - 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_BaseDirectory() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Proxy::get_Credentials + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ProjectFunctions::GetBaseDirectory - // method line 1306 - .method public hidebysig specialname - instance default void set_Credentials (class NAnt.Core.Types.Credential 'value') cil managed + } // end of class NAnt.Core.Functions.ProjectFunctions +} + +.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.. + + + // method line 1380 + .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 0x1a0fb - // Code size 9 (0x9) + // Method begins at RVA 0x18aac + // 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.Types.Proxy::_credentials - IL_0008: ret - } // end of method Proxy::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 TargetFunctions::.ctor - // method line 1307 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 1381 + .method public hidebysig + instance default bool Exists (string name) cil managed { - // Method begins at RVA 0x1a108 - // 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 0x18ab8 + // Code size 32 (0x20) + .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Proxy::_ifDefined - 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 Proxy::get_IfDefined + IL_001e: ldloc.0 + IL_001f: ret + } // end of method TargetFunctions::Exists - // method line 1308 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 1382 + .method public hidebysig + instance default string GetCurrentTarget () cil managed { - // Method begins at RVA 0x1a123 - // 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 + .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 1309 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x1a130 - // Code size 15 (0xf) + // Method begins at RVA 0x18ae4 + // Code size 45 (0x2d) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Target V_0, + string V_1) 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_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 Proxy::get_UnlessDefined + IL_000e: brtrue IL_001f - // method line 1310 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x1a14b - // 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_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 1311 + IL_002b: ldloc.1 + IL_002c: ret + } // end of method TargetFunctions::GetCurrentTarget + + // method line 1383 .method public hidebysig - instance default class [System]System.Net.IWebProxy GetWebProxy () cil managed + instance default bool HasExecuted (string name) cil managed { - // Method begins at RVA 0x1a158 - // Code size 105 (0x69) - .maxstack 2 + .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 0x18b20 + // Code size 67 (0x43) + .maxstack 3 .locals init ( - class [System]System.Net.WebProxy V_0, - class [System]System.Net.IWebProxy V_1) + class NAnt.Core.Target V_0, + bool 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_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Types.Proxy::get_UnlessDefined() - IL_0012: brtrue IL_005b - - 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_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_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_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_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_0067: ldloc.1 - IL_0068: ret - } // end of method Proxy::GetWebProxy + IL_0041: ldloc.1 + IL_0042: ret + } // end of method TargetFunctions::HasExecuted - .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. + } // end of class NAnt.Core.Functions.TargetFunctions +} - .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. +.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.. - .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 ) // .... + // method line 1384 + .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 0x18b6f + // 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 TaskFunctions::.ctor - .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. + // method line 1385 + .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.. - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0x18b7c + // 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 - .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_0012: ldloc.0 + IL_0013: ret + } // end of method TaskFunctions::Exists - .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. + // method line 1386 + .method public hidebysig + instance default class [mscorlib]System.Reflection.Assembly GetAssembly (string name) 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 ) // . - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // Method begins at RVA 0x18b9c + // Code size 61 (0x3d) + .maxstack 3 + .locals init ( + class NAnt.Core.TaskBuilder V_0, + class [mscorlib]System.Reflection.Assembly V_1) + 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 - .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. + 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_003b: ldloc.1 + IL_003c: ret + } // end of method TaskFunctions::GetAssembly - .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 + } // end of class NAnt.Core.Functions.TaskFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi serializable beforefieldinit Argument - extends NAnt.Core.Element + .class public auto ansi beforefieldinit PropertyFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. + .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 ) // .. - .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 1312 + // method line 1387 .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 0x1a1cd - // Code size 15 (0xf) + // Method begins at RVA 0x18be5 + // Code size 10 (0xa) .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_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 1313 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string 'value') cil managed + // method line 1388 + .method public hidebysig + instance default bool Exists (string name) cil managed { - // Method begins at RVA 0x1a1dd - // 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 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. - // method line 1314 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x1a1f4 - // 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 begins at RVA 0x18bf0 + // 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: 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 - // method line 1315 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.PathSet 'value') cil managed - { - // Method begins at RVA 0x1a20b - // 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 + IL_0018: ldloc.0 + IL_0019: ret + } // end of method PropertyFunctions::Exists - // method line 1316 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 1389 + .method public hidebysig + instance default bool IsReadOnly (string name) cil managed { - // Method begins at RVA 0x1a224 - // Code size 170 (0xaa) - .maxstack 1 + .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 begins at RVA 0x18c18 + // Code size 76 (0x4c) + .maxstack 3 .locals init ( - string V_0) + bool 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_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_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_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_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_004a: ldloc.0 + IL_004b: ret + } // end of method PropertyFunctions::IsReadOnly - 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 + // method line 1390 + .method public hidebysig + instance default bool IsDynamic (string name) 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.. - 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 + // Method begins at RVA 0x18c70 + // 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_0067: ldarg.0 - IL_0068: call instance string class NAnt.Core.Types.Argument::get_Value() - IL_006d: brfalse IL_0084 + 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_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_004a: ldloc.0 + IL_004b: ret + } // end of method PropertyFunctions::IsDynamic - IL_0084: ldarg.0 - IL_0085: call instance string class NAnt.Core.Types.Argument::get_Line() - IL_008a: brfalse IL_009c + } // end of class NAnt.Core.Functions.PropertyFunctions +} - 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 +.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 ) // .. - 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 1391 + .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 0x18cc8 + // 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 1317 - .method public hidebysig specialname - instance default string get_Value () cil managed + // method line 1392 + .method public hidebysig + instance default string GetName () cil managed { - // Method begins at RVA 0x1a2dc - // 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 0x18cd4 + // Code size 20 (0x14) .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 + 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_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_Value + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PlatformFunctions::GetName - // method line 1318 - .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed + // method line 1393 + .method public static hidebysig + default bool IsWin32 () cil managed { - // Method begins at RVA 0x1a2f7 - // 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::_value - IL_0008: ret - } // end of method Argument::set_Value + .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.. - // method line 1319 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed - { - // Method begins at RVA 0x1a304 - // Code size 15 (0xf) + .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 0x18cf4 + // Code size 14 (0xe) .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.Types.Argument::_file - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call bool class NAnt.Core.PlatformHelper::get_IsWindows() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_File + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PlatformFunctions::IsWin32 - // method line 1320 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 1394 + .method public static hidebysig + default bool IsWindows () cil managed { - // Method begins at RVA 0x1a31f - // Code size 9 (0x9) - .maxstack 8 + .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 0x18d10 + // Code size 14 (0xe) + .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.Core.Types.Argument::_file - IL_0008: ret - } // end of method Argument::set_File + IL_0001: call bool class NAnt.Core.PlatformHelper::get_IsWindows() + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 1321 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PlatformFunctions::IsWindows + + // method line 1395 + .method public static hidebysig + default bool IsUnix () cil managed { - // Method begins at RVA 0x1a32c - // Code size 15 (0xf) + .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 0x18d2c + // Code size 14 (0xe) .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.Types.Argument::_directory - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_Directory + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PlatformFunctions::IsUnix - // method line 1322 - .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + } // end of class NAnt.Core.Functions.PlatformFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit VersionFunctions + 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 07 56 65 72 73 69 // ...version.Versi + 6F 6E 00 00 ) // on.. + + + // method line 1396 + .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 0x1a347 - // Code size 9 (0x9) + // Method begins at RVA 0x18d46 + // 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.Types.Argument::_directory - IL_0008: ret - } // end of method Argument::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 VersionFunctions::.ctor - // method line 1323 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_Path () cil managed + // method line 1397 + .method public static hidebysig + default int32 GetMajor (class [mscorlib]System.Version version) cil managed { - // Method begins at RVA 0x1a354 + .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 0x18d54 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PathSet V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Major() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Argument::get_Path + } // end of method VersionFunctions::GetMajor - // method line 1324 - .method public hidebysig specialname - instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed + // method line 1398 + .method public static hidebysig + default int32 GetMinor (class [mscorlib]System.Version version) cil managed { - // Method begins at RVA 0x1a36f - // 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 + .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 line 1325 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_PathSet () cil managed - { - // Method begins at RVA 0x1a398 + // Method begins at RVA 0x18d70 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PathSet V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + 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 Argument::get_PathSet + } // end of method VersionFunctions::GetMinor - // method line 1326 - .method public hidebysig specialname - instance default void set_PathSet (class NAnt.Core.Types.PathSet 'value') cil managed + // method line 1399 + .method public static hidebysig + default int32 GetBuild (class [mscorlib]System.Version version) cil managed { - // Method begins at RVA 0x1a3b3 - // 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 + .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 1327 - .method public hidebysig specialname - instance default string get_Line () cil managed - { - // Method begins at RVA 0x1a3dc + // Method begins at RVA 0x18d8c // 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.Argument::_line + 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 Argument::get_Line + } // end of method VersionFunctions::GetBuild - // method line 1328 - .method public hidebysig specialname - instance default void set_Line (string 'value') cil managed + // method line 1400 + .method public static hidebysig + default int32 GetRevision (class [mscorlib]System.Version version) cil managed { - // Method begins at RVA 0x1a3f7 - // 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 + .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 1329 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x1a404 + // Method begins at RVA 0x18da8 // 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.Argument::_ifDefined + 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 Argument::get_IfDefined + } // end of method VersionFunctions::GetRevision - // method line 1330 - .method public hidebysig specialname - instance default void set_IfDefined (bool '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 1401 + .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 0x1a41f - // Code size 9 (0x9) + // Method begins at RVA 0x18dc3 + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Argument::_ifDefined - IL_0008: ret - } // end of method Argument::set_IfDefined + 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 1331 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 1402 + .method public static hidebysig + default class [mscorlib]System.Version Parse (string version) cil managed { - // Method begins at RVA 0x1a42c + .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 0x18dd0 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Argument::_unlessDefined + 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 Argument::get_UnlessDefined + } // end of method VersionConversionFunctions::Parse - // method line 1332 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 1403 + .method public static hidebysig + default string ToString (class [mscorlib]System.Version 'value') cil managed { - // Method begins at RVA 0x1a447 - // 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_0008: ret - } // end of method Argument::set_UnlessDefined + .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 line 1333 - .method assembly hidebysig specialname - instance default string get_StringValue () cil managed - { - // Method begins at RVA 0x1a454 - // Code size 127 (0x7f) + // Method begins at RVA 0x18dec + // 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.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: callvirt instance string object::ToString() + 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 VersionConversionFunctions::ToString - IL_0058: ldarg.0 - IL_0059: call instance string class NAnt.Core.Types.Argument::get_Line() - IL_005e: brfalse IL_0070 + } // end of class NAnt.Core.Functions.VersionConversionFunctions +} - 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 +.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_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_007d: ldloc.0 - IL_007e: ret - } // end of method Argument::get_StringValue + // method line 1404 + .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 0x18e07 + // 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 1334 - .method private static hidebysig - default string QuoteArgument (string argument) cil managed + // method line 1405 + .method public static hidebysig + default int32 Parse (string s) cil managed { - // Method begins at RVA 0x1a4e0 - // Code size 97 (0x61) - .maxstack 3 + .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 0x18e14 + // Code size 20 (0x14) + .maxstack 2 .locals init ( - string V_0) + int32 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 - - 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_005f: ldloc.0 - IL_0060: ret - } // end of method Argument::QuoteArgument - - .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.. - - .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 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 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.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.. + 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 - .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 IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method Int32ConversionFunctions::Parse - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1406 + .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.. - .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 UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + // Method begins at RVA 0x18e34 + // 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0013: ldloc.0 + IL_0014: ret + } // end of method Int32ConversionFunctions::ToString - .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 () - } - } // end of class NAnt.Core.Types.Argument + } // end of class NAnt.Core.Functions.Int32ConversionFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .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 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 ) // .. - .field private initonly class [mscorlib]System.Collections.ArrayList _list - // method line 1335 + // method line 1407 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary propDict) cil managed { - // Method begins at RVA 0x1a54d - // Code size 19 (0x13) + // Method begins at RVA 0x18e55 + // Code size 10 (0xa) .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 - - // method line 1336 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Pattern get_Item (int32 index) cil managed - { - // Method begins at RVA 0x1a564 - // 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 + 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 1337 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.Pattern 'value') cil managed + // method line 1408 + .method public static hidebysig + default int32 GetLength (string s) cil managed { - // Method begins at RVA 0x1a58a - // 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 + .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 line 1338 - .method private hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_List () cil managed - { - // Method begins at RVA 0x1a59c + // Method begins at RVA 0x18e60 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PatternCollection::_list + 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 PatternCollection::get_List + } // end of method StringFunctions::GetLength - // method line 1339 - .method public final virtual hidebysig newslot specialname - instance default int32 get_Count () cil managed + // method line 1409 + .method public static hidebysig + default string Substring (string str, int32 startIndex, int32 length) cil managed { - // Method begins at RVA 0x1a5b8 - // Code size 20 (0x14) - .maxstack 1 + .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 0x18e7c + // Code size 17 (0x11) + .maxstack 3 .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.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: 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_0012: ldloc.0 - IL_0013: ret - } // end of method PatternCollection::get_Count + IL_000f: ldloc.0 + IL_0010: ret + } // end of method StringFunctions::Substring - // method line 1340 - .method private final virtual hidebysig newslot - instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed + // method line 1410 + .method public static hidebysig + default bool StartsWith (string s1, string s2) cil managed { - // Method begins at RVA 0x1a5d8 - .override class [mscorlib]System.Collections.ICollection::CopyTo - // Code size 15 (0xf) - .maxstack 8 + .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 0x18e9c + // Code size 26 (0x1a) + .maxstack 3 + .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: 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_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 - // method line 1341 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.ICollection.get_IsSynchronized () cil managed + IL_0018: ldloc.0 + IL_0019: ret + } // end of method StringFunctions::StartsWith + + // method line 1411 + .method public static hidebysig + default bool EndsWith (string s1, string s2) cil managed { - // Method begins at RVA 0x1a5e8 - .override class [mscorlib]System.Collections.ICollection::get_IsSynchronized - // Code size 20 (0x14) - .maxstack 1 + .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 0x18ec4 + // Code size 26 (0x1a) + .maxstack 3 .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: callvirt instance bool class [mscorlib]System.Collections.ArrayList::get_IsSynchronized() - IL_000c: stloc.0 - IL_000d: br IL_0012 + 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_0012: ldloc.0 - IL_0013: ret - } // end of method PatternCollection::System.Collections.ICollection.get_IsSynchronized + IL_0018: ldloc.0 + IL_0019: ret + } // end of method StringFunctions::EndsWith - // method line 1342 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.ICollection.get_SyncRoot () cil managed + // method line 1412 + .method public static hidebysig + default string ToLower (string s) cil managed { - // Method begins at RVA 0x1a608 - .override class [mscorlib]System.Collections.ICollection::get_SyncRoot + .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.. + + // Method begins at RVA 0x18eec // Code size 20 (0x14) - .maxstack 1 + .maxstack 2 .locals init ( - object V_0) + string 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_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_0012: ldloc.0 IL_0013: ret - } // end of method PatternCollection::System.Collections.ICollection.get_SyncRoot + } // end of method StringFunctions::ToLower - // method line 1343 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 1413 + .method public static hidebysig + default string ToUpper (string s) cil managed { - // Method begins at RVA 0x1a628 - .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator + .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.. + + // Method begins at RVA 0x18f0c // Code size 20 (0x14) - .maxstack 1 + .maxstack 2 .locals init ( - class [mscorlib]System.Collections.IEnumerator V_0) + string 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_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 PatternCollection::System.Collections.IEnumerable.GetEnumerator + } // end of method StringFunctions::ToUpper - // method line 1344 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IList.get_Item (int32 index) cil managed + // method line 1414 + .method public static hidebysig + default string Replace (string str, string oldValue, string newValue) cil managed { - // Method begins at RVA 0x1a648 - .override class [mscorlib]System.Collections.IList::get_Item - // Code size 16 (0x10) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 72 65 70 6C 61 63 65 00 00 ) // ...replace.. + + // Method begins at RVA 0x18f2c + // Code size 17 (0x11) + .maxstack 3 .locals init ( - object V_0) + string 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 + IL_0003: ldarg.2 + IL_0004: callvirt instance string string::Replace(string, string) + IL_0009: stloc.0 + IL_000a: br IL_000f - IL_000e: ldloc.0 - IL_000f: ret - } // end of method PatternCollection::System.Collections.IList.get_Item + IL_000f: ldloc.0 + IL_0010: ret + } // end of method StringFunctions::Replace - // method line 1345 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IList.set_Item (int32 index, object 'value') cil managed + // method line 1415 + .method public static hidebysig + default bool Contains (string source, string 'value') cil managed { - // Method begins at RVA 0x1a664 - .override class [mscorlib]System.Collections.IList::set_Item - // Code size 81 (0x51) - .maxstack 3 - 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_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 + .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 line 1346 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.IList.get_IsFixedSize () cil managed - { - // Method begins at RVA 0x1a6c4 - .override class [mscorlib]System.Collections.IList::get_IsFixedSize - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0x18f4c + // Code size 33 (0x21) + .maxstack 4 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + 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_0008: ldloc.0 - IL_0009: ret - } // end of method PatternCollection::System.Collections.IList.get_IsFixedSize + IL_001f: ldloc.0 + IL_0020: ret + } // end of method StringFunctions::Contains - // method line 1347 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.IList.get_IsReadOnly () cil managed + // method line 1416 + .method public static hidebysig + default int32 IndexOf (string source, string 'value') cil managed { - // Method begins at RVA 0x1a6dc - .override class [mscorlib]System.Collections.IList::get_IsReadOnly - // Code size 10 (0xa) - .maxstack 1 + .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.. + + // Method begins at RVA 0x18f7c + // Code size 27 (0x1b) + .maxstack 4 .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_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_0008: ldloc.0 - IL_0009: ret - } // end of method PatternCollection::System.Collections.IList.get_IsReadOnly + IL_0019: ldloc.0 + IL_001a: ret + } // end of method StringFunctions::IndexOf - // method line 1348 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.Add (object 'value') cil managed + // method line 1417 + .method public static hidebysig + default int32 LastIndexOf (string source, string 'value') cil managed { - // Method begins at RVA 0x1a6f4 - .override class [mscorlib]System.Collections.IList::Add - // Code size 87 (0x57) - .maxstack 3 + .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 0x18fa4 + // Code size 27 (0x1b) + .maxstack 4 .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_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 - IL_0055: ldloc.0 - IL_0056: ret - } // end of method PatternCollection::System.Collections.IList.Add + IL_0019: ldloc.0 + IL_001a: ret + } // end of method StringFunctions::LastIndexOf - // method line 1349 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IList.Contains (object 'value') cil managed + // method line 1418 + .method public static hidebysig + default string PadLeft (string s, int32 totalWidth, string paddingChar) cil managed { - // Method begins at RVA 0x1a758 - .override class [mscorlib]System.Collections.IList::Contains - // Code size 87 (0x57) - .maxstack 3 + .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 0x18fcc + // Code size 23 (0x17) + .maxstack 4 .locals init ( - bool V_0) + string 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_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 - IL_0055: ldloc.0 - IL_0056: ret - } // end of method PatternCollection::System.Collections.IList.Contains + IL_0015: ldloc.0 + IL_0016: ret + } // end of method StringFunctions::PadLeft - // method line 1350 - .method public final virtual hidebysig newslot - instance default void Clear () cil managed + // method line 1419 + .method public static hidebysig + default string PadRight (string s, int32 totalWidth, string paddingChar) cil managed { - // Method begins at RVA 0x1a7bb - // 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 + .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 line 1351 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed - { - // Method begins at RVA 0x1a7cc - .override class [mscorlib]System.Collections.IList::IndexOf - // Code size 87 (0x57) - .maxstack 3 + // Method begins at RVA 0x18ff0 + // Code size 23 (0x17) + .maxstack 4 .locals init ( - int32 V_0) + string 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::IndexOf(class NAnt.Core.Types.Pattern) - IL_004f: stloc.0 - IL_0050: br IL_0055 + 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 - IL_0055: ldloc.0 - IL_0056: ret - } // end of method PatternCollection::System.Collections.IList.IndexOf + IL_0015: ldloc.0 + IL_0016: ret + } // end of method StringFunctions::PadRight - // method line 1352 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed + // method line 1420 + .method public static hidebysig + default string Trim (string s) cil managed { - // Method begins at RVA 0x1a830 - .override class [mscorlib]System.Collections.IList::Insert - // Code size 81 (0x51) - .maxstack 3 - 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_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 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 04 74 72 69 6D 00 00 ) // ...trim.. - // method line 1353 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Remove (object 'value') cil managed - { - // Method begins at RVA 0x1a890 - .override class [mscorlib]System.Collections.IList::Remove - // Code size 80 (0x50) - .maxstack 3 + // Method begins at RVA 0x19014 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string 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_0001: ldarg.0 + IL_0002: callvirt instance string string::Trim() + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method StringFunctions::Trim - // method line 1354 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.RemoveAt (int32 index) cil managed + // method line 1421 + .method public static hidebysig + default string TrimStart (string s) cil managed { - // Method begins at RVA 0x1a8ec - .override class [mscorlib]System.Collections.IList::RemoveAt - // 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 + .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 1355 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.Pattern item) cil managed - { - // Method begins at RVA 0x1a8fc - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x19030 + // 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.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_0002: callvirt instance string string::TrimStart() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PatternCollection::Add + IL_000d: ldloc.0 + IL_000e: ret + } // end of method StringFunctions::TrimStart - // method line 1356 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.Pattern[] items) cil managed + // method line 1422 + .method public static hidebysig + default string TrimEnd (string s) cil managed { - // Method begins at RVA 0x1a920 - // Code size 34 (0x22) - .maxstack 3 + .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 0x1904c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + string 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: callvirt instance string string::TrimEnd() + 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.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_000d: ldloc.0 + IL_000e: ret + } // end of method StringFunctions::TrimEnd - IL_0021: ret - } // end of method PatternCollection::AddRange + } // end of class NAnt.Core.Functions.StringFunctions +} - // method line 1357 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.PatternCollection items) cil managed - { - // Method begins at RVA 0x1a950 - // 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 +.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_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_0028: ret - } // end of method PatternCollection::AddRange + // method line 1423 + .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 0x19067 + // 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 - // method line 1358 + // method line 1424 .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.Pattern item) cil managed + instance default valuetype [mscorlib]System.DateTime GetCreationTime (string path) cil managed { - // Method begins at RVA 0x1a988 - // Code size 21 (0x15) - .maxstack 2 + .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 0x19074 + // Code size 62 (0x3e) + .maxstack 3 .locals init ( - bool V_0) + string V_0, + valuetype [mscorlib]System.DateTime V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_000e: ldloc.0 + IL_000f: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0014: brtrue IL_0030 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PatternCollection::Contains + 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 - // method line 1359 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.Pattern[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x1a9a9 - // 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_003c: ldloc.1 + IL_003d: ret + } // end of method DirectoryFunctions::GetCreationTime - // method line 1360 + // method line 1425 .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.Pattern item) cil managed + instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed { - // Method begins at RVA 0x1a9bc - // Code size 21 (0x15) - .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 0x190c0 + // Code size 62 (0x3e) + .maxstack 3 .locals init ( - int32 V_0) + string V_0, + valuetype [mscorlib]System.DateTime V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_000e: ldloc.0 + IL_000f: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0014: brtrue IL_0030 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PatternCollection::IndexOf + 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 1361 + IL_003c: ldloc.1 + IL_003d: ret + } // end of method DirectoryFunctions::GetLastWriteTime + + // method line 1426 .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.Pattern item) cil managed + instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed { - // Method begins at RVA 0x1a9dd - // Code size 15 (0xf) - .maxstack 8 + .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 0x1910c + // 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: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() 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_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 - // method line 1362 - .method public hidebysig - instance default class NAnt.Core.Types.PatternEnumerator GetEnumerator () cil managed + 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 + + // method line 1427 + .method public static hidebysig + default string GetCurrentDirectory () cil managed { - // Method begins at RVA 0x1a9f0 - // Code size 15 (0xf) + .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 0x19158 + // Code size 14 (0xe) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternEnumerator V_0) + string 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_0001: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PatternCollection::GetEnumerator + IL_000c: ldloc.0 + IL_000d: ret + } // end of method DirectoryFunctions::GetCurrentDirectory - // method line 1363 + // method line 1428 .method public hidebysig - instance default void Remove (class NAnt.Core.Types.Pattern item) cil managed + instance default string GetParentDirectory (string path) cil managed { - // Method begins at RVA 0x1aa0b - // Code size 14 (0xe) - .maxstack 8 + .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 0x19174 + // 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: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) - IL_000d: ret - } // end of method PatternCollection::Remove + 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 - .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_0020: ldloc.1 + IL_0021: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0026: br IL_0030 -.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_002b: ldsfld string [mscorlib]System.String::Empty + IL_0030: stloc.2 + IL_0031: br IL_0036 - // method line 1364 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.PatternCollection arguments) cil managed - { - // Method begins at RVA 0x1aa1c - // 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_0036: ldloc.2 + IL_0037: ret + } // end of method DirectoryFunctions::GetParentDirectory - // method line 1365 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Pattern get_Current () cil managed + // method line 1429 + .method public hidebysig + instance default string GetDirectoryRoot (string path) cil managed { - // Method begins at RVA 0x1aa40 - // Code size 25 (0x19) - .maxstack 1 + .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 0x191b8 + // Code size 33 (0x21) + .maxstack 2 .locals init ( - class NAnt.Core.Types.Pattern V_0) + string V_0, + string V_1) 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_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_0017: ldloc.0 - IL_0018: ret - } // end of method PatternEnumerator::get_Current + IL_001f: ldloc.1 + IL_0020: ret + } // end of method DirectoryFunctions::GetDirectoryRoot - // method line 1366 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 1430 + .method public hidebysig + instance default bool Exists (string path) cil managed { - // Method begins at RVA 0x1aa68 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 20 (0x14) - .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 0x191e8 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - object V_0) + bool 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_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_0012: ldloc.0 - IL_0013: ret - } // end of method PatternEnumerator::System.Collections.IEnumerator.get_Current + IL_0018: ldloc.0 + IL_0019: ret + } // end of method DirectoryFunctions::Exists - // method line 1367 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + // method line 1431 + .method public hidebysig + instance default string GetName (string path) cil managed { - // Method begins at RVA 0x1aa88 + .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 0x19210 // Code size 20 (0x14) .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.Core.Types.PatternEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + 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 IL_0012: ldloc.0 IL_0013: ret - } // end of method PatternEnumerator::MoveNext - - // method line 1368 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed - { - // Method begins at RVA 0x1aaa8 - // 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 + } // end of method DirectoryFunctions::GetName - .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 + } // end of class NAnt.Core.Functions.DirectoryFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Util { - .class public auto ansi beforefieldinit RawXml - extends NAnt.Core.Element + .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. - // method line 1369 + .field private valuetype NAnt.Core.Util.CommandLineArgumentTypes _argumentType + .field private string _name + .field private string _shortName + .field private string _description + + // method line 1432 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (valuetype NAnt.Core.Util.CommandLineArgumentTypes argumentType) cil managed { - // Method begins at RVA 0x1aab6 - // Code size 7 (0x7) + // Method begins at RVA 0x19230 + // 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 RawXml::.ctor + 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 1370 + // method line 1433 .method public hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNode get_Xml () cil managed + instance default valuetype NAnt.Core.Util.CommandLineArgumentTypes get_Type () cil managed { - // Method begins at RVA 0x1aac0 + // Method begins at RVA 0x19240 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System.Xml]System.Xml.XmlNode V_0) + valuetype NAnt.Core.Util.CommandLineArgumentTypes 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 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 RawXml::get_Xml - - // method line 1371 - .method family virtual hidebysig specialname - instance default bool get_CustomXmlProcessing () cil managed - { - // Method begins at RVA 0x1aadc - // 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 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.. - - .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 1372 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name, string 'value') cil managed - { - // Method begins at RVA 0x1aaf2 - // 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 1373 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x1ab10 - // 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 of method CommandLineArgumentAttribute::get_Type - // method line 1374 + // method line 1434 .method public hidebysig specialname - instance default string get_VariableName () cil managed + instance default string get_Name () cil managed { - // Method begins at RVA 0x1ab20 + // Method begins at RVA 0x1925c // 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_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 EnvironmentVariable::get_VariableName + } // end of method CommandLineArgumentAttribute::get_Name - // method line 1375 + // method line 1435 .method public hidebysig specialname - instance default void set_VariableName (string 'value') cil managed + instance default void set_Name (string 'value') cil managed { - // Method begins at RVA 0x1ab3b + // Method begins at RVA 0x19277 // 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_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_name IL_0008: ret - } // end of method EnvironmentVariable::set_VariableName + } // end of method CommandLineArgumentAttribute::set_Name - // method line 1376 + // method line 1436 .method public hidebysig specialname - instance default string get_LiteralValue () cil managed + instance default string get_ShortName () cil managed { - // Method begins at RVA 0x1ab48 + // Method begins at RVA 0x19284 // 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::_literalValue + 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 EnvironmentVariable::get_LiteralValue + } // end of method CommandLineArgumentAttribute::get_ShortName - // method line 1377 + // method line 1437 .method public hidebysig specialname - instance default void set_LiteralValue (string 'value') cil managed + instance default void set_ShortName (string 'value') cil managed { - // Method begins at RVA 0x1ab63 - // Code size 16 (0x10) + // Method begins at RVA 0x1929f + // 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::_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_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_shortName + IL_0008: ret + } // end of method CommandLineArgumentAttribute::set_ShortName - // method line 1378 + // method line 1438 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + instance default string get_Description () cil managed { - // Method begins at RVA 0x1ab74 + // Method begins at RVA 0x192ac // 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.EnvironmentVariable::_file + 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 EnvironmentVariable::get_File + } // end of method CommandLineArgumentAttribute::get_Description - // method line 1379 + // method line 1439 .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void set_Description (string 'value') cil managed { - // Method begins at RVA 0x1ab8f - // Code size 21 (0x15) + // Method begins at RVA 0x192c7 + // Code size 9 (0x9) .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.FileInfo NAnt.Core.Types.EnvironmentVariable::_file - IL_0014: ret - } // end of method EnvironmentVariable::set_File + IL_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_description + IL_0008: ret + } // end of method CommandLineArgumentAttribute::set_Description - // method line 1380 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed - { - // Method begins at RVA 0x1aba8 - // 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 + .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 +} - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_Directory +.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 - // method line 1381 - .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 1440 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.DateTimeProvider dtProvider) cil managed { - // Method begins at RVA 0x1abc3 - // Code size 21 (0x15) + // Method begins at RVA 0x192d1 + // 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 + + // method line 1441 + .method public hidebysig + instance default void PushStart () cil managed + { + // Method begins at RVA 0x192ec + // Code size 24 (0x18) .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_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 1382 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_Path () cil managed + // method line 1442 + .method public hidebysig + instance default valuetype [mscorlib]System.TimeSpan PopStop () cil managed { - // Method begins at RVA 0x1abdc - // Code size 15 (0xf) + // Method begins at RVA 0x19308 + // Code size 30 (0x1e) .maxstack 1 .locals init ( - class NAnt.Core.Types.PathSet V_0) + valuetype [mscorlib]System.TimeSpan 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_Path + IL_001c: ldloc.0 + IL_001d: ret + } // end of method StopWatchStack::PopStop - // method line 1383 - .method public hidebysig specialname - instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed + .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 1443 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.DateTimeProvider dtProvider) cil managed { - // Method begins at RVA 0x1abf7 - // Code size 21 (0x15) + // Method begins at RVA 0x19332 + // 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 1444 + .method public hidebysig + instance default valuetype [mscorlib]System.TimeSpan Elapsed () cil managed + { + // Method begins at RVA 0x19350 + // Code size 31 (0x1f) + .maxstack 2 + .locals init ( + valuetype [mscorlib]System.TimeSpan V_0) 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_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 - // method line 1384 + 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 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 1445 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentAttribute attribute, class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x1937c + // 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: 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 + + IL_0040: ldarg.0 + IL_0041: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_0046: brfalse IL_005d + + 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_005d: ldarg.0 + IL_005e: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_0063: brfalse IL_0075 + + 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_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_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_00a1: ldarg.0 + IL_00a2: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_00a7: brtrue IL_00b7 + + IL_00ac: ldarg.0 + IL_00ad: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_00b2: brfalse IL_00bf + + 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 1446 .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_PathSet () cil managed + instance default class [mscorlib]System.Reflection.PropertyInfo get_Property () cil managed { - // Method begins at RVA 0x1ac10 + // Method begins at RVA 0x1948c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PathSet V_0) + class [mscorlib]System.Reflection.PropertyInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path + 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 EnvironmentVariable::get_PathSet + } // end of method CommandLineArgument::get_Property - // method line 1385 + // method line 1447 .method public hidebysig specialname - instance default void set_PathSet (class NAnt.Core.Types.PathSet 'value') cil managed + instance default class [mscorlib]System.Type get_ValueType () cil managed { - // Method begins at RVA 0x1ac2b - // Code size 50 (0x32) - .maxstack 8 + // Method begins at RVA 0x194a8 + // Code size 48 (0x30) + .maxstack 1 + .locals init ( + class [mscorlib]System.Type V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.EnvironmentVariable::_path + IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0007: brtrue IL_0017 + + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_0012: brfalse IL_0022 + + 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 1448 + .method public hidebysig specialname + instance default string get_LongName () cil managed + { + // Method begins at RVA 0x194e4 + // 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_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_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_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_0040: ldloc.0 + IL_0041: ret + } // end of method CommandLineArgument::get_LongName + + // method line 1449 + .method public hidebysig specialname + instance default string get_ShortName () cil managed + { + // Method begins at RVA 0x19534 + // 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 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 + 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 1386 + 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 1450 .method public hidebysig specialname - instance default string get_Value () cil managed + instance default string get_Description () cil managed { - // Method begins at RVA 0x1ac60 - // Code size 15 (0xf) + // Method begins at RVA 0x19568 + // Code size 40 (0x28) .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_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0007: brfalse IL_001e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_Value + 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 1387 + 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_Description + + // method line 1451 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default bool get_IsRequired () cil managed + { + // Method begins at RVA 0x1959c + // 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 + 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 + + // method line 1452 + .method public hidebysig specialname + instance default bool get_SeenValue () cil managed { - // Method begins at RVA 0x1ac7c + // Method begins at RVA 0x195c0 // 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_0002: ldfld bool NAnt.Core.Util.CommandLineArgument::_seenValue IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EnvironmentVariable::get_IfDefined + } // end of method CommandLineArgument::get_SeenValue - // method line 1388 + // method line 1453 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default bool get_AllowMultiple () cil managed { - // Method begins at RVA 0x1ac97 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x195dc + // Code size 59 (0x3b) + .maxstack 3 + .locals init ( + bool V_0) 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 + IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0007: brtrue IL_0022 - // method line 1389 + 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 1454 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default bool get_Unique () cil managed { - // Method begins at RVA 0x1aca4 - // Code size 15 (0xf) + // Method begins at RVA 0x19624 + // 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 + + // method line 1455 + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_Type () cil managed + { + // Method begins at RVA 0x19648 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [mscorlib]System.Type 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_0012: ldloc.0 + IL_0013: ret + } // end of method CommandLineArgument::get_Type + + // method line 1456 + .method public hidebysig specialname + instance default bool get_IsCollection () cil managed + { + // Method begins at RVA 0x19668 + // Code size 20 (0x14) .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_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_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentVariable::get_UnlessDefined + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CommandLineArgument::get_IsCollection - // method line 1390 + // method line 1457 .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + instance default bool get_IsNameValueCollection () cil managed { - // Method begins at RVA 0x1acbf - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x19688 + // 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.Core.Types.EnvironmentVariable::_unlessDefined - IL_0008: ret - } // end of method EnvironmentVariable::set_UnlessDefined + 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 - .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_0012: ldloc.0 + IL_0013: ret + } // end of method CommandLineArgument::get_IsNameValueCollection - .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 1458 + .method public hidebysig specialname + instance default bool get_IsArray () cil managed + { + // Method begins at RVA 0x196a8 + // Code size 20 (0x14) + .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::IsArrayType(class [mscorlib]System.Type) + IL_000c: stloc.0 + IL_000d: br IL_0012 - .get instance default string NAnt.Core.Types.EnvironmentVariable::get_VariableName () - .set instance default void NAnt.Core.Types.EnvironmentVariable::set_VariableName (string 'value') + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CommandLineArgument::get_IsArray + + // method line 1459 + .method public hidebysig specialname + instance default bool get_IsDefault () cil managed + { + // Method begins at RVA 0x196c8 + // Code size 37 (0x25) + .maxstack 2 + .locals init ( + 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_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_0023: ldloc.0 + IL_0024: ret + } // end of method CommandLineArgument::get_IsDefault + + // method line 1460 + .method public hidebysig specialname + instance default bool get_IsExclusive () cil managed + { + // Method begins at RVA 0x196fc + // 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.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 + + // method line 1461 + .method public hidebysig + instance default void Finish (object destination) cil managed + { + // Method begins at RVA 0x19720 + .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 ( + 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: 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_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_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_006a: ldarg.0 + IL_006b: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0070: brfalse IL_0256 + + 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_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_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_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_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 + + 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_017a: nop + IL_017b: ldloc.3 + IL_017c: stloc.2 + IL_017d: br IL_0195 + + 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_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_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_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_0208: leave IL_0224 + + } // 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_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 + + } // 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_0256: ldarg.0 + IL_0257: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_025c: brfalse IL_0483 + + 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_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_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_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_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_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_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_038d: nop + IL_038e: ldloc.s 14 + IL_0390: stloc.s 13 + IL_0392: br IL_03aa + + 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_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_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_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_0435: leave IL_0451 + + } // 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_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 + + } // 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_0483: nop + IL_0484: ldarg.0 + IL_0485: ldfld object NAnt.Core.Util.CommandLineArgument::_argumentValue + IL_048a: brfalse IL_04ab + + 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 + + // method line 1462 + .method public hidebysig + instance default void SetValue (string 'value') cil managed + { + // Method begins at RVA 0x19c10 + // 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_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() + 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 "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_0058: ldarg.0 + IL_0059: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_005e: brfalse IL_00b7 + + 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_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_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 + + IL_00b7: ldarg.0 + IL_00b8: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_00bd: brfalse IL_00c9 + + IL_00c2: nop + IL_00c3: nop + IL_00c4: br IL_00d2 + + 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 1463 + .method private hidebysig + instance default object ParseValue (class [mscorlib]System.Type 'type', string stringData) cil managed + { + // Method begins at RVA 0x19cf0 + // 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 + + 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_001c: ldarg.2 + IL_001d: brfalse IL_002e + + IL_0022: ldarg.2 + IL_0023: callvirt instance int32 string::get_Length() + IL_0028: ldc.i4.0 + IL_0029: ble IL_0307 + + 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_0045: nop + IL_0046: ldarg.2 + IL_0047: stloc.0 + IL_0048: leave IL_0328 + + 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_0062: nop + IL_0063: ldarg.2 + IL_0064: brfalse IL_0079 + + IL_0069: ldarg.2 + IL_006a: ldstr "+" + IL_006f: call bool string::op_Equality(string, string) + IL_0074: brfalse IL_0086 + + IL_0079: nop + IL_007a: ldc.i4.1 + IL_007b: box [mscorlib]System.Boolean + IL_0080: stloc.0 + IL_0081: leave IL_0328 + + IL_0086: ldarg.2 + IL_0087: ldstr "-" + IL_008c: call bool string::op_Equality(string, string) + IL_0091: brfalse IL_00a3 + + IL_0096: nop + IL_0097: ldc.i4.0 + IL_0098: box [mscorlib]System.Boolean + IL_009d: stloc.0 + IL_009e: leave IL_0328 + + IL_00a3: nop + IL_00a4: br IL_02d6 + + IL_00a9: ldarg.1 + IL_00aa: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) + IL_00af: brfalse IL_0174 + + 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_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_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_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_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_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 + + } // 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_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 + + IL_01d9: leave IL_01f5 + + } // 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_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 + + 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_0280: ldarg.1 + IL_0281: callvirt instance bool class [mscorlib]System.Type::get_IsClass() + IL_0286: brfalse IL_02d4 + + 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_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 + + } // 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 + + // method line 1464 + .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 0x1a08c + // 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_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 + + // method line 1465 + .method private static hidebysig + default class [mscorlib]System.Type GetElementType (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x1a0d0 + // 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_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_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_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_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_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_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_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_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_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_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_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_013f: ldloc.s 5 + IL_0141: ret + } // end of method CommandLineArgument::GetElementType + + // method line 1466 + .method private static hidebysig + default bool IsNameValueCollectionType (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x1a220 + // 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 + + IL_0017: ldloc.0 + IL_0018: ret + } // end of method CommandLineArgument::IsNameValueCollectionType + + // method line 1467 + .method private static hidebysig + default bool IsCollectionType (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x1a248 + // 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_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_0021: ldc.i4.0 + IL_0022: stloc.0 + IL_0023: br IL_0028 + + IL_0028: ldloc.0 + IL_0029: ret + } // end of method CommandLineArgument::IsCollectionType + + // method line 1468 + .method private static hidebysig + default bool IsArrayType (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x1a280 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineArgument::IsArrayType + + .property instance class [mscorlib]System.Reflection.PropertyInfo Property () + { + .get instance default class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::get_Property () } - .property instance string LiteralValue () + .property instance class [mscorlib]System.Type ValueType () { - .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') + .get instance default class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::get_ValueType () } - .property instance class [mscorlib]System.IO.FileInfo File () + .property instance string LongName () { - .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') + .get instance default string NAnt.Core.Util.CommandLineArgument::get_LongName () } - .property instance class [mscorlib]System.IO.DirectoryInfo Directory () + .property instance string ShortName () { - .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') + .get instance default string NAnt.Core.Util.CommandLineArgument::get_ShortName () } - .property instance class NAnt.Core.Types.PathSet Path () + .property instance string Description () { - .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') + .get instance default string NAnt.Core.Util.CommandLineArgument::get_Description () } - .property instance class NAnt.Core.Types.PathSet PathSet () + .property instance bool IsRequired () { - .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') + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsRequired () } - .property instance string Value () + .property instance bool SeenValue () { - .get instance default string NAnt.Core.Types.EnvironmentVariable::get_Value () + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_SeenValue () } - .property instance bool IfDefined () + .property instance bool AllowMultiple () { - .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') + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_AllowMultiple () } - .property instance bool UnlessDefined () + .property instance bool Unique () { - .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') + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_Unique () } - } // end of class NAnt.Core.Types.EnvironmentVariable + .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 } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Util { - .class public auto ansi serializable beforefieldinit EnvironmentSet - extends NAnt.Core.Element + .class public auto ansi beforefieldinit CommandLineParser + 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 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 1391 + // method line 1469 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class [mscorlib]System.Type argumentSpecification, bool supportsResponseFile) cil managed { - // Method begins at RVA 0x1acc9 - // Code size 29 (0x1d) - .maxstack 8 + // Method begins at RVA 0x1a29c + // 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: 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 + 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 - // method line 1392 - .method public hidebysig specialname - instance default class NAnt.Core.Types.OptionCollection get_Options () cil managed + 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 1470 + .method public virtual hidebysig newslot specialname + instance default string get_LogoBanner () cil managed { - // Method begins at RVA 0x1ace8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1a37c + // Code size 634 (0x27a) + .maxstack 8 .locals init ( - class NAnt.Core.Types.OptionCollection V_0) + string V_0, + string V_1, + class [mscorlib]System.Version V_2, + string V_3, + string V_4, + string V_5, + valuetype [mscorlib]System.DateTime V_6, + class [mscorlib]System.Reflection.Assembly V_7, + object[] V_8, + class [mscorlib]System.Reflection.AssemblyProductAttribute V_9, + object[] V_10, + class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute V_11, + class [System]System.Diagnostics.FileVersionInfo V_12, + valuetype [mscorlib]System.DateTime V_13, + object[] V_14, + class [mscorlib]System.Reflection.AssemblyConfigurationAttribute V_15, + object[] V_16, + class [mscorlib]System.Reflection.AssemblyCopyrightAttribute V_17, + object[] V_18, + class [mscorlib]System.Reflection.AssemblyCompanyAttribute V_19, + class [mscorlib]System.Text.StringBuilder V_20, + string V_21) 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_0001: ldnull + IL_0002: stloc.3 + IL_0003: ldnull + IL_0004: stloc.s 4 + IL_0006: ldnull + IL_0007: stloc.s 5 + IL_0009: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetEntryAssembly() + IL_000e: stloc.s 7 + IL_0010: ldloc.s 7 + IL_0012: ldnull + IL_0013: call bool class [mscorlib]System.Reflection.Assembly::op_Equality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) + IL_0018: brfalse IL_0026 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentSet::get_Options + IL_001d: nop + IL_001e: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() + IL_0023: stloc.s 7 + IL_0025: nop + IL_0026: ldloc.s 7 + IL_0028: ldtoken [mscorlib]System.Reflection.AssemblyProductAttribute + IL_002d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0032: ldc.i4.0 + IL_0033: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0038: stloc.s 8 + IL_003a: ldloc.s 8 + IL_003c: ldlen + IL_003d: conv.i4 + IL_003e: ldc.i4.0 + IL_003f: ble IL_005e - // method line 1393 + IL_0044: nop + IL_0045: ldloc.s 8 + IL_0047: ldc.i4.0 + IL_0048: ldelem.ref + IL_0049: castclass [mscorlib]System.Reflection.AssemblyProductAttribute + IL_004e: stloc.s 9 + IL_0050: ldloc.s 9 + IL_0052: callvirt instance string class [mscorlib]System.Reflection.AssemblyProductAttribute::get_Product() + IL_0057: stloc.0 + IL_0058: nop + IL_0059: br IL_006d + + IL_005e: nop + IL_005f: ldloc.s 7 + IL_0061: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_0066: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_006b: stloc.0 + IL_006c: nop + IL_006d: ldloc.s 7 + IL_006f: ldtoken [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute + IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0079: ldc.i4.0 + IL_007a: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_007f: stloc.s 10 + IL_0081: ldloc.s 10 + IL_0083: ldlen + IL_0084: conv.i4 + IL_0085: ldc.i4.0 + IL_0086: ble IL_00a5 + + IL_008b: nop + IL_008c: ldloc.s 10 + IL_008e: ldc.i4.0 + IL_008f: ldelem.ref + IL_0090: castclass [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute + IL_0095: stloc.s 11 + IL_0097: ldloc.s 11 + IL_0099: callvirt instance string class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute::get_InformationalVersion() + IL_009e: stloc.1 + IL_009f: nop + IL_00a0: br IL_0115 + + IL_00a5: nop + IL_00a6: ldloc.s 7 + IL_00a8: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_00ad: call class [System]System.Diagnostics.FileVersionInfo class [System]System.Diagnostics.FileVersionInfo::GetVersionInfo(string) + IL_00b2: stloc.s 12 + IL_00b4: ldc.i4.7 + IL_00b5: newarr [mscorlib]System.Object + IL_00ba: dup + IL_00bb: ldc.i4.0 + IL_00bc: ldloc.s 12 + IL_00be: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileMajorPart() + IL_00c3: box [mscorlib]System.Int32 + IL_00c8: stelem.ref + IL_00c9: dup + IL_00ca: ldc.i4.1 + IL_00cb: ldstr "." + IL_00d0: stelem.ref + IL_00d1: dup + IL_00d2: ldc.i4.2 + IL_00d3: ldloc.s 12 + IL_00d5: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileMinorPart() + IL_00da: box [mscorlib]System.Int32 + IL_00df: stelem.ref + IL_00e0: dup + IL_00e1: ldc.i4.3 + IL_00e2: ldstr "." + IL_00e7: stelem.ref + IL_00e8: dup + IL_00e9: ldc.i4.4 + IL_00ea: ldloc.s 12 + IL_00ec: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileBuildPart() + IL_00f1: box [mscorlib]System.Int32 + IL_00f6: stelem.ref + IL_00f7: dup + IL_00f8: ldc.i4.5 + IL_00f9: ldstr "." + IL_00fe: stelem.ref + IL_00ff: dup + IL_0100: ldc.i4.6 + IL_0101: ldloc.s 12 + IL_0103: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FilePrivatePart() + IL_0108: box [mscorlib]System.Int32 + IL_010d: stelem.ref + IL_010e: call string string::Concat(object[]) + IL_0113: stloc.1 + IL_0114: nop + IL_0115: ldloc.s 7 + IL_0117: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_011c: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_0121: stloc.2 + IL_0122: ldloca.s 13 + IL_0124: ldc.i4 2000 + IL_0129: ldc.i4.1 + IL_012a: ldc.i4.1 + IL_012b: call instance void valuetype [mscorlib]System.DateTime::'.ctor'(int32, int32, int32) + IL_0130: ldloca.s 13 + IL_0132: ldloc.2 + IL_0133: callvirt instance int32 class [mscorlib]System.Version::get_Build() + IL_0138: conv.r8 + IL_0139: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::AddDays(float64) + IL_013e: stloc.s 6 + IL_0140: ldloc.s 7 + IL_0142: ldtoken [mscorlib]System.Reflection.AssemblyConfigurationAttribute + IL_0147: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_014c: ldc.i4.0 + IL_014d: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0152: stloc.s 14 + IL_0154: ldloc.s 14 + IL_0156: ldlen + IL_0157: conv.i4 + IL_0158: ldc.i4.0 + IL_0159: ble IL_0173 + + IL_015e: nop + IL_015f: ldloc.s 14 + IL_0161: ldc.i4.0 + IL_0162: ldelem.ref + IL_0163: castclass [mscorlib]System.Reflection.AssemblyConfigurationAttribute + IL_0168: stloc.s 15 + IL_016a: ldloc.s 15 + IL_016c: callvirt instance string class [mscorlib]System.Reflection.AssemblyConfigurationAttribute::get_Configuration() + IL_0171: stloc.3 + IL_0172: nop + IL_0173: ldloc.s 7 + IL_0175: ldtoken [mscorlib]System.Reflection.AssemblyCopyrightAttribute + IL_017a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_017f: ldc.i4.0 + IL_0180: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0185: stloc.s 16 + IL_0187: ldloc.s 16 + IL_0189: ldlen + IL_018a: conv.i4 + IL_018b: ldc.i4.0 + IL_018c: ble IL_01a7 + + IL_0191: nop + IL_0192: ldloc.s 16 + IL_0194: ldc.i4.0 + IL_0195: ldelem.ref + IL_0196: castclass [mscorlib]System.Reflection.AssemblyCopyrightAttribute + IL_019b: stloc.s 17 + IL_019d: ldloc.s 17 + IL_019f: callvirt instance string class [mscorlib]System.Reflection.AssemblyCopyrightAttribute::get_Copyright() + IL_01a4: stloc.s 4 + IL_01a6: nop + IL_01a7: ldloc.s 7 + IL_01a9: ldtoken [mscorlib]System.Reflection.AssemblyCompanyAttribute + IL_01ae: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01b3: ldc.i4.0 + IL_01b4: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_01b9: stloc.s 18 + IL_01bb: ldloc.s 18 + IL_01bd: ldlen + IL_01be: conv.i4 + IL_01bf: ldc.i4.0 + IL_01c0: ble IL_01db + + IL_01c5: nop + IL_01c6: ldloc.s 18 + IL_01c8: ldc.i4.0 + IL_01c9: ldelem.ref + IL_01ca: castclass [mscorlib]System.Reflection.AssemblyCompanyAttribute + IL_01cf: stloc.s 19 + IL_01d1: ldloc.s 19 + IL_01d3: callvirt instance string class [mscorlib]System.Reflection.AssemblyCompanyAttribute::get_Company() + IL_01d8: stloc.s 5 + IL_01da: nop + IL_01db: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_01e0: stloc.s 20 + IL_01e2: ldloc.s 20 + IL_01e4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01e9: ldstr "String_BuildBanner" + IL_01ee: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01f3: ldc.i4.5 + IL_01f4: newarr [mscorlib]System.Object + IL_01f9: dup + IL_01fa: ldc.i4.0 + IL_01fb: ldloc.0 + IL_01fc: stelem.ref + IL_01fd: dup + IL_01fe: ldc.i4.1 + IL_01ff: ldloc.1 + IL_0200: stelem.ref + IL_0201: dup + IL_0202: ldc.i4.2 + IL_0203: ldloc.2 + IL_0204: ldc.i4.4 + IL_0205: callvirt instance string class [mscorlib]System.Version::ToString(int32) + IL_020a: stelem.ref + IL_020b: dup + IL_020c: ldc.i4.3 + IL_020d: ldloc.3 + IL_020e: stelem.ref + IL_020f: dup + IL_0210: ldc.i4.4 + IL_0211: ldloca.s 6 + IL_0213: call instance string valuetype [mscorlib]System.DateTime::ToShortDateString() + IL_0218: stelem.ref + IL_0219: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object[]) + IL_021e: pop + IL_021f: ldloc.s 4 + IL_0221: call bool string::IsNullOrEmpty(string) + IL_0226: brtrue IL_0244 + + IL_022b: nop + IL_022c: ldloc.s 20 + IL_022e: call string class [mscorlib]System.Environment::get_NewLine() + IL_0233: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0238: pop + IL_0239: ldloc.s 20 + IL_023b: ldloc.s 4 + IL_023d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0242: pop + IL_0243: nop + IL_0244: ldloc.s 5 + IL_0246: call bool string::IsNullOrEmpty(string) + IL_024b: brtrue IL_0269 + + IL_0250: nop + IL_0251: ldloc.s 20 + IL_0253: call string class [mscorlib]System.Environment::get_NewLine() + IL_0258: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_025d: pop + IL_025e: ldloc.s 20 + IL_0260: ldloc.s 5 + IL_0262: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0267: pop + IL_0268: nop + IL_0269: ldloc.s 20 + IL_026b: callvirt instance string object::ToString() + IL_0270: stloc.s 21 + IL_0272: br IL_0277 + + IL_0277: ldloc.s 21 + IL_0279: ret + } // end of method CommandLineParser::get_LogoBanner + + // method line 1471 + .method public virtual hidebysig newslot specialname + instance default string get_Usage () cil managed + { + // Method begins at RVA 0x1a604 + // Code size 805 (0x325) + .maxstack 5 + .locals init ( + class [mscorlib]System.Text.StringBuilder V_0, + class [mscorlib]System.Reflection.Assembly V_1, + class NAnt.Core.Util.CommandLineArgument V_2, + class NAnt.Core.Util.CommandLineArgumentEnumerator V_3, + string V_4, + string 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: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetEntryAssembly() + IL_000c: stloc.1 + IL_000d: ldloc.1 + IL_000e: ldnull + IL_000f: call bool class [mscorlib]System.Reflection.Assembly::op_Equality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) + IL_0014: brfalse IL_0021 + + IL_0019: nop + IL_001a: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() + IL_001f: stloc.1 + IL_0020: nop + IL_0021: ldloc.0 + IL_0022: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0027: ldc.i4.0 + IL_0028: ble IL_003b + + IL_002d: nop + IL_002e: ldloc.0 + IL_002f: call string class [mscorlib]System.Environment::get_NewLine() + IL_0034: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0039: pop + IL_003a: nop + IL_003b: ldloc.0 + IL_003c: ldstr "Usage : " + IL_0041: ldloc.1 + IL_0042: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_0047: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_004c: ldstr " [options]" + IL_0051: call string string::Concat(string, string, string) + IL_0056: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_005b: pop + IL_005c: ldarg.0 + IL_005d: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0062: brfalse IL_00c9 + + IL_0067: nop + IL_0068: ldloc.0 + IL_0069: ldstr " <" + IL_006e: ldarg.0 + IL_006f: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0074: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0079: ldstr ">" + IL_007e: call string string::Concat(string, string, string) + IL_0083: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0088: pop + IL_0089: ldarg.0 + IL_008a: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_008f: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() + IL_0094: brfalse IL_00c8 + + IL_0099: nop + IL_009a: ldloc.0 + IL_009b: ldstr " <" + IL_00a0: ldarg.0 + IL_00a1: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_00a6: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_00ab: ldstr ">" + IL_00b0: call string string::Concat(string, string, string) + IL_00b5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00ba: pop + IL_00bb: ldloc.0 + IL_00bc: ldstr " ..." + IL_00c1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00c6: pop + IL_00c7: nop + IL_00c8: nop + IL_00c9: ldloc.0 + IL_00ca: call string class [mscorlib]System.Environment::get_NewLine() + IL_00cf: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00d4: pop + IL_00d5: ldloc.0 + IL_00d6: ldstr "Options : " + IL_00db: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00e0: pop + IL_00e1: ldloc.0 + IL_00e2: call string class [mscorlib]System.Environment::get_NewLine() + IL_00e7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00ec: pop + IL_00ed: ldloc.0 + IL_00ee: call string class [mscorlib]System.Environment::get_NewLine() + IL_00f3: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00f8: pop + IL_00f9: nop + IL_00fa: ldarg.0 + IL_00fb: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_0100: callvirt instance class NAnt.Core.Util.CommandLineArgumentEnumerator class NAnt.Core.Util.CommandLineArgumentCollection::GetEnumerator() + IL_0105: stloc.3 + .try { // 0 + IL_0106: br IL_02bb + + IL_010b: ldloc.3 + IL_010c: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current() + IL_0111: stloc.2 + IL_0112: nop + IL_0113: ldstr "" + IL_0118: stloc.s 4 + IL_011a: ldloc.2 + IL_011b: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_0120: ldtoken [mscorlib]System.String + IL_0125: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_012a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_012f: brfalse IL_0142 + + IL_0134: nop + IL_0135: ldstr ":" + IL_013a: stloc.s 4 + IL_013c: nop + IL_013d: br IL_01ec + + IL_0142: ldloc.2 + IL_0143: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_0148: ldtoken [mscorlib]System.Boolean + IL_014d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0152: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0157: brfalse IL_016a + + IL_015c: nop + IL_015d: ldstr "[+|-]" + IL_0162: stloc.s 4 + IL_0164: nop + IL_0165: br IL_01ec + + IL_016a: ldloc.2 + IL_016b: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_0170: ldtoken [mscorlib]System.IO.FileInfo + IL_0175: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_017a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_017f: brfalse IL_0192 + + IL_0184: nop + IL_0185: ldstr ":" + IL_018a: stloc.s 4 + IL_018c: nop + IL_018d: br IL_01ec + + IL_0192: ldloc.2 + IL_0193: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_0198: ldtoken [mscorlib]System.Int32 + IL_019d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01a2: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_01a7: brfalse IL_01ba + + IL_01ac: nop + IL_01ad: ldstr ":" + IL_01b2: stloc.s 4 + IL_01b4: nop + IL_01b5: br IL_01ec + + IL_01ba: ldloc.2 + IL_01bb: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_01c0: brfalse IL_01d3 + + IL_01c5: nop + IL_01c6: ldstr ":=" + IL_01cb: stloc.s 4 + IL_01cd: nop + IL_01ce: br IL_01ec + + IL_01d3: nop + IL_01d4: ldstr ":" + IL_01d9: ldloc.2 + IL_01da: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_01df: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_01e4: call string string::Concat(string, string) + IL_01e9: stloc.s 4 + IL_01eb: nop + IL_01ec: ldloc.2 + IL_01ed: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_01f2: stloc.s 5 + IL_01f4: ldloc.2 + IL_01f5: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_01fa: brfalse IL_028c + + IL_01ff: nop + IL_0200: ldloc.2 + IL_0201: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0206: ldloc.2 + IL_0207: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_020c: callvirt instance bool string::StartsWith(string) + IL_0211: brfalse IL_023b + + IL_0216: nop + IL_0217: ldloc.s 5 + IL_0219: ldloc.2 + IL_021a: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_021f: callvirt instance int32 string::get_Length() + IL_0224: ldstr "[" + IL_0229: callvirt instance string string::Insert(int32, string) + IL_022e: ldstr "]" + IL_0233: call string string::Concat(string, string) + IL_0238: stloc.s 5 + IL_023a: nop + IL_023b: ldloc.0 + IL_023c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0241: ldstr " -{0,-30}{1}" + IL_0246: ldloc.s 5 + IL_0248: ldloc.s 4 + IL_024a: call string string::Concat(string, string) + IL_024f: ldloc.2 + IL_0250: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_Description() + IL_0255: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object, object) + IL_025a: pop + IL_025b: ldloc.s 5 + IL_025d: ldloc.2 + IL_025e: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_0263: callvirt instance bool string::StartsWith(string) + IL_0268: brtrue IL_0286 + + IL_026d: nop + IL_026e: ldloc.0 + IL_026f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0274: ldstr " (Short format: /{0})" + IL_0279: ldloc.2 + IL_027a: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_027f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_0284: pop + IL_0285: nop + IL_0286: nop + IL_0287: br IL_02ae + + IL_028c: nop + IL_028d: ldloc.0 + IL_028e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0293: ldstr " -{0,-30}{1}" + IL_0298: ldloc.s 5 + IL_029a: ldloc.s 4 + IL_029c: call string string::Concat(string, string) + IL_02a1: ldloc.2 + IL_02a2: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_Description() + IL_02a7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object, object) + IL_02ac: pop + IL_02ad: nop + IL_02ae: ldloc.0 + IL_02af: call string class [mscorlib]System.Environment::get_NewLine() + IL_02b4: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_02b9: pop + IL_02ba: nop + IL_02bb: ldloc.3 + IL_02bc: callvirt instance bool class NAnt.Core.Util.CommandLineArgumentEnumerator::MoveNext() + IL_02c1: brtrue IL_010b + + IL_02c6: leave IL_02e1 + + } // end .try 0 + finally { // 0 + IL_02cb: ldloc.3 + IL_02cc: isinst [mscorlib]System.IDisposable + IL_02d1: dup + IL_02d2: stloc.s 6 + IL_02d4: brfalse IL_02e0 + + IL_02d9: ldloc.s 6 + IL_02db: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02e0: endfinally + } // end handler 0 + IL_02e1: ldarg.0 + IL_02e2: ldfld bool NAnt.Core.Util.CommandLineParser::_supportsResponseFile + IL_02e7: brfalse IL_0315 + + IL_02ec: nop + IL_02ed: ldloc.0 + IL_02ee: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02f3: ldstr " {0,-31}{1}" + IL_02f8: ldstr "@" + IL_02fd: ldstr "Insert command-line settings from a text file." + IL_0302: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0307: pop + IL_0308: ldloc.0 + IL_0309: call string class [mscorlib]System.Environment::get_NewLine() + IL_030e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0313: pop + IL_0314: nop + IL_0315: ldloc.0 + IL_0316: callvirt instance string object::ToString() + IL_031b: stloc.s 7 + IL_031d: br IL_0322 + + IL_0322: ldloc.s 7 + IL_0324: ret + } // end of method CommandLineParser::get_Usage + + // method line 1472 .method public hidebysig specialname - instance default void set_Options (class NAnt.Core.Types.OptionCollection 'value') cil managed + instance default bool get_NoArgs () cil managed { - // Method begins at RVA 0x1ad03 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x1a954 + // Code size 121 (0x79) + .maxstack 2 + .locals init ( + class NAnt.Core.Util.CommandLineArgument V_0, + class NAnt.Core.Util.CommandLineArgumentEnumerator V_1, + bool V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: ldarg.0 + IL_0001: nop + IL_0002: ldarg.0 + IL_0003: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_0008: callvirt instance class NAnt.Core.Util.CommandLineArgumentEnumerator class NAnt.Core.Util.CommandLineArgumentCollection::GetEnumerator() + IL_000d: stloc.1 + .try { // 0 + IL_000e: br IL_002f + + IL_0013: ldloc.1 + IL_0014: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current() + IL_0019: stloc.0 + IL_001a: nop + IL_001b: ldloc.0 + IL_001c: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() + IL_0021: brfalse IL_002e + + IL_0026: nop + IL_0027: ldc.i4.1 + IL_0028: stloc.2 + IL_0029: leave IL_0077 + + IL_002e: nop + IL_002f: ldloc.1 + IL_0030: callvirt instance bool class NAnt.Core.Util.CommandLineArgumentEnumerator::MoveNext() + IL_0035: brtrue IL_0013 + + IL_003a: leave IL_0053 + + } // end .try 0 + finally { // 0 + IL_003f: ldloc.1 + IL_0040: isinst [mscorlib]System.IDisposable + IL_0045: dup + IL_0046: stloc.3 + IL_0047: brfalse IL_0052 + + IL_004c: ldloc.3 + IL_004d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0052: endfinally + } // end handler 0 + IL_0053: ldarg.0 + IL_0054: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0059: brfalse IL_0070 + + IL_005e: nop + IL_005f: ldarg.0 + IL_0060: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0065: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() + IL_006a: stloc.2 + IL_006b: br IL_0077 + + IL_0070: ldc.i4.0 + IL_0071: stloc.2 + IL_0072: br IL_0077 + + IL_0077: ldloc.2 + IL_0078: ret + } // end of method CommandLineParser::get_NoArgs + + // method line 1473 + .method public hidebysig + instance default void Parse (string[] args, object destination) cil managed + { + // Method begins at RVA 0x1a9ec + // Code size 156 (0x9c) + .maxstack 2 + .locals init ( + class NAnt.Core.Util.CommandLineArgument V_0, + class NAnt.Core.Util.CommandLineArgumentEnumerator V_1, + class [mscorlib]System.IDisposable V_2) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: brtrue IL_0013 + + IL_0007: nop + IL_0008: ldstr "destination" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: ldfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineParser::_argumentSpecification + IL_0019: ldarg.2 + IL_001a: callvirt instance class [mscorlib]System.Type object::GetType() + IL_001f: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0024: brtrue IL_0035 + + IL_0029: nop + IL_002a: ldstr "Type of destination does not match type of argument specification." + IL_002f: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0034: throw + IL_0035: ldarg.0 + IL_0036: ldarg.1 + IL_0037: call instance void class NAnt.Core.Util.CommandLineParser::ParseArgumentList(string[]) + IL_003c: nop + IL_003d: ldarg.0 + IL_003e: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_0043: callvirt instance class NAnt.Core.Util.CommandLineArgumentEnumerator class NAnt.Core.Util.CommandLineArgumentCollection::GetEnumerator() + IL_0048: stloc.1 + .try { // 0 + IL_0049: br IL_005e + + IL_004e: ldloc.1 + IL_004f: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current() + IL_0054: stloc.0 + IL_0055: nop + IL_0056: ldloc.0 + IL_0057: ldarg.2 + IL_0058: callvirt instance void class NAnt.Core.Util.CommandLineArgument::Finish(object) + IL_005d: nop + IL_005e: ldloc.1 + IL_005f: callvirt instance bool class NAnt.Core.Util.CommandLineArgumentEnumerator::MoveNext() + IL_0064: brtrue IL_004e + + IL_0069: leave IL_0082 + + } // end .try 0 + finally { // 0 + IL_006e: ldloc.1 + IL_006f: isinst [mscorlib]System.IDisposable + IL_0074: dup + IL_0075: stloc.2 + IL_0076: brfalse IL_0081 + + IL_007b: ldloc.2 + IL_007c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0081: endfinally + } // end handler 0 + IL_0082: ldarg.0 + IL_0083: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0088: brfalse IL_009b + + IL_008d: nop + IL_008e: ldarg.0 + IL_008f: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0094: ldarg.2 + IL_0095: callvirt instance void class NAnt.Core.Util.CommandLineArgument::Finish(object) + IL_009a: nop + IL_009b: ret + } // end of method CommandLineParser::Parse + + // method line 1474 + .method private hidebysig + instance default string[] ParseArguments (string sourceString, char[] delimiters) cil managed + { + // Method begins at RVA 0x1aaa4 + // Code size 208 (0xd0) + .maxstack 3 + .locals init ( + bool V_0, + class [mscorlib]System.Text.StringBuilder V_1, + class [System]System.Collections.Specialized.StringCollection V_2, + char V_3, + string V_4, + int32 V_5, + string[] V_6, + string[] V_7) + IL_0000: nop + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0008: stloc.1 + IL_0009: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_000e: stloc.2 + IL_000f: nop + IL_0010: ldarg.1 + IL_0011: stloc.s 4 + IL_0013: ldc.i4.0 + IL_0014: stloc.s 5 + IL_0016: br IL_0085 + + IL_001b: ldloc.s 4 + IL_001d: ldloc.s 5 + IL_001f: callvirt instance char string::get_Chars(int32) + IL_0024: stloc.3 + IL_0025: nop + IL_0026: ldloc.3 + IL_0027: ldc.i4.s 0x22 + IL_0029: bne.un IL_0039 + + IL_002e: nop + IL_002f: ldloc.0 + IL_0030: ldc.i4.0 + IL_0031: ceq + IL_0033: stloc.0 + IL_0034: br IL_007f + + IL_0039: ldloc.0 + IL_003a: brtrue IL_0074 + + IL_003f: ldloc.3 + IL_0040: ldarg.2 + IL_0041: call bool class NAnt.Core.Util.CommandLineParser::IsDelimiter(char, char[]) + IL_0046: brfalse IL_0074 + + IL_004b: nop + IL_004c: ldloc.1 + IL_004d: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0052: ldc.i4.0 + IL_0053: ble IL_006e + + IL_0058: nop + IL_0059: ldloc.2 + IL_005a: ldloc.1 + IL_005b: callvirt instance string object::ToString() + IL_0060: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0065: pop + IL_0066: ldloc.1 + IL_0067: ldc.i4.0 + IL_0068: callvirt instance void class [mscorlib]System.Text.StringBuilder::set_Length(int32) + IL_006d: nop + IL_006e: nop + IL_006f: br IL_007e + + IL_0074: nop + IL_0075: ldloc.1 + IL_0076: ldloc.3 + IL_0077: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_007c: pop + IL_007d: nop + IL_007e: nop + IL_007f: ldloc.s 5 + IL_0081: ldc.i4.1 + IL_0082: add + IL_0083: stloc.s 5 + IL_0085: ldloc.s 5 + IL_0087: ldloc.s 4 + IL_0089: callvirt instance int32 string::get_Length() + IL_008e: blt IL_001b + + IL_0093: ldloc.1 + IL_0094: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0099: ldc.i4.0 + IL_009a: ble IL_00ae + + IL_009f: nop + IL_00a0: ldloc.2 + IL_00a1: ldloc.1 + IL_00a2: callvirt instance string object::ToString() + IL_00a7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00ac: pop + IL_00ad: nop + IL_00ae: ldloc.2 + IL_00af: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00b4: newarr [mscorlib]System.String + IL_00b9: stloc.s 6 + IL_00bb: ldloc.2 + IL_00bc: ldloc.s 6 + IL_00be: ldc.i4.0 + IL_00bf: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) + IL_00c4: ldloc.s 6 + IL_00c6: stloc.s 7 + IL_00c8: br IL_00cd + + IL_00cd: ldloc.s 7 + IL_00cf: ret + } // end of method CommandLineParser::ParseArguments + + // method line 1475 + .method private static hidebysig + default bool IsDelimiter (char c, char[] delimiters) cil managed + { + // Method begins at RVA 0x1ab80 + // Code size 54 (0x36) + .maxstack 2 + .locals init ( + char V_0, + char[] V_1, + int32 V_2, + bool V_3) + IL_0000: nop + IL_0001: nop 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_0003: stloc.1 + IL_0004: ldc.i4.0 + IL_0005: stloc.2 + IL_0006: br IL_0024 - // method line 1394 - .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentVariableCollection get_EnvironmentVariables () cil managed + IL_000b: ldloc.1 + IL_000c: ldloc.2 + IL_000d: ldelem.u2 + IL_000e: stloc.0 + IL_000f: nop + IL_0010: ldarg.0 + IL_0011: ldloc.0 + IL_0012: bne.un IL_001f + + IL_0017: nop + IL_0018: ldc.i4.1 + IL_0019: stloc.3 + IL_001a: br IL_0034 + + IL_001f: nop + IL_0020: ldloc.2 + IL_0021: ldc.i4.1 + IL_0022: add + IL_0023: stloc.2 + IL_0024: ldloc.2 + IL_0025: ldloc.1 + IL_0026: ldlen + IL_0027: conv.i4 + IL_0028: blt IL_000b + + IL_002d: ldc.i4.0 + IL_002e: stloc.3 + IL_002f: br IL_0034 + + IL_0034: ldloc.3 + IL_0035: ret + } // end of method CommandLineParser::IsDelimiter + + // method line 1476 + .method private hidebysig + instance default void ProcessResponseFile (string file) cil managed { - // Method begins at RVA 0x1ad10 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1abc4 + // Code size 148 (0x94) + .maxstack 4 .locals init ( - class NAnt.Core.Types.EnvironmentVariableCollection V_0) + char[] V_0, + class [System]System.Collections.Specialized.StringCollection V_1, + class [mscorlib]System.IO.StreamReader V_2, + string V_3, + string[] V_4) 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_0001: ldc.i4.2 + IL_0002: newarr [mscorlib]System.Char + IL_0007: dup + IL_0008: ldc.i4.0 + IL_0009: ldc.i4.s 0x20 + IL_000b: stelem.i2 + IL_000c: dup + IL_000d: ldc.i4.1 + IL_000e: ldc.i4.s 0x09 + IL_0010: stelem.i2 + IL_0011: stloc.0 + IL_0012: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0017: stloc.1 + IL_0018: ldarg.1 + IL_0019: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_001e: ldc.i4.1 + IL_001f: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) + IL_0024: stloc.2 + .try { // 0 + IL_0025: nop + IL_0026: br IL_0055 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentSet::get_EnvironmentVariables + IL_002b: nop + IL_002c: ldloc.3 + IL_002d: ldloc.0 + IL_002e: callvirt instance string string::Trim(char[]) + IL_0033: stloc.3 + IL_0034: ldloc.3 + IL_0035: ldstr "#" + IL_003a: callvirt instance bool string::StartsWith(string) + IL_003f: brtrue IL_0054 - // method line 1395 - .method public hidebysig specialname - instance default void set_EnvironmentVariables (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed + IL_0044: nop + IL_0045: ldloc.1 + IL_0046: ldarg.0 + IL_0047: ldloc.3 + IL_0048: ldloc.0 + IL_0049: call instance string[] class NAnt.Core.Util.CommandLineParser::ParseArguments(string, char[]) + IL_004e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_0053: nop + IL_0054: nop + IL_0055: ldloc.2 + IL_0056: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_005b: dup + IL_005c: stloc.3 + IL_005d: brtrue IL_002b + + IL_0062: ldloc.1 + IL_0063: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0068: newarr [mscorlib]System.String + IL_006d: stloc.s 4 + IL_006f: ldloc.1 + IL_0070: ldloc.s 4 + IL_0072: ldc.i4.0 + IL_0073: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) + IL_0078: ldarg.0 + IL_0079: ldloc.s 4 + IL_007b: call instance void class NAnt.Core.Util.CommandLineParser::ParseArgumentList(string[]) + IL_0080: nop + IL_0081: leave IL_0093 + + } // end .try 0 + finally { // 0 + IL_0086: ldloc.2 + IL_0087: brfalse IL_0092 + + IL_008c: ldloc.2 + IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0092: endfinally + } // end handler 0 + IL_0093: ret + } // end of method CommandLineParser::ProcessResponseFile + + // method line 1477 + .method private hidebysig + instance default void ParseArgumentList (string[] args) cil managed { - // Method begins at RVA 0x1ad2b - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x1ac74 + // Code size 675 (0x2a3) + .maxstack 4 + .locals init ( + string V_0, + string[] V_1, + int32 V_2, + char V_3, + int32 V_4, + string V_5, + string V_6, + class NAnt.Core.Util.CommandLineArgument V_7, + class [mscorlib]System.Attribute[] V_8, + class [mscorlib]System.ObsoleteAttribute V_9, + string V_10, + string V_11) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_000d + + IL_0007: nop + IL_0008: br IL_02a2 + + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: stloc.1 + IL_0010: ldc.i4.0 + IL_0011: stloc.2 + IL_0012: br IL_0299 + + IL_0017: ldloc.1 + IL_0018: ldloc.2 + IL_0019: ldelem.ref + IL_001a: stloc.0 + IL_001b: nop + IL_001c: ldloc.0 + IL_001d: callvirt instance int32 string::get_Length() + IL_0022: brtrue IL_002d + + IL_0027: nop + IL_0028: br IL_0295 + + IL_002d: ldloc.0 + IL_002e: ldc.i4.0 + IL_002f: callvirt instance char string::get_Chars(int32) + IL_0034: stloc.3 + IL_0035: ldloc.3 + IL_0036: ldc.i4.s 0x2d + IL_0038: sub + IL_0039: switch ( + IL_0057, + IL_004a, + IL_0057) + IL_004a: ldloc.3 + IL_004b: ldc.i4.s 0x40 + IL_004d: beq IL_0207 + + IL_0052: br IL_025a + + IL_0057: ldloc.0 + IL_0058: ldc.i4.3 + IL_0059: newarr [mscorlib]System.Char + IL_005e: dup + IL_005f: ldtoken field valuetype ''/'$ArrayType=8' ''::'$field-70EF559FCFA85790B0637E1592D4E2FF36031FDF' + IL_0064: call void class [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(class [mscorlib]System.Array, valuetype [mscorlib]System.RuntimeFieldHandle) + IL_0069: ldc.i4.1 + IL_006a: callvirt instance int32 string::IndexOfAny(char[], int32) + IL_006f: stloc.s 4 + IL_0071: ldloc.0 + IL_0072: ldc.i4.1 + IL_0073: ldloc.s 4 + IL_0075: ldc.i4.m1 + IL_0076: bne.un IL_0088 + + IL_007b: ldloc.0 + IL_007c: callvirt instance int32 string::get_Length() + IL_0081: ldc.i4.1 + IL_0082: sub + IL_0083: br IL_008c + + IL_0088: ldloc.s 4 + IL_008a: ldc.i4.1 + IL_008b: sub + IL_008c: callvirt instance string string::Substring(int32, int32) + IL_0091: stloc.s 5 + IL_0093: ldloc.s 5 + IL_0095: callvirt instance int32 string::get_Length() + IL_009a: ldc.i4.1 + IL_009b: add + IL_009c: ldloc.0 + IL_009d: callvirt instance int32 string::get_Length() + IL_00a2: bne.un IL_00b1 + + IL_00a7: nop + IL_00a8: ldnull + IL_00a9: stloc.s 6 + IL_00ab: nop + IL_00ac: br IL_0106 + + IL_00b1: ldloc.0 + IL_00b2: callvirt instance int32 string::get_Length() + IL_00b7: ldc.i4.1 + IL_00b8: ldloc.s 5 + IL_00ba: callvirt instance int32 string::get_Length() + IL_00bf: add + IL_00c0: ble IL_00f3 + + IL_00c5: ldloc.0 + IL_00c6: ldc.i4.1 + IL_00c7: ldloc.s 5 + IL_00c9: callvirt instance int32 string::get_Length() + IL_00ce: add + IL_00cf: callvirt instance char string::get_Chars(int32) + IL_00d4: ldc.i4.s 0x3a + IL_00d6: bne.un IL_00f3 + + IL_00db: nop + IL_00dc: ldloc.0 + IL_00dd: ldloc.s 5 + IL_00df: callvirt instance int32 string::get_Length() + IL_00e4: ldc.i4.2 + IL_00e5: add + IL_00e6: callvirt instance string string::Substring(int32) + IL_00eb: stloc.s 6 + IL_00ed: nop + IL_00ee: br IL_0106 + + IL_00f3: nop + IL_00f4: ldloc.0 + IL_00f5: ldloc.s 5 + IL_00f7: callvirt instance int32 string::get_Length() + IL_00fc: ldc.i4.1 + IL_00fd: add + IL_00fe: callvirt instance string string::Substring(int32) + IL_0103: stloc.s 6 + IL_0105: nop + IL_0106: ldarg.0 + IL_0107: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_010c: ldloc.s 5 + IL_010e: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentCollection::get_Item(string) + IL_0113: stloc.s 7 + IL_0115: ldloc.s 7 + IL_0117: brtrue IL_0133 + + IL_011c: nop + IL_011d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0122: ldstr "Unknown argument '{0}'" + IL_0127: ldloc.0 + IL_0128: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_012d: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_0132: throw + IL_0133: nop + IL_0134: ldloc.s 7 + IL_0136: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class NAnt.Core.Util.CommandLineArgument::get_Property() + IL_013b: ldtoken [mscorlib]System.ObsoleteAttribute + IL_0140: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0145: ldc.i4.0 + IL_0146: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_014b: castclass class [mscorlib]System.Attribute[] + IL_0150: stloc.s 8 + IL_0152: ldloc.s 8 + IL_0154: ldlen + IL_0155: conv.i4 + IL_0156: ldc.i4.0 + IL_0157: ble IL_01c4 + + IL_015c: nop + IL_015d: ldloc.s 8 + IL_015f: ldc.i4.0 + IL_0160: ldelem.ref + IL_0161: castclass [mscorlib]System.ObsoleteAttribute + IL_0166: stloc.s 9 + IL_0168: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_016d: ldstr "NA1177" + IL_0172: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0177: ldloc.s 5 + IL_0179: ldloc.s 9 + IL_017b: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() + IL_0180: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0185: stloc.s 10 + IL_0187: ldloc.s 9 + IL_0189: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() + IL_018e: brfalse IL_019c + + IL_0193: nop + IL_0194: ldloc.s 10 + IL_0196: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_019b: throw + IL_019c: nop + IL_019d: ldsfld string [mscorlib]System.String::Empty + IL_01a2: call void class [mscorlib]System.Console::WriteLine(string) + IL_01a7: ldstr "Warning: " + IL_01ac: ldloc.s 10 + IL_01ae: call string string::Concat(string, string) + IL_01b3: call void class [mscorlib]System.Console::WriteLine(string) + IL_01b8: ldsfld string [mscorlib]System.String::Empty + IL_01bd: call void class [mscorlib]System.Console::WriteLine(string) + IL_01c2: nop + IL_01c3: nop + IL_01c4: ldloc.s 7 + IL_01c6: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_IsExclusive() + IL_01cb: brfalse IL_01f6 + + IL_01d0: ldarg.1 + IL_01d1: ldlen + IL_01d2: conv.i4 + IL_01d3: ldc.i4.1 + IL_01d4: ble IL_01f6 + + IL_01d9: nop + IL_01da: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01df: ldstr "Commandline argument '-{0}' cannot be combined with other arguments." + IL_01e4: ldloc.s 7 + IL_01e6: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_01eb: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01f0: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_01f5: throw + IL_01f6: nop + IL_01f7: ldloc.s 7 + IL_01f9: ldloc.s 6 + IL_01fb: callvirt instance void class NAnt.Core.Util.CommandLineArgument::SetValue(string) + IL_0200: nop + IL_0201: nop + IL_0202: br IL_0294 + + IL_0207: ldarg.0 + IL_0208: ldfld bool NAnt.Core.Util.CommandLineParser::_supportsResponseFile + IL_020d: brfalse IL_0255 + + IL_0212: nop + IL_0213: ldloc.0 + IL_0214: ldc.i4.1 + IL_0215: ldloc.0 + IL_0216: callvirt instance int32 string::get_Length() + IL_021b: ldc.i4.1 + IL_021c: sub + IL_021d: callvirt instance string string::Substring(int32, int32) + IL_0222: stloc.s 11 + IL_0224: ldloc.s 11 + IL_0226: call bool class [mscorlib]System.IO.File::Exists(string) + IL_022b: brtrue IL_0248 + + IL_0230: nop + IL_0231: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0236: ldstr "Unable to open response file '{0}'." + IL_023b: ldloc.s 11 + IL_023d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0242: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_0247: throw + IL_0248: ldarg.0 + IL_0249: ldloc.s 11 + IL_024b: call instance void class NAnt.Core.Util.CommandLineParser::ProcessResponseFile(string) + IL_0250: br IL_0294 + + IL_0255: br IL_0295 + + IL_025a: ldarg.0 + IL_025b: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0260: brfalse IL_0278 + + IL_0265: nop + IL_0266: ldarg.0 + IL_0267: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_026c: ldloc.0 + IL_026d: callvirt instance void class NAnt.Core.Util.CommandLineArgument::SetValue(string) + IL_0272: nop + IL_0273: br IL_028f + + IL_0278: nop + IL_0279: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_027e: ldstr "Unknown argument '{0}'" + IL_0283: ldloc.0 + IL_0284: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0289: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_028e: throw + IL_028f: br IL_0294 + + IL_0294: nop + IL_0295: ldloc.2 + IL_0296: ldc.i4.1 + IL_0297: add + IL_0298: stloc.2 + IL_0299: ldloc.2 + IL_029a: ldloc.1 + IL_029b: ldlen + IL_029c: conv.i4 + IL_029d: blt IL_0017 + + IL_02a2: ret + } // end of method CommandLineParser::ParseArgumentList + + // method line 1478 + .method private static hidebysig + default class NAnt.Core.Util.CommandLineArgumentAttribute GetCommandLineAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x1af24 + // Code size 62 (0x3e) + .maxstack 3 + .locals init ( + object[] V_0, + class NAnt.Core.Util.CommandLineArgumentAttribute V_1) 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_0002: ldtoken NAnt.Core.Util.CommandLineArgumentAttribute + 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: stloc.0 + IL_0013: ldloc.0 + IL_0014: ldlen + IL_0015: conv.i4 + IL_0016: ldc.i4.1 + IL_0017: bne.un IL_002a - .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_001c: ldloc.0 + IL_001d: ldc.i4.0 + IL_001e: ldelem.ref + IL_001f: castclass NAnt.Core.Util.CommandLineArgumentAttribute + IL_0024: stloc.1 + IL_0025: br IL_003c - .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_002a: ldloc.0 + IL_002b: ldlen + IL_002c: conv.i4 + IL_002d: ldc.i4.0 + IL_002e: ceq + IL_0030: call void class [System]System.Diagnostics.Debug::Assert(bool) + IL_0035: ldnull + IL_0036: stloc.1 + IL_0037: br IL_003c - .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') + IL_003c: ldloc.1 + IL_003d: ret + } // end of method CommandLineParser::GetCommandLineAttribute + + .property instance string LogoBanner () + { + .get instance default string NAnt.Core.Util.CommandLineParser::get_LogoBanner () } - .property instance class NAnt.Core.Types.EnvironmentVariableCollection EnvironmentVariables () + .property instance string Usage () { - .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') + .get instance default string NAnt.Core.Util.CommandLineParser::get_Usage () } - } // end of class NAnt.Core.Types.EnvironmentSet + .property instance bool NoArgs () + { + .get instance default bool NAnt.Core.Util.CommandLineParser::get_NoArgs () + } + } // end of class NAnt.Core.Util.CommandLineParser } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Util { - .class public auto ansi serializable beforefieldinit FormatterCollection + .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 serializable beforefieldinit CommandLineArgumentCollection 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 1396 + // method line 1479 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1ad35 + // Method begins at RVA 0x1af6e // 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 + } // end of method CommandLineArgumentCollection::.ctor - // method line 1397 + // method line 1480 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.FormatterCollection 'value') cil managed + instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentCollection 'value') cil managed { - // Method begins at RVA 0x1ad3e + // Method begins at RVA 0x1af77 // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -51257,15 +52452,15 @@ 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_0009: call instance void class NAnt.Core.Util.CommandLineArgumentCollection::AddRange(class NAnt.Core.Util.CommandLineArgumentCollection) IL_000e: ret - } // end of method FormatterCollection::.ctor + } // end of method CommandLineArgumentCollection::.ctor - // method line 1398 + // method line 1481 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.Formatter[] 'value') cil managed + instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgument[] 'value') cil managed { - // Method begins at RVA 0x1ad4e + // Method begins at RVA 0x1af87 // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -51273,37 +52468,37 @@ 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_0009: call instance void class NAnt.Core.Util.CommandLineArgumentCollection::AddRange(class NAnt.Core.Util.CommandLineArgument[]) IL_000e: ret - } // end of method FormatterCollection::.ctor + } // end of method CommandLineArgumentCollection::.ctor - // method line 1399 + // method line 1482 .method public hidebysig specialname - instance default class NAnt.Core.Types.Formatter get_Item (int32 index) cil managed + instance default class NAnt.Core.Util.CommandLineArgument get_Item (int32 index) cil managed { - // Method begins at RVA 0x1ad60 + // Method begins at RVA 0x1af98 // Code size 26 (0x1a) .maxstack 2 .locals init ( - class NAnt.Core.Types.Formatter V_0) + class NAnt.Core.Util.CommandLineArgument 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_000d: castclass NAnt.Core.Util.CommandLineArgument IL_0012: stloc.0 IL_0013: br IL_0018 IL_0018: ldloc.0 IL_0019: ret - } // end of method FormatterCollection::get_Item + } // end of method CommandLineArgumentCollection::get_Item - // method line 1400 + // method line 1483 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.Formatter 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Core.Util.CommandLineArgument 'value') cil managed { - // Method begins at RVA 0x1ad86 + // Method begins at RVA 0x1afbe // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -51313,13 +52508,128 @@ 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 + } // end of method CommandLineArgumentCollection::set_Item - // method line 1401 + // method line 1484 + .method public hidebysig specialname + instance default class NAnt.Core.Util.CommandLineArgument get_Item (string name) cil managed + { + // Method begins at RVA 0x1afd0 + // Code size 213 (0xd5) + .maxstack 2 + .locals init ( + class NAnt.Core.Util.CommandLineArgument V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Util.CommandLineArgument V_2, + class [mscorlib]System.IDisposable V_3, + class NAnt.Core.Util.CommandLineArgument V_4, + class [mscorlib]System.Collections.IEnumerator V_5, + class [mscorlib]System.IDisposable V_6) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brfalse IL_00cc + + 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.Util.CommandLineArgument + IL_0025: stloc.0 + IL_0026: nop + IL_0027: ldarg.1 + IL_0028: ldloc.0 + IL_0029: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + 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_00d3 + + 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: ldarg.0 + IL_0067: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_006c: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0071: stloc.s 5 + .try { // 1 + IL_0073: br IL_00a3 + + IL_0078: ldloc.s 5 + IL_007a: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_007f: castclass NAnt.Core.Util.CommandLineArgument + IL_0084: stloc.s 4 + IL_0086: nop + IL_0087: ldarg.1 + IL_0088: ldloc.s 4 + IL_008a: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_008f: callvirt instance bool string::Equals(string) + IL_0094: brfalse IL_00a2 + + IL_0099: nop + IL_009a: ldloc.s 4 + IL_009c: stloc.2 + IL_009d: leave IL_00d3 + + IL_00a2: nop + IL_00a3: ldloc.s 5 + IL_00a5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_00aa: brtrue IL_0078 + + IL_00af: leave IL_00cb + + } // end .try 1 + finally { // 1 + IL_00b4: ldloc.s 5 + IL_00b6: isinst [mscorlib]System.IDisposable + IL_00bb: dup + IL_00bc: stloc.s 6 + IL_00be: brfalse IL_00ca + + IL_00c3: ldloc.s 6 + IL_00c5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00ca: endfinally + } // end handler 1 + IL_00cb: nop + IL_00cc: ldnull + IL_00cd: stloc.2 + IL_00ce: br IL_00d3 + + IL_00d3: ldloc.2 + IL_00d4: ret + } // end of method CommandLineArgumentCollection::get_Item + + // method line 1485 .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.Formatter item) cil managed + instance default int32 Add (class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x1ad98 + // Method begins at RVA 0x1b0d0 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -51334,13 +52644,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method FormatterCollection::Add + } // end of method CommandLineArgumentCollection::Add - // method line 1402 + // method line 1486 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.Formatter[] items) cil managed + instance default void AddRange (class NAnt.Core.Util.CommandLineArgument[] items) cil managed { - // Method begins at RVA 0x1adbc + // Method begins at RVA 0x1b0f4 // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -51355,7 +52665,7 @@ 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_000d: call instance int32 class NAnt.Core.Util.CommandLineArgumentCollection::Add(class NAnt.Core.Util.CommandLineArgument) IL_0012: pop IL_0013: nop IL_0014: ldloc.0 @@ -51369,13 +52679,13 @@ IL_001c: blt IL_0008 IL_0021: ret - } // end of method FormatterCollection::AddRange + } // end of method CommandLineArgumentCollection::AddRange - // method line 1403 + // method line 1487 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.FormatterCollection items) cil managed + instance default void AddRange (class NAnt.Core.Util.CommandLineArgumentCollection items) cil managed { - // Method begins at RVA 0x1adec + // Method begins at RVA 0x1b124 // Code size 41 (0x29) .maxstack 3 .locals init ( @@ -51389,8 +52699,8 @@ 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_000c: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentCollection::get_Item(int32) + IL_0011: call instance int32 class NAnt.Core.Util.CommandLineArgumentCollection::Add(class NAnt.Core.Util.CommandLineArgument) IL_0016: pop IL_0017: nop IL_0018: ldloc.0 @@ -51403,13 +52713,13 @@ IL_0023: blt IL_0008 IL_0028: ret - } // end of method FormatterCollection::AddRange + } // end of method CommandLineArgumentCollection::AddRange - // method line 1404 + // method line 1488 .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.Formatter item) cil managed + instance default bool Contains (class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x1ae24 + // Method begins at RVA 0x1b15c // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -51424,13 +52734,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method FormatterCollection::Contains + } // end of method CommandLineArgumentCollection::Contains - // method line 1405 + // method line 1489 .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.Formatter[] 'array', int32 index) cil managed + instance default void CopyTo (class NAnt.Core.Util.CommandLineArgument[] 'array', int32 index) cil managed { - // Method begins at RVA 0x1ae45 + // Method begins at RVA 0x1b17d // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -51440,13 +52750,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 FormatterCollection::CopyTo + } // end of method CommandLineArgumentCollection::CopyTo - // method line 1406 + // method line 1490 .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.Formatter item) cil managed + instance default int32 IndexOf (class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x1ae58 + // Method begins at RVA 0x1b190 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -51461,13 +52771,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method FormatterCollection::IndexOf + } // end of method CommandLineArgumentCollection::IndexOf - // method line 1407 + // method line 1491 .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.Formatter item) cil managed + instance default void Insert (int32 index, class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x1ae79 + // Method begins at RVA 0x1b1b1 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -51477,32 +52787,32 @@ 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 + } // end of method CommandLineArgumentCollection::Insert - // method line 1408 + // method line 1492 .method public hidebysig - instance default class NAnt.Core.Types.FormatterEnumerator GetEnumerator () cil managed + instance default class NAnt.Core.Util.CommandLineArgumentEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x1ae8c + // Method begins at RVA 0x1b1c4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.FormatterEnumerator V_0) + class NAnt.Core.Util.CommandLineArgumentEnumerator 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: newobj instance void class NAnt.Core.Util.CommandLineArgumentEnumerator::'.ctor'(class NAnt.Core.Util.CommandLineArgumentCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FormatterCollection::GetEnumerator + } // end of method CommandLineArgumentCollection::GetEnumerator - // method line 1409 + // method line 1493 .method public hidebysig - instance default void Remove (class NAnt.Core.Types.Formatter item) cil managed + instance default void Remove (class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x1aea7 + // Method begins at RVA 0x1b1df // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -51511,28 +52821,32 @@ IL_0007: ldarg.1 IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) IL_000d: ret - } // end of method FormatterCollection::Remove + } // end of method CommandLineArgumentCollection::Remove - .property instance class NAnt.Core.Types.Formatter Item (int32) + .property instance class NAnt.Core.Util.CommandLineArgument 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') + .get instance default class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineArgumentCollection::get_Item (int32 index) + .set instance default void NAnt.Core.Util.CommandLineArgumentCollection::set_Item (int32 index, class NAnt.Core.Util.CommandLineArgument 'value') } - } // end of class NAnt.Core.Types.FormatterCollection + .property instance class NAnt.Core.Util.CommandLineArgument Item (string) + { + .get instance default class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineArgumentCollection::get_Item (string name) + } + } // end of class NAnt.Core.Util.CommandLineArgumentCollection } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Util { - .class public auto ansi beforefieldinit FormatterEnumerator + .class public auto ansi beforefieldinit CommandLineArgumentEnumerator extends [mscorlib]System.Object implements [mscorlib]System.Collections.IEnumerator { .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 1410 + // method line 1494 .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.FormatterCollection arguments) cil managed + instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentCollection arguments) cil managed { - // Method begins at RVA 0x1aeb8 + // Method begins at RVA 0x1b1f0 // Code size 22 (0x16) .maxstack 2 .locals init ( @@ -51545,36 +52859,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.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_baseEnumerator IL_0015: ret - } // end of method FormatterEnumerator::.ctor + } // end of method CommandLineArgumentEnumerator::.ctor - // method line 1411 + // method line 1495 .method public hidebysig specialname - instance default class NAnt.Core.Types.Formatter get_Current () cil managed + instance default class NAnt.Core.Util.CommandLineArgument get_Current () cil managed { - // Method begins at RVA 0x1aedc + // Method begins at RVA 0x1b214 // Code size 25 (0x19) .maxstack 1 .locals init ( - class NAnt.Core.Types.Formatter V_0) + class NAnt.Core.Util.CommandLineArgument V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_baseEnumerator IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.Formatter + IL_000c: castclass NAnt.Core.Util.CommandLineArgument IL_0011: stloc.0 IL_0012: br IL_0017 IL_0017: ldloc.0 IL_0018: ret - } // end of method FormatterEnumerator::get_Current + } // end of method CommandLineArgumentEnumerator::get_Current - // method line 1412 + // method line 1496 .method private final virtual hidebysig newslot specialname instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x1af04 + // Method begins at RVA 0x1b23c .override class [mscorlib]System.Collections.IEnumerator::get_Current // Code size 20 (0x14) .maxstack 1 @@ -51582,40 +52896,40 @@ object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_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 FormatterEnumerator::System.Collections.IEnumerator.get_Current + } // end of method CommandLineArgumentEnumerator::System.Collections.IEnumerator.get_Current - // method line 1413 + // method line 1497 .method public hidebysig instance default bool MoveNext () cil managed { - // Method begins at RVA 0x1af24 + // Method begins at RVA 0x1b25c // 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_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_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 FormatterEnumerator::MoveNext + } // end of method CommandLineArgumentEnumerator::MoveNext - // method line 1414 + // method line 1498 .method private final virtual hidebysig newslot instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x1af44 + // Method begins at RVA 0x1b27c .override class [mscorlib]System.Collections.IEnumerator::MoveNext // Code size 20 (0x14) .maxstack 1 @@ -51623,1389 +52937,4142 @@ bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.FormatterEnumerator::_baseEnumerator + IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_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 FormatterEnumerator::System.Collections.IEnumerator.MoveNext + } // end of method CommandLineArgumentEnumerator::System.Collections.IEnumerator.MoveNext - // method line 1415 + // method line 1499 .method public hidebysig instance default void Reset () cil managed { - // Method begins at RVA 0x1af64 + // Method begins at RVA 0x1b29c // 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_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_baseEnumerator IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() IL_000c: ret - } // end of method FormatterEnumerator::Reset + } // end of method CommandLineArgumentEnumerator::Reset - // method line 1416 + // method line 1500 .method private final virtual hidebysig newslot instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x1af72 + // Method begins at RVA 0x1b2aa .override class [mscorlib]System.Collections.IEnumerator::Reset // 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_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_baseEnumerator IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() IL_000c: ret - } // end of method FormatterEnumerator::System.Collections.IEnumerator.Reset + } // end of method CommandLineArgumentEnumerator::System.Collections.IEnumerator.Reset .property instance object System.Collections.IEnumerator.Current () { - .get instance default object NAnt.Core.Types.FormatterEnumerator::System.Collections.IEnumerator.get_Current () + .get instance default object NAnt.Core.Util.CommandLineArgumentEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class NAnt.Core.Types.Formatter Current () + .property instance class NAnt.Core.Util.CommandLineArgument Current () { - .get instance default class NAnt.Core.Types.Formatter NAnt.Core.Types.FormatterEnumerator::get_Current () + .get instance default class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current () } - } // end of class NAnt.Core.Types.FormatterEnumerator + } // end of class NAnt.Core.Util.CommandLineArgumentEnumerator } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Util { - .class public auto ansi beforefieldinit Pattern - extends NAnt.Core.Element + .class public auto ansi sealed serializable beforefieldinit AssemblyResolver + extends [mscorlib]System.Object { - .field private string _patternName - .field private bool _ifDefined - .field private bool _unlessDefined + .field private class [mscorlib]System.Collections.Hashtable _assemblyCache + .field private class NAnt.Core.Task _task - // method line 1417 + // method line 1501 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1af80 - // Code size 15 (0xf) + // Method begins at RVA 0x1b2b8 + // Code size 19 (0x13) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Pattern::_ifDefined + IL_0001: call instance void object::'.ctor'() + IL_0006: nop 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 + IL_0008: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache + IL_0012: ret + } // end of method AssemblyResolver::.ctor - // method line 1418 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, string patternName) cil managed + // method line 1502 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Task task) cil managed { - // Method begins at RVA 0x1af90 - // Code size 29 (0x1d) + // Method begins at RVA 0x1b2cc + // 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_0001: call instance void class NAnt.Core.Util.AssemblyResolver::'.ctor'() + IL_0006: nop 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_0008: ldarg.1 + IL_0009: stfld class NAnt.Core.Task NAnt.Core.Util.AssemblyResolver::_task + IL_000e: ret + } // end of method AssemblyResolver::.ctor - // method line 1419 - .method public virtual hidebysig newslot specialname - instance default string get_PatternName () cil managed + // method line 1503 + .method public hidebysig + instance default void Attach () cil managed { - // Method begins at RVA 0x1afb0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x1b2dc + // Code size 46 (0x2e) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - 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 Pattern::get_PatternName + IL_0001: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0006: ldarg.0 + IL_0007: ldftn instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Util.AssemblyResolver::AssemblyResolve(object, class [mscorlib]System.ResolveEventArgs) + IL_000d: newobj instance void class [mscorlib]System.ResolveEventHandler::'.ctor'(object, native int) + IL_0012: callvirt instance void class [mscorlib]System.AppDomain::add_AssemblyResolve(class [mscorlib]System.ResolveEventHandler) + IL_0017: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_001c: ldarg.0 + IL_001d: ldftn instance void class NAnt.Core.Util.AssemblyResolver::AssemblyLoad(object, class [mscorlib]System.AssemblyLoadEventArgs) + IL_0023: newobj instance void class [mscorlib]System.AssemblyLoadEventHandler::'.ctor'(object, native int) + IL_0028: callvirt instance void class [mscorlib]System.AppDomain::add_AssemblyLoad(class [mscorlib]System.AssemblyLoadEventHandler) + IL_002d: ret + } // end of method AssemblyResolver::Attach - // method line 1420 - .method public virtual hidebysig newslot specialname - instance default void set_PatternName (string 'value') cil managed + // method line 1504 + .method public hidebysig + instance default void Detach () cil managed { - // Method begins at RVA 0x1afcb - // Code size 9 (0x9) + // Method begins at RVA 0x1b30b + // Code size 57 (0x39) .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 + IL_0001: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0006: ldarg.0 + IL_0007: ldftn instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Util.AssemblyResolver::AssemblyResolve(object, class [mscorlib]System.ResolveEventArgs) + IL_000d: newobj instance void class [mscorlib]System.ResolveEventHandler::'.ctor'(object, native int) + IL_0012: callvirt instance void class [mscorlib]System.AppDomain::remove_AssemblyResolve(class [mscorlib]System.ResolveEventHandler) + IL_0017: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_001c: ldarg.0 + IL_001d: ldftn instance void class NAnt.Core.Util.AssemblyResolver::AssemblyLoad(object, class [mscorlib]System.AssemblyLoadEventArgs) + IL_0023: newobj instance void class [mscorlib]System.AssemblyLoadEventHandler::'.ctor'(object, native int) + IL_0028: callvirt instance void class [mscorlib]System.AppDomain::remove_AssemblyLoad(class [mscorlib]System.AssemblyLoadEventHandler) + IL_002d: ldarg.0 + IL_002e: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache + IL_0033: callvirt instance void class [mscorlib]System.Collections.Hashtable::Clear() + IL_0038: ret + } // end of method AssemblyResolver::Detach - // method line 1421 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 1505 + .method private hidebysig + instance default class [mscorlib]System.Reflection.Assembly AssemblyResolve (object sender, class [mscorlib]System.ResolveEventArgs args) cil managed { - // Method begins at RVA 0x1afd8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1b348 + // Code size 502 (0x1f6) + .maxstack 7 .locals init ( - bool V_0) + bool V_0, + class [mscorlib]System.Reflection.Assembly[] V_1, + class [mscorlib]System.Reflection.Assembly V_2, + class [mscorlib]System.Reflection.Assembly[] V_3, + int32 V_4, + class [mscorlib]System.Reflection.Assembly V_5, + class [mscorlib]System.Reflection.Assembly V_6, + class [mscorlib]System.Collections.IEnumerator V_7, + class [mscorlib]System.IDisposable V_8) 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_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: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_001d: callvirt instance class [mscorlib]System.Reflection.Assembly[] class [mscorlib]System.AppDomain::GetAssemblies() + IL_0022: stloc.1 + IL_0023: nop + IL_0024: ldloc.1 + IL_0025: stloc.3 + IL_0026: ldc.i4.0 + IL_0027: stloc.s 4 + IL_0029: br IL_00ca - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Pattern::get_IfDefined + IL_002e: ldloc.3 + IL_002f: ldloc.s 4 + IL_0031: ldelem.ref + IL_0032: stloc.2 + IL_0033: nop + IL_0034: ldloc.0 + IL_0035: brfalse IL_007f - // method line 1422 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + IL_003a: nop + IL_003b: ldloc.2 + IL_003c: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() + IL_0041: ldarg.2 + IL_0042: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_0047: call bool string::op_Equality(string, string) + IL_004c: brfalse IL_0079 + + IL_0051: nop + IL_0052: ldarg.0 + IL_0053: ldc.i4 1000 + IL_0058: ldstr "Resolved assembly '{0}' from loaded assemblies using full name." + IL_005d: ldc.i4.1 + IL_005e: newarr [mscorlib]System.Object + IL_0063: dup + IL_0064: ldc.i4.0 + IL_0065: ldarg.2 + IL_0066: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_006b: stelem.ref + IL_006c: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0071: ldloc.2 + IL_0072: stloc.s 5 + IL_0074: br IL_01f3 + + IL_0079: nop + IL_007a: br IL_00c3 + + IL_007f: ldloc.2 + IL_0080: ldc.i4.0 + IL_0081: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName(bool) + IL_0086: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_008b: ldarg.2 + IL_008c: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_0091: call bool string::op_Equality(string, string) + IL_0096: brfalse IL_00c3 + + IL_009b: nop + IL_009c: ldarg.0 + IL_009d: ldc.i4 1000 + IL_00a2: ldstr "Resolved assembly '{0}' from loaded assemblies using name." + IL_00a7: ldc.i4.1 + IL_00a8: newarr [mscorlib]System.Object + IL_00ad: dup + IL_00ae: ldc.i4.0 + IL_00af: ldarg.2 + IL_00b0: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_00b5: stelem.ref + IL_00b6: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) + IL_00bb: ldloc.2 + IL_00bc: stloc.s 5 + IL_00be: br IL_01f3 + + IL_00c3: nop + IL_00c4: ldloc.s 4 + IL_00c6: ldc.i4.1 + IL_00c7: add + IL_00c8: stloc.s 4 + IL_00ca: ldloc.s 4 + IL_00cc: ldloc.3 + IL_00cd: ldlen + IL_00ce: conv.i4 + IL_00cf: blt IL_002e + + IL_00d4: ldloc.0 + IL_00d5: brfalse IL_0134 + + IL_00da: nop + IL_00db: ldarg.0 + IL_00dc: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache + IL_00e1: ldarg.2 + IL_00e2: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_00e7: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_00ec: brfalse IL_012e + + IL_00f1: nop + IL_00f2: ldarg.0 + IL_00f3: ldc.i4 1000 + IL_00f8: ldstr "Resolved assembly '{0}' from cache using full name." + IL_00fd: ldc.i4.1 + IL_00fe: newarr [mscorlib]System.Object + IL_0103: dup + IL_0104: ldc.i4.0 + IL_0105: ldarg.2 + IL_0106: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_010b: stelem.ref + IL_010c: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0111: ldarg.0 + IL_0112: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache + IL_0117: ldarg.2 + IL_0118: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_011d: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0122: castclass [mscorlib]System.Reflection.Assembly + IL_0127: stloc.s 5 + IL_0129: br IL_01f3 + + IL_012e: nop + IL_012f: br IL_01cc + + IL_0134: nop + IL_0135: nop + IL_0136: ldarg.0 + IL_0137: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache + IL_013c: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_0141: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0146: stloc.s 7 + .try { // 0 + IL_0148: br IL_01a3 + + IL_014d: ldloc.s 7 + IL_014f: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0154: castclass [mscorlib]System.Reflection.Assembly + IL_0159: stloc.s 6 + IL_015b: nop + IL_015c: ldloc.s 6 + IL_015e: ldc.i4.0 + IL_015f: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName(bool) + IL_0164: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_0169: ldarg.2 + IL_016a: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_016f: call bool string::op_Equality(string, string) + IL_0174: brfalse IL_01a2 + + IL_0179: nop + IL_017a: ldarg.0 + IL_017b: ldc.i4 1000 + IL_0180: ldstr "Resolved assembly '{0}' from cache using name." + IL_0185: ldc.i4.1 + IL_0186: newarr [mscorlib]System.Object + IL_018b: dup + IL_018c: ldc.i4.0 + IL_018d: ldarg.2 + IL_018e: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_0193: stelem.ref + IL_0194: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0199: ldloc.s 6 + IL_019b: stloc.s 5 + IL_019d: leave IL_01f3 + + IL_01a2: nop + IL_01a3: ldloc.s 7 + IL_01a5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_01aa: brtrue IL_014d + + IL_01af: leave IL_01cb + + } // end .try 0 + finally { // 0 + IL_01b4: ldloc.s 7 + IL_01b6: isinst [mscorlib]System.IDisposable + IL_01bb: dup + IL_01bc: stloc.s 8 + IL_01be: brfalse IL_01ca + + IL_01c3: ldloc.s 8 + IL_01c5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01ca: endfinally + } // end handler 0 + IL_01cb: nop + IL_01cc: ldarg.0 + IL_01cd: ldc.i4 1000 + IL_01d2: ldstr "Assembly '{0}' could not be located." + IL_01d7: ldc.i4.1 + IL_01d8: newarr [mscorlib]System.Object + IL_01dd: dup + IL_01de: ldc.i4.0 + IL_01df: ldarg.2 + IL_01e0: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_01e5: stelem.ref + IL_01e6: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) + IL_01eb: ldnull + IL_01ec: stloc.s 5 + IL_01ee: br IL_01f3 + + IL_01f3: ldloc.s 5 + IL_01f5: ret + } // end of method AssemblyResolver::AssemblyResolve + + // method line 1506 + .method private hidebysig + instance default void AssemblyLoad (object sender, class [mscorlib]System.AssemblyLoadEventArgs args) cil managed { - // Method begins at RVA 0x1aff3 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x1b55c + // Code size 66 (0x42) + .maxstack 7 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_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_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: ldarg.0 + IL_001e: ldc.i4 1000 + IL_0023: ldstr "Added assembly '{0}' to assembly cache." + IL_0028: ldc.i4.1 + IL_0029: newarr [mscorlib]System.Object + IL_002e: dup + IL_002f: ldc.i4.0 + IL_0030: ldarg.2 + IL_0031: callvirt instance class [mscorlib]System.Reflection.Assembly class [mscorlib]System.AssemblyLoadEventArgs::get_LoadedAssembly() + IL_0036: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_FullName() + IL_003b: stelem.ref + IL_003c: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) + IL_0041: ret + } // end of method AssemblyResolver::AssemblyLoad - // method line 1423 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 1507 + .method private hidebysig + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message, object[] args) cil managed { - // Method begins at RVA 0x1b000 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) + .param [3] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... + + // Method begins at RVA 0x1b5aa + // Code size 29 (0x1d) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Pattern::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class NAnt.Core.Task NAnt.Core.Util.AssemblyResolver::_task + IL_0007: brfalse IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Pattern::get_UnlessDefined + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class NAnt.Core.Task NAnt.Core.Util.AssemblyResolver::_task + IL_0013: ldarg.1 + IL_0014: ldarg.2 + IL_0015: ldarg.3 + IL_0016: callvirt instance void class NAnt.Core.Element::Log(valuetype NAnt.Core.Level, string, object[]) + IL_001b: nop + IL_001c: ret + } // end of method AssemblyResolver::Log - // method line 1424 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + } // end of class NAnt.Core.Util.AssemblyResolver +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi sealed beforefieldinit StringUtils + extends [mscorlib]System.Object + { + + // method line 1508 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1b01b - // Code size 9 (0x9) + // Method begins at RVA 0x1b5c8 + // Code size 8 (0x8) .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_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method StringUtils::.ctor - // method line 1425 - .method assembly hidebysig specialname - instance default bool get_Enabled () cil managed + // method line 1509 + .method public static hidebysig + default bool EndsWith (string 'value', char c) cil managed { - // Method begins at RVA 0x1b028 - // Code size 32 (0x20) - .maxstack 2 + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( + 01 00 50 53 74 72 69 6E 67 55 74 69 6C 73 2E 45 // ..PStringUtils.E + 6E 64 73 57 69 74 68 20 6D 65 74 68 6F 64 20 69 // ndsWith method i + 73 20 64 65 70 72 65 63 69 61 74 65 64 2E 20 55 // s depreciated. U + 73 65 20 73 74 72 69 6E 67 2E 45 6E 64 73 57 69 // se string.EndsWi + 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 0x1b5d4 + // Code size 63 (0x3f) + .maxstack 3 .locals init ( - bool V_0) + int32 V_0, + bool V_1) 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_0002: brtrue IL_0012 - IL_0017: ldc.i4.0 + IL_0007: ldstr "value" + IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0011: throw + IL_0012: ldarg.0 + IL_0013: callvirt instance int32 string::get_Length() 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. + IL_0019: ldloc.0 + IL_001a: brfalse IL_0036 - .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_001f: ldarg.0 + IL_0020: ldloc.0 + IL_0021: ldc.i4.1 + IL_0022: sub + IL_0023: callvirt instance char string::get_Chars(int32) + IL_0028: ldarg.1 + IL_0029: bne.un IL_0036 - .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_002e: nop + IL_002f: ldc.i4.1 + IL_0030: stloc.1 + IL_0031: br IL_003d - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0036: ldc.i4.0 + IL_0037: stloc.1 + IL_0038: br IL_003d - .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_003d: ldloc.1 + IL_003e: ret + } // end of method StringUtils::EndsWith - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1510 + .method public static hidebysig + default bool IsNullOrEmpty (string 'value') cil managed + { + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string) = ( + 01 00 61 53 74 72 69 6E 67 55 74 69 6C 73 2E 49 // ..aStringUtils.I + 73 4E 75 6C 6C 4F 72 45 6D 70 74 79 20 6D 65 74 // sNullOrEmpty met + 68 6F 64 20 69 73 20 64 65 70 72 65 63 69 61 74 // hod is depreciat + 65 64 2E 20 55 73 65 20 53 79 73 74 65 6D 2E 53 // ed. Use System.S + 74 72 69 6E 67 2E 49 73 4E 75 6C 6C 4F 72 45 6D // tring.IsNullOrEm + 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... - .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 -} + // Method begins at RVA 0x1b620 + // Code size 27 (0x1b) + .maxstack 2 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brfalse IL_0012 -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit Credential - extends NAnt.Core.DataTypeBase - { - .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.. + IL_0007: ldarg.0 + IL_0008: callvirt instance int32 string::get_Length() + IL_000d: ldc.i4.0 + IL_000e: ceq + IL_0010: br.s IL_0013 - .field private string _domain - .field private string _password - .field private string _userName - .field private bool _ifDefined - .field private bool _unlessDefined + IL_0012: ldc.i4.1 + IL_0013: stloc.0 + IL_0014: br IL_0019 - // method line 1426 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x1b054 - // Code size 15 (0xf) - .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_0019: ldloc.0 + IL_001a: ret + } // end of method StringUtils::IsNullOrEmpty - // method line 1427 - .method public hidebysig specialname - instance default string get_Domain () cil managed + // method line 1511 + .method public static hidebysig + default string ConvertEmptyToNull (string 'value') cil managed { - // Method begins at RVA 0x1b064 - // Code size 15 (0xf) + // Method begins at RVA 0x1b648 + // Code size 28 (0x1c) .maxstack 1 .locals init ( string 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: call bool string::IsNullOrEmpty(string) + IL_0007: brtrue IL_0013 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Credential::get_Domain + IL_000c: ldarg.0 + IL_000d: stloc.0 + IL_000e: br IL_001a - // method line 1428 - .method public hidebysig specialname - instance default void set_Domain (string 'value') cil managed - { - // Method begins at RVA 0x1b07f - // 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 + IL_0013: ldnull + IL_0014: stloc.0 + IL_0015: br IL_001a - // method line 1429 - .method public hidebysig specialname - instance default string get_Password () cil managed + IL_001a: ldloc.0 + IL_001b: ret + } // end of method StringUtils::ConvertEmptyToNull + + // method line 1512 + .method public static hidebysig + default string ConvertNullToEmpty (string 'value') cil managed { - // Method begins at RVA 0x1b090 - // Code size 15 (0xf) + // Method begins at RVA 0x1b670 + // Code size 27 (0x1b) .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: brtrue IL_0012 + + IL_0007: ldsfld string [mscorlib]System.String::Empty + IL_000c: stloc.0 + IL_000d: br IL_0019 + + IL_0012: ldarg.0 + IL_0013: stloc.0 + IL_0014: br IL_0019 + + IL_0019: ldloc.0 + IL_001a: ret + } // end of method StringUtils::ConvertNullToEmpty + + // method line 1513 + .method public static hidebysig + default string Join (string separator, class [System]System.Collections.Specialized.StringCollection 'value') cil managed + { + // Method begins at RVA 0x1b698 + // Code size 66 (0x42) + .maxstack 3 + .locals init ( + string[] V_0, + string V_1) + 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: brtrue IL_001f + + IL_0018: ldsfld string [mscorlib]System.String::Empty + IL_001d: starg.s 0 + IL_001f: ldarg.1 + IL_0020: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0025: newarr [mscorlib]System.String + IL_002a: stloc.0 + IL_002b: ldarg.1 + IL_002c: ldloc.0 + IL_002d: ldc.i4.0 + IL_002e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) + IL_0033: ldarg.0 + IL_0034: ldloc.0 + IL_0035: call string string::Join(string, string[]) + IL_003a: stloc.1 + IL_003b: br IL_0040 + + IL_0040: ldloc.1 + IL_0041: ret + } // end of method StringUtils::Join + + // method line 1514 + .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 0x1b6e8 + // 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 + + IL_0029: ldloc.2 + IL_002a: ret + } // end of method StringUtils::Clone + + } // end of class NAnt.Core.Util.StringUtils +} + +.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 1515 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1b71f + // 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 ResourceUtils::.ctor + + // method line 1516 + .method public static hidebysig + default void RegisterSharedAssembly (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + { + // Method begins at RVA 0x1b728 + // Code size 24 (0x18) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_0007: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_000c: ldarg.0 + IL_000d: newobj instance void class [mscorlib]System.Resources.ResourceManager::'.ctor'(string, class [mscorlib]System.Reflection.Assembly) + IL_0012: stsfld class [mscorlib]System.Resources.ResourceManager NAnt.Core.Util.ResourceUtils::_sharedResourceManager + IL_0017: ret + } // end of method ResourceUtils::RegisterSharedAssembly + + // method line 1517 + .method public static hidebysig + default string GetString (string name) cil managed noinlining + { + // Method begins at RVA 0x1b744 + // Code size 23 (0x17) + .maxstack 3 + .locals init ( + class [mscorlib]System.Reflection.Assembly V_0, + string V_1) + IL_0000: nop + IL_0001: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldnull + IL_0009: ldloc.0 + IL_000a: call string class NAnt.Core.Util.ResourceUtils::GetString(string, class [mscorlib]System.Globalization.CultureInfo, class [mscorlib]System.Reflection.Assembly) + IL_000f: stloc.1 + IL_0010: br IL_0015 + + IL_0015: ldloc.1 + IL_0016: ret + } // end of method ResourceUtils::GetString + + // method line 1518 + .method public static hidebysig + default string GetString (string name, class [mscorlib]System.Globalization.CultureInfo culture) cil managed noinlining + { + // Method begins at RVA 0x1b768 + // Code size 23 (0x17) + .maxstack 3 + .locals init ( + class [mscorlib]System.Reflection.Assembly V_0, + string V_1) + IL_0000: nop + IL_0001: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldloc.0 + IL_000a: call string class NAnt.Core.Util.ResourceUtils::GetString(string, class [mscorlib]System.Globalization.CultureInfo, class [mscorlib]System.Reflection.Assembly) + IL_000f: stloc.1 + IL_0010: br IL_0015 + + IL_0015: ldloc.1 + IL_0016: ret + } // end of method ResourceUtils::GetString + + // method line 1519 + .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 0x1b78c + // Code size 107 (0x6b) + .maxstack 3 + .locals init ( + string V_0, + class [mscorlib]System.Resources.ResourceManager V_1, + string V_2, + string V_3) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_0007: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_000c: stloc.0 + IL_000d: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary + IL_0012: ldloc.0 + IL_0013: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_0018: brtrue IL_0025 + + IL_001d: nop + IL_001e: ldarg.2 + IL_001f: call void class NAnt.Core.Util.ResourceUtils::RegisterAssembly(class [mscorlib]System.Reflection.Assembly) + IL_0024: nop + IL_0025: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary + IL_002a: ldloc.0 + IL_002b: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0030: castclass [mscorlib]System.Resources.ResourceManager + IL_0035: stloc.1 + IL_0036: ldloc.1 + IL_0037: ldarg.0 + IL_0038: ldarg.1 + IL_0039: callvirt instance string class [mscorlib]System.Resources.ResourceManager::GetString(string, class [mscorlib]System.Globalization.CultureInfo) + IL_003e: stloc.2 + IL_003f: ldloc.2 + IL_0040: brtrue IL_0062 + + IL_0045: ldsfld class [mscorlib]System.Resources.ResourceManager NAnt.Core.Util.ResourceUtils::_sharedResourceManager + IL_004a: brfalse IL_0062 + + IL_004f: nop + IL_0050: ldsfld class [mscorlib]System.Resources.ResourceManager NAnt.Core.Util.ResourceUtils::_sharedResourceManager + IL_0055: ldarg.0 + IL_0056: ldarg.1 + IL_0057: callvirt instance string class [mscorlib]System.Resources.ResourceManager::GetString(string, class [mscorlib]System.Globalization.CultureInfo) + IL_005c: stloc.3 + IL_005d: br IL_0069 + + IL_0062: ldloc.2 + IL_0063: stloc.3 + IL_0064: br IL_0069 + + IL_0069: ldloc.3 + IL_006a: ret + } // end of method ResourceUtils::GetString + + // method line 1520 + .method private static hidebysig + default void RegisterAssembly (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + { + // Method begins at RVA 0x1b804 + // Code size 70 (0x46) + .maxstack 4 + .locals init ( + object V_0, + bool V_1, + string V_2) + IL_0000: nop + IL_0001: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary + IL_0006: stloc.0 + IL_0007: ldc.i4.0 + IL_0008: stloc.1 + .try { // 0 + IL_0009: ldloc.0 + IL_000a: ldloca.s 1 + IL_000c: call void class [mscorlib]System.Threading.Monitor::Enter(object, [out] bool&) + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_0018: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_001d: stloc.2 + IL_001e: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary + IL_0023: ldloc.2 + IL_0024: ldloc.2 + IL_0025: call string class NAnt.Core.Util.ResourceUtils::GetResourceName(string) + IL_002a: ldarg.0 + IL_002b: newobj instance void class [mscorlib]System.Resources.ResourceManager::'.ctor'(string, class [mscorlib]System.Reflection.Assembly) + IL_0030: callvirt instance void class [mscorlib]System.Collections.Hashtable::Add(object, object) + IL_0035: nop + IL_0036: leave IL_0045 + + } // end .try 0 + finally { // 0 + IL_003b: ldloc.1 + IL_003c: brfalse.s IL_0044 + + IL_003e: ldloc.0 + IL_003f: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0044: endfinally + } // end handler 0 + IL_0045: ret + } // end of method ResourceUtils::RegisterAssembly + + // method line 1521 + .method private static hidebysig + default string GetResourceName (string assemblyName) cil managed + { + // Method begins at RVA 0x1b868 + // Code size 65 (0x41) + .maxstack 4 + .locals init ( + string V_0, + string V_1) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: ldstr "Tasks" + IL_0009: callvirt instance bool string::EndsWith(string) + IL_000e: brfalse IL_002a + + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldc.i4.0 + IL_0016: ldarg.0 + IL_0017: callvirt instance int32 string::get_Length() + IL_001c: ldc.i4.5 + IL_001d: sub + IL_001e: callvirt instance string string::Substring(int32, int32) + IL_0023: stloc.0 + IL_0024: nop + IL_0025: br IL_002e + + IL_002a: nop + IL_002b: ldarg.0 + IL_002c: stloc.0 + IL_002d: nop + IL_002e: ldloc.0 + IL_002f: ldstr ".Resources.Strings" + IL_0034: call string string::Concat(string, string) + IL_0039: stloc.1 + IL_003a: br IL_003f + + IL_003f: ldloc.1 + IL_0040: ret + } // end of method ResourceUtils::GetResourceName + + // method line 1522 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x1b8b5 + // 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.Util.ResourceUtils::_resourceManagerDictionary + IL_000a: ret + } // end of method ResourceUtils::.cctor + + } // end of class NAnt.Core.Util.ResourceUtils +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi beforefieldinit DateTimeProvider + extends [mscorlib]System.Object + { + + // method line 1523 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1b8c1 + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method DateTimeProvider::.ctor + + // method line 1524 + .method public virtual hidebysig newslot specialname + instance default valuetype [mscorlib]System.DateTime get_Now () cil managed + { + // Method begins at RVA 0x1b8cc + // 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 DateTimeProvider::get_Now + + .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 +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi abstract sealed beforefieldinit FileUtils + extends [mscorlib]System.Object + { + .field private static literal int32 _bufferSize = int32(0x00002000) + + // method line 1525 + .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 0x1b8e8 + // Code size 329 (0x149) + .maxstack 4 + .locals init ( + bool V_0, + class [mscorlib]System.Text.Encoding V_1, + class [mscorlib]System.IO.StreamReader V_2, + class [mscorlib]System.Text.Encoding V_3, + class [mscorlib]System.IO.StreamWriter V_4, + class NAnt.Core.Filters.Filter V_5, + bool V_6, + int32 V_7, + char[] V_8, + int32 V_9) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0007: brtrue IL_001e + + IL_000c: nop + IL_000d: ldstr "Cannot copy file: Source File {0} does not exist" + IL_0012: ldarg.0 + IL_0013: call string string::Format(string, object) + IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_001d: throw + IL_001e: ldarg.2 + IL_001f: call bool class NAnt.Core.Filters.FilterChain::IsNullOrEmpty(class NAnt.Core.Filters.FilterChain) + IL_0024: ldc.i4.0 + IL_0025: ceq + IL_0027: stloc.0 + IL_0028: ldloc.0 + IL_0029: brtrue IL_004a + + IL_002e: ldarg.3 + IL_002f: brtrue IL_004a + + IL_0034: ldarg.s 4 + IL_0036: brtrue IL_004a + + IL_003b: nop + IL_003c: ldarg.0 + IL_003d: ldarg.1 + IL_003e: ldc.i4.1 + IL_003f: call void class [mscorlib]System.IO.File::Copy(string, string, bool) + IL_0044: nop + IL_0045: br IL_0148 + + IL_004a: nop + IL_004b: ldarg.3 + IL_004c: brfalse IL_0057 + + IL_0051: ldarg.3 + IL_0052: br IL_005c + + IL_0057: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_005c: stloc.1 + IL_005d: ldarg.0 + IL_005e: ldloc.1 + IL_005f: ldc.i4.1 + IL_0060: ldc.i4 8192 + IL_0065: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool, int32) + IL_006a: stloc.2 + .try { // 1 + IL_006b: nop + IL_006c: ldarg.s 4 + IL_006e: stloc.3 + IL_006f: ldloc.3 + IL_0070: brtrue IL_007e + + IL_0075: nop + IL_0076: ldloc.2 + IL_0077: callvirt instance class [mscorlib]System.Text.Encoding class [mscorlib]System.IO.StreamReader::get_CurrentEncoding() + IL_007c: stloc.3 + IL_007d: nop + IL_007e: ldarg.1 + IL_007f: ldc.i4.0 + IL_0080: ldloc.3 + IL_0081: ldc.i4 8192 + IL_0086: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(string, bool, class [mscorlib]System.Text.Encoding, int32) + IL_008b: stloc.s 4 + .try { // 0 + IL_008d: nop + IL_008e: ldloc.0 + IL_008f: brfalse IL_00e1 + + IL_0094: nop + IL_0095: ldarg.2 + IL_0096: ldloc.2 + IL_0097: newobj instance void class NAnt.Core.Filters.PhysicalTextReader::'.ctor'(class [mscorlib]System.IO.TextReader) + IL_009c: callvirt instance class NAnt.Core.Filters.Filter class NAnt.Core.Filters.FilterChain::GetBaseFilter(class NAnt.Core.Filters.PhysicalTextReader) + IL_00a1: stloc.s 5 + IL_00a3: ldc.i4.0 + IL_00a4: stloc.s 6 + IL_00a6: br IL_00d4 + + IL_00ab: nop + IL_00ac: ldloc.s 5 + IL_00ae: callvirt instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_00b3: stloc.s 7 + IL_00b5: ldloc.s 7 + IL_00b7: ldc.i4.m1 + IL_00b8: ble IL_00ce + + IL_00bd: nop + IL_00be: ldloc.s 4 + IL_00c0: ldloc.s 7 + IL_00c2: conv.u2 + IL_00c3: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(char) + IL_00c8: nop + IL_00c9: br IL_00d3 + + IL_00ce: nop + IL_00cf: ldc.i4.1 + IL_00d0: stloc.s 6 + IL_00d2: nop + IL_00d3: nop + IL_00d4: ldloc.s 6 + IL_00d6: brfalse IL_00ab + + IL_00db: nop + IL_00dc: br IL_011f + + IL_00e1: nop + IL_00e2: ldc.i4 8192 + IL_00e7: newarr [mscorlib]System.Char + IL_00ec: stloc.s 8 + IL_00ee: nop + IL_00ef: nop + IL_00f0: ldloc.2 + IL_00f1: ldloc.s 8 + IL_00f3: ldc.i4.0 + IL_00f4: ldloc.s 8 + IL_00f6: ldlen + IL_00f7: conv.i4 + IL_00f8: callvirt instance int32 class [mscorlib]System.IO.TextReader::Read(char[], int32, int32) + IL_00fd: stloc.s 9 + IL_00ff: ldloc.s 9 + IL_0101: brtrue IL_010c + + IL_0106: nop + IL_0107: leave IL_011e + + IL_010c: ldloc.s 4 + IL_010e: ldloc.s 8 + IL_0110: ldc.i4.0 + IL_0111: ldloc.s 9 + IL_0113: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(char[], int32, int32) + IL_0118: nop + IL_0119: br IL_00ee + + IL_011e: nop + IL_011f: nop + IL_0120: leave IL_0134 + + } // end .try 0 + finally { // 0 + IL_0125: ldloc.s 4 + IL_0127: brfalse IL_0133 + + IL_012c: ldloc.s 4 + IL_012e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0133: endfinally + } // end handler 0 + IL_0134: nop + IL_0135: leave IL_0147 + + } // end .try 1 + finally { // 1 + IL_013a: ldloc.2 + IL_013b: brfalse IL_0146 + + IL_0140: ldloc.2 + IL_0141: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0146: endfinally + } // end handler 1 + IL_0147: nop + IL_0148: ret + } // end of method FileUtils::CopyFile + + // method line 1526 + .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 0x1ba5c + // Code size 88 (0x58) + .maxstack 5 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0007: brtrue IL_001e + + IL_000c: nop + IL_000d: ldstr "Cannot move file: Source File {0} does not exist" + IL_0012: ldarg.0 + IL_0013: call string string::Format(string, object) + IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_001d: throw + IL_001e: ldarg.2 + IL_001f: call bool class NAnt.Core.Filters.FilterChain::IsNullOrEmpty(class NAnt.Core.Filters.FilterChain) + IL_0024: brfalse IL_0044 + + IL_0029: ldarg.3 + IL_002a: brtrue IL_0044 + + IL_002f: ldarg.s 4 + IL_0031: brtrue IL_0044 + + IL_0036: nop + IL_0037: ldarg.0 + IL_0038: ldarg.1 + IL_0039: call void class [mscorlib]System.IO.File::Move(string, string) + IL_003e: nop + IL_003f: br IL_0057 + + IL_0044: nop + IL_0045: ldarg.0 + IL_0046: ldarg.1 + IL_0047: ldarg.2 + IL_0048: ldarg.3 + IL_0049: ldarg.s 4 + IL_004b: 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_0050: ldarg.0 + IL_0051: call void class [mscorlib]System.IO.File::Delete(string) + IL_0056: nop + IL_0057: ret + } // end of method FileUtils::MoveFile + + // method line 1527 + .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 0x1bac0 + // Code size 180 (0xb4) + .maxstack 5 + .locals init ( + string V_0, + string[] V_1, + int32 V_2, + string V_3, + string V_4, + string[] V_5, + int32 V_6, + string V_7) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0007: brtrue IL_001e + + IL_000c: nop + IL_000d: ldstr "Cannot copy directory: Source Directory {0} does not exist" + IL_0012: ldarg.0 + IL_0013: call string string::Format(string, object) + IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_001d: throw + IL_001e: ldarg.1 + IL_001f: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0024: brtrue IL_0032 + + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0030: pop + IL_0031: nop + IL_0032: nop + IL_0033: ldarg.0 + IL_0034: call string[] class [mscorlib]System.IO.Directory::GetFiles(string) + IL_0039: stloc.1 + IL_003a: ldc.i4.0 + IL_003b: stloc.2 + IL_003c: br IL_0063 + + IL_0041: ldloc.1 + IL_0042: ldloc.2 + IL_0043: ldelem.ref + IL_0044: stloc.0 + IL_0045: nop + IL_0046: ldarg.1 + IL_0047: ldloc.0 + IL_0048: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_004d: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0052: stloc.3 + IL_0053: ldloc.0 + IL_0054: ldloc.3 + IL_0055: ldarg.2 + IL_0056: ldarg.3 + IL_0057: ldarg.s 4 + IL_0059: 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_005e: nop + IL_005f: ldloc.2 + IL_0060: ldc.i4.1 + IL_0061: add + IL_0062: stloc.2 + IL_0063: ldloc.2 + IL_0064: ldloc.1 + IL_0065: ldlen + IL_0066: conv.i4 + IL_0067: blt IL_0041 + + IL_006c: nop + IL_006d: ldarg.0 + IL_006e: call string[] class [mscorlib]System.IO.Directory::GetDirectories(string) + IL_0073: stloc.s 5 + IL_0075: ldc.i4.0 + IL_0076: stloc.s 6 + IL_0078: br IL_00a8 + + IL_007d: ldloc.s 5 + IL_007f: ldloc.s 6 + IL_0081: ldelem.ref + IL_0082: stloc.s 4 + IL_0084: nop + IL_0085: ldarg.1 + IL_0086: ldloc.s 4 + IL_0088: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_008d: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0092: stloc.s 7 + IL_0094: ldloc.s 4 + IL_0096: ldloc.s 7 + IL_0098: ldarg.2 + IL_0099: ldarg.3 + IL_009a: ldarg.s 4 + IL_009c: 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_00a1: nop + IL_00a2: ldloc.s 6 + IL_00a4: ldc.i4.1 + IL_00a5: add + IL_00a6: stloc.s 6 + IL_00a8: ldloc.s 6 + IL_00aa: ldloc.s 5 + IL_00ac: ldlen + IL_00ad: conv.i4 + IL_00ae: blt IL_007d + + IL_00b3: ret + } // end of method FileUtils::CopyDirectory + + // method line 1528 + .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 0x1bb80 + // Code size 308 (0x134) + .maxstack 5 + .locals init ( + string V_0, + string V_1, + class [mscorlib]System.IO.IOException V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0007: brtrue IL_001e + + IL_000c: nop + IL_000d: ldstr "Cannot move directory: Source Directory {0} does not exist" + IL_0012: ldarg.0 + IL_0013: call string string::Format(string, object) + IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_001d: throw + IL_001e: ldarg.2 + IL_001f: call bool class NAnt.Core.Filters.FilterChain::IsNullOrEmpty(class NAnt.Core.Filters.FilterChain) + IL_0024: brfalse IL_011f + + IL_0029: ldarg.3 + IL_002a: brtrue IL_011f + + IL_002f: ldarg.s 4 + IL_0031: brtrue IL_011f + + IL_0036: nop + IL_0037: ldarg.0 + IL_0038: ldarg.1 + IL_0039: ldc.i4.2 + IL_003a: callvirt instance bool string::Equals(string, valuetype [mscorlib]System.StringComparison) + IL_003f: brfalse IL_0050 + + IL_0044: nop + IL_0045: ldstr "Source and Target paths are identical" + IL_004a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_004f: throw + .try { // 1 + IL_0050: nop + IL_0051: call bool class NAnt.Core.PlatformHelper::get_IsWindows() + IL_0056: brfalse IL_00d1 + + IL_005b: nop + IL_005c: ldarg.0 + IL_005d: ldarg.1 + IL_005e: ldc.i4.3 + IL_005f: callvirt instance bool string::Equals(string, valuetype [mscorlib]System.StringComparison) + IL_0064: brfalse IL_00c2 + + IL_0069: nop + IL_006a: ldarg.1 + IL_006b: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::GetParent(string) + IL_0070: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0075: stloc.0 + IL_0076: ldloc.0 + IL_0077: call string class [mscorlib]System.IO.Path::GetRandomFileName() + IL_007c: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0081: stloc.1 + .try { // 0 + IL_0082: nop + IL_0083: ldarg.0 + IL_0084: ldloc.1 + IL_0085: call void class [mscorlib]System.IO.Directory::Move(string, string) + IL_008a: ldloc.1 + IL_008b: ldarg.1 + IL_008c: call void class [mscorlib]System.IO.Directory::Move(string, string) + IL_0091: nop + IL_0092: leave IL_00bc + + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_0097: pop + IL_0098: nop + IL_0099: ldloc.1 + IL_009a: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_009f: brfalse IL_00ba + + IL_00a4: nop + IL_00a5: ldarg.0 + IL_00a6: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_00ab: brtrue IL_00b9 + + IL_00b0: nop + IL_00b1: ldloc.1 + IL_00b2: ldarg.0 + IL_00b3: call void class [mscorlib]System.IO.Directory::Move(string, string) + IL_00b8: nop + IL_00b9: nop + IL_00ba: rethrow + } // end handler 0 + IL_00bc: nop + IL_00bd: br IL_00cb + + IL_00c2: nop + IL_00c3: ldarg.0 + IL_00c4: ldarg.1 + IL_00c5: call void class [mscorlib]System.IO.Directory::Move(string, string) + IL_00ca: nop + IL_00cb: nop + IL_00cc: br IL_00da + + IL_00d1: nop + IL_00d2: ldarg.0 + IL_00d3: ldarg.1 + IL_00d4: call void class [mscorlib]System.IO.Directory::Move(string, string) + IL_00d9: nop + IL_00da: nop + IL_00db: leave IL_0119 + + } // end .try 1 + catch class [mscorlib]System.IO.IOException { // 1 + IL_00e0: stloc.2 + IL_00e1: nop + IL_00e2: ldarg.1 + IL_00e3: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_00e8: brfalse IL_0105 + + IL_00ed: nop + IL_00ee: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00f3: ldstr "Failed to move directory {0}.Directory '{1}' already exists." + IL_00f8: ldarg.0 + IL_00f9: ldarg.1 + IL_00fa: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00ff: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0104: throw + IL_0105: nop + IL_0106: ldstr "Unhandled IOException when trying to move directory '{0}' to '{1}'" + IL_010b: ldarg.0 + IL_010c: ldarg.1 + IL_010d: call string string::Format(string, object, object) + IL_0112: ldloc.2 + IL_0113: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0118: throw + } // end handler 1 + IL_0119: nop + IL_011a: br IL_0133 + + IL_011f: nop + IL_0120: ldarg.0 + IL_0121: ldarg.1 + IL_0122: ldarg.2 + IL_0123: ldarg.3 + IL_0124: ldarg.s 4 + IL_0126: 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_012b: ldarg.0 + IL_012c: ldc.i4.1 + IL_012d: call void class [mscorlib]System.IO.Directory::Delete(string, bool) + IL_0132: nop + IL_0133: ret + } // end of method FileUtils::MoveDirectory + + // method line 1529 + .method assembly static hidebysig + default string GetTempDirectoryName () cil managed + { + // Method begins at RVA 0x1bcdc + // Code size 24 (0x18) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: call string class [mscorlib]System.IO.Path::GetTempPath() + IL_0006: call string class [mscorlib]System.IO.Path::GetRandomFileName() + IL_000b: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0010: stloc.0 + IL_0011: br IL_0016 + + IL_0016: ldloc.0 + IL_0017: ret + } // end of method FileUtils::GetTempDirectoryName + + // method line 1530 + .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 0x1bd00 + // Code size 166 (0xa6) + .maxstack 3 + .locals init ( + string V_0, + class [mscorlib]System.Text.Encoding V_1, + class [mscorlib]System.IO.StreamReader V_2, + class NAnt.Core.Filters.Filter V_3, + class [mscorlib]System.IO.StringWriter V_4, + int32 V_5, + string V_6) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.2 + IL_0004: brfalse IL_000f + + IL_0009: ldarg.2 + IL_000a: br IL_0014 + + IL_000f: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_0014: stloc.1 + IL_0015: ldarg.0 + IL_0016: ldloc.1 + IL_0017: ldc.i4.1 + IL_0018: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) + IL_001d: stloc.2 + .try { // 0 + IL_001e: nop + IL_001f: ldarg.1 + IL_0020: brfalse IL_0035 + + IL_0025: ldarg.1 + IL_0026: callvirt instance class NAnt.Core.Filters.FilterCollection class NAnt.Core.Filters.FilterChain::get_Filters() + IL_002b: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() + IL_0030: brtrue IL_0043 + + IL_0035: nop + IL_0036: ldloc.2 + IL_0037: callvirt instance string class [mscorlib]System.IO.TextReader::ReadToEnd() + IL_003c: stloc.0 + IL_003d: nop + IL_003e: br IL_0088 + + IL_0043: nop + IL_0044: ldarg.1 + IL_0045: ldloc.2 + IL_0046: newobj instance void class NAnt.Core.Filters.PhysicalTextReader::'.ctor'(class [mscorlib]System.IO.TextReader) + IL_004b: callvirt instance class NAnt.Core.Filters.Filter class NAnt.Core.Filters.FilterChain::GetBaseFilter(class NAnt.Core.Filters.PhysicalTextReader) + IL_0050: stloc.3 + IL_0051: newobj instance void class [mscorlib]System.IO.StringWriter::'.ctor'() + IL_0056: stloc.s 4 + IL_0058: nop + IL_0059: nop + IL_005a: ldloc.3 + IL_005b: callvirt instance int32 class NAnt.Core.Filters.ChainableReader::Read() + IL_0060: stloc.s 5 + IL_0062: ldloc.s 5 + IL_0064: ldc.i4.m1 + IL_0065: bne.un IL_006f + + IL_006a: leave IL_007f + + IL_006f: ldloc.s 4 + IL_0071: ldloc.s 5 + IL_0073: conv.u2 + IL_0074: callvirt instance void class [mscorlib]System.IO.TextWriter::Write(char) + IL_0079: nop + IL_007a: br IL_0058 + + IL_007f: ldloc.s 4 + IL_0081: callvirt instance string object::ToString() + IL_0086: stloc.0 + IL_0087: nop + IL_0088: nop + IL_0089: leave IL_009b + + } // end .try 0 + finally { // 0 + IL_008e: ldloc.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: ldloc.0 + IL_009c: stloc.s 6 + IL_009e: br IL_00a3 + + IL_00a3: ldloc.s 6 + IL_00a5: ret + } // end of method FileUtils::ReadFile + + // method line 1531 + .method public static hidebysig + default class [mscorlib]System.IO.DirectoryInfo GetTempDirectory () cil managed + { + // Method begins at RVA 0x1bdc4 + // Code size 34 (0x22) + .maxstack 1 + .locals init ( + string V_0, + class [mscorlib]System.IO.DirectoryInfo V_1) + IL_0000: nop + IL_0001: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: call void class [mscorlib]System.IO.File::Delete(string) + IL_000d: ldloc.0 + IL_000e: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0013: pop + IL_0014: ldloc.0 + IL_0015: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) + IL_001a: stloc.1 + IL_001b: br IL_0020 + + IL_0020: ldloc.1 + IL_0021: ret + } // end of method FileUtils::GetTempDirectory + + // method line 1532 + .method public static hidebysig + default string CombinePaths (string path1, string path2) cil managed + { + // Method begins at RVA 0x1bdf4 + // Code size 664 (0x298) + .maxstack 4 + .locals init ( + string V_0, + char V_1, + char[] V_2, + string[] V_3, + class [mscorlib]System.Collections.ArrayList V_4, + int32 V_5, + string V_6, + bool V_7, + string[] V_8, + int32 V_9, + class [mscorlib]System.Collections.ArrayList V_10, + int32 V_11, + string V_12, + string[] V_13, + string V_14) + IL_0000: nop + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: brfalse IL_0019 + + IL_000b: nop + IL_000c: ldarg.0 + IL_000d: ldarg.1 + IL_000e: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0013: stloc.0 + IL_0014: br IL_0296 + + IL_0019: ldarg.0 + IL_001a: brtrue IL_002b + + IL_001f: nop + IL_0020: ldstr "path1" + IL_0025: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_002a: throw + IL_002b: ldarg.1 + IL_002c: brtrue IL_003d + + IL_0031: nop + IL_0032: ldstr "path2" + IL_0037: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_003c: throw + IL_003d: ldarg.1 + IL_003e: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0043: brfalse IL_0050 + + IL_0048: nop + IL_0049: ldarg.1 + IL_004a: stloc.0 + IL_004b: br IL_0296 + + IL_0050: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0055: stloc.1 + IL_0056: ldc.i4.2 + IL_0057: newarr [mscorlib]System.Char + IL_005c: dup + IL_005d: ldc.i4.0 + IL_005e: ldc.i4.s 0x2f + IL_0060: stelem.i2 + IL_0061: dup + IL_0062: ldc.i4.1 + IL_0063: ldloc.1 + IL_0064: stelem.i2 + IL_0065: stloc.2 + IL_0066: ldarg.1 + IL_0067: ldloc.2 + IL_0068: callvirt instance string[] string::Split(char[]) + IL_006d: stloc.3 + IL_006e: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0073: stloc.s 4 + IL_0075: ldc.i4.0 + IL_0076: stloc.s 5 + IL_0078: br IL_0126 + + IL_007d: nop + IL_007e: ldloc.3 + IL_007f: ldloc.s 5 + IL_0081: ldelem.ref + IL_0082: stloc.s 6 + IL_0084: ldloc.s 6 + IL_0086: callvirt instance int32 string::get_Length() + IL_008b: brfalse IL_00a1 + + IL_0090: ldloc.s 6 + IL_0092: ldstr "." + IL_0097: call bool string::op_Equality(string, string) + IL_009c: brfalse IL_00a7 + + IL_00a1: nop + IL_00a2: br IL_0120 + + IL_00a7: ldloc.s 6 + IL_00a9: ldstr ".." + IL_00ae: call bool string::op_Equality(string, string) + IL_00b3: brfalse IL_0113 + + IL_00b8: nop + IL_00b9: ldloc.s 4 + IL_00bb: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_00c0: ldc.i4.0 + IL_00c1: ble IL_0101 + + IL_00c6: ldloc.s 4 + IL_00c8: ldloc.s 4 + IL_00ca: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_00cf: ldc.i4.1 + IL_00d0: sub + IL_00d1: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_00d6: castclass [mscorlib]System.String + IL_00db: ldstr ".." + IL_00e0: call bool string::op_Inequality(string, string) + IL_00e5: brfalse IL_0101 + + IL_00ea: nop + IL_00eb: ldloc.s 4 + IL_00ed: ldloc.s 4 + IL_00ef: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_00f4: ldc.i4.1 + IL_00f5: sub + IL_00f6: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) + IL_00fb: nop + IL_00fc: br IL_010d + + IL_0101: nop + IL_0102: ldloc.s 4 + IL_0104: ldloc.s 6 + IL_0106: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_010b: pop + IL_010c: nop + IL_010d: nop + IL_010e: br IL_011f + + IL_0113: nop + IL_0114: ldloc.s 4 + IL_0116: ldloc.s 6 + IL_0118: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_011d: pop + IL_011e: nop + IL_011f: nop + IL_0120: ldloc.s 5 + IL_0122: ldc.i4.1 + IL_0123: add + IL_0124: stloc.s 5 + IL_0126: ldloc.s 5 + IL_0128: ldloc.3 + IL_0129: ldlen + IL_012a: conv.i4 + IL_012b: blt IL_007d + + IL_0130: ldarg.0 + IL_0131: callvirt instance int32 string::get_Length() + IL_0136: ldc.i4.0 + IL_0137: ble IL_0153 + + IL_013c: ldarg.0 + IL_013d: ldloc.2 + IL_013e: ldarg.0 + IL_013f: callvirt instance int32 string::get_Length() + IL_0144: ldc.i4.1 + IL_0145: sub + IL_0146: callvirt instance int32 string::IndexOfAny(char[], int32) + IL_014b: ldc.i4.m1 + IL_014c: ceq + IL_014e: ldc.i4.0 + IL_014f: ceq + IL_0151: br.s IL_0154 + + IL_0153: ldc.i4.0 + IL_0154: stloc.s 7 + IL_0156: ldloc.s 7 + IL_0158: brfalse IL_017b + + IL_015d: nop + IL_015e: ldarg.0 + IL_015f: ldc.i4.0 + IL_0160: ldarg.0 + IL_0161: callvirt instance int32 string::get_Length() + IL_0166: ldc.i4.1 + IL_0167: sub + IL_0168: callvirt instance string string::Substring(int32, int32) + IL_016d: ldloc.2 + IL_016e: callvirt instance string[] string::Split(char[]) + IL_0173: stloc.s 8 + IL_0175: nop + IL_0176: br IL_0186 + + IL_017b: nop + IL_017c: ldarg.0 + IL_017d: ldloc.2 + IL_017e: callvirt instance string[] string::Split(char[]) + IL_0183: stloc.s 8 + IL_0185: nop + IL_0186: ldloc.s 8 + IL_0188: ldlen + IL_0189: conv.i4 + IL_018a: stloc.s 9 + IL_018c: ldloc.s 4 + IL_018e: callvirt instance object class [mscorlib]System.Collections.ArrayList::Clone() + IL_0193: castclass [mscorlib]System.Collections.ArrayList + IL_0198: stloc.s 10 + IL_019a: ldc.i4.0 + IL_019b: stloc.s 11 + IL_019d: br IL_01e3 + + IL_01a2: nop + IL_01a3: ldloc.s 10 + IL_01a5: ldloc.s 11 + IL_01a7: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) + IL_01ac: castclass [mscorlib]System.String + IL_01b1: ldstr ".." + IL_01b6: call bool string::op_Inequality(string, string) + IL_01bb: brtrue IL_01c8 + + IL_01c0: ldloc.s 9 + IL_01c2: ldc.i4.2 + IL_01c3: bge IL_01ce + + IL_01c8: nop + IL_01c9: br IL_01f1 + + IL_01ce: ldloc.s 9 + IL_01d0: ldc.i4.1 + IL_01d1: sub + IL_01d2: stloc.s 9 + IL_01d4: ldloc.s 4 + IL_01d6: ldc.i4.0 + IL_01d7: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) + IL_01dc: nop + IL_01dd: ldloc.s 11 + IL_01df: ldc.i4.1 + IL_01e0: add + IL_01e1: stloc.s 11 + IL_01e3: ldloc.s 11 + IL_01e5: ldloc.s 10 + IL_01e7: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() + IL_01ec: blt IL_01a2 + + IL_01f1: ldloca.s 1 + IL_01f3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01f8: call instance string char::ToString(class [mscorlib]System.IFormatProvider) + IL_01fd: stloc.s 12 + IL_01ff: ldloc.s 9 + IL_0201: ldc.i4.1 + IL_0202: bne.un IL_022c + + IL_0207: ldloc.s 7 + IL_0209: brtrue IL_0218 + + IL_020e: ldloc.s 8 + IL_0210: ldlen + IL_0211: conv.i4 + IL_0212: ldc.i4.1 + IL_0213: ble IL_022c + + IL_0218: nop + IL_0219: ldloc.s 8 + IL_021b: dup + IL_021c: stloc.s 13 + IL_021e: ldc.i4.0 + IL_021f: ldloc.s 13 + IL_0221: ldc.i4.0 + IL_0222: ldelem.ref + IL_0223: ldloc.s 12 + IL_0225: call string string::Concat(string, string) + IL_022a: stelem.ref + IL_022b: nop + IL_022c: ldloc.s 12 + IL_022e: ldloc.s 8 + IL_0230: ldc.i4.0 + IL_0231: ldloc.s 9 + IL_0233: call string string::Join(string, string[], int32, int32) + IL_0238: ldloc.s 12 + IL_023a: ldloc.s 4 + IL_023c: ldtoken [mscorlib]System.String + IL_0241: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0246: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) + IL_024b: castclass string[] + IL_0250: call string string::Join(string, string[]) + IL_0255: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_025a: stloc.s 14 + IL_025c: ldarg.1 + IL_025d: ldstr "/" + IL_0262: callvirt instance bool string::EndsWith(string) + IL_0267: brtrue IL_0279 + + IL_026c: ldarg.1 + IL_026d: ldloc.s 12 + IL_026f: callvirt instance bool string::EndsWith(string) + IL_0274: brfalse IL_028e + + IL_0279: nop + IL_027a: ldloc.s 14 + IL_027c: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0281: box [mscorlib]System.Char + IL_0286: call string string::Concat(object, object) + IL_028b: stloc.s 14 + IL_028d: nop + IL_028e: ldloc.s 14 + IL_0290: stloc.0 + IL_0291: br IL_0296 + + IL_0296: ldloc.0 + IL_0297: ret + } // end of method FileUtils::CombinePaths + + // method line 1533 + .method public static hidebysig + default string GetFullPath (string path) cil managed + { + // Method begins at RVA 0x1c098 + // Code size 135 (0x87) + .maxstack 2 + .locals init ( + string V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brtrue IL_0013 + + IL_0007: nop + IL_0008: ldstr "path" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0018: brtrue IL_0028 + + IL_001d: ldarg.0 + IL_001e: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0023: brfalse IL_0035 + + IL_0028: nop + IL_0029: ldarg.0 + IL_002a: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_002f: stloc.0 + IL_0030: br IL_0085 + + IL_0035: ldarg.0 + IL_0036: callvirt instance int32 string::get_Length() + IL_003b: brfalse IL_0061 + + IL_0040: ldarg.0 + IL_0041: callvirt instance string string::Trim() + IL_0046: callvirt instance int32 string::get_Length() + IL_004b: brfalse IL_0061 + + IL_0050: ldarg.0 + IL_0051: ldsfld char[] [mscorlib]System.IO.Path::InvalidPathChars + IL_0056: callvirt instance int32 string::IndexOfAny(char[]) + IL_005b: ldc.i4.m1 + IL_005c: beq IL_006d + + IL_0061: nop + IL_0062: ldstr "The path is not of a legal form." + IL_0067: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_006c: throw + IL_006d: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() + IL_0072: ldarg.0 + IL_0073: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0078: stloc.1 + IL_0079: ldloc.1 + IL_007a: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_007f: stloc.0 + IL_0080: br IL_0085 + + IL_0085: ldloc.0 + IL_0086: ret + } // end of method FileUtils::GetFullPath + + // method line 1534 + .method public static hidebysig + default string GetHomeDirectory () cil managed + { + // Method begins at RVA 0x1c12c + // Code size 47 (0x2f) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: brfalse IL_001c + + IL_000b: nop + IL_000c: ldstr "HOME" + IL_0011: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_0016: stloc.0 + IL_0017: br IL_002d + + IL_001c: nop + IL_001d: ldstr "USERPROFILE" + IL_0022: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_0027: stloc.0 + IL_0028: br IL_002d + + IL_002d: ldloc.0 + IL_002e: ret + } // end of method FileUtils::GetHomeDirectory + + // method line 1535 + .method public static hidebysig + default string ResolveFile (string[] directories, string fileName, bool recursive) cil managed + { + // Method begins at RVA 0x1c168 + // Code size 113 (0x71) + .maxstack 3 + .locals init ( + string V_0, + string V_1, + string[] V_2, + int32 V_3, + string V_4) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: brtrue IL_0012 + + IL_0007: ldstr "directories" + IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0011: throw + IL_0012: ldarg.1 + IL_0013: brtrue IL_0023 + + IL_0018: ldstr "fileName" + IL_001d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0022: throw + IL_0023: ldnull + IL_0024: stloc.0 + IL_0025: nop + IL_0026: ldarg.0 + IL_0027: stloc.2 + IL_0028: ldc.i4.0 + IL_0029: stloc.3 + IL_002a: br IL_005d + + IL_002f: ldloc.2 + IL_0030: ldloc.3 + IL_0031: ldelem.ref + IL_0032: stloc.1 + IL_0033: nop + IL_0034: ldloc.1 + IL_0035: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_003a: brtrue IL_0044 + + IL_003f: br IL_0059 + + IL_0044: ldloc.1 + IL_0045: ldarg.1 + IL_0046: ldarg.2 + IL_0047: call string class NAnt.Core.Util.FileUtils::ScanDirectory(string, string, bool) + IL_004c: stloc.0 + IL_004d: ldloc.0 + IL_004e: brfalse IL_0058 + + IL_0053: br IL_0066 + + IL_0058: nop + IL_0059: ldloc.3 + IL_005a: ldc.i4.1 + IL_005b: add + IL_005c: stloc.3 + IL_005d: ldloc.3 + IL_005e: ldloc.2 + IL_005f: ldlen + IL_0060: conv.i4 + IL_0061: blt IL_002f + + IL_0066: ldloc.0 + IL_0067: stloc.s 4 + IL_0069: br IL_006e + + IL_006e: ldloc.s 4 + IL_0070: ret + } // end of method FileUtils::ResolveFile + + // method line 1536 + .method private static hidebysig + default string ScanDirectory (string directory, string fileName, bool recursive) cil managed + { + // Method begins at RVA 0x1c1e8 + // Code size 121 (0x79) + .maxstack 3 + .locals init ( + string V_0, + string V_1, + string[] V_2, + string V_3, + string[] V_4, + int32 V_5) + 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: ldloc.0 + IL_000a: call bool class [mscorlib]System.IO.File::Exists(string) + IL_000f: brfalse IL_001b + + IL_0014: ldloc.0 + IL_0015: stloc.1 + IL_0016: br IL_0077 + + IL_001b: ldarg.2 + IL_001c: brtrue IL_0028 + + IL_0021: ldnull + IL_0022: stloc.1 + IL_0023: br IL_0077 + + IL_0028: ldarg.0 + IL_0029: call string[] class [mscorlib]System.IO.Directory::GetDirectories(string) + IL_002e: stloc.2 + IL_002f: nop + IL_0030: ldloc.2 + IL_0031: stloc.s 4 + IL_0033: ldc.i4.0 + IL_0034: stloc.s 5 + IL_0036: br IL_0065 + + IL_003b: ldloc.s 4 + IL_003d: ldloc.s 5 + IL_003f: ldelem.ref + IL_0040: stloc.3 + IL_0041: nop + IL_0042: ldarg.0 + IL_0043: ldloc.3 + IL_0044: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0049: ldarg.1 + IL_004a: ldarg.2 + IL_004b: call string class NAnt.Core.Util.FileUtils::ScanDirectory(string, string, bool) + IL_0050: stloc.0 + IL_0051: ldloc.0 + IL_0052: brfalse IL_005e + + IL_0057: ldloc.0 + IL_0058: stloc.1 + IL_0059: br IL_0077 + + IL_005e: nop + IL_005f: ldloc.s 5 + IL_0061: ldc.i4.1 + IL_0062: add + IL_0063: stloc.s 5 + IL_0065: ldloc.s 5 + IL_0067: ldloc.s 4 + IL_0069: ldlen + IL_006a: conv.i4 + IL_006b: blt IL_003b + + IL_0070: ldnull + IL_0071: stloc.1 + IL_0072: br IL_0077 + + IL_0077: ldloc.1 + IL_0078: ret + } // end of method FileUtils::ScanDirectory + + } // end of class NAnt.Core.Util.FileUtils +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi sealed beforefieldinit GacCache + extends [mscorlib]System.Object + implements [mscorlib]System.IDisposable { + .field private class [mscorlib]System.AppDomain _domain + .field private class NAnt.Core.Project _project + .field private class [mscorlib]System.Collections.Hashtable _gacQueryCache + .field private bool _hasLoadedAssembly + .field private class NAnt.Core.Util.GacCache/GacResolver _resolver + .field private bool _disposed + + // method line 1537 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project) cil managed + { + // Method begins at RVA 0x1c26d + // 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 class NAnt.Core.Project NAnt.Core.Util.GacCache::_project + IL_000e: ldarg.0 + IL_000f: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0014: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache + IL_0019: ldarg.0 + IL_001a: call instance void class NAnt.Core.Util.GacCache::RecreateDomain() + IL_001f: ret + } // end of method GacCache::.ctor + + // method line 1538 + .method family virtual hidebysig + instance default void Finalize () cil managed + { + // Method begins at RVA 0x1c290 + // Code size 21 (0x15) + .maxstack 2 + IL_0000: nop + .try { // 0 + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: call instance void class NAnt.Core.Util.GacCache::Dispose(bool) + IL_0008: leave IL_0014 + + } // end .try 0 + finally { // 0 + IL_000d: ldarg.0 + IL_000e: call instance void object::Finalize() + IL_0013: endfinally + } // end handler 0 + IL_0014: ret + } // end of method GacCache::Finalize + + // method line 1539 + .method public hidebysig specialname + instance default class NAnt.Core.Project get_Project () cil managed + { + // Method begins at RVA 0x1c2c4 + // 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.Util.GacCache::_project 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 GacCache::get_Project - // method line 1430 - .method public hidebysig specialname - instance default void set_Password (string 'value') cil managed + // method line 1540 + .method private hidebysig specialname + instance default class [mscorlib]System.AppDomain get_Domain () cil managed { - // Method begins at RVA 0x1b0ab - // Code size 14 (0xe) + // Method begins at RVA 0x1c2e0 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.AppDomain V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GacCache::get_Domain + + // method line 1541 + .method private hidebysig specialname + instance default class NAnt.Core.Util.GacCache/GacResolver get_Resolver () cil managed + { + // Method begins at RVA 0x1c2fc + // Code size 80 (0x50) + .maxstack 4 + .locals init ( + class NAnt.Core.Util.GacCache/GacResolver V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver + IL_0007: brtrue IL_0042 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.0 + IL_000f: call instance class [mscorlib]System.AppDomain class NAnt.Core.Util.GacCache::get_Domain() + IL_0014: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_0019: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_001e: ldtoken NAnt.Core.Util.GacCache/GacResolver + IL_0023: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0028: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_002d: callvirt instance class [mscorlib]System.Runtime.Remoting.ObjectHandle class [mscorlib]System.AppDomain::CreateInstanceFrom(string, string) + IL_0032: callvirt instance object class [mscorlib]System.Runtime.Remoting.ObjectHandle::Unwrap() + IL_0037: castclass NAnt.Core.Util.GacCache/GacResolver + IL_003c: stfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver + IL_0041: nop + IL_0042: ldarg.0 + IL_0043: ldfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver + IL_0048: stloc.0 + IL_0049: br IL_004e + + IL_004e: ldloc.0 + IL_004f: ret + } // end of method GacCache::get_Resolver + + // method line 1542 + .method public final virtual hidebysig newslot + instance default void Dispose () cil managed + { + // Method begins at RVA 0x1c358 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldc.i4.1 + IL_0003: call instance void class NAnt.Core.Util.GacCache::Dispose(bool) + IL_0008: ldarg.0 + IL_0009: call void class [mscorlib]System.GC::SuppressFinalize(object) + IL_000e: ret + } // end of method GacCache::Dispose + + // method line 1543 + .method private hidebysig + instance default void Dispose (bool disposing) cil managed + { + // Method begins at RVA 0x1c368 + // Code size 33 (0x21) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Util.GacCache::_disposed + IL_0007: brtrue IL_0020 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_0013: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) + IL_0018: ldarg.0 + IL_0019: ldc.i4.1 + IL_001a: stfld bool NAnt.Core.Util.GacCache::_disposed + IL_001f: nop + IL_0020: ret + } // end of method GacCache::Dispose + + // method line 1544 + .method public hidebysig + instance default void RecreateDomain () cil managed + { + // Method begins at RVA 0x1c38c + // Code size 114 (0x72) + .maxstack 6 + .locals init ( + class [mscorlib]System.Security.PermissionSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Util.GacCache::_hasLoadedAssembly + IL_0007: brtrue IL_001c + + IL_000c: ldarg.0 + IL_000d: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_0012: brfalse IL_001c + + IL_0017: br IL_0071 + + IL_001c: ldarg.0 + IL_001d: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_0022: brfalse IL_0032 + + IL_0027: ldarg.0 + IL_0028: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_002d: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) + IL_0032: ldarg.0 + IL_0033: ldnull + IL_0034: stfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver + IL_0039: ldc.i4.1 + IL_003a: newobj instance void class [mscorlib]System.Security.PermissionSet::'.ctor'(valuetype [mscorlib]System.Security.Permissions.PermissionState) + IL_003f: stloc.0 + IL_0040: ldarg.0 + IL_0041: ldstr "GacCacheDomain" + IL_0046: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_004b: callvirt instance class [mscorlib]System.Security.Policy.Evidence class [mscorlib]System.AppDomain::get_Evidence() + IL_0050: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0055: callvirt instance class [mscorlib]System.AppDomainSetup class [mscorlib]System.AppDomain::get_SetupInformation() + IL_005a: ldloc.0 + IL_005b: call !!0[] class [mscorlib]System.Array::Empty () + IL_0060: 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_0065: stfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_006a: ldarg.0 + IL_006b: ldc.i4.0 + IL_006c: stfld bool NAnt.Core.Util.GacCache::_hasLoadedAssembly + IL_0071: ret + } // end of method GacCache::RecreateDomain + + // method line 1545 + .method public hidebysig + instance default bool IsAssemblyInGac (string assemblyFile) cil managed + { + // Method begins at RVA 0x1c40c + // Code size 160 (0xa0) + .maxstack 4 + .locals init ( + bool V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class NAnt.Core.Project class NAnt.Core.Util.GacCache::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_Family() + IL_0011: ldarg.0 + IL_0012: call instance class NAnt.Core.Project class NAnt.Core.Util.GacCache::get_Project() + IL_0017: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_001c: callvirt instance string class NAnt.Core.FrameworkInfo::get_Family() + IL_0021: call bool string::op_Inequality(string, string) + IL_0026: brfalse IL_0033 + + IL_002b: nop + IL_002c: ldc.i4.0 + IL_002d: stloc.0 + IL_002e: br IL_009e + + IL_0033: ldarg.1 + IL_0034: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_0039: stloc.1 + IL_003a: ldarg.0 + IL_003b: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache + IL_0040: ldloc.1 + IL_0041: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_0046: brfalse IL_0063 + + IL_004b: nop + IL_004c: ldarg.0 + IL_004d: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache + IL_0052: ldloc.1 + IL_0053: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0058: unbox.any [mscorlib]System.Boolean + IL_005d: stloc.0 + IL_005e: br IL_009e + + IL_0063: ldarg.0 + IL_0064: ldc.i4.1 + IL_0065: stfld bool NAnt.Core.Util.GacCache::_hasLoadedAssembly + IL_006a: ldarg.0 + IL_006b: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache + IL_0070: ldloc.1 + IL_0071: ldarg.0 + IL_0072: call instance class NAnt.Core.Util.GacCache/GacResolver class NAnt.Core.Util.GacCache::get_Resolver() + IL_0077: ldloc.1 + IL_0078: callvirt instance bool class NAnt.Core.Util.GacCache/GacResolver::IsAssemblyInGac(string) + IL_007d: box [mscorlib]System.Boolean + IL_0082: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0087: ldarg.0 + IL_0088: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache + IL_008d: ldloc.1 + IL_008e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0093: unbox.any [mscorlib]System.Boolean + IL_0098: stloc.0 + IL_0099: br IL_009e + + IL_009e: ldloc.0 + IL_009f: ret + } // end of method GacCache::IsAssemblyInGac + + .property instance class NAnt.Core.Project Project () + { + .get instance default class NAnt.Core.Project NAnt.Core.Util.GacCache::get_Project () + } + .property instance class [mscorlib]System.AppDomain Domain () + { + .get instance default class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::get_Domain () + } + .property instance class NAnt.Core.Util.GacCache/GacResolver Resolver () + { + .get instance default class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::get_Resolver () + } + .class nested private auto ansi beforefieldinit GacResolver + extends [mscorlib]System.MarshalByRefObject + { + + // method line 1546 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1c4b8 + // 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 GacResolver::.ctor + + // method line 1547 + .method public virtual hidebysig + instance default object InitializeLifetimeService () cil managed + { + // Method begins at RVA 0x1c4c0 + // 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_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 GacResolver::InitializeLifetimeService + + // method line 1548 + .method public hidebysig + instance default bool IsAssemblyInGac (string assemblyFile) cil managed + { + // Method begins at RVA 0x1c4fc + // Code size 82 (0x52) + .maxstack 1 + .locals init ( + class [mscorlib]System.Reflection.AssemblyName V_0, + bool V_1, + class [mscorlib]System.Reflection.Assembly V_2) + IL_0000: nop + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance unsigned int8[] class [mscorlib]System.Reflection.AssemblyName::GetPublicKeyToken() + IL_000f: brtrue IL_001c + + IL_0014: nop + IL_0015: ldc.i4.0 + IL_0016: stloc.1 + IL_0017: leave IL_0050 + + IL_001c: ldloc.0 + IL_001d: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::Load(class [mscorlib]System.Reflection.AssemblyName) + IL_0022: stloc.2 + IL_0023: ldsfld bool NAnt.Core.PlatformHelper::IsMono + IL_0028: brfalse IL_003a + + IL_002d: nop + IL_002e: ldloc.2 + IL_002f: callvirt instance bool class [mscorlib]System.Reflection.Assembly::get_GlobalAssemblyCache() + IL_0034: stloc.1 + IL_0035: leave IL_0050 + + IL_003a: nop + IL_003b: ldloc.2 + IL_003c: call bool class [mscorlib]System.Runtime.InteropServices.RuntimeEnvironment::FromGlobalAccessCache(class [mscorlib]System.Reflection.Assembly) + IL_0041: stloc.1 + IL_0042: leave IL_0050 + + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_0047: pop + IL_0048: nop + IL_0049: ldc.i4.0 + IL_004a: stloc.1 + IL_004b: leave IL_0050 + + } // end handler 0 + IL_0050: ldloc.1 + IL_0051: ret + } // end of method GacResolver::IsAssemblyInGac + + } // end of class GacResolver + + } // end of class NAnt.Core.Util.GacCache +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi sealed serializable beforefieldinit CommandLineArgumentException + extends [mscorlib]System.ArgumentException + { + + // method line 1549 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1c56c + // 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 1550 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message) cil managed + { + // Method begins at RVA 0x1c575 + // 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 1551 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class [mscorlib]System.Exception innerException) cil managed + { + // Method begins at RVA 0x1c57f + // 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 1552 + .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 0x1c58a + // 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 DefaultCommandLineArgumentAttribute + extends NAnt.Core.Util.CommandLineArgumentAttribute + { + .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. + + + // method line 1553 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.Core.Util.CommandLineArgumentTypes argumentType) cil managed + { + // Method begins at RVA 0x1c595 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) + IL_0007: nop + IL_0008: ret + } // end of method DefaultCommandLineArgumentAttribute::.ctor + + } // end of class NAnt.Core.Util.DefaultCommandLineArgumentAttribute +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi sealed beforefieldinit ReflectionUtils + extends [mscorlib]System.Object + { + + // method line 1554 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1c59f + // 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 ReflectionUtils::.ctor + + // method line 1555 + .method public static hidebysig + default class [mscorlib]System.Type GetTypeFromString (string typeName, bool throwOnError) cil managed + { + // Method begins at RVA 0x1c5a8 + // 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 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: 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 - // method line 1431 + 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_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.Configuration +{ + .class private auto ansi serializable beforefieldinit DirectoryName + extends NAnt.Core.Configuration.ConditionalElement + { + .field private string _name + + // method line 1556 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1c843 + // 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 + + // method line 1557 .method public hidebysig specialname - instance default string get_UserName () cil managed + instance default string get_DirName () cil managed { - // Method begins at RVA 0x1b0bc + // Method begins at RVA 0x1c84c // 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::_userName + 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 Credential::get_UserName + } // end of method DirectoryName::get_DirName - // method line 1432 + // method line 1558 .method public hidebysig specialname - instance default void set_UserName (string 'value') cil managed + instance default void set_DirName (string 'value') cil managed { - // Method begins at RVA 0x1b0d7 - // Code size 14 (0xe) + // Method begins at RVA 0x1c867 + // 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_0003: stfld string NAnt.Core.Configuration.DirectoryName::_name + IL_0008: ret + } // end of method DirectoryName::set_DirName + + .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 ConditionalElement + extends NAnt.Core.Element + { + .field private bool _ifDefined + .field private bool _unlessDefined + + // method line 1559 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1c6a6 + // 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 Credential::set_UserName + } // end of method ConditionalElement::.ctor - // method line 1433 - .method public hidebysig specialname + // method line 1560 + .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 0x1c6b8 + // 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: 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 1561 + .method family hidebysig specialname instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x1b0e8 + // Method begins at RVA 0x1c6e0 // 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::_ifDefined + 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 Credential::get_IfDefined + } // end of method ConditionalElement::get_IfDefined - // method line 1434 - .method public hidebysig specialname + // method line 1562 + .method family hidebysig specialname instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x1b103 + // Method begins at RVA 0x1c6fb // 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 bool NAnt.Core.Configuration.ConditionalElement::_ifDefined IL_0008: ret - } // end of method Credential::set_IfDefined + } // end of method ConditionalElement::set_IfDefined - // method line 1435 - .method public hidebysig specialname + // method line 1563 + .method family hidebysig specialname instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x1b110 + // Method begins at RVA 0x1c708 // 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_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 Credential::get_UnlessDefined + } // end of method ConditionalElement::get_UnlessDefined - // method line 1436 - .method public hidebysig specialname + // method line 1564 + .method family hidebysig specialname instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x1b12b + // Method begins at RVA 0x1c723 // 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 bool NAnt.Core.Configuration.ConditionalElement::_unlessDefined IL_0008: ret - } // end of method Credential::set_UnlessDefined + } // end of method ConditionalElement::set_UnlessDefined - // method line 1437 - .method public hidebysig - instance default class [System]System.Net.ICredentials GetCredential () cil managed + // method line 1565 + .method assembly hidebysig specialname + instance default bool get_Enabled () cil managed { - // Method begins at RVA 0x1b138 - // Code size 60 (0x3c) - .maxstack 3 + // Method begins at RVA 0x1c730 + // Code size 32 (0x20) + .maxstack 2 .locals init ( - class [System]System.Net.ICredentials V_0, - class [System]System.Net.ICredentials V_1) + bool V_0) 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_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Configuration.ConditionalElement::get_IfDefined() + IL_0007: brfalse IL_0017 - IL_000e: ldarg.0 - IL_000f: call instance bool class NAnt.Core.Types.Credential::get_UnlessDefined() - IL_0014: brtrue IL_0033 + 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_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_0017: ldc.i4.0 + IL_0018: stloc.0 + IL_0019: br IL_001e - IL_003a: ldloc.1 - IL_003b: ret - } // end of method Credential::GetCredential + IL_001e: ldloc.0 + IL_001f: ret + } // end of method ConditionalElement::get_Enabled - .property instance string Domain () + .property instance bool IfDefined () { - .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. + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - .get instance default string NAnt.Core.Types.Credential::get_Domain () - .set instance default void NAnt.Core.Types.Credential::set_Domain (string 'value') + .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_IfDefined () + .set instance default void NAnt.Core.Configuration.ConditionalElement::set_IfDefined (bool 'value') } - .property instance string Password () + .property instance bool UnlessDefined () { - .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. + .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 string NAnt.Core.Types.Credential::get_Password () - .set instance default void NAnt.Core.Types.Credential::set_Password (string 'value') + .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined () + .set instance default void NAnt.Core.Configuration.ConditionalElement::set_UnlessDefined (bool 'value') } - .property instance string UserName () + .property instance bool Enabled () { - .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') + .get instance default bool NAnt.Core.Configuration.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.. + .class nested private auto ansi beforefieldinit ConditionalConfigurator + extends NAnt.Core.Element/AttributeConfigurator + { + .field private initonly bool _enabled - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + // method line 1566 + .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 0x1c75c + // 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 - .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.. + 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + 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 - .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 -} + 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 -.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.. + // method line 1567 + .method family virtual hidebysig + instance default bool InitializeAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x1c7fc + // 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 - .field private class [mscorlib]System.Collections.ArrayList _elements - .field private class [System]System.Collections.Specialized.StringCollection _translatedElements - .field private static initonly bool _dosBasedFileSystem + IL_000c: ldc.i4.1 + IL_000d: stloc.0 + IL_000e: br IL_0020 - // method line 1438 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + 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 1568 + .method family virtual hidebysig + instance default void InitializeOrderedChildElements () cil managed { - // Method begins at RVA 0x1b180 - // Code size 30 (0x1e) + // Method begins at RVA 0x1c82a + // Code size 24 (0x18) .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 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0007: brtrue IL_0011 - // method line 1439 + 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 ManagedExecutionModes + extends NAnt.Core.Element + { + .field private class NAnt.Core.Configuration.ManagedExecutionMode _autoMode + .field private class NAnt.Core.Configuration.ManagedExecutionMode _strictMode + + // method line 1569 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, string path) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1b19f - // Code size 50 (0x32) + // Method begins at RVA 0x1c871 + // Code size 7 (0x7) .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_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method ManagedExecutionModes::.ctor - // method line 1440 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 1570 + .method public hidebysig specialname + instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Auto () cil managed { - // Method begins at RVA 0x1b1d4 - // Code size 115 (0x73) - .maxstack 3 + // Method begins at RVA 0x1c87c + // Code size 15 (0xf) + .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 NAnt.Core.Configuration.ManagedExecutionMode 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_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_autoMode 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_0065: ldloc.2 - IL_0066: callvirt instance string object::ToString() - IL_006b: stloc.1 - IL_006c: br IL_0071 + IL_0008: br IL_000d - IL_0071: ldloc.1 - IL_0072: ret - } // end of method PathSet::ToString + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedExecutionModes::get_Auto - // method line 1441 - .method public hidebysig - instance default void AddPath (class NAnt.Core.Types.PathSet path) cil managed + // method line 1571 + .method public hidebysig specialname + instance default void set_Auto (class NAnt.Core.Configuration.ManagedExecutionMode 'value') 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 0x1c897 + // 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 - // Method begins at RVA 0x1b253 + // method line 1572 + .method public hidebysig specialname + instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Strict () cil managed + { + // Method begins at RVA 0x1c8a4 // Code size 15 (0xf) - .maxstack 8 + .maxstack 1 + .locals init ( + class NAnt.Core.Configuration.ManagedExecutionMode 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_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_strictMode + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method PathSet::AddPath + } // end of method ManagedExecutionModes::get_Strict - // method line 1442 - .method public hidebysig - instance default void AddPathElement (class NAnt.Core.Types.PathElement pathElement) cil managed + // method line 1573 + .method public hidebysig specialname + instance default void set_Strict (class NAnt.Core.Configuration.ManagedExecutionMode 'value') 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 0x1b263 - // Code size 15 (0xf) + // Method begins at RVA 0x1c8bf + // Code size 9 (0x9) .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::AddPathElement + 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 - // method line 1443 + // method line 1574 .method public hidebysig - instance default class [System]System.Collections.Specialized.StringCollection GetElements () cil managed + instance default class NAnt.Core.Configuration.ManagedExecutionMode GetExecutionMode (valuetype NAnt.Core.Types.ManagedExecution 'managed') cil managed { - // Method begins at RVA 0x1b274 - // Code size 353 (0x161) - .maxstack 2 + // Method begins at RVA 0x1c8cc + // Code size 86 (0x56) + .maxstack 1 .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 NAnt.Core.Configuration.ManagedExecutionMode V_0) 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_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_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_0001: ldarg.1 + IL_0002: switch ( + IL_0018, + IL_001f, + IL_002b) + IL_0013: br IL_004e - 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_0018: ldnull + IL_0019: stloc.0 + IL_001a: br IL_0054 - 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_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_0077: leave IL_0093 + 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 - } // 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_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_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_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_0099: ldloc.1 - IL_009a: isinst NAnt.Core.Types.PathElement - IL_009f: brfalse IL_012f + 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_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 + .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_00b9: ldloc.s 6 - IL_00bb: callvirt instance bool class NAnt.Core.Types.PathElement::get_UnlessDefined() - IL_00c0: brfalse IL_00cb + .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.. - IL_00c5: nop - IL_00c6: leave IL_0130 + .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 +} - 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.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 - 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 1575 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1c92e + // 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 - 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 1576 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + { + // Method begins at RVA 0x1c938 + // Code size 49 (0x31) + .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.Configuration.DirList::_baseDirectory + IL_0007: brtrue IL_0023 - IL_0112: leave IL_012e + 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 - } // 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_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_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_002f: ldloc.0 + IL_0030: ret + } // end of method DirList::get_Directory - IL_013b: leave IL_0156 + // method line 1577 + .method public hidebysig specialname + instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + { + // Method begins at RVA 0x1c975 + // 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.Configuration.DirList::_baseDirectory + IL_0008: ret + } // end of method DirList::set_Directory - } // 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 + // method line 1578 + .method public hidebysig specialname + instance default class NAnt.Core.Configuration.DirectoryName[] get_DirectoryNames () cil managed + { + // Method begins at RVA 0x1c980 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Configuration.DirectoryName[] V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method DirList::get_DirectoryNames - IL_015e: ldloc.s 11 - IL_0160: ret - } // end of method PathSet::GetElements + // method line 1579 + .method public hidebysig specialname + instance default void set_DirectoryNames (class NAnt.Core.Configuration.DirectoryName[] 'value') cil managed + { + // Method begins at RVA 0x1c99b + // Code size 9 (0x9) + .maxstack 8 + 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 - // method line 1444 - .method public static hidebysig - default class [System]System.Collections.Specialized.StringCollection TranslatePath (class NAnt.Core.Project project, string source) cil managed + // method line 1580 + .method public hidebysig + instance default string[] GetDirectories () cil managed { - // Method begins at RVA 0x1b430 - // Code size 388 (0x184) - .maxstack 7 + // Method begins at RVA 0x1c9a8 + // Code size 28 (0x1c) + .maxstack 2 .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) + string 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: ldarg.1 - IL_0008: brtrue IL_0015 - - IL_000d: 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: stloc.1 - IL_0010: br IL_0182 - - 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_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_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_000f: call instance string[] class NAnt.Core.Configuration.DirList::GetDirectories(string) + IL_0014: stloc.1 + IL_0015: br IL_001a - IL_0058: ldsfld bool NAnt.Core.Types.PathSet::_dosBasedFileSystem - IL_005d: brfalse IL_00b3 + IL_001a: ldloc.1 + IL_001b: ret + } // end of method DirList::GetDirectories - 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 + // method line 1581 + .method assembly hidebysig + instance default string[] GetDirectories (string baseDir) cil managed + { + // Method begins at RVA 0x1c9d0 + // 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.1 + IL_0002: brtrue IL_0012 - 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_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_008b: ldloc.s 5 - IL_008d: ldstr "/" - IL_0092: callvirt instance bool string::StartsWith(string) - IL_0097: brfalse IL_00b2 + IL_001d: nop + IL_001e: ldc.i4.0 + IL_001f: newarr [mscorlib]System.String + IL_0024: stloc.0 + IL_0025: br IL_0072 - 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_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_00cd: ldloc.s 6 - IL_00cf: ldstr "%" - IL_00d4: callvirt instance bool string::EndsWith(string) - IL_00d9: brfalse IL_00e4 + 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_00de: nop - IL_00df: br IL_016e + IL_006b: ldloc.1 + IL_006c: stloc.0 + IL_006d: br IL_0072 - 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[] 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_0072: ldloc.0 + IL_0073: ret + } // end of method DirList::GetDirectories - 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 + .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_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 + .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.. - } // 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 + .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 +} - } // 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 +.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_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 + // method line 1582 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1ca50 + // 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 - IL_017b: ldloc.0 - IL_017c: stloc.1 - IL_017d: br IL_0182 + // method line 1583 + .method public hidebysig specialname + instance default class NAnt.Core.Configuration.DirList get_ProbingPaths () cil managed + { + // Method begins at RVA 0x1ca70 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Configuration.DirList 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_0182: ldloc.1 - IL_0183: ret - } // end of method PathSet::TranslatePath + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Runtime::get_ProbingPaths - // method line 1445 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed + // method line 1584 + .method public hidebysig specialname + instance default class NAnt.Core.Configuration.ManagedExecutionModes get_Modes () cil managed { - // Method begins at RVA 0x1b5d0 + // Method begins at RVA 0x1ca8c // 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 + .maxstack 1 + .locals init ( + class NAnt.Core.Configuration.ManagedExecutionModes 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 PathSet::.cctor + } // end of method Runtime::get_Modes - } // end of class NAnt.Core.Types.PathSet + .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.Types +.namespace NAnt.Core.Configuration { - .class public auto ansi beforefieldinit Token + .class private auto ansi serializable beforefieldinit ManagedExecutionMode 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 + .field private class NAnt.Core.Configuration.RuntimeEngine _engine + .field private class NAnt.Core.Types.EnvironmentSet _environmentSet - // method line 1446 + // method line 1585 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1b5e0 - // Code size 14 (0xe) + // Method begins at RVA 0x1caa7 + // Code size 18 (0x12) .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_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 1447 + // method line 1586 .method public hidebysig specialname - instance default string get_Key () cil managed + instance default class NAnt.Core.Configuration.RuntimeEngine get_Engine () cil managed { - // Method begins at RVA 0x1b5f0 + // Method begins at RVA 0x1cabc // 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.Types.Token::_key + 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 Token::get_Key + } // end of method ManagedExecutionMode::get_Engine - // method line 1448 + // method line 1587 .method public hidebysig specialname - instance default void set_Key (string 'value') cil managed + instance default void set_Engine (class NAnt.Core.Configuration.RuntimeEngine 'value') cil managed { - // Method begins at RVA 0x1b60b + // Method begins at RVA 0x1cad7 // 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.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::_engine IL_0008: ret - } // end of method Token::set_Key + } // end of method ManagedExecutionMode::set_Engine - // method line 1449 + // method line 1588 .method public hidebysig specialname - instance default string get_Value () cil managed + instance default class NAnt.Core.Types.EnvironmentSet get_Environment () cil managed { - // Method begins at RVA 0x1b618 + // Method begins at RVA 0x1cae4 // 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.Types.Token::_value + 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 Token::get_Value + } // end of method ManagedExecutionMode::get_Environment - // method line 1450 - .method public hidebysig specialname - instance default void set_Value (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.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 1589 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1b633 - // Code size 9 (0x9) + // Method begins at RVA 0x1caff + // Code size 18 (0x12) .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_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 1451 + // method line 1590 .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + instance default class [mscorlib]System.IO.FileInfo get_Program () cil managed { - // Method begins at RVA 0x1b640 + // Method begins at RVA 0x1cb14 // 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.Token::_ifDefined + 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 Token::get_IfDefined + } // end of method RuntimeEngine::get_Program - // method line 1452 + // method line 1591 .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + instance default void set_Program (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x1b65b + // Method begins at RVA 0x1cb2f // 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_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::_program IL_0008: ret - } // end of method Token::set_IfDefined + } // end of method RuntimeEngine::set_Program - // method line 1453 + // method line 1592 .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + instance default class NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed { - // Method begins at RVA 0x1b668 + // Method begins at RVA 0x1cb3c // 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.Token::_unlessDefined + 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 Token::get_UnlessDefined + } // end of method RuntimeEngine::get_Arguments - // method line 1454 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 1593 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x1b683 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x1cb58 + // Code size 73 (0x49) + .maxstack 3 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. + 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 - .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. + 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 - .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 () + .property instance class [mscorlib]System.IO.FileInfo Program () { .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 ) // .... + 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 bool NAnt.Core.Types.Token::get_IfDefined () - .set instance default void NAnt.Core.Types.Token::set_IfDefined (bool 'value') + .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 bool UnlessDefined () + .property instance class NAnt.Core.Types.ArgumentCollection Arguments () { - .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 ) // .... + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. - .get instance default bool NAnt.Core.Types.Token::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Token::set_UnlessDefined (bool 'value') + .get instance default class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::get_Arguments () } - } // end of class NAnt.Core.Types.Token + } // end of class NAnt.Core.Configuration.RuntimeEngine } -.namespace NAnt.Core.Types +.namespace NAnt.Core { - .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.. - + .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 - // method line 1455 + // method line 1594 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (string fileName, int32 lineNumber, int32 columnNumber) cil managed { - // Method begins at RVA 0x1b68d - // Code size 8 (0x8) + // Method begins at RVA 0x1cbad + // Code size 17 (0x11) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Types.FileSet::'.ctor'() + IL_0001: call instance void object::'.ctor'() IL_0006: nop - IL_0007: ret - } // end of method DirSet::.ctor + 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 - // method line 1456 + // method line 1595 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.FileSet fs) cil managed + instance default void '.ctor' (string fileName) cil managed { - // Method begins at RVA 0x1b696 - // Code size 9 (0x9) + // Method begins at RVA 0x1cbbf + // 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 + + // method line 1596 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1cbd1 + // 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 + + // method line 1597 + .method private hidebysig + instance default void Init (string fileName, int32 lineNumber, int32 columnNumber) cil managed + { + // Method begins at RVA 0x1cbe4 + // Code size 84 (0x54) + .maxstack 2 + .locals init ( + class [System]System.Uri V_0) + IL_0000: nop IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Types.FileSet::'.ctor'(class NAnt.Core.Types.FileSet) + IL_0002: brfalse IL_003e + IL_0007: nop - IL_0008: ret - } // end of method DirSet::.ctor + .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 - } // end of class NAnt.Core.Types.DirSet + } // 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 + + } // end .try 0 + catch class [mscorlib]System.ArgumentException { // 0 + IL_002f: pop + IL_0030: nop + IL_0031: nop + IL_0032: leave IL_0037 + + } // end handler 0 + IL_0037: nop + IL_0038: leave IL_003d + + } // 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 1598 + .method public hidebysig specialname + instance default string get_FileName () cil managed + { + // Method begins at RVA 0x1cc60 + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method Location::get_FileName + + // method line 1599 + .method public hidebysig specialname + instance default int32 get_LineNumber () cil managed + { + // Method begins at RVA 0x1cc7c + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method Location::get_LineNumber + + // method line 1600 + .method public hidebysig specialname + instance default int32 get_ColumnNumber () cil managed + { + // Method begins at RVA 0x1cc98 + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method Location::get_ColumnNumber + + // method line 1601 + .method public virtual hidebysig + instance default string ToString () cil managed + { + // Method begins at RVA 0x1ccb4 + // 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_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_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_0077: ldloc.1 + IL_0078: ret + } // end of method Location::ToString + + // method line 1602 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x1cd39 + // 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 + + .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 } -.namespace NAnt.Core.Types +.namespace NAnt.Core { - .class public auto ansi serializable beforefieldinit XmlNamespaceCollection + .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.. - // method line 1457 + // method line 1603 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1b6a0 + // Method begins at RVA 0x1cd45 // 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 + } // end of method TaskBuilderCollection::.ctor - // method line 1458 + // method line 1604 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed + instance default void '.ctor' (class NAnt.Core.TaskBuilderCollection 'value') cil managed { - // Method begins at RVA 0x1b6a9 + // Method begins at RVA 0x1cd4e // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -53013,15 +57080,15 @@ 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_0009: call instance void class NAnt.Core.TaskBuilderCollection::AddRange(class NAnt.Core.TaskBuilderCollection) IL_000e: ret - } // end of method XmlNamespaceCollection::.ctor + } // end of method TaskBuilderCollection::.ctor - // method line 1459 + // method line 1605 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XmlNamespace[] 'value') cil managed + instance default void '.ctor' (class NAnt.Core.TaskBuilder[] 'value') cil managed { - // Method begins at RVA 0x1b6b9 + // Method begins at RVA 0x1cd5e // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -53029,37 +57096,37 @@ 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_0009: call instance void class NAnt.Core.TaskBuilderCollection::AddRange(class NAnt.Core.TaskBuilder[]) IL_000e: ret - } // end of method XmlNamespaceCollection::.ctor + } // end of method TaskBuilderCollection::.ctor - // method line 1460 + // method line 1606 .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespace get_Item (int32 index) cil managed + instance default class NAnt.Core.TaskBuilder get_Item (int32 index) cil managed { - // Method begins at RVA 0x1b6cc + // Method begins at RVA 0x1cd70 // Code size 26 (0x1a) .maxstack 2 .locals init ( - class NAnt.Core.Types.XmlNamespace V_0) + 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.Types.XmlNamespace + IL_000d: castclass NAnt.Core.TaskBuilder IL_0012: stloc.0 IL_0013: br IL_0018 IL_0018: ldloc.0 IL_0019: ret - } // end of method XmlNamespaceCollection::get_Item + } // end of method TaskBuilderCollection::get_Item - // method line 1461 + // method line 1607 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.XmlNamespace 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Core.TaskBuilder 'value') cil managed { - // Method begins at RVA 0x1b6f2 + // Method begins at RVA 0x1cd96 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -53069,19 +57136,19 @@ 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 + } // end of method TaskBuilderCollection::set_Item - // method line 1462 + // method line 1608 .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespace get_Item (string 'value') cil managed + instance default class NAnt.Core.TaskBuilder get_Item (string taskName) cil managed { - // Method begins at RVA 0x1b704 + // Method begins at RVA 0x1cda8 // Code size 111 (0x6f) .maxstack 2 .locals init ( - class NAnt.Core.Types.XmlNamespace V_0, + class NAnt.Core.TaskBuilder V_0, class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Types.XmlNamespace V_2, + class NAnt.Core.TaskBuilder V_2, class [mscorlib]System.IDisposable V_3) IL_0000: nop IL_0001: ldarg.1 @@ -53098,13 +57165,13 @@ IL_001a: ldloc.1 IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.Types.XmlNamespace + IL_0020: castclass NAnt.Core.TaskBuilder 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_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 @@ -53138,13 +57205,13 @@ IL_006d: ldloc.2 IL_006e: ret - } // end of method XmlNamespaceCollection::get_Item + } // end of method TaskBuilderCollection::get_Item - // method line 1463 + // method line 1609 .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.XmlNamespace item) cil managed + instance default int32 Add (class NAnt.Core.TaskBuilder item) cil managed { - // Method begins at RVA 0x1b790 + // Method begins at RVA 0x1ce34 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -53159,13 +57226,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method XmlNamespaceCollection::Add + } // end of method TaskBuilderCollection::Add - // method line 1464 + // method line 1610 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XmlNamespace[] items) cil managed + instance default void AddRange (class NAnt.Core.TaskBuilder[] items) cil managed { - // Method begins at RVA 0x1b7b4 + // Method begins at RVA 0x1ce58 // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -53180,7 +57247,7 @@ 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_000d: call instance int32 class NAnt.Core.TaskBuilderCollection::Add(class NAnt.Core.TaskBuilder) IL_0012: pop IL_0013: nop IL_0014: ldloc.0 @@ -53194,13 +57261,13 @@ IL_001c: blt IL_0008 IL_0021: ret - } // end of method XmlNamespaceCollection::AddRange + } // end of method TaskBuilderCollection::AddRange - // method line 1465 + // method line 1611 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XmlNamespaceCollection items) cil managed + instance default void AddRange (class NAnt.Core.TaskBuilderCollection items) cil managed { - // Method begins at RVA 0x1b7e4 + // Method begins at RVA 0x1ce88 // Code size 41 (0x29) .maxstack 3 .locals init ( @@ -53214,8 +57281,8 @@ 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_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 @@ -53228,13 +57295,13 @@ IL_0023: blt IL_0008 IL_0028: ret - } // end of method XmlNamespaceCollection::AddRange + } // end of method TaskBuilderCollection::AddRange - // method line 1466 + // method line 1612 .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.XmlNamespace item) cil managed + instance default bool Contains (class NAnt.Core.TaskBuilder item) cil managed { - // Method begins at RVA 0x1b81c + // Method begins at RVA 0x1cec0 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -53249,13 +57316,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method XmlNamespaceCollection::Contains + } // end of method TaskBuilderCollection::Contains - // method line 1467 + // method line 1613 .method public hidebysig - instance default bool Contains (string 'value') cil managed + instance default bool Contains (string taskName) cil managed { - // Method begins at RVA 0x1b840 + // Method begins at RVA 0x1cee4 // Code size 22 (0x16) .maxstack 2 .locals init ( @@ -53263,7 +57330,7 @@ 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_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 @@ -53273,13 +57340,13 @@ IL_0014: ldloc.0 IL_0015: ret - } // end of method XmlNamespaceCollection::Contains + } // end of method TaskBuilderCollection::Contains - // method line 1468 + // method line 1614 .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.XmlNamespace[] 'array', int32 index) cil managed + instance default void CopyTo (class NAnt.Core.TaskBuilder[] 'array', int32 index) cil managed { - // Method begins at RVA 0x1b862 + // Method begins at RVA 0x1cf06 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -53289,13 +57356,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 XmlNamespaceCollection::CopyTo + } // end of method TaskBuilderCollection::CopyTo - // method line 1469 + // method line 1615 .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.XmlNamespace item) cil managed + instance default int32 IndexOf (class NAnt.Core.TaskBuilder item) cil managed { - // Method begins at RVA 0x1b874 + // Method begins at RVA 0x1cf18 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -53310,13 +57377,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method XmlNamespaceCollection::IndexOf + } // end of method TaskBuilderCollection::IndexOf - // method line 1470 + // method line 1616 .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.XmlNamespace item) cil managed + instance default void Insert (int32 index, class NAnt.Core.TaskBuilder item) cil managed { - // Method begins at RVA 0x1b895 + // Method begins at RVA 0x1cf39 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -53326,32 +57393,32 @@ 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 + } // end of method TaskBuilderCollection::Insert - // method line 1471 + // method line 1617 .method public hidebysig - instance default class NAnt.Core.Types.XmlNamespaceEnumerator GetEnumerator () cil managed + instance default class NAnt.Core.TaskBuilderEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x1b8a8 + // Method begins at RVA 0x1cf4c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespaceEnumerator V_0) + class NAnt.Core.TaskBuilderEnumerator 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: newobj instance void class NAnt.Core.TaskBuilderEnumerator::'.ctor'(class NAnt.Core.TaskBuilderCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlNamespaceCollection::GetEnumerator + } // end of method TaskBuilderCollection::GetEnumerator - // method line 1472 + // method line 1618 .method public hidebysig - instance default void Remove (class NAnt.Core.Types.XmlNamespace item) cil managed + instance default void Remove (class NAnt.Core.TaskBuilder item) cil managed { - // Method begins at RVA 0x1b8c3 + // Method begins at RVA 0x1cf67 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -53360,32 +57427,32 @@ IL_0007: ldarg.1 IL_0008: callvirt instance void class [mscorlib]System.Collections.IList::Remove(object) IL_000d: ret - } // end of method XmlNamespaceCollection::Remove + } // end of method TaskBuilderCollection::Remove - .property instance class NAnt.Core.Types.XmlNamespace Item (int32) + .property instance class NAnt.Core.TaskBuilder 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') + .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.Types.XmlNamespace Item (string) + .property instance class NAnt.Core.TaskBuilder Item (string) { - .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceCollection::get_Item (string 'value') + .get instance default class NAnt.Core.TaskBuilder NAnt.Core.TaskBuilderCollection::get_Item (string taskName) } - } // end of class NAnt.Core.Types.XmlNamespaceCollection + } // end of class NAnt.Core.TaskBuilderCollection } -.namespace NAnt.Core.Types +.namespace NAnt.Core { - .class public auto ansi beforefieldinit XmlNamespaceEnumerator + .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 1473 + // method line 1619 .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XmlNamespaceCollection arguments) cil managed + instance default void '.ctor' (class NAnt.Core.TaskBuilderCollection arguments) cil managed { - // Method begins at RVA 0x1b8d4 + // Method begins at RVA 0x1cf78 // Code size 22 (0x16) .maxstack 2 .locals init ( @@ -53398,36 +57465,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.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.TaskBuilderEnumerator::_baseEnumerator IL_0015: ret - } // end of method XmlNamespaceEnumerator::.ctor + } // end of method TaskBuilderEnumerator::.ctor - // method line 1474 + // method line 1620 .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespace get_Current () cil managed + instance default class NAnt.Core.TaskBuilder get_Current () cil managed { - // Method begins at RVA 0x1b8f8 + // Method begins at RVA 0x1cf9c // Code size 25 (0x19) .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespace V_0) + class NAnt.Core.TaskBuilder V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + 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.Types.XmlNamespace + 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 XmlNamespaceEnumerator::get_Current + } // end of method TaskBuilderEnumerator::get_Current - // method line 1475 + // method line 1621 .method private final virtual hidebysig newslot specialname instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x1b920 + // Method begins at RVA 0x1cfc4 .override class [mscorlib]System.Collections.IEnumerator::get_Current // Code size 20 (0x14) .maxstack 1 @@ -53435,40 +57502,40 @@ object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + 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 XmlNamespaceEnumerator::System.Collections.IEnumerator.get_Current + } // end of method TaskBuilderEnumerator::System.Collections.IEnumerator.get_Current - // method line 1476 + // method line 1622 .method public hidebysig instance default bool MoveNext () cil managed { - // Method begins at RVA 0x1b940 + // Method begins at RVA 0x1cfe4 // 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_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_0012: ldloc.0 IL_0013: ret - } // end of method XmlNamespaceEnumerator::MoveNext + } // end of method TaskBuilderEnumerator::MoveNext - // method line 1477 + // method line 1623 .method private final virtual hidebysig newslot instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x1b960 + // Method begins at RVA 0x1d004 .override class [mscorlib]System.Collections.IEnumerator::MoveNext // Code size 20 (0x14) .maxstack 1 @@ -53476,2860 +57543,5788 @@ bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator + 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_0012: ldloc.0 IL_0013: ret - } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.MoveNext + } // end of method TaskBuilderEnumerator::System.Collections.IEnumerator.MoveNext - // method line 1478 + // method line 1624 .method public hidebysig instance default void Reset () cil managed { - // Method begins at RVA 0x1b980 + // Method begins at RVA 0x1d024 // 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_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 XmlNamespaceEnumerator::Reset + } // end of method TaskBuilderEnumerator::Reset - // method line 1479 + // method line 1625 .method private final virtual hidebysig newslot instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x1b98e + // Method begins at RVA 0x1d032 .override class [mscorlib]System.Collections.IEnumerator::Reset // 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_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 XmlNamespaceEnumerator::System.Collections.IEnumerator.Reset + } // end of method TaskBuilderEnumerator::System.Collections.IEnumerator.Reset .property instance object System.Collections.IEnumerator.Current () { - .get instance default object NAnt.Core.Types.XmlNamespaceEnumerator::System.Collections.IEnumerator.get_Current () + .get instance default object NAnt.Core.TaskBuilderEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class NAnt.Core.Types.XmlNamespace Current () + .property instance class NAnt.Core.TaskBuilder Current () { - .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceEnumerator::get_Current () + .get instance default class NAnt.Core.TaskBuilder NAnt.Core.TaskBuilderEnumerator::get_Current () } - } // end of class NAnt.Core.Types.XmlNamespaceEnumerator -} - -.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.. - - .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 + } // end of class NAnt.Core.TaskBuilderEnumerator } -.namespace NAnt.Core.Types +.namespace NAnt.Core { - .class public auto ansi beforefieldinit ManagedExecutionConverter - extends [System]System.ComponentModel.EnumConverter + .class private auto ansi serializable beforefieldinit LocationMap + extends [mscorlib]System.Object { + .field private class [mscorlib]System.Collections.Hashtable _fileMap - // method line 1480 + // method line 1626 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1b99c - // Code size 18 (0x12) + // Method begins at RVA 0x1d040 + // Code size 19 (0x13) .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: 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 1481 - .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 1627 + .method public hidebysig + instance default bool FileIsMapped (string fileOrUri) cil managed { - // Method begins at RVA 0x1b9b0 - // Code size 122 (0x7a) - .maxstack 4 + // Method begins at RVA 0x1d054 + // Code size 33 (0x21) + .maxstack 2 .locals init ( - string V_0, - object V_1) + class [System]System.Uri V_0, + bool V_1) IL_0000: nop - IL_0001: ldarg.3 - IL_0002: isinst [mscorlib]System.String - IL_0007: brfalse IL_0069 + 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_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_001f: ldloc.1 + IL_0020: ret + } // end of method LocationMap::FileIsMapped - IL_0026: nop - IL_0027: ldc.i4.1 - IL_0028: box NAnt.Core.Types.ManagedExecution - IL_002d: stloc.1 - IL_002e: br IL_0078 + // method line 1628 + .method public hidebysig + instance default void Add (class [System.Xml]System.Xml.XmlDocument doc) cil managed + { + // Method begins at RVA 0x1d084 + // 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_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_0011: nop + IL_0012: br IL_0293 - 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_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_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_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_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_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_0078: ldloc.1 - IL_0079: ret - } // end of method ManagedExecutionConverter::ConvertFrom + 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 - } // end of class NAnt.Core.Types.ManagedExecutionConverter -} + 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 -.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 ) // .. + 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 - .field private string _name - .field private string _namespaceUri - .field private string _value - .field private bool _ifDefined - .field private bool _unlessDefined + 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 - // method line 1482 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x1ba36 - // 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 + 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 - // method line 1483 - .method public hidebysig specialname - instance default string get_ParameterName () cil managed - { - // Method begins at RVA 0x1ba68 - // 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_0007: stloc.0 - IL_0008: br IL_000d + IL_00f4: nop + IL_00f5: ldloc.3 + IL_00f6: ldc.i4.s 0x2f + IL_00f8: ldc.i4.0 + IL_00f9: callvirt instance string[] 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_000d: ldloc.0 - IL_000e: ret - } // end of method XsltParameter::get_ParameterName + 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 - // method line 1484 - .method public hidebysig specialname - instance default void set_ParameterName (string 'value') cil managed - { - // Method begins at RVA 0x1ba83 - // 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_0008: ret - } // end of method XsltParameter::set_ParameterName + 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 - // method line 1485 - .method public hidebysig specialname - instance default string get_NamespaceUri () cil managed - { - // Method begins at RVA 0x1ba90 - // 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::_namespaceUri - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method XsltParameter::get_NamespaceUri + 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 - // method line 1486 - .method public hidebysig specialname - instance default void set_NamespaceUri (string 'value') cil managed - { - // Method begins at RVA 0x1baab - // 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_0008: ret - } // end of method XsltParameter::set_NamespaceUri + 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 - // method line 1487 - .method public hidebysig specialname - instance default string get_Value () cil managed - { - // Method begins at RVA 0x1bab8 - // 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_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method XsltParameter::get_Value + 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 - // method line 1488 - .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed - { - // Method begins at RVA 0x1bad3 - // 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_0008: ret - } // end of method XsltParameter::set_Value + 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 1489 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + IL_01f0: nop + IL_01f1: ldloc.3 + IL_01f2: stloc.s 9 + IL_01f4: nop + IL_01f5: br IL_0209 + + 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 1629 + .method public hidebysig + instance default class NAnt.Core.Location GetLocation (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x1bae0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1d340 + // Code size 170 (0xaa) + .maxstack 3 .locals init ( - bool V_0) + 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.0 - IL_0002: ldfld bool NAnt.Core.Types.XsltParameter::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method XsltParameter::get_IfDefined + IL_0011: ldsfld class NAnt.Core.Location NAnt.Core.Location::UnknownLocation + IL_0016: stloc.0 + IL_0017: br IL_00a8 - // method line 1490 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0x1bafb - // 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::_ifDefined - IL_0008: ret - } // end of method XsltParameter::set_IfDefined + 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 - // method line 1491 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + 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 + + 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 1630 + .method private hidebysig + instance default string GetXPathFromNode (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x1bb08 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1d3f8 + // Code size 246 (0xf6) + .maxstack 3 .locals init ( - bool V_0) + 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.0 - IL_0002: ldfld bool NAnt.Core.Types.XsltParameter::_unlessDefined + 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: br IL_000d + IL_0008: ldstr "" + IL_000d: stloc.1 + IL_000e: ldc.i4.0 + IL_000f: stloc.2 + IL_0010: br IL_00b6 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltParameter::get_UnlessDefined + 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 - // method line 1492 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x1bb23 - // 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_003a: nop + IL_003b: ldloc.s 4 + IL_003d: stloc.2 + IL_003e: nop + IL_003f: br IL_005d - .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. + 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 - .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_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 - .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 ) // . + 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 - .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.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_009b: nop + IL_009c: ldloc.s 5 + IL_009e: stloc.1 + IL_009f: nop + IL_00a0: br IL_00b5 - .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.. + 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + 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 - .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.. + IL_00f3: ldloc.s 7 + IL_00f5: ret + } // end of method LocationMap::GetXPathFromNode - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + .class nested private sequential ansi sealed serializable beforefieldinit TextPosition + extends [mscorlib]System.ValueType + { + .field public int32 Line + .field public int32 Column - .get instance default bool NAnt.Core.Types.XsltParameter::get_UnlessDefined () - .set instance default void NAnt.Core.Types.XsltParameter::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.Core.Types.XsltParameter + // method line 1631 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 line, int32 column) cil managed + { + // Method begins at RVA 0x1d4fa + // 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.Types +.namespace NAnt.Core { - .class public auto ansi beforefieldinit XsltExtensionObject + .class public auto ansi beforefieldinit ElementContainer 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 + .field private class [System]System.Collections.Specialized.StringCollection _subXMLElements - // method line 1493 + // method line 1632 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1bb2d - // Code size 26 (0x1a) + // Method begins at RVA 0xc0c0 + // Code size 7 (0x7) .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_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method ElementContainer::.ctor - // method line 1494 - .method public hidebysig specialname - instance default string get_NamespaceUri () cil managed + // method line 1633 + .method family virtual hidebysig specialname + instance default bool get_CustomXmlProcessing () cil managed { - // Method begins at RVA 0x1bb48 - // Code size 15 (0xf) + // Method begins at RVA 0xc0c8 + // 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.Types.XsltExtensionObject::_namespaceUri - 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 XsltExtensionObject::get_NamespaceUri + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ElementContainer::get_CustomXmlProcessing - // method line 1495 - .method public hidebysig specialname - instance default void set_NamespaceUri (string 'value') cil managed + // method line 1634 + .method public virtual hidebysig newslot + instance default void Execute () cil managed { - // Method begins at RVA 0x1bb63 - // Code size 9 (0x9) + // Method begins at RVA 0xc0de + // Code size 8 (0x8) .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_0002: callvirt instance void class NAnt.Core.ElementContainer::ExecuteChildTasks() + IL_0007: ret + } // end of method ElementContainer::Execute - // method line 1496 - .method public hidebysig specialname - instance default string get_TypeName () cil managed + // method line 1635 + .method family virtual hidebysig newslot + instance default void ExecuteChildTasks () cil managed { - // Method begins at RVA 0x1bb70 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc0e8 + // Code size 400 (0x190) + .maxstack 7 .locals init ( - string 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 string NAnt.Core.Types.XsltExtensionObject::_typeName - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_TypeName + 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 - // method line 1497 - .method public hidebysig specialname - instance default void set_TypeName (string 'value') cil managed - { - // Method begins at RVA 0x1bb8b - // 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 + 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 - // method line 1498 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_AssemblyPath () cil managed - { - // Method begins at RVA 0x1bb98 - // 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.XsltExtensionObject::_assemblyPath - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_004c: nop + IL_004d: leave IL_0169 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_AssemblyPath + 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 1499 - .method public hidebysig specialname - instance default void set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x1bbb3 - // 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_005e: nop + IL_005f: leave IL_0169 - // method line 1500 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x1bbc0 - // 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 + 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_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_IfDefined + 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 - // method line 1501 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0x1bbdb - // 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_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 1502 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + 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_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_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_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_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_0174: leave IL_018f + + } // 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_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 1636 + .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 0x1bbe8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0xc2a0 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0) + class NAnt.Core.Task 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_UnlessDefined + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ElementContainer::CreateChildTask - // method line 1503 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 1637 + .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 0x1bc03 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0xc2c4 + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + class NAnt.Core.DataTypeBase V_0) 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 + 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 1504 - .method public hidebysig - instance default object CreateInstance () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method ElementContainer::CreateChildDataTypeBase + + // method line 1638 + .method family virtual hidebysig newslot + instance default bool IsPrivateXmlElement (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x1bc10 - // Code size 217 (0xd9) - .maxstack 4 + // Method begins at RVA 0xc2e8 + // Code size 40 (0x28) + .maxstack 2 .locals init ( - object V_0, - class [mscorlib]System.Reflection.Assembly V_1, - class [mscorlib]System.Exception V_2, - object V_3) + bool V_0) 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 () - { - .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_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.ElementContainer::_subXMLElements + IL_0007: brfalse IL_001f - .get instance default string NAnt.Core.Types.XsltExtensionObject::get_NamespaceUri () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_NamespaceUri (string 'value') - } - .property instance string TypeName () - { - .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. + 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 - .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_001f: ldc.i4.0 + IL_0020: stloc.0 + IL_0021: br IL_0026 - .get instance default string NAnt.Core.Types.XsltExtensionObject::get_TypeName () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_TypeName (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo AssemblyPath () - { - .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. + IL_0026: ldloc.0 + IL_0027: ret + } // end of method ElementContainer::IsPrivateXmlElement - .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 1639 + .method family virtual hidebysig newslot + instance default void AddPrivateXmlElementName (string name) cil managed + { + // Method begins at RVA 0xc31c + // 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 - .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 bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + 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 - .get instance default bool NAnt.Core.Types.XsltExtensionObject::get_IfDefined () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () + .property instance bool CustomXmlProcessing () { - .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') + .get instance default bool NAnt.Core.ElementContainer::get_CustomXmlProcessing () } - } // end of class NAnt.Core.Types.XsltExtensionObject + } // end of class NAnt.Core.ElementContainer } -.namespace NAnt.Core.Types +.namespace NAnt.Core { - .class public auto ansi serializable beforefieldinit PathElement - extends NAnt.Core.Element - { - .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 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 + .class public auto ansi sealed serializable beforefieldinit PathScanner + 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 - // method line 1505 + // method line 1640 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1bd08 - // Code size 14 (0xe) + // Method begins at RVA 0x1d50b + // Code size 18 (0x12) .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 + 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 1506 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + // method line 1641 + .method private final virtual hidebysig newslot + instance default object System.ICloneable.Clone () cil managed { - // Method begins at RVA 0x1bd18 + // Method begins at RVA 0x1d520 + .override class [mscorlib]System.ICloneable::Clone // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.PathElement::_file + 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 PathElement::get_File + } // end of method PathScanner::System.ICloneable.Clone - // method line 1507 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 1642 + .method public hidebysig + instance default class NAnt.Core.PathScanner Clone () cil managed { - // Method begins at RVA 0x1bd33 - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x1d53c + // 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: 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: 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 - // method line 1508 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + IL_001f: ldloc.1 + IL_0020: ret + } // end of method PathScanner::Clone + + // method line 1643 + .method public hidebysig + instance default void Add (string fileName) cil managed { - // Method begins at RVA 0x1bd40 + // Method begins at RVA 0x1d569 // 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.Core.Types.PathElement::_directory - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.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 PathElement::get_Directory + } // end of method PathScanner::Add - // method line 1509 - .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 1644 + .method public hidebysig + instance default void Clear () cil managed { - // Method begins at RVA 0x1bd5b - // Code size 9 (0x9) + // Method begins at RVA 0x1d579 + // Code size 13 (0xd) .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_0008: ret - } // end of method PathElement::set_Directory + 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 1510 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_Path () cil managed + // method line 1645 + .method public hidebysig + instance default class [System]System.Collections.Specialized.StringCollection Scan () cil managed { - // Method begins at RVA 0x1bd68 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1d588 + // Code size 20 (0x14) + .maxstack 2 .locals init ( - class NAnt.Core.Types.PathSet V_0) + class [System]System.Collections.Specialized.StringCollection 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 + 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 - // method line 1511 - .method public hidebysig specialname - instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed - { - // Method begins at RVA 0x1bd83 - // 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: ldloc.0 + IL_0013: ret + } // end of method PathScanner::Scan - // method line 1512 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 1646 + .method public hidebysig + instance default class [System]System.Collections.Specialized.StringCollection Scan (string name) cil managed { - // Method begins at RVA 0x1bd90 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1d5a8 + // Code size 371 (0x173) + .maxstack 4 .locals init ( - bool V_0) + 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: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.PathElement::_ifDefined - 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: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_000d: stloc.1 + IL_000e: ldloc.1 + IL_000f: brtrue IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PathElement::get_IfDefined + IL_0014: nop + IL_0015: ldloc.0 + IL_0016: stloc.2 + IL_0017: br IL_0171 - // method line 1513 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed - { - // Method begins at RVA 0x1bdab - // 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_0008: ret - } // end of method PathElement::set_IfDefined + IL_001c: ldloc.1 + IL_001d: ldsfld char [mscorlib]System.IO.Path::PathSeparator + IL_0022: ldc.i4.0 + IL_0023: callvirt instance string[] 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 - // method line 1514 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x1bdb8 - // 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_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method PathElement::get_UnlessDefined + IL_0052: nop + IL_0053: ldloc.s 4 + IL_0055: call bool class [mscorlib]System.IO.File::Exists(string) + IL_005a: brfalse IL_006f - // method line 1515 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x1bdd3 - // 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_0008: ret - } // end of method PathElement::set_UnlessDefined + 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 - // method line 1516 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Parts () cil managed - { - // Method begins at RVA 0x1bde0 - // Code size 129 (0x81) - .maxstack 2 - .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) - 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_006f: nop + IL_0070: leave IL_0142 - 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 + 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_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_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_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_00a8: nop + IL_00a9: leave IL_0130 - 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_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_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_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_0074: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0079: stloc.1 - IL_007a: br IL_007f + IL_00d6: nop + IL_00d7: leave IL_0130 - IL_007f: ldloc.1 - IL_0080: ret - } // end of method PathElement::get_Parts + 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 - // method line 1517 - .method family virtual hidebysig - instance default void Initialize () cil managed - { - // Method begins at RVA 0x1be70 - // Code size 134 (0x86) - .maxstack 3 - 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_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_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_0104: nop + IL_0105: leave IL_012f - 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 + } // 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 - 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 + } // 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_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_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_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_014e: leave IL_016a - 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 + } // 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 - .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_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 - .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.. + IL_0171: ldloc.2 + IL_0172: ret + } // end of method PathScanner::Scan - .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 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.. + // method line 1647 + .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 0x1d75c + // 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 - .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.. + IL_0029: ldloc.2 + IL_002a: ret + } // end of method PathScanner::Clone - .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 UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + // method line 1648 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x1d793 + // 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 - .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 () - } - } // end of class NAnt.Core.Types.PathElement + } // end of class NAnt.Core.PathScanner } -.namespace NAnt.Core.Types +.namespace NAnt.Core { - .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.. + .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 string _name - .field private string _value - .field private bool _ifDefined - .field private bool _unlessDefined + .field private class [mscorlib]System.Collections.Hashtable _innerHash - // method line 1518 + // method line 1649 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string name, string 'value') cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1bf02 - // Code size 29 (0x1d) + // Method begins at RVA 0x1d7a9 + // Code size 19 (0x13) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Option::_ifDefined + IL_0001: call instance void object::'.ctor'() + IL_0006: nop 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 + 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 1519 + // method line 1650 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.FrameworkInfoDictionary original) cil managed { - // Method begins at RVA 0x1bf20 - // Code size 15 (0xf) + // Method begins at RVA 0x1d7bd + // Code size 25 (0x19) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Option::_ifDefined + IL_0001: call instance void object::'.ctor'() + IL_0006: nop 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_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 - // method line 1520 - .method public hidebysig specialname - instance default string get_OptionName () cil managed + // method line 1651 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary) cil managed { - // Method begins at RVA 0x1bf30 - // 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_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Option::get_OptionName + // Method begins at RVA 0x1d7d7 + // 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 1521 - .method public hidebysig specialname - instance default void set_OptionName (string 'value') cil managed + // method line 1652 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 capacity) cil managed { - // Method begins at RVA 0x1bf4b - // Code size 9 (0x9) + // Method begins at RVA 0x1d7ec + // Code size 20 (0x14) .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_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 1522 - .method public hidebysig specialname - instance default string get_Value () cil managed + // method line 1653 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, float32 loadFactor) cil managed { - // Method begins at RVA 0x1bf58 - // 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::_value - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Option::get_Value + // Method begins at RVA 0x1d801 + // 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 1523 - .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed + // method line 1654 + .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 0x1bf73 - // Code size 9 (0x9) + // Method begins at RVA 0x1d817 + // Code size 21 (0x15) .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_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 1524 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 1655 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 capacity, int32 loadFactor) cil managed { - // Method begins at RVA 0x1bf80 - // 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_000d: ldloc.0 - IL_000e: ret - } // end of method Option::get_IfDefined + // Method begins at RVA 0x1d82d + // 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 1525 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 1656 + .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 0x1bf9b - // Code size 9 (0x9) + // Method begins at RVA 0x1d844 + // Code size 22 (0x16) .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_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 1526 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 1657 + .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 0x1bfa8 - // 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_000d: ldloc.0 - IL_000e: ret - } // end of method Option::get_UnlessDefined + // Method begins at RVA 0x1d85b + // 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 1527 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 1658 + .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 0x1bfc3 - // Code size 9 (0x9) + // Method begins at RVA 0x1d872 + // Code size 24 (0x18) .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 - - .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. - - .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.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.. - - .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.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .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.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .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 -} - -.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 + 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 1528 + // method line 1659 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + 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 0x1bfcd - // Code size 52 (0x34) + // Method begins at RVA 0x1d88b + // Code size 24 (0x18) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.DataTypeBase::'.ctor'() + IL_0001: call instance void object::'.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 + 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 1529 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_Include () cil managed + // method line 1660 + .method assembly hidebysig specialname + instance default class [mscorlib]System.Collections.Hashtable get_InnerHash () cil managed { - // Method begins at RVA 0x1c004 + // Method begins at RVA 0x1d8a4 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + class [mscorlib]System.Collections.Hashtable 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 class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash 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 FrameworkInfoDictionary::get_InnerHash - // method line 1530 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_IncludesFile () cil managed + // method line 1661 + .method assembly hidebysig specialname + instance default void set_InnerHash (class [mscorlib]System.Collections.Hashtable 'value') cil managed + { + // Method begins at RVA 0x1d8bf + // 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 1662 + .method public hidebysig + instance default class NAnt.Core.FrameworkInfoDictionaryEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x1c020 + // Method begins at RVA 0x1d8cc // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + class NAnt.Core.FrameworkInfoDictionaryEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_includesFile + IL_0002: newobj instance void class NAnt.Core.FrameworkInfoDictionaryEnumerator::'.ctor'(class NAnt.Core.FrameworkInfoDictionary) 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 FrameworkInfoDictionary::GetEnumerator - // method line 1531 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_Exclude () cil managed + // method line 1663 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator () cil managed { - // Method begins at RVA 0x1c03c + // Method begins at RVA 0x1d8e8 + .override class [mscorlib]System.Collections.IDictionary::GetEnumerator // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + class [mscorlib]System.Collections.IDictionaryEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude + IL_0002: newobj instance void class NAnt.Core.FrameworkInfoDictionaryEnumerator::'.ctor'(class NAnt.Core.FrameworkInfoDictionary) 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 FrameworkInfoDictionary::System.Collections.IDictionary.GetEnumerator - // method line 1532 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_ExcludesFile () cil managed + // method line 1664 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed { - // Method begins at RVA 0x1c058 + // Method begins at RVA 0x1d904 + .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + class [mscorlib]System.Collections.IEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_excludesFile + 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 PatternSet::get_ExcludesFile + } // end of method FrameworkInfoDictionary::System.Collections.IEnumerable.GetEnumerator - // method line 1533 + // method line 1665 .method public hidebysig - instance default void Append (class NAnt.Core.Types.PatternSet patternSet) cil managed + instance default void Remove (string key) 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 0x1c074 - // 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) + // Method begins at RVA 0x1d91f + // Code size 14 (0xe) + .maxstack 8 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 + 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 1534 - .method public hidebysig - instance default string[] GetIncludePatterns () cil managed + // method line 1666 + .method private final virtual hidebysig newslot + instance default void System.Collections.IDictionary.Remove (object key) cil managed { - // Method begins at RVA 0x1c108 - // 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 0x1d92e + .override class [mscorlib]System.Collections.IDictionary::Remove + // Code size 14 (0xe) + .maxstack 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 + 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 1535 + // method line 1667 .method public hidebysig - instance default string[] GetExcludePatterns () cil managed + instance default bool Contains (string key) cil managed { - // Method begins at RVA 0x1c260 - // Code size 301 (0x12d) - .maxstack 3 + // Method begins at RVA 0x1d940 + // Code size 21 (0x15) + .maxstack 2 .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) + bool V_0) 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 1536 - .method private hidebysig - instance default void ReadPatterns (string fileName, class [mscorlib]System.Collections.ArrayList patterns) cil managed - { - // Method begins at RVA 0x1c3b8 - // 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_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 - .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 - - .property instance class NAnt.Core.Types.PatternCollection Include () - { - .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 () - } - .property instance class NAnt.Core.Types.PatternCollection IncludesFile () - { - .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 () - } - .property instance class NAnt.Core.Types.PatternCollection Exclude () - { - .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 () - } - .property instance class NAnt.Core.Types.PatternCollection ExcludesFile () - { - .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 () - } - } // end of class NAnt.Core.Types.PatternSet -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit XmlNamespace - extends NAnt.Core.Element - { - .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.. - - .field private string _prefix - .field private string _uri - .field private bool _ifDefined - .field private bool _unlessDefined + IL_000e: br IL_0013 - // method line 1537 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x1c43c - // Code size 14 (0xe) - .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_0013: ldloc.0 + IL_0014: ret + } // end of method FrameworkInfoDictionary::Contains - // method line 1538 - .method public hidebysig specialname - instance default string get_Prefix () cil managed + // method line 1668 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IDictionary.Contains (object key) cil managed { - // Method begins at RVA 0x1c44c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1d964 + .override class [mscorlib]System.Collections.IDictionary::Contains + // Code size 21 (0x15) + .maxstack 2 .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 1539 - .method public hidebysig specialname - instance default void set_Prefix (string 'value') cil managed - { - // Method begins at RVA 0x1c467 - // Code size 9 (0x9) - .maxstack 8 + bool V_0) 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 1540 - .method public hidebysig specialname - instance default string get_Uri () cil managed - { - // Method begins at RVA 0x1c474 - // 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::_uri - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method XmlNamespace::get_Uri + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.Contains - // method line 1541 - .method public hidebysig specialname - instance default void set_Uri (string 'value') cil managed + // method line 1669 + .method public final virtual hidebysig newslot + instance default void Clear () cil managed { - // Method begins at RVA 0x1c48f - // Code size 9 (0x9) + // Method begins at RVA 0x1d985 + // Code size 13 (0xd) .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 + 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 - // method line 1542 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + // method line 1670 + .method public hidebysig + instance default void Add (string key, class NAnt.Core.FrameworkInfo 'value') cil managed { - // Method begins at RVA 0x1c49c + // Method begins at RVA 0x1d993 // 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.Core.Types.XmlNamespace::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.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 XmlNamespace::get_IfDefined + } // end of method FrameworkInfoDictionary::Add - // method line 1543 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 1671 + .method private final virtual hidebysig newslot + instance default void System.Collections.IDictionary.Add (object key, object 'value') cil managed { - // Method begins at RVA 0x1c4b7 - // Code size 9 (0x9) + // Method begins at RVA 0x1d9a3 + .override class [mscorlib]System.Collections.IDictionary::Add + // Code size 20 (0x14) .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 + 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 - // method line 1544 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + // method line 1672 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsReadOnly () cil managed { - // Method begins at RVA 0x1c4c4 - // Code size 15 (0xf) + // Method begins at RVA 0x1d9b8 + // Code size 20 (0x14) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.XmlNamespace::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XmlNamespace::get_UnlessDefined - - // method line 1545 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x1c4df - // 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 - - .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. - - .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. - - .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.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.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .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.. - - .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') - } - } // end of class NAnt.Core.Types.XmlNamespace -} - -.namespace NAnt.Core.Types -{ - .class public auto ansi serializable beforefieldinit EnvironmentVariableCollection - 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 1546 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x1c4e9 - // 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 EnvironmentVariableCollection::.ctor - - // method line 1547 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariableCollection 'value') cil managed - { - // Method begins at RVA 0x1c4f2 - // 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 + 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 - // method line 1548 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariable[] 'value') cil managed - { - // Method begins at RVA 0x1c502 - // 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.EnvironmentVariable[]) - IL_000e: ret - } // end of method EnvironmentVariableCollection::.ctor + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_IsReadOnly - // method line 1549 + // method line 1673 .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentVariable get_Item (int32 index) cil managed + instance default class NAnt.Core.FrameworkInfo get_Item (string key) cil managed { - // Method begins at RVA 0x1c514 + // Method begins at RVA 0x1d9d8 // Code size 26 (0x1a) .maxstack 2 .locals init ( - class NAnt.Core.Types.EnvironmentVariable V_0) + class NAnt.Core.FrameworkInfo 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_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash 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_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_0018: ldloc.0 IL_0019: ret - } // end of method EnvironmentVariableCollection::get_Item + } // end of method FrameworkInfoDictionary::get_Item - // method line 1550 + // method line 1674 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.EnvironmentVariable 'value') cil managed + instance default void set_Item (string key, class NAnt.Core.FrameworkInfo 'value') cil managed { - // Method begins at RVA 0x1c53a + // Method begins at RVA 0x1d9fe // 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_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.IList::set_Item(int32, object) + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) IL_000e: ret - } // end of method EnvironmentVariableCollection::set_Item - - // method line 1551 - .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentVariable get_Item (string name) cil managed - { - // Method begins at RVA 0x1c54c - // 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_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 EnvironmentVariableCollection::get_Item + } // end of method FrameworkInfoDictionary::set_Item - // method line 1552 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.EnvironmentVariable item) cil managed + // method line 1675 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionary.get_Item (object key) cil managed { - // Method begins at RVA 0x1c5d8 + // Method begins at RVA 0x1da10 + .override class [mscorlib]System.Collections.IDictionary::get_Item // Code size 21 (0x15) .maxstack 2 .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_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_0013: ldloc.0 IL_0014: ret - } // end of method EnvironmentVariableCollection::Add + } // end of method FrameworkInfoDictionary::System.Collections.IDictionary.get_Item - // method line 1553 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.EnvironmentVariable[] items) cil managed + // method line 1676 + .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 0x1c5fc - // Code size 34 (0x22) - .maxstack 3 - .locals init ( - int32 V_0) + // Method begins at RVA 0x1da31 + .override class [mscorlib]System.Collections.IDictionary::set_Item + // Code size 20 (0x14) + .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.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_0021: ret - } // end of method EnvironmentVariableCollection::AddRange + 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 - // method line 1554 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.EnvironmentVariableCollection items) cil managed + // method line 1677 + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Collections.ICollection get_Values () cil managed { - // Method begins at RVA 0x1c62c - // Code size 41 (0x29) - .maxstack 3 + // Method begins at RVA 0x1da48 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.Collections.ICollection 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.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 + 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_0028: ret - } // end of method EnvironmentVariableCollection::AddRange + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_Values - // method line 1555 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.EnvironmentVariable item) cil managed + // method line 1678 + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Collections.ICollection get_Keys () cil managed { - // Method begins at RVA 0x1c664 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x1da68 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Collections.ICollection 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.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_0013: ldloc.0 - IL_0014: ret - } // end of method EnvironmentVariableCollection::Contains + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_Keys - // method line 1556 - .method public hidebysig - instance default bool Contains (string 'value') cil managed + // method line 1679 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsFixedSize () cil managed { - // Method begins at RVA 0x1c688 - // Code size 22 (0x16) - .maxstack 2 + // Method begins at RVA 0x1da88 + // Code size 20 (0x14) + .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.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_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_0014: ldloc.0 - IL_0015: ret - } // end of method EnvironmentVariableCollection::Contains + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_IsFixedSize - // method line 1557 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.EnvironmentVariable[] 'array', int32 index) cil managed + // method line 1680 + .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 0x1c6aa + // Method begins at RVA 0x1daa8 + .override class [mscorlib]System.Collections.ICollection::CopyTo // 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_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.ICollection::CopyTo(class [mscorlib]System.Array, int32) + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) IL_000e: ret - } // end of method EnvironmentVariableCollection::CopyTo + } // end of method FrameworkInfoDictionary::System.Collections.ICollection.CopyTo - // method line 1558 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.EnvironmentVariable item) cil managed + // method line 1681 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsSynchronized () cil managed { - // Method begins at RVA 0x1c6bc - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x1dab8 + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_IsSynchronized + + // method line 1682 + .method public final virtual hidebysig newslot specialname + instance default int32 get_Count () cil managed + { + // Method begins at RVA 0x1dad8 + // 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.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.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_0013: ldloc.0 - IL_0014: ret - } // end of method EnvironmentVariableCollection::IndexOf + IL_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_Count - // method line 1559 + // method line 1683 + .method public final virtual hidebysig newslot specialname + instance default object get_SyncRoot () cil managed + { + // Method begins at RVA 0x1daf8 + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method FrameworkInfoDictionary::get_SyncRoot + + // method line 1684 .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.EnvironmentVariable item) cil managed + instance default void CopyTo (class NAnt.Core.FrameworkInfo[] 'array', int32 index) cil managed { - // Method begins at RVA 0x1c6dd + // Method begins at RVA 0x1db18 // 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_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.IList::Insert(int32, object) + IL_0009: callvirt instance void class [mscorlib]System.Collections.Hashtable::CopyTo(class [mscorlib]System.Array, int32) IL_000e: ret - } // end of method EnvironmentVariableCollection::Insert + } // end of method FrameworkInfoDictionary::CopyTo - // method line 1560 + // method line 1685 .method public hidebysig - instance default class NAnt.Core.Types.EnvironmentVariableEnumerator GetEnumerator () cil managed + instance default class NAnt.Core.FrameworkInfoDictionary Clone () cil managed + { + // Method begins at RVA 0x1db28 + // 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_0024: ldloc.1 + IL_0025: ret + } // end of method FrameworkInfoDictionary::Clone + + // method line 1686 + .method private final virtual hidebysig newslot + instance default object System.ICloneable.Clone () cil managed { - // Method begins at RVA 0x1c6f0 + // Method begins at RVA 0x1db5c + .override class [mscorlib]System.ICloneable::Clone // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.EnvironmentVariableEnumerator V_0) + object 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: call instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.FrameworkInfoDictionary::Clone() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method EnvironmentVariableCollection::GetEnumerator + } // end of method FrameworkInfoDictionary::System.ICloneable.Clone - // method line 1561 + // method line 1687 .method public hidebysig - instance default void Remove (class NAnt.Core.Types.EnvironmentVariable item) cil managed + instance default bool ContainsKey (string key) cil managed { - // Method begins at RVA 0x1c70b - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x1db78 + // 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_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.FrameworkInfoDictionary::_innerHash 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_0008: callvirt instance bool class [mscorlib]System.Collections.Hashtable::ContainsKey(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .property instance class NAnt.Core.Types.EnvironmentVariable Item (int32) + IL_0013: ldloc.0 + IL_0014: ret + } // end of method FrameworkInfoDictionary::ContainsKey + + // method line 1688 + .method public hidebysig + instance default bool ContainsValue (class NAnt.Core.FrameworkInfo 'value') cil managed + { + // Method begins at RVA 0x1db9c + // 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_0013: ldloc.0 + IL_0014: ret + } // end of method FrameworkInfoDictionary::ContainsValue + + // method line 1689 + .method public static hidebysig + default class NAnt.Core.FrameworkInfoDictionary Synchronized (class NAnt.Core.FrameworkInfoDictionary nonSync) cil managed + { + // Method begins at RVA 0x1dbc0 + // 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_001f: ldloc.1 + IL_0020: ret + } // end of method FrameworkInfoDictionary::Synchronized + + .property instance object System.Collections.IDictionary.Item (object) { - .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') + .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 NAnt.Core.Types.EnvironmentVariable Item (string) + .property instance class [mscorlib]System.Collections.Hashtable InnerHash () { - .get instance default class NAnt.Core.Types.EnvironmentVariable NAnt.Core.Types.EnvironmentVariableCollection::get_Item (string name) + .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') } - } // end of class NAnt.Core.Types.EnvironmentVariableCollection + .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 } -.namespace NAnt.Core.Types +.namespace NAnt.Core { - .class public auto ansi beforefieldinit EnvironmentVariableEnumerator + .class public auto ansi beforefieldinit FrameworkInfoDictionaryEnumerator extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + implements [mscorlib]System.Collections.IDictionaryEnumerator, [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IDictionaryEnumerator _innerEnumerator - // method line 1562 + // method line 1690 .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.EnvironmentVariableCollection arguments) cil managed + instance default void '.ctor' (class NAnt.Core.FrameworkInfoDictionary enumerable) cil managed { - // Method begins at RVA 0x1c71c - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) + // Method begins at RVA 0x1dbed + // Code size 25 (0x19) + .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_0015: ret - } // end of method EnvironmentVariableEnumerator::.ctor + 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 - // method line 1563 + // method line 1691 .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentVariable get_Current () cil managed + instance default string get_Key () cil managed { - // Method begins at RVA 0x1c740 + // Method begins at RVA 0x1dc08 // Code size 25 (0x19) .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_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_0017: ldloc.0 IL_0018: ret - } // end of method EnvironmentVariableEnumerator::get_Current + } // end of method FrameworkInfoDictionaryEnumerator::get_Key - // method line 1564 + // method line 1692 .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + instance default object System.Collections.IDictionaryEnumerator.get_Key () cil managed { - // Method begins at RVA 0x1c768 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 20 (0x14) + // Method begins at RVA 0x1dc30 + .override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key + // Code size 15 (0xf) .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_0002: call instance string class NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Key() + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfoDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key + + // method line 1693 + .method public hidebysig specialname + instance default class NAnt.Core.FrameworkInfo get_Value () cil managed + { + // Method begins at RVA 0x1dc4c + // 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_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkInfoDictionaryEnumerator::get_Value + + // method line 1694 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionaryEnumerator.get_Value () cil managed + { + // Method begins at RVA 0x1dc74 + .override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method FrameworkInfoDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value + + // method line 1695 + .method public final virtual hidebysig newslot specialname + instance default valuetype [mscorlib]System.Collections.DictionaryEntry get_Entry () cil managed + { + // Method begins at RVA 0x1dc90 + // 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_0012: ldloc.0 IL_0013: ret - } // end of method EnvironmentVariableEnumerator::System.Collections.IEnumerator.get_Current + } // end of method FrameworkInfoDictionaryEnumerator::get_Entry - // method line 1565 - .method public hidebysig + // method line 1696 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed + { + // Method begins at RVA 0x1dcb0 + // 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 + + // method line 1697 + .method public final virtual hidebysig newslot instance default bool MoveNext () cil managed { - // Method begins at RVA 0x1c788 + // Method begins at RVA 0x1dcc0 // 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_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_0012: ldloc.0 IL_0013: ret - } // end of method EnvironmentVariableEnumerator::MoveNext + } // end of method FrameworkInfoDictionaryEnumerator::MoveNext - // method line 1566 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + // method line 1698 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x1c7a8 - .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // Method begins at RVA 0x1dce0 + .override class [mscorlib]System.Collections.IEnumerator::get_Current // Code size 20 (0x14) .maxstack 1 .locals init ( - bool V_0) + 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 bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + 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_0012: ldloc.0 IL_0013: ret - } // end of method EnvironmentVariableEnumerator::System.Collections.IEnumerator.MoveNext + } // end of method FrameworkInfoDictionaryEnumerator::System.Collections.IEnumerator.get_Current - // method line 1567 - .method public hidebysig - instance default void Reset () cil managed + // method line 1699 + .method public hidebysig specialname + instance default class NAnt.Core.FrameworkInfo get_Current () cil managed { - // Method begins at RVA 0x1c7c8 - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x1dd00 + // 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.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 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 - // method line 1568 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x1c7d6 - .override class [mscorlib]System.Collections.IEnumerator::Reset - // 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 + IL_0024: ldloc.1 + IL_0025: ret + } // end of method FrameworkInfoDictionaryEnumerator::get_Current + .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.Types.EnvironmentVariableEnumerator::System.Collections.IEnumerator.get_Current () + .get instance default object NAnt.Core.FrameworkInfoDictionaryEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class NAnt.Core.Types.EnvironmentVariable Current () + .property instance string Key () { - .get instance default class NAnt.Core.Types.EnvironmentVariable NAnt.Core.Types.EnvironmentVariableEnumerator::get_Current () + .get instance default string NAnt.Core.FrameworkInfoDictionaryEnumerator::get_Key () } - } // end of class NAnt.Core.Types.EnvironmentVariableEnumerator + .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 } -.namespace NAnt.Core.Types +.namespace NAnt.Core { - .class public auto ansi serializable beforefieldinit ArgumentCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi ExpressionTokenizer + extends [mscorlib]System.Object { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - + .field private 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 - // method line 1569 + // method line 1700 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1c7e4 - // 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 ArgumentCollection::.ctor - - // method line 1570 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.ArgumentCollection 'value') cil managed - { - // Method begins at RVA 0x1c7ed + // Method begins at RVA 0x1dd32 // 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_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.ExpressionTokenizer::_ignoreWhiteSpace 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_0008: call instance void object::'.ctor'() + IL_000d: nop IL_000e: ret - } // end of method ArgumentCollection::.ctor + } // end of method ExpressionTokenizer::.ctor - // method line 1571 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.Argument[] 'value') cil managed + // method line 1701 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x1dd44 + // Code size 439 (0x1b7) + .maxstack 4 + .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 + + 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_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 + + 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 + + IL_01b6: ret + } // end of method ExpressionTokenizer::.cctor + + // method line 1702 + .method public hidebysig specialname + instance default bool get_IgnoreWhitespace () cil managed { - // Method begins at RVA 0x1c7fd + // Method begins at RVA 0x1df08 // 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[]) + .maxstack 1 + .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_000d: ldloc.0 IL_000e: ret - } // end of method ArgumentCollection::.ctor + } // end of method ExpressionTokenizer::get_IgnoreWhitespace - // method line 1572 + // method line 1703 .method public hidebysig specialname - instance default class NAnt.Core.Types.Argument get_Item (int32 index) cil managed + instance default void set_IgnoreWhitespace (bool 'value') cil managed { - // Method begins at RVA 0x1c810 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x1df23 + // Code size 9 (0x9) + .maxstack 8 + 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 + + // method line 1704 + .method public hidebysig specialname + instance default bool get_SingleCharacterMode () cil managed + { + // Method begins at RVA 0x1df30 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Types.Argument 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.Types.Argument - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: ldfld bool NAnt.Core.ExpressionTokenizer::_singleCharacterMode + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0018: ldloc.0 - IL_0019: ret - } // end of method ArgumentCollection::get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ExpressionTokenizer::get_SingleCharacterMode - // method line 1573 + // method line 1705 .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.Argument 'value') cil managed + instance default void set_SingleCharacterMode (bool 'value') cil managed { - // Method begins at RVA 0x1c836 - // Code size 15 (0xf) + // Method begins at RVA 0x1df4b + // 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_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.ExpressionTokenizer::_singleCharacterMode + IL_0008: ret + } // end of method ExpressionTokenizer::set_SingleCharacterMode + + // method line 1706 + .method public hidebysig specialname + instance default valuetype NAnt.Core.ExpressionTokenizer/TokenType get_CurrentToken () cil managed + { + // Method begins at RVA 0x1df58 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype NAnt.Core.ExpressionTokenizer/TokenType V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/TokenType NAnt.Core.ExpressionTokenizer::_tokenType + 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 ExpressionTokenizer::get_CurrentToken - // method line 1574 + // method line 1707 .method public hidebysig specialname - instance default class NAnt.Core.Types.Argument get_Item (string 'value') cil managed + instance default string get_TokenText () cil managed { - // Method begins at RVA 0x1c848 - // Code size 111 (0x6f) - .maxstack 2 + // Method begins at RVA 0x1df74 + // Code size 15 (0xf) + .maxstack 1 .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) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Core.ExpressionTokenizer::_tokenText + 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.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: ldloc.0 + IL_000e: ret + } // end of method ExpressionTokenizer::get_TokenText - 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 + // method line 1708 + .method public hidebysig specialname + instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_CurrentPosition () cil managed + { + // Method begins at RVA 0x1df90 + // 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.ExpressionTokenizer::_tokenStartPosition + 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 ExpressionTokenizer::get_CurrentPosition - 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 1709 + .method public hidebysig + instance default void InitTokenizer (string s) cil managed + { + // Method begins at RVA 0x1dfab + // Code size 29 (0x1d) + .maxstack 8 + 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_004c: leave IL_0065 + // method line 1710 + .method public hidebysig + instance default void GetNextToken () cil managed + { + // Method begins at RVA 0x1dfcc + // Code size 1053 (0x41d) + .maxstack 3 + .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) + 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 - } // 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: 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_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_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_006d: ldloc.2 - IL_006e: ret - } // end of method ArgumentCollection::get_Item + 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 - // method line 1575 + 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_01cf: ldloc.1 + IL_01d0: ldc.i4.s 0x5f + IL_01d2: beq IL_01e2 + + IL_01d7: ldloc.1 + IL_01d8: call bool char::IsLetter(char) + IL_01dd: brfalse IL_02d3 + + 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_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 + + IL_0214: ldloc.s 6 + IL_0216: ldc.i4.s 0x2d + IL_0218: beq IL_023b + + IL_021d: ldloc.s 6 + IL_021f: ldc.i4.s 0x2e + IL_0221: beq IL_023b + + IL_0226: ldloc.s 6 + IL_0228: ldc.i4.s 0x5c + IL_022a: beq IL_023b + + IL_022f: ldloc.s 6 + IL_0231: call bool char::IsLetterOrDigit(char) + IL_0236: brfalse IL_0253 + + 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 + + IL_0253: nop + IL_0254: br IL_0268 + + 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 + + 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 + + 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_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 + + 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 + + IL_02e9: ldloc.0 + IL_02ea: ldc.i4.s 0x3a + IL_02ec: bne.un IL_0311 + + 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 + + IL_0311: ldloc.1 + IL_0312: ldc.i4.s 0x21 + IL_0314: bne.un IL_0340 + + IL_0319: ldloc.0 + IL_031a: ldc.i4.s 0x3d + IL_031c: bne.un IL_0340 + + 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_0340: ldloc.1 + IL_0341: ldc.i4.s 0x3d + IL_0343: bne.un IL_036f + + IL_0348: ldloc.0 + IL_0349: ldc.i4.s 0x3d + IL_034b: bne.un IL_036f + + 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_036f: ldloc.1 + IL_0370: ldc.i4.s 0x3c + IL_0372: bne.un IL_039f + + IL_0377: ldloc.0 + IL_0378: ldc.i4.s 0x3d + IL_037a: bne.un IL_039f + + 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 + + IL_039f: ldloc.1 + IL_03a0: ldc.i4.s 0x3e + IL_03a2: bne.un IL_03cf + + IL_03a7: ldloc.0 + IL_03a8: ldc.i4.s 0x3d + IL_03aa: bne.un IL_03cf + + 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 + + IL_03cf: nop + IL_03d0: br IL_03de + + 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_03f3: ldloc.1 + IL_03f4: ldc.i4 128 + IL_03f9: bge IL_0412 + + 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 + + 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 1711 + .method public hidebysig + instance default bool IsKeyword (string k) cil managed + { + // Method begins at RVA 0x1e3f8 + // Code size 36 (0x24) + .maxstack 2 + .locals init ( + 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.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_001b: ldc.i4.0 + IL_001c: stloc.0 + IL_001d: br IL_0022 + + IL_0022: ldloc.0 + IL_0023: ret + } // end of method ExpressionTokenizer::IsKeyword + + // method line 1712 + .method private hidebysig + instance default int32 ReadChar () cil managed + { + // Method begins at RVA 0x1e428 + // Code size 66 (0x42) + .maxstack 4 + .locals init ( + int32 V_0, + int32 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_0039: ldc.i4.m1 + IL_003a: stloc.1 + IL_003b: br IL_0040 + + IL_0040: ldloc.1 + IL_0041: ret + } // end of method ExpressionTokenizer::ReadChar + + // method line 1713 + .method private hidebysig + instance default int32 PeekChar () cil managed + { + // Method begins at RVA 0x1e478 + // Code size 55 (0x37) + .maxstack 2 + .locals init ( + int32 V_0) + 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_002e + + 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_002e: ldc.i4.m1 + IL_002f: stloc.0 + IL_0030: br IL_0035 + + IL_0035: ldloc.0 + IL_0036: ret + } // end of method ExpressionTokenizer::PeekChar + + // method line 1714 + .method private hidebysig + instance default void SkipWhitespace () cil managed + { + // Method begins at RVA 0x1e4bc + // Code size 47 (0x2f) + .maxstack 2 + .locals init ( + int32 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_0013: br IL_002e + + 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 + + IL_002e: ret + } // end of method ExpressionTokenizer::SkipWhitespace + + .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 + + // method line 1715 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 charIndex) cil managed + { + // Method begins at RVA 0x1e4f7 + // Code size 9 (0x9) + .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 + + // method line 1716 + .method public hidebysig specialname + instance default int32 get_CharIndex () cil managed + { + // Method begins at RVA 0x1e504 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Core.ExpressionTokenizer/Position::_charIndex + 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 + + // method line 1717 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (char ch, valuetype NAnt.Core.ExpressionTokenizer/TokenType tokenType) cil managed + { + // Method begins at RVA 0x1e51f + // Code size 16 (0x10) + .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 serializable beforefieldinit BuildException + extends [mscorlib]System.ApplicationException + { + .field private class NAnt.Core.Location _location + + // method line 1718 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1e530 + // 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 + + // method line 1719 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message) cil managed + { + // Method begins at RVA 0x1e544 + // 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 + + // method line 1720 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class [mscorlib]System.Exception innerException) cil managed + { + // Method begins at RVA 0x1e559 + // 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 + + // method line 1721 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class NAnt.Core.Location location) cil managed + { + // Method begins at RVA 0x1e56f + // 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 + + // method line 1722 + .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 0x1e58b + // 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 + + // method line 1723 + .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 0x1e5a8 + // 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 + + // method line 1724 + .method public hidebysig specialname + instance default string get_RawMessage () cil managed + { + // Method begins at RVA 0x1e5e0 + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method BuildException::get_RawMessage + + // method line 1725 + .method public hidebysig specialname + instance default class NAnt.Core.Location get_Location () cil managed + { + // Method begins at RVA 0x1e5fc + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method BuildException::get_Location + + // method line 1726 + .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 0x1e617 + .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 + + // method line 1727 + .method public virtual hidebysig specialname + instance default string get_Message () cil managed + { + // Method begins at RVA 0x1e634 + // 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_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_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 1728 .method public virtual hidebysig instance default string ToString () cil managed { - // Method begins at RVA 0x1c8d4 - // Code size 28 (0x1c) + // Method begins at RVA 0x1e68c + // 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_0027: ldloc.0 + IL_0028: ret + } // end of method BuildException::ToString + + .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 +} + +.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.. + + .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 of class NAnt.Core.Level +} + +.namespace NAnt.Core +{ + .class private auto ansi beforefieldinit LevelConverter + extends [System]System.ComponentModel.EnumConverter + { + + // method line 1729 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1e6c1 + // 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 line 1730 + .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 0x1e6d4 + // 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 LevelConverter::ConvertFrom + + } // end of class NAnt.Core.LevelConverter +} + +.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 + + // method line 1731 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1e712 + // 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 + + // method line 1732 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project) cil managed + { + // Method begins at RVA 0x1e726 + // 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 line 1733 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Target target) cil managed + { + // Method begins at RVA 0x1e741 + // 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 + + // method line 1734 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Task task) cil managed + { + // Method begins at RVA 0x1e768 + // 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 line 1735 + .method public hidebysig specialname + instance default string get_Message () cil managed + { + // Method begins at RVA 0x1e7a0 + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_Message + + // method line 1736 + .method public hidebysig specialname + instance default void set_Message (string 'value') cil managed + { + // Method begins at RVA 0x1e7bb + // 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 + + // method line 1737 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Level get_MessageLevel () cil managed + { + // Method begins at RVA 0x1e7c8 + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_MessageLevel + + // method line 1738 + .method public hidebysig specialname + instance default void set_MessageLevel (valuetype NAnt.Core.Level 'value') cil managed + { + // Method begins at RVA 0x1e7e3 + // 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 + + // method line 1739 + .method public hidebysig specialname + instance default class [mscorlib]System.Exception get_Exception () cil managed + { + // Method begins at RVA 0x1e7f0 + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_Exception + + // method line 1740 + .method public hidebysig specialname + instance default void set_Exception (class [mscorlib]System.Exception 'value') cil managed + { + // Method begins at RVA 0x1e80b + // 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 + + // method line 1741 + .method public hidebysig specialname + instance default class NAnt.Core.Project get_Project () cil managed + { + // Method begins at RVA 0x1e818 + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_Project + + // method line 1742 + .method public hidebysig specialname + instance default class NAnt.Core.Target get_Target () cil managed + { + // Method begins at RVA 0x1e834 + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_Target + + // method line 1743 + .method public hidebysig specialname + instance default class NAnt.Core.Task get_Task () cil managed + { + // Method begins at RVA 0x1e850 + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method BuildEventArgs::get_Task + + .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 +} + +.namespace NAnt.Core +{ + .class public auto ansi sealed BuildEventHandler + extends [mscorlib]System.MulticastDelegate + { + + // method line 1744 + .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 + + // method line 1745 + .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 + + // method line 1746 + .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 + + // method line 1747 + .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 + + } // end of class NAnt.Core.BuildEventHandler +} + +.namespace NAnt.Core +{ + .class interface public auto ansi abstract IBuildListener + { + + // method line 1748 + .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 + + // method line 1749 + .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 + + // method line 1750 + .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 + + // method line 1751 + .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 + + // method line 1752 + .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 + + // method line 1753 + .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 + + // method line 1754 + .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 of class NAnt.Core.IBuildListener +} + +.namespace NAnt.Core +{ + .class interface public auto ansi abstract IBuildLogger + implements NAnt.Core.IBuildListener { + + // method line 1755 + .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 + + // method line 1756 + .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 + + // method line 1757 + .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 + + // method line 1758 + .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 + + // method line 1759 + .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 + + // method line 1760 + .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 + + // method line 1761 + .method public virtual hidebysig newslot abstract + instance default void Flush () cil managed + { + // Method begins at RVA 0x0 + } // end of method IBuildLogger::Flush + + .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 +} + +.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 1762 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1e86b + // 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 1763 + .method public virtual hidebysig newslot specialname + instance default valuetype NAnt.Core.Level get_Threshold () cil managed + { + // Method begins at RVA 0x1e88c + // 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.DefaultLogger::_threshold + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DefaultLogger::get_Threshold + + // method line 1764 + .method public virtual hidebysig newslot specialname + instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed + { + // Method begins at RVA 0x1e8a7 + // 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.DefaultLogger::_threshold + IL_0008: ret + } // end of method DefaultLogger::set_Threshold + + // method line 1765 + .method public virtual hidebysig newslot specialname + instance default bool get_EmacsMode () cil managed + { + // Method begins at RVA 0x1e8b4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.DefaultLogger::_emacsMode + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DefaultLogger::get_EmacsMode + + // method line 1766 + .method public virtual hidebysig newslot specialname + instance default void set_EmacsMode (bool 'value') cil managed + { + // Method begins at RVA 0x1e8cf + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + 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 + + // method line 1767 + .method public virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.TextWriter get_OutputWriter () cil managed + { + // Method begins at RVA 0x1e8dc + // 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_000d: ldloc.0 + IL_000e: ret + } // end of method DefaultLogger::get_OutputWriter + + // method line 1768 + .method public virtual hidebysig newslot specialname + instance default void set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed + { + // Method begins at RVA 0x1e8f7 + // 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 + + // method line 1769 + .method public virtual hidebysig newslot + instance default void Flush () cil managed + { + // Method begins at RVA 0x1e901 + // 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_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 + + // method line 1770 + .method public virtual hidebysig newslot + instance default void BuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x1e91c + // 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 + + // method line 1771 + .method public virtual hidebysig newslot + instance default void BuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x1e934 + // 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_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_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_0063: ldloc.2 + IL_0064: ldfld int32 NAnt.Core.BuildReport::Warnings + IL_0069: brtrue IL_0086 + + 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_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_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_00f2: ldloc.2 + IL_00f3: ldfld int32 NAnt.Core.BuildReport::Warnings + IL_00f8: brtrue IL_0115 + + 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_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_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_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_0193: nop + IL_0194: ldloc.0 + IL_0195: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_019a: brfalse IL_01b3 + + 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_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_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_01fe: nop + IL_01ff: nop + IL_0200: br IL_025d + + 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 + + // method line 1772 + .method public virtual hidebysig newslot + instance default void TargetStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x1ec04 + // 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_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_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 + + // method line 1773 + .method public virtual hidebysig newslot + instance default void TargetFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x1ec8e + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method DefaultLogger::TargetFinished + + // method line 1774 + .method public virtual hidebysig newslot + instance default void TaskStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x1ec91 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method DefaultLogger::TaskStarted + + // method line 1775 + .method public virtual hidebysig newslot + instance default void TaskFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x1ec94 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method DefaultLogger::TaskFinished + + // method line 1776 + .method public virtual hidebysig newslot + instance default void MessageLogged (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x1ec98 + // 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_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_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_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_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 + + // method line 1777 + .method family virtual hidebysig newslot + instance default void Log (string message) cil managed + { + // Method begins at RVA 0x1ed27 + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method DefaultLogger::Log + + // method line 1778 + .method private hidebysig + instance default void OutputMessage (valuetype NAnt.Core.Level messageLevel, string message, int32 indentationLength) cil managed + { + // Method begins at RVA 0x1ed2a + // 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 1779 + .method private hidebysig + instance default void OutputMessage (class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x1ed3c + // Code size 49 (0x31) + .maxstack 3 + .locals init ( + int32 V_0) + IL_0000: nop + 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_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 + + // method line 1780 + .method private hidebysig + instance default void OutputMessage (class NAnt.Core.BuildEventArgs e, int32 indentationLength) cil managed + { + // Method begins at RVA 0x1ed7c + // 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_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[] 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_0057: ldarg.0 + IL_0058: callvirt instance bool class NAnt.Core.DefaultLogger::get_EmacsMode() + IL_005d: brtrue IL_0091 + + 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_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: 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 + + 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 + + IL_011e: nop + IL_011f: ret + } // end of method DefaultLogger::OutputMessage + + // method line 1781 + .method private static hidebysig + default class NAnt.Core.BuildEventArgs CreateBuildEvent (valuetype NAnt.Core.Level messageLevel, string message) cil managed + { + // Method begins at RVA 0x1eea8 + // Code size 30 (0x1e) .maxstack 2 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1) + class NAnt.Core.BuildEventArgs V_0, + class NAnt.Core.BuildEventArgs V_1) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + 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 + + IL_001c: ldloc.1 + IL_001d: ret + } // end of method DefaultLogger::CreateBuildEvent + + .property instance valuetype NAnt.Core.Level Threshold () + { + .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') + } + .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 int32 Errors + .field public int32 Warnings + .field public initonly valuetype [mscorlib]System.DateTime StartTime + + // method line 1782 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype [mscorlib]System.DateTime startTime) cil managed + { + // Method begins at RVA 0x1eed2 + // 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: ldloc.0 - IL_0009: call instance void class NAnt.Core.Types.ArgumentCollection::ToString(class [mscorlib]System.Text.StringBuilder) + 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.BuildReport +} + +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit MailLogger + extends NAnt.Core.DefaultLogger + { + .field private class [mscorlib]System.Text.StringBuilder _buffer + .field private class [mscorlib]System.Collections.Stack _projectStack + + // method line 1783 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1eef0 + // Code size 30 (0x1e) + .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.Core.MailLogger::_buffer + 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.MailLogger::_projectStack + IL_0016: ldarg.0 + IL_0017: call instance void class NAnt.Core.DefaultLogger::'.ctor'() + IL_001c: nop + IL_001d: ret + } // end of method MailLogger::.ctor + + // method line 1784 + .method public virtual hidebysig + instance default void BuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x1ef0f + // Code size 22 (0x16) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + 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 1785 + .method public virtual hidebysig + instance default void BuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x1ef28 + // Code size 712 (0x2c8) + .maxstack 8 + .locals init ( + 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: 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 + + IL_0025: nop + IL_0026: br IL_02c7 + + 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_004b: ldstr "success" + IL_0050: br IL_005a + + 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 + + } // 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 + + } // 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_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 + + } // end .try 1 + catch class [mscorlib]System.Object { // 1 + IL_00c3: pop + IL_00c4: nop + IL_00c5: nop + IL_00c6: leave IL_00cb + + } // end handler 1 + IL_00cb: ldloc.s 6 + IL_00cd: brtrue IL_00d8 + + IL_00d2: nop + IL_00d3: leave IL_02c7 + + 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_0126: ldstr "Build Success" + IL_012b: br IL_0135 + + 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_0189: ldloc.s 9 + IL_018b: brtrue IL_019c + + 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 + + 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 1786 + .method family virtual hidebysig + instance default void Log (string message) cil managed + { + // Method begins at RVA 0x1f248 + // Code size 25 (0x19) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Text.StringBuilder NAnt.Core.MailLogger::_buffer + IL_0007: ldarg.1 + 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 1787 + .method private hidebysig + instance default string GetPropertyValue (class NAnt.Core.PropertyDictionary properties, string name, string defaultValue, bool required) cil managed + { + // Method begins at RVA 0x1f264 + // Code size 76 (0x4c) + .maxstack 3 + .locals init ( + string V_0, + string V_1, + string V_2) + IL_0000: nop + 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 object::ToString() + IL_000f: callvirt instance string class NAnt.Core.PropertyDictionary::get_Item(string) IL_0014: stloc.1 - IL_0015: br IL_001a + IL_0015: ldloc.1 + IL_0016: brtrue IL_001f - IL_001a: ldloc.1 - IL_001b: ret - } // end of method ArgumentCollection::ToString + 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 1576 + 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 1788 + .method private hidebysig + instance default bool IsSSLEnabled (class NAnt.Core.PropertyDictionary properties) cil managed + { + // Method begins at RVA 0x1f2bc + // Code size 69 (0x45) + .maxstack 5 + .locals init ( + string V_0, + bool V_1) + IL_0000: nop + IL_0001: ldarg.0 + 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_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 + + } // 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 1789 + .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 0x1f320 + // Code size 184 (0xb8) + .maxstack 3 + .locals init ( + 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: ldarg.3 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brfalse IL_0012 + + IL_000c: nop + IL_000d: br IL_00b7 + + 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_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_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_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_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_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 [System]System.Collections.Specialized.StringEnumerator::MoveNext() + IL_0097: brtrue IL_0052 + + IL_009c: leave IL_00b7 + + } // end .try 0 + finally { // 0 + IL_00a1: ldloc.2 + IL_00a2: isinst [mscorlib]System.IDisposable + IL_00a7: dup + IL_00a8: stloc.s 4 + IL_00aa: brfalse IL_00b6 + + IL_00af: ldloc.s 4 + IL_00b1: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_00b6: endfinally + } // end handler 0 + IL_00b7: ret + } // end of method MailLogger::AttachFiles + + } // 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 1790 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1f3f4 + // 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 1791 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.BuildListenerCollection 'value') cil managed + { + // Method begins at RVA 0x1f3fd + // 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 1792 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.IBuildListener[] 'value') cil managed + { + // Method begins at RVA 0x1f40d + // 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 1793 + .method public hidebysig specialname + instance default class NAnt.Core.IBuildListener get_Item (int32 index) cil managed + { + // Method begins at RVA 0x1f420 + // 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 1794 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.IBuildListener 'value') cil managed + { + // Method begins at RVA 0x1f446 + // 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 1795 .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.Argument item) cil managed + instance default int32 Add (class NAnt.Core.IBuildListener item) cil managed { - // Method begins at RVA 0x1c8fc + // Method begins at RVA 0x1f458 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -56344,13 +63339,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method ArgumentCollection::Add + } // end of method BuildListenerCollection::Add - // method line 1577 + // method line 1796 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.Argument[] items) cil managed + instance default void AddRange (class NAnt.Core.IBuildListener[] items) cil managed { - // Method begins at RVA 0x1c920 + // Method begins at RVA 0x1f47c // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -56365,7 +63360,7 @@ 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_000d: call instance int32 class NAnt.Core.BuildListenerCollection::Add(class NAnt.Core.IBuildListener) IL_0012: pop IL_0013: nop IL_0014: ldloc.0 @@ -56379,13 +63374,13 @@ IL_001c: blt IL_0008 IL_0021: ret - } // end of method ArgumentCollection::AddRange + } // end of method BuildListenerCollection::AddRange - // method line 1578 + // method line 1797 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.ArgumentCollection items) cil managed + instance default void AddRange (class NAnt.Core.BuildListenerCollection items) cil managed { - // Method begins at RVA 0x1c950 + // Method begins at RVA 0x1f4ac // Code size 41 (0x29) .maxstack 3 .locals init ( @@ -56399,8 +63394,8 @@ 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_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 @@ -56413,13 +63408,13 @@ IL_0023: blt IL_0008 IL_0028: ret - } // end of method ArgumentCollection::AddRange + } // end of method BuildListenerCollection::AddRange - // method line 1579 + // method line 1798 .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.Argument item) cil managed + instance default bool Contains (class NAnt.Core.IBuildListener item) cil managed { - // Method begins at RVA 0x1c988 + // Method begins at RVA 0x1f4e4 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -56434,37 +63429,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method ArgumentCollection::Contains - - // method line 1580 - .method public hidebysig - instance default bool Contains (string 'value') cil managed - { - // Method begins at RVA 0x1c9ac - // 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 - - IL_0014: ldloc.0 - IL_0015: ret - } // end of method ArgumentCollection::Contains + } // end of method BuildListenerCollection::Contains - // method line 1581 + // method line 1799 .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.Argument[] 'array', int32 index) cil managed + instance default void CopyTo (class NAnt.Core.IBuildListener[] 'array', int32 index) cil managed { - // Method begins at RVA 0x1c9ce + // Method begins at RVA 0x1f505 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -56474,13 +63445,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 ArgumentCollection::CopyTo + } // end of method BuildListenerCollection::CopyTo - // method line 1582 + // method line 1800 .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.Argument item) cil managed + instance default int32 IndexOf (class NAnt.Core.IBuildListener item) cil managed { - // Method begins at RVA 0x1c9e0 + // Method begins at RVA 0x1f518 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -56495,13 +63466,13 @@ IL_0013: ldloc.0 IL_0014: ret - } // end of method ArgumentCollection::IndexOf + } // end of method BuildListenerCollection::IndexOf - // method line 1583 + // method line 1801 .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.Argument item) cil managed + instance default void Insert (int32 index, class NAnt.Core.IBuildListener item) cil managed { - // Method begins at RVA 0x1ca01 + // Method begins at RVA 0x1f539 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -56511,32 +63482,32 @@ 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 + } // end of method BuildListenerCollection::Insert - // method line 1584 + // method line 1802 .method public hidebysig - instance default class NAnt.Core.Types.ArgumentEnumerator GetEnumerator () cil managed + instance default class NAnt.Core.BuildListenerEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x1ca14 + // Method begins at RVA 0x1f54c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.ArgumentEnumerator V_0) + class NAnt.Core.BuildListenerEnumerator 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: newobj instance void class NAnt.Core.BuildListenerEnumerator::'.ctor'(class NAnt.Core.BuildListenerCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ArgumentCollection::GetEnumerator + } // end of method BuildListenerCollection::GetEnumerator - // method line 1585 + // method line 1803 .method public hidebysig - instance default void Remove (class NAnt.Core.Types.Argument item) cil managed + instance default void Remove (class NAnt.Core.IBuildListener item) cil managed { - // Method begins at RVA 0x1ca2f + // Method begins at RVA 0x1f567 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -56545,103 +63516,28 @@ 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 1586 - .method assembly hidebysig - instance default void ToString (class [mscorlib]System.Text.StringBuilder sb) cil managed - { - // Method begins at RVA 0x1ca40 - // 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 + } // end of method BuildListenerCollection::Remove - .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) + .property instance class NAnt.Core.IBuildListener Item (int32) { - .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentCollection::get_Item (string 'value') + .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.Types.ArgumentCollection + } // end of class NAnt.Core.BuildListenerCollection } -.namespace NAnt.Core.Types +.namespace NAnt.Core { - .class public auto ansi beforefieldinit ArgumentEnumerator + .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 1587 + // method line 1804 .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.ArgumentCollection arguments) cil managed + instance default void '.ctor' (class NAnt.Core.BuildListenerCollection arguments) cil managed { - // Method begins at RVA 0x1cad4 + // Method begins at RVA 0x1f578 // Code size 22 (0x16) .maxstack 2 .locals init ( @@ -56654,36 +63550,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.Core.Types.ArgumentEnumerator::_baseEnumerator + IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.BuildListenerEnumerator::_baseEnumerator IL_0015: ret - } // end of method ArgumentEnumerator::.ctor + } // end of method BuildListenerEnumerator::.ctor - // method line 1588 + // method line 1805 .method public hidebysig specialname - instance default class NAnt.Core.Types.Argument get_Current () cil managed + instance default class NAnt.Core.IBuildListener get_Current () cil managed { - // Method begins at RVA 0x1caf8 + // Method begins at RVA 0x1f59c // Code size 25 (0x19) .maxstack 1 .locals init ( - class NAnt.Core.Types.Argument V_0) + class NAnt.Core.IBuildListener V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + 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.Types.Argument + 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 ArgumentEnumerator::get_Current + } // end of method BuildListenerEnumerator::get_Current - // method line 1589 + // method line 1806 .method private final virtual hidebysig newslot specialname instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x1cb20 + // Method begins at RVA 0x1f5c4 .override class [mscorlib]System.Collections.IEnumerator::get_Current // Code size 20 (0x14) .maxstack 1 @@ -56691,40 +63587,40 @@ object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + 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_0012: ldloc.0 IL_0013: ret - } // end of method ArgumentEnumerator::System.Collections.IEnumerator.get_Current + } // end of method BuildListenerEnumerator::System.Collections.IEnumerator.get_Current - // method line 1590 + // method line 1807 .method public hidebysig instance default bool MoveNext () cil managed { - // Method begins at RVA 0x1cb40 + // Method begins at RVA 0x1f5e4 // 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.ArgumentEnumerator::_baseEnumerator + 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_0012: ldloc.0 IL_0013: ret - } // end of method ArgumentEnumerator::MoveNext + } // end of method BuildListenerEnumerator::MoveNext - // method line 1591 + // method line 1808 .method private final virtual hidebysig newslot instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x1cb60 + // Method begins at RVA 0x1f604 .override class [mscorlib]System.Collections.IEnumerator::MoveNext // Code size 20 (0x14) .maxstack 1 @@ -56732,8427 +63628,6897 @@ bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + 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_0012: ldloc.0 IL_0013: ret - } // end of method ArgumentEnumerator::System.Collections.IEnumerator.MoveNext + } // end of method BuildListenerEnumerator::System.Collections.IEnumerator.MoveNext - // method line 1592 + // method line 1809 .method public hidebysig instance default void Reset () cil managed { - // Method begins at RVA 0x1cb80 + // Method begins at RVA 0x1f624 // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + 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 ArgumentEnumerator::Reset + } // end of method BuildListenerEnumerator::Reset - // method line 1593 + // method line 1810 .method private final virtual hidebysig newslot instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x1cb8e + // Method begins at RVA 0x1f632 .override class [mscorlib]System.Collections.IEnumerator::Reset // Code size 13 (0xd) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator + 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 ArgumentEnumerator::System.Collections.IEnumerator.Reset + } // end of method BuildListenerEnumerator::System.Collections.IEnumerator.Reset .property instance object System.Collections.IEnumerator.Current () { - .get instance default object NAnt.Core.Types.ArgumentEnumerator::System.Collections.IEnumerator.get_Current () + .get instance default object NAnt.Core.BuildListenerEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class NAnt.Core.Types.Argument Current () + .property instance class NAnt.Core.IBuildListener Current () { - .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentEnumerator::get_Current () + .get instance default class NAnt.Core.IBuildListener NAnt.Core.BuildListenerEnumerator::get_Current () } - } // end of class NAnt.Core.Types.ArgumentEnumerator + } // end of class NAnt.Core.BuildListenerEnumerator } .namespace NAnt.Core { - .class public auto ansi abstract beforefieldinit ExpressionEvalBase - extends [mscorlib]System.Object + .class public auto ansi beforefieldinit LogWriter + extends [mscorlib]System.IO.TextWriter { - .field private valuetype NAnt.Core.ExpressionEvalBase/EvalMode _evalMode - .field private class NAnt.Core.ExpressionTokenizer _tokenizer - .field private initonly class NAnt.Core.Project _project + .field private initonly class NAnt.Core.Task _task + .field private initonly valuetype NAnt.Core.Level _outputLevel + .field private string _message - // method line 1594 + // method line 1811 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project) cil managed + 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 0x1cb9c - // Code size 39 (0x27) + // Method begins at RVA 0x1f640 + // Code size 34 (0x22) .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_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_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 1595 - .method public hidebysig specialname - instance default class NAnt.Core.Project get_Project () cil managed + // method line 1812 + .method public virtual hidebysig specialname + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed { - // Method begins at RVA 0x1cbc4 - // Code size 15 (0xf) + // Method begins at RVA 0x1f664 + // Code size 14 (0xe) .maxstack 1 .locals init ( - class NAnt.Core.Project V_0) + class [mscorlib]System.Text.Encoding 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_0001: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_UTF8() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExpressionEvalBase::get_Project + IL_000c: ldloc.0 + IL_000d: ret + } // end of method LogWriter::get_Encoding - // method line 1596 - .method public hidebysig - instance default object Evaluate (class NAnt.Core.ExpressionTokenizer tokenizer) cil managed + // method line 1813 + .method public virtual hidebysig + instance default void Write (char[] chars) cil managed { - // Method begins at RVA 0x1cbe0 - // Code size 29 (0x1d) - .maxstack 2 - .locals init ( - object V_0) + // Method begins at RVA 0x1f67e + // Code size 20 (0x14) + .maxstack 8 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_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_001b: ldloc.0 - IL_001c: ret - } // end of method ExpressionEvalBase::Evaluate + // method line 1814 + .method public virtual hidebysig + instance default void Write (string 'value') cil managed + { + // Method begins at RVA 0x1f693 + // 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 - // method line 1597 - .method public hidebysig - instance default object Evaluate (string s) cil managed + // method line 1815 + .method public virtual hidebysig + instance default void WriteLine () cil managed { - // Method begins at RVA 0x1cc0c - // Code size 88 (0x58) - .maxstack 3 - .locals init ( - object V_0, - object V_1) + // Method begins at RVA 0x1f6a8 + // Code size 13 (0xd) + .maxstack 8 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_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 + + // method line 1816 + .method public virtual hidebysig + instance default void WriteLine (string 'value') cil managed + { + // Method begins at RVA 0x1f6b6 + // 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.ExpressionTokenizer NAnt.Core.ExpressionEvalBase::_tokenizer - IL_0019: ldarg.1 - IL_001a: callvirt instance void class NAnt.Core.ExpressionTokenizer::InitTokenizer(string) + 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: 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_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_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_0056: ldloc.1 - IL_0057: ret - } // end of method ExpressionEvalBase::Evaluate + // method line 1817 + .method public virtual hidebysig + instance default void WriteLine (string line, object[] args) cil managed + { + // Method begins at RVA 0x1f6f0 + // 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 - // method line 1598 - .method public hidebysig - instance default void CheckSyntax (string s) cil managed + // method line 1818 + .method public virtual hidebysig + instance default void Flush () cil managed { - // Method begins at RVA 0x1cc70 - // Code size 80 (0x50) - .maxstack 3 + // Method begins at RVA 0x1f73d + // Code size 54 (0x36) + .maxstack 8 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_0002: ldfld string NAnt.Core.LogWriter::_message + IL_0007: callvirt instance int32 string::get_Length() + IL_000c: brfalse IL_0035 - 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_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 - // method line 1599 - .method private hidebysig - instance default bool SyntaxCheckOnly () cil managed + // method line 1819 + .method public virtual hidebysig + instance default void Close () cil managed { - // Method begins at RVA 0x1cccc - // Code size 18 (0x12) + // Method begins at RVA 0x1f774 + // 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 + + // method line 1820 + .method public virtual hidebysig + instance default object InitializeLifetimeService () cil managed + { + // Method begins at RVA 0x1f784 + // Code size 47 (0x2f) .maxstack 2 .locals init ( - bool V_0) + class [mscorlib]System.Runtime.Remoting.Lifetime.ILease V_0, + object V_1) 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_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_0010: ldloc.0 - IL_0011: ret - } // end of method ExpressionEvalBase::SyntaxCheckOnly + 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 - // method line 1600 - .method private hidebysig - instance default object ParseExpression () cil managed + IL_002d: ldloc.1 + IL_002e: ret + } // end of method LogWriter::InitializeLifetimeService + + // method line 1821 + .method family hidebysig specialname + instance default valuetype NAnt.Core.Level get_OutputLevel () cil managed { - // Method begins at RVA 0x1ccec + // Method begins at RVA 0x1f7c0 // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + valuetype NAnt.Core.Level V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance object class NAnt.Core.ExpressionEvalBase::ParseBooleanOr() + IL_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.LogWriter::_outputLevel IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ExpressionEvalBase::ParseExpression + } // end of method LogWriter::get_OutputLevel - // method line 1601 - .method private hidebysig - instance default object ParseBooleanOr () cil managed - { - // Method begins at RVA 0x1cd08 - // 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 + .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_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 +.namespace NAnt.Core +{ + .class public auto ansi serializable beforefieldinit ExpressionParseException + extends [mscorlib]System.Exception + { + .field private int32 _startPos + .field private int32 _endPos - 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 + // method line 1822 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x1f7db + // 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_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 + // method line 1823 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message) cil managed + { + // Method begins at RVA 0x1f7f2 + // 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_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 + // method line 1824 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class [mscorlib]System.Exception inner) cil managed + { + // Method begins at RVA 0x1f80b + // 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_00c9: ldloc.s 7 - IL_00cb: br.s IL_00ce + // method line 1825 + .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 0x1f824 + // 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_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 + // method line 1826 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, int32 pos) cil managed + { + // Method begins at RVA 0x1f888 + // 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_00eb: ldloc.1 - IL_00ec: stloc.s 8 - IL_00ee: leave IL_00fd + // method line 1827 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, int32 startPos, int32 endPos) cil managed + { + // Method begins at RVA 0x1f8af + // 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 .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 + // method line 1828 + .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 0x1f8d6 + // 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 - // method line 1602 - .method private hidebysig - instance default object ParseBooleanAnd () cil managed + // method line 1829 + .method public hidebysig specialname + instance default int32 get_StartPos () cil managed { - // Method begins at RVA 0x1ce24 - // Code size 256 (0x100) - .maxstack 6 + // Method begins at RVA 0x1f900 + // Code size 15 (0xf) + .maxstack 1 .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) + int32 V_0) 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_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_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_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_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_00c9: ldloc.s 7 - IL_00cb: br.s IL_00ce - - 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_00eb: ldloc.1 - IL_00ec: stloc.s 8 - IL_00ee: leave IL_00fd + IL_0002: ldfld int32 NAnt.Core.ExpressionParseException::_startPos + IL_0007: stloc.0 + IL_0008: br IL_000d - } // 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_000d: ldloc.0 + IL_000e: ret + } // end of method ExpressionParseException::get_StartPos - // method line 1603 - .method private hidebysig - instance default object ParseRelationalExpression () cil managed + // method line 1830 + .method public hidebysig specialname + instance default int32 get_EndPos () cil managed { - // Method begins at RVA 0x1cf40 - // Code size 5433 (0x1539) - .maxstack 6 + // Method begins at RVA 0x1f91c + // Code size 15 (0xf) + .maxstack 1 .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) + int32 V_0) 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_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_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_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_0002: ldfld int32 NAnt.Core.ExpressionParseException::_endPos + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method ExpressionParseException::get_EndPos - 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 + // method line 1831 + .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 0x1f937 + // 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_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 + .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_00b3: nop - IL_00b4: ldnull - IL_00b5: stloc.s 5 - IL_00b7: br IL_1536 +.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_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 1832 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x2e34 + // 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_00e1: ldloc.1 - IL_00e2: isinst [mscorlib]System.String - IL_00e7: brfalse IL_010b + // method line 1833 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Element e) cil managed + { + // Method begins at RVA 0x2e48 + // 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_00ec: ldloc.3 - IL_00ed: isinst [mscorlib]System.String - IL_00f2: brfalse IL_010b + // method line 1834 + .method public hidebysig specialname + instance default object get_Parent () cil managed + { + // Method begins at RVA 0x2e84 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld object NAnt.Core.Element::_parent + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method Element::get_Parent - IL_010b: ldloc.1 - IL_010c: isinst [mscorlib]System.Boolean - IL_0111: brfalse IL_0135 + // method line 1835 + .method public hidebysig specialname + instance default void set_Parent (object 'value') cil managed + { + // Method begins at RVA 0x2e9f + // 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 - IL_0116: ldloc.3 - IL_0117: isinst [mscorlib]System.Boolean - IL_011c: brfalse IL_0135 + // method line 1836 + .method public virtual hidebysig newslot specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x2eac + // 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_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_0012: ldloc.0 + IL_0013: ret + } // end of method Element::get_Name - IL_0135: ldloc.1 - IL_0136: isinst [mscorlib]System.Int32 - IL_013b: brfalse IL_015f + // method line 1837 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.Project get_Project () cil managed + { + // Method begins at RVA 0x2ecc + // 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.Element::_project + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0140: ldloc.3 - IL_0141: isinst [mscorlib]System.Int32 - IL_0146: brfalse IL_015f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Element::get_Project - 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 1838 + .method public virtual hidebysig newslot specialname + instance default void set_Project (class NAnt.Core.Project 'value') cil managed + { + // Method begins at RVA 0x2ee7 + // 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 - IL_015f: ldloc.1 - IL_0160: isinst [mscorlib]System.Int32 - IL_0165: brfalse IL_0198 + // method line 1839 + .method public virtual hidebysig newslot specialname + instance default class NAnt.Core.PropertyDictionary get_Properties () cil managed + { + // Method begins at RVA 0x2ef4 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class NAnt.Core.PropertyDictionary 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: stloc.0 + IL_000d: br IL_0012 - IL_016a: ldloc.3 - IL_016b: isinst [mscorlib]System.Int64 - IL_0170: brfalse IL_0198 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method Element::get_Properties - 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 + // method line 1840 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed + { + // Method begins at RVA 0x2f14 + // 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.Element::_nsMgr + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0198: ldloc.1 - IL_0199: isinst [mscorlib]System.Int32 - IL_019e: brfalse IL_01d1 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Element::get_NamespaceManager - IL_01a3: ldloc.3 - IL_01a4: isinst [mscorlib]System.Double - IL_01a9: brfalse IL_01d1 + // method line 1841 + .method public hidebysig specialname + instance default void set_NamespaceManager (class [System.Xml]System.Xml.XmlNamespaceManager 'value') cil managed + { + // Method begins at RVA 0x2f2f + // 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_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 + // method line 1842 + .method family virtual hidebysig newslot specialname + instance default class [System.Xml]System.Xml.XmlNode get_XmlNode () cil managed + { + // Method begins at RVA 0x2f3c + // 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_01d1: ldloc.1 - IL_01d2: isinst [mscorlib]System.Int64 - IL_01d7: brfalse IL_01fb + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Element::get_XmlNode - IL_01dc: ldloc.3 - IL_01dd: isinst [mscorlib]System.Int64 - IL_01e2: brfalse IL_01fb + // method line 1843 + .method family virtual hidebysig newslot specialname + instance default void set_XmlNode (class [System.Xml]System.Xml.XmlNode 'value') cil managed + { + // Method begins at RVA 0x2f57 + // 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_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 + // method line 1844 + .method family virtual hidebysig newslot specialname + instance default class NAnt.Core.Location get_Location () cil managed + { + // Method begins at RVA 0x2f64 + // 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_01fb: ldloc.1 - IL_01fc: isinst [mscorlib]System.Int64 - IL_0201: brfalse IL_022f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Element::get_Location - IL_0206: ldloc.3 - IL_0207: isinst [mscorlib]System.Int32 - IL_020c: brfalse IL_022f + // method line 1845 + .method family virtual hidebysig newslot specialname + instance default void set_Location (class NAnt.Core.Location 'value') cil managed + { + // Method begins at RVA 0x2f7f + // 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_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 + // method line 1846 + .method family virtual hidebysig newslot specialname + instance default bool get_CustomXmlProcessing () cil managed + { + // Method begins at RVA 0x2f8c + // 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_022f: ldloc.1 - IL_0230: isinst [mscorlib]System.Int64 - IL_0235: brfalse IL_0268 + IL_0008: ldloc.0 + IL_0009: ret + } // end of method Element::get_CustomXmlProcessing - IL_023a: ldloc.3 - IL_023b: isinst [mscorlib]System.Double - IL_0240: brfalse IL_0268 + // method line 1847 + .method public hidebysig + instance default void Initialize (class [System.Xml]System.Xml.XmlNode elementNode) cil managed + { + // Method begins at RVA 0x2fa2 + // 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 - 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 + // method line 1848 + .method public hidebysig + instance default class NAnt.Core.Location GetLocation () cil managed + { + // Method begins at RVA 0x2fc4 + // 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_0268: ldloc.1 - IL_0269: isinst [mscorlib]System.Double - IL_026e: brfalse IL_0292 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Element::GetLocation - IL_0273: ldloc.3 - IL_0274: isinst [mscorlib]System.Double - IL_0279: brfalse IL_0292 + // method line 1849 + .method public virtual hidebysig newslot + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message) cil managed + { + // Method begins at RVA 0x2fdf + // Code size 28 (0x1c) + .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_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_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_0292: ldloc.1 - IL_0293: isinst [mscorlib]System.Double - IL_0298: brfalse IL_02c6 + // method line 1850 + .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 ) // .... - IL_029d: ldloc.3 - IL_029e: isinst [mscorlib]System.Int32 - IL_02a3: brfalse IL_02c6 + // Method begins at RVA 0x2ffc + // 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_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_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 - IL_02c6: ldloc.1 - IL_02c7: isinst [mscorlib]System.Double - IL_02cc: brfalse IL_02fa + // method line 1851 + .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_02d1: ldloc.3 - IL_02d2: isinst [mscorlib]System.Int64 - IL_02d7: brfalse IL_02fa + // Method begins at RVA 0x301a + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method Element::InitializeElement - 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 + // method line 1852 + .method family virtual hidebysig newslot + instance default void Initialize () cil managed + { + // Method begins at RVA 0x301d + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method Element::Initialize - IL_02fa: ldloc.1 - IL_02fb: isinst [mscorlib]System.DateTime - IL_0300: brfalse IL_0324 + // method line 1853 + .method family hidebysig + instance default void CopyTo (class NAnt.Core.Element clone) cil managed + { + // Method begins at RVA 0x3020 + // Code size 80 (0x50) + .maxstack 2 + 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_0305: ldloc.3 - IL_0306: isinst [mscorlib]System.DateTime - IL_030b: brfalse IL_0324 + 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_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 + // method line 1854 + .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 0x307c + // 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_0324: ldloc.1 - IL_0325: isinst [mscorlib]System.TimeSpan - IL_032a: brfalse IL_034e + 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_032f: ldloc.3 - IL_0330: isinst [mscorlib]System.TimeSpan - IL_0335: brfalse IL_034e + } // 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_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 + } // 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_034e: ldloc.1 - IL_034f: isinst [mscorlib]System.Version - IL_0354: brfalse IL_0378 + // method line 1855 + .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 0x3100 + // 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_0359: ldloc.3 - IL_035a: isinst [mscorlib]System.Version - IL_035f: brfalse IL_0378 + // method line 1856 + .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 0x3128 + // 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_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_001a: ldloc.0 + IL_001b: ret + } // end of method Element::GetAttributeConfigurationNode - 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 + // method line 1857 + .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 0x3150 + // 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_0388: nop - IL_0389: ldloc.3 - IL_038a: isinst [mscorlib]System.String - IL_038f: brfalse IL_03b9 + IL_0012: nop + IL_0013: ldloc.3 + IL_0014: isinst NAnt.Core.Task + IL_0019: brfalse IL_003f - 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_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_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_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_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_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_03e8: nop - IL_03e9: ldloc.1 - IL_03ea: isinst [mscorlib]System.String - IL_03ef: brfalse IL_0419 + 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_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_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_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_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_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_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_0479: ldloc.3 - IL_047a: isinst [mscorlib]System.String - IL_047f: brfalse IL_049b + 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_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_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_049b: ldloc.1 - IL_049c: isinst [mscorlib]System.Boolean - IL_04a1: brfalse IL_04c8 + IL_0137: ldloc.s 7 + IL_0139: ret + } // end of method Element::GetAttributeConfigurationNode - IL_04a6: ldloc.3 - IL_04a7: isinst [mscorlib]System.Boolean - IL_04ac: brfalse IL_04c8 + // method line 1858 + .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 0x3298 + // 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_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_000e: ldloc.0 + IL_000f: callvirt instance bool class NAnt.Core.DataTypeBase::get_CanBeReferenced() + IL_0014: brfalse IL_01fb - IL_04c8: ldloc.1 - IL_04c9: isinst [mscorlib]System.Int32 - IL_04ce: brfalse IL_04f5 + 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_04d3: ldloc.3 - IL_04d4: isinst [mscorlib]System.Int32 - IL_04d9: brfalse IL_04f5 + 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_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_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_04f5: ldloc.1 - IL_04f6: isinst [mscorlib]System.Int32 - IL_04fb: brfalse IL_0531 + 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_0500: ldloc.3 - IL_0501: isinst [mscorlib]System.Int64 - IL_0506: brfalse IL_0531 + 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_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_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_0531: ldloc.1 - IL_0532: isinst [mscorlib]System.Int32 - IL_0537: brfalse IL_056d + 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_053c: ldloc.3 - IL_053d: isinst [mscorlib]System.Double - IL_0542: brfalse IL_056d + 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_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_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_056d: ldloc.1 - IL_056e: isinst [mscorlib]System.Int64 - IL_0573: brfalse IL_059a + IL_022a: ldloc.s 4 + IL_022c: ret + } // end of method Element::InitializeBuildElement - IL_0578: ldloc.3 - IL_0579: isinst [mscorlib]System.Int64 - IL_057e: brfalse IL_059a + // method line 1859 + .method private static hidebysig + default string GetElementNameFromType (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x34d4 + // Code size 76 (0x4c) + .maxstack 3 + .locals init ( + class NAnt.Core.Attributes.ElementNameAttribute V_0, + string V_1) + 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_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_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_059a: ldloc.1 - IL_059b: isinst [mscorlib]System.Int64 - IL_05a0: brfalse IL_05d1 + 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_05a5: ldloc.3 - IL_05a6: isinst [mscorlib]System.Int32 - IL_05ab: brfalse IL_05d1 + IL_0043: ldnull + IL_0044: stloc.1 + IL_0045: br IL_004a - 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_004a: ldloc.1 + IL_004b: ret + } // end of method Element::GetElementNameFromType - IL_05d1: ldloc.1 - IL_05d2: isinst [mscorlib]System.Int64 - IL_05d7: brfalse IL_060d + // method line 1860 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x352c + // 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_05dc: ldloc.3 - IL_05dd: isinst [mscorlib]System.Double - IL_05e2: brfalse IL_060d + .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 - 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 + // method line 1861 + .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 0x3544 + // Code size 419 (0x1a3) + .maxstack 3 + .locals init ( + 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_060d: ldloc.1 - IL_060e: isinst [mscorlib]System.Double - IL_0613: brfalse IL_063a + 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_0618: ldloc.3 - IL_0619: isinst [mscorlib]System.Double - IL_061e: brfalse IL_063a + 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_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_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_063a: ldloc.1 - IL_063b: isinst [mscorlib]System.Double - IL_0640: brfalse IL_0671 + 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_0645: ldloc.3 - IL_0646: isinst [mscorlib]System.Int32 - IL_064b: brfalse IL_0671 + 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_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_00b5: nop + IL_00b6: leave IL_00ce - IL_0671: ldloc.1 - IL_0672: isinst [mscorlib]System.Double - IL_0677: brfalse IL_06a8 + 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_067c: ldloc.3 - IL_067d: isinst [mscorlib]System.Int64 - IL_0682: brfalse IL_06a8 + IL_00d9: leave IL_00f2 - 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 + } // 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_06a8: ldloc.1 - IL_06a9: isinst [mscorlib]System.DateTime - IL_06ae: brfalse IL_06d5 + 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 - IL_06b3: ldloc.3 - IL_06b4: isinst [mscorlib]System.DateTime - IL_06b9: brfalse IL_06d5 + 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_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_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 - IL_06d5: ldloc.1 - IL_06d6: isinst [mscorlib]System.TimeSpan - IL_06db: brfalse IL_0702 + IL_0145: nop + IL_0146: leave IL_017a - IL_06e0: ldloc.3 - IL_06e1: isinst [mscorlib]System.TimeSpan - IL_06e6: brfalse IL_0702 + 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_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_0161: nop + IL_0162: leave IL_017a - IL_0702: ldloc.1 - IL_0703: isinst [mscorlib]System.Version - IL_0708: brfalse IL_072f + 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_070d: ldloc.3 - IL_070e: isinst [mscorlib]System.Version - IL_0713: brfalse IL_072f + IL_0186: leave IL_01a2 - 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 + } // 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 - 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_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_073f: nop - IL_0740: ldloc.3 - IL_0741: isinst [mscorlib]System.String - IL_0746: brfalse IL_0773 + // method line 1862 + .method public hidebysig specialname + instance default class NAnt.Core.Element get_Element () cil managed + { + // Method begins at RVA 0x3710 + // 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_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_000d: ldloc.0 + IL_000e: ret + } // end of method AttributeConfigurator::get_Element - 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 + // method line 1863 + .method public hidebysig specialname + instance default class NAnt.Core.Location get_Location () cil managed + { + // Method begins at RVA 0x372c + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class NAnt.Core.Location 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.Location class NAnt.Core.Element::get_Location() + IL_000c: stloc.0 + IL_000d: br IL_0012 - 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_0012: ldloc.0 + IL_0013: ret + } // end of method AttributeConfigurator::get_Location - IL_07a5: nop - IL_07a6: ldloc.1 - IL_07a7: isinst [mscorlib]System.String - IL_07ac: brfalse IL_07d9 + // method line 1864 + .method public hidebysig specialname + instance default string get_Name () cil managed + { + // Method begins at RVA 0x374c + // 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_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_0012: ldloc.0 + IL_0013: ret + } // end of method AttributeConfigurator::get_Name - 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 1865 + .method public hidebysig specialname + instance default class NAnt.Core.Project get_Project () cil managed + { + // Method begins at RVA 0x376c + // 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_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_0012: ldloc.0 + IL_0013: ret + } // end of method AttributeConfigurator::get_Project - IL_083c: ldloc.3 - IL_083d: isinst [mscorlib]System.String - IL_0842: brfalse IL_086e + // method line 1866 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNode get_ElementXml () cil managed + { + // Method begins at RVA 0x378c + // 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/AttributeConfigurator::_elementXml + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method AttributeConfigurator::get_ElementXml - IL_086e: ldloc.1 - IL_086f: isinst [mscorlib]System.Boolean - IL_0874: brfalse IL_08a0 + // method line 1867 + .method public hidebysig specialname + instance default class NAnt.Core.PropertyDictionary get_Properties () cil managed + { + // Method begins at RVA 0x37a8 + // 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_0879: ldloc.3 - IL_087a: isinst [mscorlib]System.Boolean - IL_087f: brfalse IL_08a0 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttributeConfigurator::get_Properties - 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 1868 + .method public hidebysig specialname + instance default class NAnt.Core.FrameworkInfo get_TargetFramework () cil managed + { + // Method begins at RVA 0x37c4 + // 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 - IL_08a0: ldloc.1 - IL_08a1: isinst [mscorlib]System.Int32 - IL_08a6: brfalse IL_08d2 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttributeConfigurator::get_TargetFramework - IL_08ab: ldloc.3 - IL_08ac: isinst [mscorlib]System.Int32 - IL_08b1: brfalse IL_08d2 + // method line 1869 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_UnprocessedAttributes () cil managed + { + // Method begins at RVA 0x37e0 + // 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 - 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_000d: ldloc.0 + IL_000e: ret + } // end of method AttributeConfigurator::get_UnprocessedAttributes - IL_08d2: ldloc.1 - IL_08d3: isinst [mscorlib]System.Int32 - IL_08d8: brfalse IL_0909 + // method line 1870 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_UnprocessedChildNodes () cil managed + { + // Method begins at RVA 0x37fc + // 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::_unprocessedChildNodes + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_08dd: ldloc.3 - IL_08de: isinst [mscorlib]System.Int64 - IL_08e3: brfalse IL_0909 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AttributeConfigurator::get_UnprocessedChildNodes - 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 + // method line 1871 + .method public hidebysig specialname + instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed + { + // Method begins at RVA 0x3818 + // Code size 20 (0x14) + .maxstack 1 + .locals init ( + class [System.Xml]System.Xml.XmlNamespaceManager 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 [System.Xml]System.Xml.XmlNamespaceManager class NAnt.Core.Element::get_NamespaceManager() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_0909: ldloc.1 - IL_090a: isinst [mscorlib]System.Int32 - IL_090f: brfalse IL_0940 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method AttributeConfigurator::get_NamespaceManager - IL_0914: ldloc.3 - IL_0915: isinst [mscorlib]System.Double - IL_091a: brfalse IL_0940 + // method line 1872 + .method public hidebysig + instance default void Initialize () cil managed + { + // Method begins at RVA 0x3838 + // Code size 468 (0x1d4) + .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) + 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_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_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_0940: ldloc.1 - IL_0941: isinst [mscorlib]System.Int64 - IL_0946: brfalse IL_0972 + IL_0043: ldloc.s 6 + IL_0045: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsPublic() + IL_004a: brtrue IL_0060 - IL_094b: ldloc.3 - IL_094c: isinst [mscorlib]System.Int64 - IL_0951: brfalse IL_0972 + IL_004f: ldloc.s 6 + IL_0051: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsFamily() + IL_0056: brtrue IL_0060 - 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_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_0972: ldloc.1 - IL_0973: isinst [mscorlib]System.Int64 - IL_0978: brfalse IL_09ae + IL_0076: ldloc.s 5 + IL_0078: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsPublic() + IL_007d: brtrue IL_0093 - IL_097d: ldloc.3 - IL_097e: isinst [mscorlib]System.Int32 - IL_0983: brfalse IL_09ae + IL_0082: ldloc.s 5 + IL_0084: callvirt instance bool class [mscorlib]System.Reflection.MethodBase::get_IsFamily() + IL_0089: brtrue IL_0093 - 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_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_09ae: ldloc.1 - IL_09af: isinst [mscorlib]System.Int64 - IL_09b4: brfalse IL_09e5 + 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_09b9: ldloc.3 - IL_09ba: isinst [mscorlib]System.Double - IL_09bf: brfalse IL_09e5 + IL_00ad: br IL_00ed - 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_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_09e5: ldloc.1 - IL_09e6: isinst [mscorlib]System.Double - IL_09eb: brfalse IL_0a17 + IL_00be: nop + IL_00bf: br IL_00ed - IL_09f0: ldloc.3 - IL_09f1: isinst [mscorlib]System.Double - IL_09f6: brfalse IL_0a17 + 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_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_00d0: nop + IL_00d1: br IL_00ed - IL_0a17: ldloc.1 - IL_0a18: isinst [mscorlib]System.Double - IL_0a1d: brfalse IL_0a53 + 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_0a22: ldloc.3 - IL_0a23: isinst [mscorlib]System.Int32 - IL_0a28: brfalse IL_0a53 + IL_00e6: nop + IL_00e7: br IL_00ed - 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_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_0a53: ldloc.1 - IL_0a54: isinst [mscorlib]System.Double - IL_0a59: brfalse IL_0a8f + 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_0a5e: ldloc.3 - IL_0a5f: isinst [mscorlib]System.Int64 - IL_0a64: brfalse IL_0a8f + 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_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_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_0a8f: ldloc.1 - IL_0a90: isinst [mscorlib]System.DateTime - IL_0a95: brfalse IL_0ac1 + 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_0a9a: ldloc.3 - IL_0a9b: isinst [mscorlib]System.DateTime - IL_0aa0: brfalse IL_0ac1 + 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_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_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_0ac1: ldloc.1 - IL_0ac2: isinst [mscorlib]System.TimeSpan - IL_0ac7: brfalse IL_0af3 + // method line 1873 + .method family virtual hidebysig newslot + instance default bool InitializeAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x3a18 + // 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: 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_0acc: ldloc.3 - IL_0acd: isinst [mscorlib]System.TimeSpan - IL_0ad2: brfalse IL_0af3 + 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_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_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_0af3: ldloc.1 - IL_0af4: isinst [mscorlib]System.Version - IL_0af9: brfalse IL_0b25 + 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_0afe: ldloc.3 - IL_0aff: isinst [mscorlib]System.Version - IL_0b04: brfalse IL_0b25 + 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_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 + } // 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_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_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 - IL_0b66: ldloc.3 - IL_0b67: isinst [mscorlib]System.String - IL_0b6c: brfalse IL_0b98 + } // end handler 0 + IL_00d0: nop + IL_00d1: nop + IL_00d2: br IL_0116 - 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_00d7: nop + IL_00d8: ldloc.3 + IL_00d9: callvirt instance bool class NAnt.Core.Attributes.FrameworkConfigurableAttribute::get_Required() + IL_00de: brfalse IL_0115 - IL_0b98: ldloc.1 - IL_0b99: isinst [mscorlib]System.Boolean - IL_0b9e: brfalse IL_0bca + 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_0ba3: ldloc.3 - IL_0ba4: isinst [mscorlib]System.Boolean - IL_0ba9: brfalse IL_0bca + 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_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_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_0bca: ldloc.1 - IL_0bcb: isinst [mscorlib]System.Int32 - IL_0bd0: brfalse IL_0bfc + 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_0bd5: ldloc.3 - IL_0bd6: isinst [mscorlib]System.Int32 - IL_0bdb: brfalse IL_0bfc + 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_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_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_0bfc: ldloc.1 - IL_0bfd: isinst [mscorlib]System.Int32 - IL_0c02: brfalse IL_0c33 + 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_0c07: ldloc.3 - IL_0c08: isinst [mscorlib]System.Int64 - IL_0c0d: brfalse IL_0c33 + 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_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_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_0c33: ldloc.1 - IL_0c34: isinst [mscorlib]System.Int32 - IL_0c39: brfalse IL_0c6a + 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_0c3e: ldloc.3 - IL_0c3f: isinst [mscorlib]System.Double - IL_0c44: brfalse IL_0c6a + 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_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_02f2: nop + IL_02f3: ldloc.0 + IL_02f4: brtrue IL_02fd - IL_0c6a: ldloc.1 - IL_0c6b: isinst [mscorlib]System.Int64 - IL_0c70: brfalse IL_0c9c + 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_0c75: ldloc.3 - IL_0c76: isinst [mscorlib]System.Int64 - IL_0c7b: brfalse IL_0c9c + 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 - 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_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_0c9c: ldloc.1 - IL_0c9d: isinst [mscorlib]System.Int64 - IL_0ca2: brfalse IL_0cd8 + IL_03c8: nop + IL_03c9: leave IL_0405 - IL_0ca7: ldloc.3 - IL_0ca8: isinst [mscorlib]System.Int32 - IL_0cad: brfalse IL_0cd8 + } // 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_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_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 - IL_0cd8: ldloc.1 - IL_0cd9: isinst [mscorlib]System.Int64 - IL_0cde: brfalse IL_0d0f + IL_0437: ldloc.s 6 + IL_0439: ret + } // end of method AttributeConfigurator::InitializeAttribute - IL_0ce3: ldloc.3 - IL_0ce4: isinst [mscorlib]System.Double - IL_0ce9: brfalse IL_0d0f + // method line 1874 + .method family virtual hidebysig newslot + instance default bool InitializeBuildElementCollection (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x3e7c + // Code size 2340 (0x924) + .maxstack 8 + .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) + 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_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_0039: ldloc.1 + IL_003a: brtrue IL_0047 - IL_0d0f: ldloc.1 - IL_0d10: isinst [mscorlib]System.Double - IL_0d15: brfalse IL_0d41 + IL_003f: nop + IL_0040: ldc.i4.0 + IL_0041: stloc.2 + IL_0042: br IL_0922 - IL_0d1a: ldloc.3 - IL_0d1b: isinst [mscorlib]System.Double - IL_0d20: brfalse IL_0d41 + 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_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_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_0d41: ldloc.1 - IL_0d42: isinst [mscorlib]System.Double - IL_0d47: brfalse IL_0d7d + 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_0d4c: ldloc.3 - IL_0d4d: isinst [mscorlib]System.Int32 - IL_0d52: brfalse IL_0d7d + 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 - 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_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_0d7d: ldloc.1 - IL_0d7e: isinst [mscorlib]System.Double - IL_0d83: brfalse IL_0db9 + 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_0d88: ldloc.3 - IL_0d89: isinst [mscorlib]System.Int64 - IL_0d8e: brfalse IL_0db9 + 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_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_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_0db9: ldloc.1 - IL_0dba: isinst [mscorlib]System.DateTime - IL_0dbf: brfalse IL_0deb + 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_0dc4: ldloc.3 - IL_0dc5: isinst [mscorlib]System.DateTime - IL_0dca: brfalse IL_0deb + 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_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_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_0deb: ldloc.1 - IL_0dec: isinst [mscorlib]System.TimeSpan - IL_0df1: brfalse IL_0e1d + 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_0df6: ldloc.3 - IL_0df7: isinst [mscorlib]System.TimeSpan - IL_0dfc: brfalse IL_0e1d + 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 - 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_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_0e1d: ldloc.1 - IL_0e1e: isinst [mscorlib]System.Version - IL_0e23: brfalse IL_0e4f + 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 - IL_0e28: ldloc.3 - IL_0e29: isinst [mscorlib]System.Version - IL_0e2e: brfalse IL_0e4f + 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_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_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_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_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_0e90: ldloc.3 - IL_0e91: isinst [mscorlib]System.String - IL_0e96: brfalse IL_0ec5 + 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_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_026a: ldloc.1 + IL_026b: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() + IL_0270: brfalse IL_02a7 - IL_0ec5: ldloc.1 - IL_0ec6: isinst [mscorlib]System.Boolean - IL_0ecb: brfalse IL_0efa + 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_0ed0: ldloc.3 - IL_0ed1: isinst [mscorlib]System.Boolean - IL_0ed6: brfalse IL_0efa + 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_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_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_0efa: ldloc.1 - IL_0efb: isinst [mscorlib]System.Int32 - IL_0f00: brfalse IL_0f2f + 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_0f05: ldloc.3 - IL_0f06: isinst [mscorlib]System.Int32 - IL_0f0b: brfalse IL_0f2f + 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_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_03ce: ldloc.1 + IL_03cf: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() + IL_03d4: brfalse IL_0402 - IL_0f2f: ldloc.1 - IL_0f30: isinst [mscorlib]System.Int32 - IL_0f35: brfalse IL_0f69 + 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_0f3a: ldloc.3 - IL_0f3b: isinst [mscorlib]System.Int64 - IL_0f40: brfalse IL_0f69 + 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_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_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_0f69: ldloc.1 - IL_0f6a: isinst [mscorlib]System.Int32 - IL_0f6f: brfalse IL_0fa3 + 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_0f74: ldloc.3 - IL_0f75: isinst [mscorlib]System.Double - IL_0f7a: brfalse IL_0fa3 + 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_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_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_0fa3: ldloc.1 - IL_0fa4: isinst [mscorlib]System.Int64 - IL_0fa9: brfalse IL_0fd8 + 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 - IL_0fae: ldloc.3 - IL_0faf: isinst [mscorlib]System.Int64 - IL_0fb4: brfalse IL_0fd8 + IL_052a: ldloc.0 + IL_052b: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() + IL_0530: brfalse IL_0567 - 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_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 - IL_0fd8: ldloc.1 - IL_0fd9: isinst [mscorlib]System.Int64 - IL_0fde: brfalse IL_1017 + 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_0fe3: ldloc.3 - IL_0fe4: isinst [mscorlib]System.Int32 - IL_0fe9: brfalse IL_1017 + IL_057a: nop + IL_057b: ldc.i4.1 + IL_057c: stloc.2 + IL_057d: br IL_0922 - 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_0582: nop + IL_0583: br IL_059b - IL_1017: ldloc.1 - IL_1018: isinst [mscorlib]System.Int64 - IL_101d: brfalse IL_1051 + IL_0588: ldloc.1 + IL_0589: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_ProcessXml() + IL_058e: brtrue IL_059b - IL_1022: ldloc.3 - IL_1023: isinst [mscorlib]System.Double - IL_1028: brfalse IL_1051 + IL_0593: nop + IL_0594: ldc.i4.1 + IL_0595: stloc.2 + IL_0596: br IL_0922 - 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_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_1051: ldloc.1 - IL_1052: isinst [mscorlib]System.Double - IL_1057: brfalse IL_1086 + 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_105c: ldloc.3 - IL_105d: isinst [mscorlib]System.Double - IL_1062: brfalse IL_1086 + 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_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_05f9: nop + IL_05fa: leave IL_063e - IL_1086: ldloc.1 - IL_1087: isinst [mscorlib]System.Double - IL_108c: brfalse IL_10c5 + 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_1091: ldloc.3 - IL_1092: isinst [mscorlib]System.Int32 - IL_1097: brfalse IL_10c5 + IL_061a: ldloc.s 19 + IL_061c: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_Enabled() + IL_0621: brtrue IL_062c - 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_0626: nop + IL_0627: leave IL_063e - IL_10c5: ldloc.1 - IL_10c6: isinst [mscorlib]System.Double - IL_10cb: brfalse IL_1104 + 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_10d0: ldloc.3 - IL_10d1: isinst [mscorlib]System.Int64 - IL_10d6: brfalse IL_1104 + IL_064a: leave IL_0666 - 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 + } // 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_1104: ldloc.1 - IL_1105: isinst [mscorlib]System.DateTime - IL_110a: brfalse IL_1139 + 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_110f: ldloc.3 - IL_1110: isinst [mscorlib]System.DateTime - IL_1115: brfalse IL_1139 + 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_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_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_1139: ldloc.1 - IL_113a: isinst [mscorlib]System.TimeSpan - IL_113f: brfalse IL_116e + 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_1144: ldloc.3 - IL_1145: isinst [mscorlib]System.TimeSpan - IL_114a: brfalse IL_116e + } // 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_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_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_116e: ldloc.1 - IL_116f: isinst [mscorlib]System.Version - IL_1174: brfalse IL_11a3 + 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_1179: ldloc.3 - IL_117a: isinst [mscorlib]System.Version - IL_117f: brfalse IL_11a3 + 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_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_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_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_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_11e4: ldloc.3 - IL_11e5: isinst [mscorlib]System.String - IL_11ea: brfalse IL_1219 + IL_07a9: nop + IL_07aa: ldloc.s 25 + IL_07ac: stloc.s 23 + IL_07ae: br IL_07c6 - 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_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_1219: ldloc.1 - IL_121a: isinst [mscorlib]System.Boolean - IL_121f: brfalse IL_124e + 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_1224: ldloc.3 - IL_1225: isinst [mscorlib]System.Boolean - IL_122a: brfalse IL_124e + 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 - 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_0840: nop + IL_0841: ldarg.1 + IL_0842: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_0847: brtrue IL_08ad - IL_124e: ldloc.1 - IL_124f: isinst [mscorlib]System.Int32 - IL_1254: brfalse IL_1283 + IL_084c: nop + IL_084d: ldloc.0 + IL_084e: brfalse IL_0880 - IL_1259: ldloc.3 - IL_125a: isinst [mscorlib]System.Int32 - IL_125f: brfalse IL_1283 + 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_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_1283: ldloc.1 - IL_1284: isinst [mscorlib]System.Int32 - IL_1289: brfalse IL_12bd - - IL_128e: ldloc.3 - IL_128f: isinst [mscorlib]System.Int64 - IL_1294: brfalse IL_12bd - - 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_12bd: ldloc.1 - IL_12be: isinst [mscorlib]System.Int32 - IL_12c3: brfalse IL_12f7 - - IL_12c8: ldloc.3 - IL_12c9: isinst [mscorlib]System.Double - IL_12ce: brfalse IL_12f7 - - 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_12f7: ldloc.1 - IL_12f8: isinst [mscorlib]System.Int64 - IL_12fd: brfalse IL_132c - - IL_1302: ldloc.3 - IL_1303: isinst [mscorlib]System.Int64 - IL_1308: brfalse IL_132c - - 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_132c: ldloc.1 - IL_132d: isinst [mscorlib]System.Int64 - IL_1332: brfalse IL_136b - - IL_1337: ldloc.3 - IL_1338: isinst [mscorlib]System.Int32 - IL_133d: brfalse IL_136b - - 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_136b: ldloc.1 - IL_136c: isinst [mscorlib]System.Int64 - IL_1371: brfalse IL_13a5 - - IL_1376: ldloc.3 - IL_1377: isinst [mscorlib]System.Double - IL_137c: brfalse IL_13a5 - - 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_13a5: ldloc.1 - IL_13a6: isinst [mscorlib]System.Double - IL_13ab: brfalse IL_13da - - IL_13b0: ldloc.3 - IL_13b1: isinst [mscorlib]System.Double - IL_13b6: brfalse IL_13da - - 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_13da: ldloc.1 - IL_13db: isinst [mscorlib]System.Double - IL_13e0: brfalse IL_1419 - - IL_13e5: ldloc.3 - IL_13e6: isinst [mscorlib]System.Int32 - IL_13eb: brfalse IL_1419 - - 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_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_1419: ldloc.1 - IL_141a: isinst [mscorlib]System.Double - IL_141f: brfalse IL_1458 + IL_091a: nop + IL_091b: ldc.i4.1 + IL_091c: stloc.2 + IL_091d: br IL_0922 - IL_1424: ldloc.3 - IL_1425: isinst [mscorlib]System.Int64 - IL_142a: brfalse IL_1458 + IL_0922: ldloc.2 + IL_0923: ret + } // end of method AttributeConfigurator::InitializeBuildElementCollection - 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 + // method line 1875 + .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 begins at RVA 0x47c8 + // Code size 362 (0x16a) + .maxstack 7 + .locals init ( + class NAnt.Core.Attributes.BuildElementAttribute V_0, + bool V_1, + class [System.Xml]System.Xml.XmlNode V_2) + 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_1458: ldloc.1 - IL_1459: isinst [mscorlib]System.DateTime - IL_145e: brfalse IL_148d + IL_001e: nop + IL_001f: ldc.i4.0 + IL_0020: stloc.1 + IL_0021: br IL_0168 - IL_1463: ldloc.3 - IL_1464: isinst [mscorlib]System.DateTime - IL_1469: brfalse IL_148d + 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 - 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_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_148d: ldloc.1 - IL_148e: isinst [mscorlib]System.TimeSpan - IL_1493: brfalse IL_14c2 + 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_1498: ldloc.3 - IL_1499: isinst [mscorlib]System.TimeSpan - IL_149e: brfalse IL_14c2 + IL_0083: ldloc.0 + IL_0084: callvirt instance bool class NAnt.Core.Attributes.BuildElementAttribute::get_Required() + IL_0089: brfalse IL_00c0 - 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_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_14c2: ldloc.1 - IL_14c3: isinst [mscorlib]System.Version - IL_14c8: brfalse IL_14f7 + 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_14cd: ldloc.3 - IL_14ce: isinst [mscorlib]System.Version - IL_14d3: brfalse IL_14f7 + IL_00e3: nop + IL_00e4: ldc.i4.1 + IL_00e5: stloc.1 + IL_00e6: br IL_0168 - 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_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_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_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_1536: ldloc.s 5 - IL_1538: ret - } // end of method ExpressionEvalBase::ParseRelationalExpression + IL_0168: ldloc.1 + IL_0169: ret + } // end of method AttributeConfigurator::InitializeChildElement - // method line 1604 - .method private hidebysig - instance default object ParseAddSubtract () cil managed + // method line 1876 + .method family virtual hidebysig newslot + instance default void InitializeOrderedChildElements () cil managed { - // Method begins at RVA 0x1e488 - // Code size 1500 (0x5dc) - .maxstack 6 + // Method begins at RVA 0x4940 + // Code size 741 (0x2e5) + .maxstack 8 .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) + 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: 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_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 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_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_0052: nop - IL_0053: ldloc.1 - IL_0054: isinst [mscorlib]System.String - IL_0059: brfalse IL_0082 - - IL_005e: ldloc.2 - IL_005f: isinst [mscorlib]System.String - IL_0064: brfalse IL_0082 - - 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_0082: ldloc.1 - IL_0083: isinst [mscorlib]System.Int32 - IL_0088: brfalse IL_00b2 - - IL_008d: ldloc.2 - IL_008e: isinst [mscorlib]System.Int32 - IL_0093: brfalse IL_00b2 - - 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_00b2: ldloc.1 - IL_00b3: isinst [mscorlib]System.Int32 - IL_00b8: brfalse IL_00e3 + 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_00bd: ldloc.2 - IL_00be: isinst [mscorlib]System.Int64 - IL_00c3: brfalse IL_00e3 + 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_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_0045: nop + IL_0046: br IL_00a3 - IL_00e3: ldloc.1 - IL_00e4: isinst [mscorlib]System.Int32 - IL_00e9: brfalse IL_0114 + 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_00ee: ldloc.2 - IL_00ef: isinst [mscorlib]System.Double - IL_00f4: brfalse IL_0114 + IL_0067: nop + IL_0068: br IL_00a3 - 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_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_0114: ldloc.1 - IL_0115: isinst [mscorlib]System.Int64 - IL_011a: brfalse IL_0144 + 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_011f: ldloc.2 - IL_0120: isinst [mscorlib]System.Int64 - IL_0125: brfalse IL_0144 + 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_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_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 - IL_0144: ldloc.1 - IL_0145: isinst [mscorlib]System.Int64 - IL_014a: brfalse IL_0175 + IL_00fd: nop + IL_00fe: leave IL_01e3 - IL_014f: ldloc.2 - IL_0150: isinst [mscorlib]System.Int32 - IL_0155: brfalse IL_0175 + 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_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_011f: nop + IL_0120: leave IL_01e3 - IL_0175: ldloc.1 - IL_0176: isinst [mscorlib]System.Int64 - IL_017b: brfalse IL_01a6 + 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_0180: ldloc.2 - IL_0181: isinst [mscorlib]System.Double - IL_0186: brfalse IL_01a6 + 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_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_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_01a6: ldloc.1 - IL_01a7: isinst [mscorlib]System.Double - IL_01ac: brfalse IL_01d6 + IL_017b: nop + IL_017c: leave IL_01e3 - IL_01b1: ldloc.2 - IL_01b2: isinst [mscorlib]System.Double - IL_01b7: brfalse IL_01d6 + 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_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 + } // 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_01d6: ldloc.1 - IL_01d7: isinst [mscorlib]System.Double - IL_01dc: brfalse IL_0207 + 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 - IL_01e1: ldloc.2 - IL_01e2: isinst [mscorlib]System.Int32 - IL_01e7: brfalse IL_0207 + IL_01ef: leave IL_020b - 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 + } // 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_0207: ldloc.1 - IL_0208: isinst [mscorlib]System.Double - IL_020d: brfalse IL_0238 + 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_0212: ldloc.2 - IL_0213: isinst [mscorlib]System.Int64 - IL_0218: brfalse IL_0238 + 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 - 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_023e: leave IL_025a - IL_0238: ldloc.1 - IL_0239: isinst [mscorlib]System.DateTime - IL_023e: brfalse IL_026c + } // 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_0243: ldloc.2 - IL_0244: isinst [mscorlib]System.TimeSpan - IL_0249: brfalse IL_026c + 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_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_026c: ldloc.1 - IL_026d: isinst [mscorlib]System.TimeSpan - IL_0272: brfalse IL_02a0 - - IL_0277: ldloc.2 - IL_0278: isinst [mscorlib]System.TimeSpan - IL_027d: brfalse IL_02a0 - - 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_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_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_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_031b: nop - IL_031c: ldloc.1 - IL_031d: isinst [mscorlib]System.Int32 - IL_0322: brfalse IL_034e - - IL_0327: ldloc.s 4 - IL_0329: isinst [mscorlib]System.Int32 - IL_032e: brfalse IL_034e - - 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_034e: ldloc.1 - IL_034f: isinst [mscorlib]System.Int32 - IL_0354: brfalse IL_0381 - - IL_0359: ldloc.s 4 - IL_035b: isinst [mscorlib]System.Int64 - IL_0360: brfalse IL_0381 - - 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_0381: ldloc.1 - IL_0382: isinst [mscorlib]System.Int32 - IL_0387: brfalse IL_03b4 - - IL_038c: ldloc.s 4 - IL_038e: isinst [mscorlib]System.Double - IL_0393: brfalse IL_03b4 - - 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_03b4: ldloc.1 - IL_03b5: isinst [mscorlib]System.Int64 - IL_03ba: brfalse IL_03e6 - - IL_03bf: ldloc.s 4 - IL_03c1: isinst [mscorlib]System.Int64 - IL_03c6: brfalse IL_03e6 - - 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_03e6: ldloc.1 - IL_03e7: isinst [mscorlib]System.Int64 - IL_03ec: brfalse IL_0419 - - IL_03f1: ldloc.s 4 - IL_03f3: isinst [mscorlib]System.Int32 - IL_03f8: brfalse IL_0419 - - 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_0419: ldloc.1 - IL_041a: isinst [mscorlib]System.Int64 - IL_041f: brfalse IL_044c - - IL_0424: ldloc.s 4 - IL_0426: isinst [mscorlib]System.Double - IL_042b: brfalse IL_044c - - 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_044c: ldloc.1 - IL_044d: isinst [mscorlib]System.Double - IL_0452: brfalse IL_047e - - IL_0457: ldloc.s 4 - IL_0459: isinst [mscorlib]System.Double - IL_045e: brfalse IL_047e - - 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_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_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_04b1: ldloc.1 - IL_04b2: isinst [mscorlib]System.Double - IL_04b7: brfalse IL_04e4 - - IL_04bc: ldloc.s 4 - IL_04be: isinst [mscorlib]System.Int64 - IL_04c3: brfalse IL_04e4 - - 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_04e4: ldloc.1 - IL_04e5: isinst [mscorlib]System.DateTime - IL_04ea: brfalse IL_051a - - IL_04ef: ldloc.s 4 - IL_04f1: isinst [mscorlib]System.DateTime - IL_04f6: brfalse IL_051a - - 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_051a: ldloc.1 - IL_051b: isinst [mscorlib]System.DateTime - IL_0520: brfalse IL_0550 - - IL_0525: ldloc.s 4 - IL_0527: isinst [mscorlib]System.TimeSpan - IL_052c: brfalse IL_0550 - - 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_0550: ldloc.1 - IL_0551: isinst [mscorlib]System.TimeSpan - IL_0556: brfalse IL_0586 + 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 - IL_055b: ldloc.s 4 - IL_055d: isinst [mscorlib]System.TimeSpan - IL_0562: brfalse IL_0586 + 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_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_02c7: leave IL_02e3 - 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 + } // 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_05c5: nop - IL_05c6: br IL_05d1 + 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 - IL_05cb: nop - IL_05cc: br IL_0014 + // method line 1877 + .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 0x4c98 + // 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 - IL_05d1: ldloc.1 - IL_05d2: stloc.s 6 - IL_05d4: br IL_05d9 + 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 - IL_05d9: ldloc.s 6 - IL_05db: ret - } // end of method ExpressionEvalBase::ParseAddSubtract + IL_006c: ldloc.1 + IL_006d: ret + } // end of method AttributeConfigurator::InitializeBuildElement - // method line 1605 + // method line 1878 .method private hidebysig - instance default object ParseMulDiv () cil managed + 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 0x1ea70 - // Code size 2743 (0xab7) + // Method begins at RVA 0x4d14 + // Code size 551 (0x227) .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) + 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.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_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_0052: nop - IL_0053: ldloc.1 - IL_0054: isinst [mscorlib]System.Int32 - IL_0059: brfalse IL_0083 - - IL_005e: ldloc.2 - IL_005f: isinst [mscorlib]System.Int32 - IL_0064: brfalse IL_0083 - - 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_0083: ldloc.1 - IL_0084: isinst [mscorlib]System.Int32 - IL_0089: brfalse IL_00b4 - - IL_008e: ldloc.2 - IL_008f: isinst [mscorlib]System.Int64 - IL_0094: brfalse IL_00b4 - - 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_00b4: ldloc.1 - IL_00b5: isinst [mscorlib]System.Int32 - IL_00ba: brfalse IL_00e5 - - IL_00bf: ldloc.2 - IL_00c0: isinst [mscorlib]System.Double - IL_00c5: brfalse IL_00e5 - - 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_00e5: ldloc.1 - IL_00e6: isinst [mscorlib]System.Int64 - IL_00eb: brfalse IL_0115 - - IL_00f0: ldloc.2 - IL_00f1: isinst [mscorlib]System.Int64 - IL_00f6: brfalse IL_0115 - - 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_0115: ldloc.1 - IL_0116: isinst [mscorlib]System.Int64 - IL_011b: brfalse IL_0146 - - IL_0120: ldloc.2 - IL_0121: isinst [mscorlib]System.Int32 - IL_0126: brfalse IL_0146 - - 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_0146: ldloc.1 - IL_0147: isinst [mscorlib]System.Int64 - IL_014c: brfalse IL_0177 - - IL_0151: ldloc.2 - IL_0152: isinst [mscorlib]System.Double - IL_0157: brfalse IL_0177 - - 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_0177: ldloc.1 - IL_0178: isinst [mscorlib]System.Double - IL_017d: brfalse IL_01a7 - - IL_0182: ldloc.2 - IL_0183: isinst [mscorlib]System.Double - IL_0188: brfalse IL_01a7 - - 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_01a7: ldloc.1 - IL_01a8: isinst [mscorlib]System.Double - IL_01ad: brfalse IL_01d8 - - IL_01b2: ldloc.2 - IL_01b3: isinst [mscorlib]System.Int32 - IL_01b8: brfalse IL_01d8 - - 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_01d8: ldloc.1 - IL_01d9: isinst [mscorlib]System.Double - IL_01de: brfalse IL_0209 - - IL_01e3: ldloc.2 - IL_01e4: isinst [mscorlib]System.Int64 - IL_01e9: brfalse IL_0209 - - 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_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_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_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_0291: nop - IL_0292: ldloc.1 - IL_0293: isinst [mscorlib]System.Int32 - IL_0298: brfalse IL_02f5 - - IL_029d: ldloc.s 5 - IL_029f: isinst [mscorlib]System.Int32 - IL_02a4: brfalse IL_02f5 - - IL_02a9: nop - IL_02aa: ldloc.s 5 - IL_02ac: unbox.any [mscorlib]System.Int32 - IL_02b1: brtrue IL_02db - - 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_02f5: ldloc.1 - IL_02f6: isinst [mscorlib]System.Int32 - IL_02fb: brfalse IL_035b - - IL_0300: ldloc.s 5 - IL_0302: isinst [mscorlib]System.Int64 - IL_0307: brfalse IL_035b - - 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_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_035b: ldloc.1 - IL_035c: isinst [mscorlib]System.Int32 - IL_0361: brfalse IL_03c8 - - IL_0366: ldloc.s 5 - IL_0368: isinst [mscorlib]System.Double - IL_036d: brfalse IL_03c8 - - 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_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_03c8: ldloc.1 - IL_03c9: isinst [mscorlib]System.Int64 - IL_03ce: brfalse IL_042d - - IL_03d3: ldloc.s 5 - IL_03d5: isinst [mscorlib]System.Int64 - IL_03da: brfalse IL_042d - - 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_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_042d: ldloc.1 - IL_042e: isinst [mscorlib]System.Int64 - IL_0433: brfalse IL_0491 - - IL_0438: ldloc.s 5 - IL_043a: isinst [mscorlib]System.Int32 - IL_043f: brfalse IL_0491 - - IL_0444: nop - IL_0445: ldloc.s 5 - IL_0447: unbox.any [mscorlib]System.Int32 - IL_044c: brtrue IL_0476 - - 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_0491: ldloc.1 - IL_0492: isinst [mscorlib]System.Int64 - IL_0497: brfalse IL_04fe - - IL_049c: ldloc.s 5 - IL_049e: isinst [mscorlib]System.Double - IL_04a3: brfalse IL_04fe - - 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_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_04fe: ldloc.1 - IL_04ff: isinst [mscorlib]System.Double - IL_0504: brfalse IL_056a - - IL_0509: ldloc.s 5 - IL_050b: isinst [mscorlib]System.Double - IL_0510: brfalse IL_056a - - 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_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_056a: ldloc.1 - IL_056b: isinst [mscorlib]System.Double - IL_0570: brfalse IL_05ce - - IL_0575: ldloc.s 5 - IL_0577: isinst [mscorlib]System.Int32 - IL_057c: brfalse IL_05ce - - IL_0581: nop - IL_0582: ldloc.s 5 - IL_0584: unbox.any [mscorlib]System.Int32 - IL_0589: brtrue IL_05b3 - - 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 - - IL_05d9: ldloc.s 5 - IL_05db: isinst [mscorlib]System.Int64 - IL_05e0: brfalse IL_0634 - - 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_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_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_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_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_06be: nop - IL_06bf: ldloc.1 - IL_06c0: isinst [mscorlib]System.Int32 - IL_06c5: brfalse IL_0722 - - IL_06ca: ldloc.s 8 - IL_06cc: isinst [mscorlib]System.Int32 - IL_06d1: brfalse IL_0722 - - IL_06d6: nop - IL_06d7: ldloc.s 8 - IL_06d9: unbox.any [mscorlib]System.Int32 - IL_06de: brtrue IL_0708 - - 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_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_0722: ldloc.1 - IL_0723: isinst [mscorlib]System.Int32 - IL_0728: brfalse IL_0788 + 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_072d: ldloc.s 8 - IL_072f: isinst [mscorlib]System.Int64 - IL_0734: brfalse IL_0788 + } // 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 - 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_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_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_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_0788: ldloc.1 - IL_0789: isinst [mscorlib]System.Int32 - IL_078e: brfalse IL_07f5 + 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_0793: ldloc.s 8 - IL_0795: isinst [mscorlib]System.Double - IL_079a: brfalse IL_07f5 + 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 - 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_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_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_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 - IL_07f5: ldloc.1 - IL_07f6: isinst [mscorlib]System.Int64 - IL_07fb: brfalse IL_085a + 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 - IL_0800: ldloc.s 8 - IL_0802: isinst [mscorlib]System.Int64 - IL_0807: brfalse IL_085a + 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 - 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_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 - 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_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 - IL_085a: ldloc.1 - IL_085b: isinst [mscorlib]System.Int64 - IL_0860: brfalse IL_08be + IL_0225: ldloc.3 + IL_0226: ret + } // end of method AttributeConfigurator::CreateChildBuildElement - IL_0865: ldloc.s 8 - IL_0867: isinst [mscorlib]System.Int32 - IL_086c: brfalse IL_08be + // method line 1879 + .method private hidebysig + instance default class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter CreateAttributeSetter (class [mscorlib]System.Type attributeType) cil managed + { + // Method begins at RVA 0x4f58 + // Code size 273 (0x111) + .maxstack 3 + .locals init ( + class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter V_0, + class NAnt.Core.Element/AttributeConfigurator/IAttributeSetter 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_0871: nop - IL_0872: ldloc.s 8 - IL_0874: unbox.any [mscorlib]System.Int32 - IL_0879: brtrue IL_08a3 + 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 - 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_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 - IL_08be: ldloc.1 - IL_08bf: isinst [mscorlib]System.Int64 - IL_08c4: brfalse IL_092b + 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_08c9: ldloc.s 8 - IL_08cb: isinst [mscorlib]System.Double - IL_08d0: brfalse IL_092b + 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_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_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_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_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_092b: ldloc.1 - IL_092c: isinst [mscorlib]System.Double - IL_0931: brfalse IL_0997 + 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_0936: ldloc.s 8 - IL_0938: isinst [mscorlib]System.Double - IL_093d: brfalse IL_0997 + 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_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_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_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_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_0997: ldloc.1 - IL_0998: isinst [mscorlib]System.Double - IL_099d: brfalse IL_09fb + 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_09a2: ldloc.s 8 - IL_09a4: isinst [mscorlib]System.Int32 - IL_09a9: brfalse IL_09fb + 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_09ae: nop - IL_09af: ldloc.s 8 - IL_09b1: unbox.any [mscorlib]System.Int32 - IL_09b6: brtrue IL_09e0 + 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_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_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_09fb: ldloc.1 - IL_09fc: isinst [mscorlib]System.Double - IL_0a01: brfalse IL_0a61 + 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_0a06: ldloc.s 8 - IL_0a08: isinst [mscorlib]System.Int64 - IL_0a0d: brfalse IL_0a61 + IL_010f: ldloc.0 + IL_0110: ret + } // end of method AttributeConfigurator::CreateAttributeSetter - 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 + // method line 1880 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x5075 + // 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_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 + .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_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 1881 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x5095 + // 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_0aa0: nop - IL_0aa1: br IL_0aac + // method line 1882 + .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 0x50a0 + // Code size 124 (0x7c) + .maxstack 7 + .locals init ( + object V_0, + class [System]System.ComponentModel.TypeConverter V_1) + 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_0aa6: nop - IL_0aa7: br IL_0014 + 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_0aac: ldloc.1 - IL_0aad: stloc.s 10 - IL_0aaf: br IL_0ab4 + 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_0ab4: ldloc.s 10 - IL_0ab6: ret - } // end of method ExpressionEvalBase::ParseMulDiv + } // 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 1606 + // method line 1883 .method private hidebysig - instance default object ParseConditional () cil managed + 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 0x1f534 - // Code size 437 (0x1b5) + // Method begins at RVA 0x5144 + // Code size 197 (0xc5) .maxstack 6 .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0, + class [mscorlib]System.Text.StringBuilder 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) + 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: 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_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_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_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 + 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_00ca: nop - IL_00cb: ldloc.3 - IL_00cc: brtrue IL_00df - - 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_0019: br IL_004e - 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_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_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_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_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_0059: leave IL_0072 - 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 + } // 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_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_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_0197: ldloc.s 5 - IL_0199: br IL_01a0 + IL_00c2: ldloc.s 5 + IL_00c4: ret + } // end of method EnumAttributeSetter::CreateBuildException - IL_019e: ldloc.s 6 - IL_01a0: stloc.s 7 - IL_01a2: leave IL_01b2 + } // end of class EnumAttributeSetter - } // 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 + .class nested private auto ansi beforefieldinit EncodingAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // method line 1607 - .method private hidebysig - instance default object ParseValue () cil managed + // method line 1884 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1f708 - // Code size 1978 (0x7ba) + // Method begins at RVA 0x5228 + // Code size 7 (0x7) .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method EncodingAttributeSetter::.ctor + + // method line 1885 + .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 0x5230 + // Code size 181 (0xb5) + .maxstack 7 .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) + 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 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_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_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_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_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_000f: nop + IL_0010: br 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 + IL_0015: ldnull + IL_0016: stloc.1 .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_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.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 + 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 - IL_0128: nop + 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_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_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.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 .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 + 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_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_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_01b5: nop - IL_01b6: ldloc.s 7 - IL_01b8: isinst [mscorlib]System.Int32 - IL_01bd: brfalse IL_01d6 - - 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_01d6: ldloc.s 7 - IL_01d8: isinst [mscorlib]System.Int64 - IL_01dd: brfalse IL_01f6 - - 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_01f6: ldloc.s 7 - IL_01f8: isinst [mscorlib]System.Double - IL_01fd: brfalse IL_0216 - - 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_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_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_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_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_02ca: ldnull - IL_02cb: stloc.1 - IL_02cc: br IL_07b8 - - 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_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_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 - - 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_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_037e: ldloc.s 15 - IL_0380: ldstr "true" - IL_0385: call bool string::op_Equality(string, string) - IL_038a: brfalse IL_03a7 - - 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_03a7: ldloc.s 15 - IL_03a9: ldstr "false" - IL_03ae: call bool string::op_Equality(string, string) - IL_03b3: brfalse IL_03d0 - - 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_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_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_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_0470: nop - IL_0471: br IL_0497 - - 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_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_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_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_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_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_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_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_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_05a3: br IL_0600 - - 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_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_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_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_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_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 - - } // 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_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_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_0735: nop - IL_0736: ldloc.s 17 - IL_0738: brfalse IL_0753 - - 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_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_0762: nop - IL_0763: ldnull - IL_0764: stloc.1 - IL_0765: leave IL_07b8 - - } // 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_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_07b8: ldloc.1 - IL_07b9: ret - } // end of method ExpressionEvalBase::ParseValue - - // 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 0x1ff10 - // 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_0014: ldloc.0 - IL_0015: ret - } // end of method ExpressionEvalBase::BuildParseError + IL_00b4: ret + } // end of method EncodingAttributeSetter::Set - // 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 0x1ff34 - // 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 + } // end of class EncodingAttributeSetter - IL_001b: ldloc.0 - IL_001c: ret - } // end of method ExpressionEvalBase::BuildParseError + .class nested private auto ansi beforefieldinit FileAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // 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 line 1886 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x1ff60 - // 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_001d: ldloc.0 - IL_001e: ret - } // end of method ExpressionEvalBase::BuildParseError + // Method begins at RVA 0x531c + // 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 - // 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 line 1887 + .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 0x1ff8c - // Code size 787 (0x313) + // Method begins at RVA 0x5324 + // Code size 216 (0xd8) .maxstack 7 .locals init ( - bool V_0, + string 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) + class [mscorlib]System.Exception V_2, + class [mscorlib]System.Exception V_3) 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_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_0020: nop - IL_0021: ldsfld string [mscorlib]System.String::Empty - IL_0026: stloc.1 - IL_0027: leave IL_0311 - - 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_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_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_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_00a3: nop - IL_00a4: ldarg.2 - IL_00a5: isinst [mscorlib]System.String - IL_00aa: brtrue IL_00be - - IL_00af: ldarg.2 - IL_00b0: isinst [mscorlib]System.Boolean - IL_00b5: brtrue IL_00be - - 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_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_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_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_010f: nop - IL_0110: ldarg.2 - IL_0111: isinst [mscorlib]System.DateTime - IL_0116: brtrue IL_012a - - IL_011b: ldarg.2 - IL_011c: isinst [mscorlib]System.String - IL_0121: brtrue IL_012a - - 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_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_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_0164: ldarg.2 - IL_0165: isinst [mscorlib]System.TimeSpan - IL_016a: brtrue IL_0173 - - 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_0188: nop - IL_0189: ldarg.2 - IL_018a: isinst [mscorlib]System.IO.DirectoryInfo - IL_018f: brfalse IL_01a6 - - 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_01a6: ldarg.2 - IL_01a7: isinst [mscorlib]System.IO.FileInfo - IL_01ac: brfalse IL_01c3 - - 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_01c3: nop - IL_01c4: ldarg.1 - IL_01c5: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() - IL_01ca: brfalse IL_027b - - 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_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_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_0222: leave IL_0249 - - 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_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_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_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_027b: ldloc.0 - IL_027c: brfalse IL_02b0 - - 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_02c1: ldarg.2 - IL_02c2: stloc.1 - IL_02c3: leave IL_0311 + 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_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_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 } // end .try 0 - catch class NAnt.Core.ExpressionParseException { // 0 - IL_02da: pop - IL_02db: nop - IL_02dc: rethrow + 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 + + } // end .try 1 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 + 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_0311: ldloc.1 - IL_0312: ret - } // end of method ExpressionEvalBase::SafeConvert - - // method line 1612 - .method family hidebysig - instance default string GetSimpleTypeName (class [mscorlib]System.Type t) cil managed - { - // Method begins at RVA 0x202e0 - // 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_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_0058: nop - IL_0059: ldstr "double" - IL_005e: stloc.0 - IL_005f: br IL_00f5 - - 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_0079: nop - IL_007a: ldstr "string" - IL_007f: stloc.0 - IL_0080: br IL_00f5 - - 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_009a: nop - IL_009b: ldstr "bool" - IL_00a0: stloc.0 - IL_00a1: br IL_00f5 - - 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_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_00a4: nop + IL_00a5: br IL_00d7 - IL_00f5: ldloc.0 - IL_00f6: ret - } // end of method ExpressionEvalBase::GetSimpleTypeName + 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 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 of class FileAttributeSetter - // 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 + .class nested private auto ansi beforefieldinit DirectoryAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // method line 1615 - .method family virtual hidebysig newslot - instance default object UnexpectedToken () cil managed + // method line 1888 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x203e3 - // Code size 50 (0x32) + // Method begins at RVA 0x5424 + // Code size 7 (0x7) .maxstack 8 - 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 - - .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) - - } // end of class EvalMode - - } // end of class NAnt.Core.ExpressionEvalBase -} - -.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 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method DirectoryAttributeSetter::.ctor - // method line 1616 - .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 1889 + .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 0x20418 - // Code size 274 (0x112) - .maxstack 4 + // Method begins at RVA 0x542c + // Code size 160 (0xa0) + .maxstack 7 .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 - - 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 + object V_1, + class [mscorlib]System.Exception V_2) + 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_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 + IL_000f: nop .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_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_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 + 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_0111: ret - } // end of method FrameworkInfo::.ctor + IL_006c: nop + IL_006d: br IL_009f - // method line 1617 - .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 0x20548 - // 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_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: 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_00ed: nop - IL_00ee: br IL_01f3 - - 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_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 1618 - .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 0x20748 - .override class [mscorlib]System.Runtime.Serialization.ISerializable::GetObjectData - // 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 + } // end of class DirectoryAttributeSetter - 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 + .class nested private auto ansi beforefieldinit PathSetAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // method line 1619 - .method public hidebysig specialname - instance default string get_Name () cil managed + // method line 1890 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x20884 - // 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_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfo::get_Name + // Method begins at RVA 0x54e8 + // 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 - // method line 1620 - .method public hidebysig specialname - instance default string get_Family () cil managed + // method line 1891 + .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 0x208a0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x54f0 + // Code size 89 (0x59) + .maxstack 7 .locals init ( - string 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 string NAnt.Core.FrameworkInfo::_family - 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 FrameworkInfo::get_Family + } // 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 1621 - .method public hidebysig specialname - instance default string get_Description () cil managed - { - // Method begins at RVA 0x208bc - // 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 of class PathSetAttributeSetter - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfo::get_Description + .class nested private auto ansi beforefieldinit UriAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - // method line 1622 - .method assembly hidebysig specialname - instance default valuetype NAnt.Core.VendorType get_Vendor () cil managed + // method line 1892 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x208d8 - // 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_000d: ldloc.0 - IL_000e: ret - } // end of method FrameworkInfo::get_Vendor + // Method begins at RVA 0x5568 + // 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 - // method line 1623 - .method public hidebysig specialname - instance default class [mscorlib]System.Version get_Version () cil managed + // method line 1893 + .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 0x208f4 - // Code size 94 (0x5e) - .maxstack 2 + // Method begins at RVA 0x5570 + // Code size 238 (0xee) + .maxstack 7 .locals init ( string V_0, - class [mscorlib]System.Version V_1) + 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.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_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_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_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_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_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_005c: ldloc.1 - IL_005d: ret - } // end of method FrameworkInfo::get_Version + } // 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 1624 - .method public hidebysig specialname - instance default class [mscorlib]System.Version get_ClrVersion () cil managed - { - // Method begins at RVA 0x20960 - // 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 + } // 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_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_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 - 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 + } // end of class UriAttributeSetter - 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 + .class nested private auto ansi beforefieldinit ConvertableAttributeSetter + extends [mscorlib]System.Object + implements NAnt.Core.Element/AttributeConfigurator/IAttributeSetter { - IL_005c: ldloc.1 - IL_005d: ret - } // end of method FrameworkInfo::get_ClrVersion + // method line 1894 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x5688 + // 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 line 1625 - .method public hidebysig specialname - instance default valuetype NAnt.Core.ClrType get_ClrType () cil managed + // method line 1895 + .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 0x209cc - // Code size 125 (0x7d) - .maxstack 4 + // Method begins at RVA 0x5690 + // Code size 94 (0x5e) + .maxstack 7 .locals init ( - string V_0, - class [mscorlib]System.Exception V_1, - valuetype NAnt.Core.ClrType V_2) + object V_0, + class [mscorlib]System.Exception V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ClrType NAnt.Core.FrameworkInfo::_clrType - IL_0007: brtrue IL_006f - - 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_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_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_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 } // 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 + 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_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_007b: ldloc.2 - IL_007c: ret - } // end of method FrameworkInfo::get_ClrType - - // method line 1626 - .method public hidebysig specialname - instance default class [mscorlib]System.Version get_VisualStudioVersion () cil managed - { - // Method begins at RVA 0x20a68 - // 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_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_0031: ldloc.0 - IL_0032: ldstr "1.0" - IL_0037: call bool string::op_Equality(string, string) - IL_003c: brtrue IL_0076 - - IL_0041: ldloc.0 - IL_0042: ldstr "1.1" - IL_0047: call bool string::op_Equality(string, string) - IL_004c: brtrue IL_0083 + IL_005d: ret + } // end of method ConvertableAttributeSetter::Set - IL_0051: ldloc.0 - IL_0052: ldstr "2.0" - IL_0057: call bool string::op_Equality(string, string) - IL_005c: brtrue IL_0090 + } // end of class ConvertableAttributeSetter - IL_0061: ldloc.0 - IL_0062: ldstr "4.0" - IL_0067: call bool string::op_Equality(string, string) - IL_006c: brtrue IL_009d + .class interface nested private auto ansi abstract IAttributeSetter + { - IL_0071: br IL_00ab + // method line 1896 + .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 0x0 + } // end of method IAttributeSetter::Set - 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 + } // end of class IAttributeSetter - 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 + } // end of class AttributeConfigurator - 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 + } // end of class NAnt.Core.Element +} - 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 +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit DataTypeBaseDictionary + 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_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 + .field private class [mscorlib]System.Collections.Hashtable _innerHash - // method line 1627 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_FrameworkDirectory () cil managed + // method line 1897 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x20b48 - // 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() + // Method begins at RVA 0x1f964 + // 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: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkDirectory - IL_000d: brtrue IL_0072 - - 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_003a: nop - IL_003b: ldloc.0 - IL_003c: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0041: brfalse IL_0059 - - 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_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_007e: ldloc.1 - IL_007f: ret - } // end of method FrameworkInfo::get_FrameworkDirectory + 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 - // method line 1628 - .method assembly hidebysig specialname - instance default class NAnt.Core.Configuration.Runtime get_Runtime () cil managed + // method line 1898 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.DataTypeBaseDictionary original) cil managed { - // Method begins at RVA 0x20bd4 - // 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() + // Method begins at RVA 0x1f978 + // 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: 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_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 line 1629 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_FrameworkAssemblyDirectory () cil managed + // method line 1899 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary) cil managed { - // Method begins at RVA 0x20bf8 - // 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() + // Method begins at RVA 0x1f992 + // 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: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::_frameworkAssemblyDirectory - IL_000d: brtrue IL_00a3 - - 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_003a: nop - IL_003b: ldloc.0 - IL_003c: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0041: brfalse IL_008a - - 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_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_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_00af: ldloc.1 - IL_00b0: ret - } // end of method FrameworkInfo::get_FrameworkAssemblyDirectory + 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 - // method line 1630 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_SdkDirectory () cil managed + // method line 1900 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 capacity) cil managed { - // Method begins at RVA 0x20cb8 - // 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() + // Method begins at RVA 0x1f9a7 + // 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: 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_0019: ldloc.0 - IL_001a: ret - } // end of method FrameworkInfo::get_SdkDirectory + 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 - // method line 1631 - .method public hidebysig specialname - instance default class NAnt.Core.Project get_Project () cil managed + // method line 1901 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, float32 loadFactor) cil managed { - // Method begins at RVA 0x20ce0 - // 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() + // Method begins at RVA 0x1f9bc + // 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: 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_0019: ldloc.0 - IL_001a: ret - } // end of method FrameworkInfo::get_Project + 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 1632 - .method public hidebysig specialname - instance default class NAnt.Core.Types.FileSet get_TaskAssemblies () cil managed + // method line 1902 + .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 0x20d08 - // 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() + // Method begins at RVA 0x1f9d2 + // 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: ldfld class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::_taskAssemblies - IL_000d: brtrue IL_0099 - - 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_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_00a5: ldloc.1 - IL_00a6: ret - } // end of method FrameworkInfo::get_TaskAssemblies + 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 - // method line 1633 - .method public hidebysig specialname - instance default bool get_IsValid () cil managed + // method line 1903 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (int32 capacity, int32 loadFactor) cil managed { - // Method begins at RVA 0x20dbc - // 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 - 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 - - } // end handler 0 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method FrameworkInfo::get_IsValid + // Method begins at RVA 0x1f9e8 + // 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 - // method line 1634 - .method assembly hidebysig specialname - instance default class NAnt.Core.Types.FileSet[] get_ReferenceAssemblies () cil managed + // method line 1904 + .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 0x20df4 - // 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() + // Method begins at RVA 0x1f9ff + // 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: ldfld class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::_referenceAssemblies - IL_000d: brtrue IL_00bf - - 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_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_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_00cc: ldloc.s 4 - IL_00ce: ret - } // end of method FrameworkInfo::get_ReferenceAssemblies + 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 - // method line 1635 - .method assembly hidebysig specialname - instance default string[] get_ToolPaths () cil managed + // method line 1905 + .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 0x20ed0 - // 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() + // Method begins at RVA 0x1fa16 + // 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: ldfld string[] NAnt.Core.FrameworkInfo::_toolPaths - IL_000d: brtrue IL_008f - - 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_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_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_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 + // method line 1906 + .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 0x1fa2d + // 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_009b: ldloc.2 - IL_009c: ret - } // end of method FrameworkInfo::get_ToolPaths + // method line 1907 + .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 0x1fa46 + // 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 - // method line 1636 + // method line 1908 .method assembly hidebysig specialname - instance default string get_RuntimeEngine () cil managed + instance default class [mscorlib]System.Collections.Hashtable get_InnerHash () cil managed { - // Method begins at RVA 0x20f7c - // Code size 99 (0x63) - .maxstack 2 + // Method begins at RVA 0x1fa60 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0, - class NAnt.Core.Configuration.ManagedExecutionMode V_1, - class NAnt.Core.Configuration.RuntimeEngine V_2) + class [mscorlib]System.Collections.Hashtable V_0) 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: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000c: nop - IL_000d: ldsfld string [mscorlib]System.String::Empty - IL_0012: stloc.0 - IL_0013: br IL_0061 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DataTypeBaseDictionary::get_InnerHash - 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 + // method line 1909 + .method assembly hidebysig specialname + instance default void set_InnerHash (class [mscorlib]System.Collections.Hashtable 'value') cil managed + { + // Method begins at RVA 0x1fa7b + // 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_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 + // method line 1910 + .method public hidebysig + instance default class NAnt.Core.DataTypeBaseDictionaryEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x1fa88 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.DataTypeBaseDictionaryEnumerator 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_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_000d: ldloc.0 + IL_000e: ret + } // end of method DataTypeBaseDictionary::GetEnumerator - IL_0055: nop - IL_0056: ldsfld string [mscorlib]System.String::Empty - IL_005b: stloc.0 - IL_005c: br IL_0061 + // method line 1911 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator () cil managed + { + // Method begins at RVA 0x1faa4 + .override class [mscorlib]System.Collections.IDictionary::GetEnumerator + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Collections.IDictionaryEnumerator 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_0061: ldloc.0 - IL_0062: ret - } // end of method FrameworkInfo::get_RuntimeEngine + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.GetEnumerator - // method line 1637 - .method private hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed + // method line 1912 + .method private final virtual hidebysig newslot + instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed { - // Method begins at RVA 0x20fec + // Method begins at RVA 0x1fac0 + .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System.Xml]System.Xml.XmlNamespaceManager V_0) + class [mscorlib]System.Collections.IEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.FrameworkInfo::_nsMgr + IL_0002: call instance class NAnt.Core.DataTypeBaseDictionaryEnumerator class NAnt.Core.DataTypeBaseDictionary::GetEnumerator() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FrameworkInfo::get_NamespaceManager + } // end of method DataTypeBaseDictionary::System.Collections.IEnumerable.GetEnumerator - // method line 1638 - .method assembly static hidebysig specialname - default class [mscorlib]System.Collections.IComparer get_NameComparer () cil managed + // method line 1913 + .method public hidebysig + instance default void Remove (string key) cil managed { - // Method begins at RVA 0x21008 + // Method begins at RVA 0x1fadb // Code size 14 (0xe) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.IComparer V_0) + .maxstack 8 IL_0000: nop - IL_0001: newobj instance void class NAnt.Core.FrameworkInfo/FrameworkNameComparer::'.ctor'() - IL_0006: stloc.0 - IL_0007: br IL_000c + 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_000c: ldloc.0 + // method line 1914 + .method private final virtual hidebysig newslot + instance default void System.Collections.IDictionary.Remove (object key) cil managed + { + // Method begins at RVA 0x1faea + .override class [mscorlib]System.Collections.IDictionary::Remove + // 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 FrameworkInfo::get_NameComparer + } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.Remove - // method line 1639 + // method line 1915 .method public hidebysig - instance default string ResolveAssembly (string fileName) cil managed + instance default bool Contains (string key) cil managed { - // Method begins at RVA 0x21024 - // Code size 68 (0x44) + // Method begins at RVA 0x1fafc + // Code size 21 (0x15) .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) + bool V_0) 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_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_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_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseDictionary::Contains - IL_0025: nop - IL_0026: br IL_0039 + // method line 1916 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IDictionary.Contains (object key) cil managed + { + // Method begins at RVA 0x1fb20 + .override class [mscorlib]System.Collections.IDictionary::Contains + // 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.DataTypeBaseDictionary::Contains(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - 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_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.Contains - IL_0039: ldloc.0 - IL_003a: stloc.s 4 - IL_003c: br IL_0041 + // method line 1917 + .method public final virtual hidebysig newslot + instance default void Clear () cil managed + { + // Method begins at RVA 0x1fb41 + // 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_0041: ldloc.s 4 - IL_0043: ret - } // end of method FrameworkInfo::ResolveAssembly + // method line 1918 + .method public hidebysig + instance default void Add (string key, class NAnt.Core.DataTypeBase 'value') cil managed + { + // Method begins at RVA 0x1fb4f + // 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 - // method line 1640 - .method assembly hidebysig - instance default void Validate () cil managed + // method line 1919 + .method private final virtual hidebysig newslot + instance default void System.Collections.IDictionary.Add (object key, object 'value') cil managed { - // Method begins at RVA 0x21074 - // Code size 199 (0xc7) - .maxstack 4 + // Method begins at RVA 0x1fb5f + .override class [mscorlib]System.Collections.IDictionary::Add + // 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::Add(string, class NAnt.Core.DataTypeBase) + IL_0013: ret + } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.Add + + // method line 1920 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsReadOnly () cil managed + { + // Method begins at RVA 0x1fb74 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class [mscorlib]System.Exception V_0) + bool V_0) 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 + 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_000d: nop - IL_000e: br IL_00c6 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseDictionary::get_IsReadOnly - 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 + // method line 1921 + .method public hidebysig specialname + instance default class NAnt.Core.DataTypeBase get_Item (string key) cil managed + { + // Method begins at RVA 0x1fb94 + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class NAnt.Core.DataTypeBase 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_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_0018: ldloc.0 + IL_0019: ret + } // end of method DataTypeBaseDictionary::get_Item - 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 + // method line 1922 + .method public hidebysig specialname + instance default void set_Item (string key, class NAnt.Core.DataTypeBase 'value') cil managed + { + // Method begins at RVA 0x1fbba + // 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_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 + // method line 1923 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionary.get_Item (object key) cil managed + { + // Method begins at RVA 0x1fbcc + .override class [mscorlib]System.Collections.IDictionary::get_Item + // 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_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_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.get_Item - } // 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 + // method line 1924 + .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 0x1fbed + .override class [mscorlib]System.Collections.IDictionary::set_Item + // 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 - // method line 1641 - .method assembly hidebysig - instance default string GetToolPath (string tool) cil managed + // method line 1925 + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Collections.ICollection get_Values () cil managed { - // Method begins at RVA 0x21158 - // Code size 39 (0x27) - .maxstack 3 + // Method begins at RVA 0x1fc04 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Collections.ICollection V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0012 + 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_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_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseDictionary::get_Values - IL_0025: ldloc.0 - IL_0026: ret - } // end of method FrameworkInfo::GetToolPath + // method line 1926 + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.Collections.ICollection get_Keys () cil managed + { + // Method begins at RVA 0x1fc24 + // 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.DataTypeBaseDictionary::_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 - // method line 1642 - .method private hidebysig - instance default void Init () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseDictionary::get_Keys + + // method line 1927 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsFixedSize () cil managed { - // Method begins at RVA 0x2118c - // Code size 79 (0x4f) - .maxstack 4 + // Method begins at RVA 0x1fc44 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class [mscorlib]System.Exception V_0) + bool 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_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash + IL_0007: callvirt instance bool class [mscorlib]System.Collections.Hashtable::get_IsFixedSize() + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000c: nop - IL_000d: br IL_004e + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseDictionary::get_IsFixedSize - 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 + // method line 1928 + .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 0x1fc64 + .override class [mscorlib]System.Collections.ICollection::CopyTo + // 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 .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 + // method line 1929 + .method public final virtual hidebysig newslot specialname + instance default bool get_IsSynchronized () cil managed + { + // Method begins at RVA 0x1fc74 + // 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 - // method line 1643 - .method private hidebysig - instance default void PerformInit () cil managed + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseDictionary::get_IsSynchronized + + // method line 1930 + .method public final virtual hidebysig newslot specialname + instance default int32 get_Count () cil managed { - // Method begins at RVA 0x211f8 - // Code size 290 (0x122) - .maxstack 4 + // Method begins at RVA 0x1fc94 + // Code size 20 (0x14) + .maxstack 1 .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) + int32 V_0) 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_0002: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.DataTypeBaseDictionary::_innerHash + IL_0007: callvirt instance int32 class [mscorlib]System.Collections.Hashtable::get_Count() + IL_000c: stloc.0 + IL_000d: br IL_0012 - 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 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseDictionary::get_Count - 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 + // method line 1931 + .method public final virtual hidebysig newslot specialname + instance default object get_SyncRoot () cil managed + { + // Method begins at RVA 0x1fcb4 + // 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.DataTypeBaseDictionary::_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 - catch class NAnt.Core.BuildException { // 0 - IL_00eb: pop - IL_00ec: nop - IL_00ed: nop - IL_00ee: leave IL_00f3 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseDictionary::get_SyncRoot - } // end handler 0 - IL_00f3: ldloc.s 5 - IL_00f5: brfalse IL_0113 + // method line 1932 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.DataTypeBase[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x1fcd4 + // 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 - IL_00fa: ldloc.s 5 - IL_00fc: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0101: brfalse IL_0113 + // method line 1933 + .method public hidebysig + instance default class NAnt.Core.DataTypeBaseDictionary Clone () cil managed + { + // Method begins at RVA 0x1fce4 + // Code size 38 (0x26) + .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: 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_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_0024: ldloc.1 + IL_0025: ret + } // end of method DataTypeBaseDictionary::Clone - // method line 1644 - .method private hidebysig - instance default void AssertNotInvalid () cil managed + // method line 1934 + .method private final virtual hidebysig newslot + instance default object System.ICloneable.Clone () cil managed { - // Method begins at RVA 0x21338 - // Code size 48 (0x30) - .maxstack 8 + // Method begins at RVA 0x1fd18 + .override class [mscorlib]System.ICloneable::Clone + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) 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_0002: call instance class NAnt.Core.DataTypeBaseDictionary class NAnt.Core.DataTypeBaseDictionary::Clone() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_000d: ldarg.0 - IL_000e: ldfld valuetype NAnt.Core.FrameworkInfo/InitStatus NAnt.Core.FrameworkInfo::_status - IL_0013: brtrue IL_002f + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DataTypeBaseDictionary::System.ICloneable.Clone - IL_0018: ldarg.0 - IL_0019: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.FrameworkInfo::_frameworkNode - IL_001e: brtrue IL_002f + // method line 1935 + .method public hidebysig + instance default bool ContainsKey (string key) cil managed + { + // Method begins at RVA 0x1fd34 + // 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.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_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_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseDictionary::ContainsKey - // method line 1645 - .method private static hidebysig - default string GetXmlAttributeValue (class [System.Xml]System.Xml.XmlNode xmlNode, string attributeName) cil managed + // method line 1936 + .method public hidebysig + instance default bool ContainsValue (class NAnt.Core.DataTypeBase 'value') cil managed { - // Method begins at RVA 0x2136c - // Code size 58 (0x3a) + // Method begins at RVA 0x1fd58 + // 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.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_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseDictionary::ContainsValue + + // method line 1937 + .method public static hidebysig + default class NAnt.Core.DataTypeBaseDictionary Synchronized (class NAnt.Core.DataTypeBaseDictionary nonSync) cil managed + { + // Method begins at RVA 0x1fd7c + // 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_001f: ldloc.1 + IL_0020: ret + } // end of method DataTypeBaseDictionary::Synchronized + + // method line 1938 + .method public virtual hidebysig newslot + instance default void Inherit (class NAnt.Core.DataTypeBaseDictionary source) cil managed + { + // Method begins at RVA 0x1fdac + // Code size 84 (0x54) + .maxstack 4 + .locals init ( string V_0, - class [System.Xml]System.Xml.XmlAttribute V_1, - string V_2) + class [mscorlib]System.Collections.IEnumerator V_1, + class [mscorlib]System.IDisposable V_2) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: brfalse IL_0031 + 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_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.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_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_003a: leave IL_0053 - IL_0038: ldloc.2 - IL_0039: ret - } // end of method FrameworkInfo::GetXmlAttributeValue + } // 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 - .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 () + 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 + + .property instance object System.Collections.IDictionary.Item (object) { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::get_FrameworkAssemblyDirectory () + .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.IO.DirectoryInfo SdkDirectory () + .property instance class [mscorlib]System.Collections.Hashtable InnerHash () { - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.FrameworkInfo::get_SdkDirectory () + .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 class NAnt.Core.Project Project () + .property instance bool IsReadOnly () { - .get instance default class NAnt.Core.Project NAnt.Core.FrameworkInfo::get_Project () + .get instance default bool NAnt.Core.DataTypeBaseDictionary::get_IsReadOnly () } - .property instance class NAnt.Core.Types.FileSet TaskAssemblies () + .property instance class NAnt.Core.DataTypeBase Item (string) { - .get instance default class NAnt.Core.Types.FileSet NAnt.Core.FrameworkInfo::get_TaskAssemblies () + .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 bool IsValid () + .property instance class [mscorlib]System.Collections.ICollection Values () { - .get instance default bool NAnt.Core.FrameworkInfo::get_IsValid () + .get instance default class [mscorlib]System.Collections.ICollection NAnt.Core.DataTypeBaseDictionary::get_Values () } - .property instance class NAnt.Core.Types.FileSet[] ReferenceAssemblies () + .property instance class [mscorlib]System.Collections.ICollection Keys () { - .get instance default class NAnt.Core.Types.FileSet[] NAnt.Core.FrameworkInfo::get_ReferenceAssemblies () + .get instance default class [mscorlib]System.Collections.ICollection NAnt.Core.DataTypeBaseDictionary::get_Keys () } - .property instance string[] ToolPaths () + .property instance bool IsFixedSize () { - .get instance default string[] NAnt.Core.FrameworkInfo::get_ToolPaths () + .get instance default bool NAnt.Core.DataTypeBaseDictionary::get_IsFixedSize () } - .property instance string RuntimeEngine () + .property instance bool IsSynchronized () { - .get instance default string NAnt.Core.FrameworkInfo::get_RuntimeEngine () + .get instance default bool NAnt.Core.DataTypeBaseDictionary::get_IsSynchronized () } - .property instance class [System.Xml]System.Xml.XmlNamespaceManager NamespaceManager () + .property instance int32 Count () { - .get instance default class [System.Xml]System.Xml.XmlNamespaceManager NAnt.Core.FrameworkInfo::get_NamespaceManager () + .get instance default int32 NAnt.Core.DataTypeBaseDictionary::get_Count () } - .property class [mscorlib]System.Collections.IComparer NameComparer () + .property instance object SyncRoot () { - .get default class [mscorlib]System.Collections.IComparer NAnt.Core.FrameworkInfo::get_NameComparer () + .get instance default object NAnt.Core.DataTypeBaseDictionary::get_SyncRoot () } - .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 - - .class nested private auto ansi beforefieldinit FrameworkNameComparer - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IComparer { - - // method line 1646 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x213b2 - // 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 1647 - .method public final virtual hidebysig newslot - instance default int32 Compare (object x, object y) cil managed - { - // Method begins at RVA 0x213bc - // Code size 46 (0x2e) - .maxstack 4 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class NAnt.Core.FrameworkInfo V_1, - int32 V_2) - IL_0000: nop - 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_002c: ldloc.2 - IL_002d: ret - } // end of method FrameworkNameComparer::Compare - - } // end of class FrameworkNameComparer - - } // end of class NAnt.Core.FrameworkInfo -} - -.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) - - } // end of class NAnt.Core.ClrType -} - -.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) - - } // end of class NAnt.Core.VendorType + } // end of class NAnt.Core.DataTypeBaseDictionary } .namespace NAnt.Core { - .class public auto ansi abstract beforefieldinit FunctionSetBase + .class public auto ansi beforefieldinit DataTypeBaseDictionaryEnumerator extends [mscorlib]System.Object - { - .field private class NAnt.Core.Project _project + implements [mscorlib]System.Collections.IDictionaryEnumerator, [mscorlib]System.Collections.IEnumerator { + .field private class [mscorlib]System.Collections.IDictionaryEnumerator _innerEnumerator - // method line 1648 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 1939 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.DataTypeBaseDictionary enumerable) cil managed { - // Method begins at RVA 0x2050 - // Code size 15 (0xf) + // Method begins at RVA 0x1fe1c + // 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: stfld class NAnt.Core.Project NAnt.Core.FunctionSetBase::_project - IL_000e: ret - } // end of method FunctionSetBase::.ctor + 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 - // method line 1649 - .method public virtual hidebysig newslot specialname - instance default class NAnt.Core.Project get_Project () cil managed + // method line 1940 + .method public hidebysig specialname + instance default string get_Key () cil managed + { + // Method begins at RVA 0x1fe38 + // 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_0017: ldloc.0 + IL_0018: ret + } // end of method DataTypeBaseDictionaryEnumerator::get_Key + + // method line 1941 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionaryEnumerator.get_Key () cil managed { - // Method begins at RVA 0x2060 + // Method begins at RVA 0x1fe60 + .override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key // 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.FunctionSetBase::_project + IL_0002: call instance string class NAnt.Core.DataTypeBaseDictionaryEnumerator::get_Key() 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 DataTypeBaseDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key - // method line 1650 - .method public virtual hidebysig newslot specialname - instance default void set_Project (class NAnt.Core.Project 'value') cil managed + // method line 1942 + .method public hidebysig specialname + instance default class NAnt.Core.DataTypeBase get_Value () cil managed { - // Method begins at RVA 0x207b - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x1fe7c + // Code size 25 (0x19) + .maxstack 1 + .locals init ( + class NAnt.Core.DataTypeBase V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Project NAnt.Core.FunctionSetBase::_project - 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 -} + 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 -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit DataTypeBaseBuilder - extends NAnt.Core.Extensibility.ExtensionBuilder - { - .field private initonly string _className - .field private string _dataTypeName + IL_0017: ldloc.0 + IL_0018: ret + } // end of method DataTypeBaseDictionaryEnumerator::get_Value - // method line 1651 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly', string className) cil managed + // method line 1943 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IDictionaryEnumerator.get_Value () cil managed { - // Method begins at RVA 0x213f6 + // Method begins at RVA 0x1fea4 + .override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value // 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 + .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_000d: ldloc.0 IL_000e: ret - } // end of method DataTypeBaseBuilder::.ctor + } // end of method DataTypeBaseDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value - // method line 1652 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed + // method line 1944 + .method public final virtual hidebysig newslot specialname + instance default valuetype [mscorlib]System.Collections.DictionaryEntry get_Entry () cil managed { - // Method begins at RVA 0x21406 - // Code size 16 (0x10) + // Method begins at RVA 0x1fec0 + // 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_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseDictionaryEnumerator::get_Entry + + // method line 1945 + .method public final virtual hidebysig newslot + instance default void Reset () cil managed + { + // Method begins at RVA 0x1fee0 + // Code size 13 (0xd) .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: 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 - // method line 1653 - .method public hidebysig specialname - instance default string get_ClassName () cil managed + // method line 1946 + .method public final virtual hidebysig newslot + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x21418 - // Code size 15 (0xf) + // Method begins at RVA 0x1fef0 + // 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.Core.DataTypeBaseBuilder::_className - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseBuilder::get_ClassName + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseDictionaryEnumerator::MoveNext - // method line 1654 - .method public hidebysig specialname - instance default string get_DataTypeName () cil managed + // method line 1947 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x21434 - // Code size 78 (0x4e) - .maxstack 2 + // Method begins at RVA 0x1ff10 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class NAnt.Core.Attributes.ElementNameAttribute V_0, - string V_1) + object V_0) 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_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_004c: ldloc.1 - IL_004d: ret - } // end of method DataTypeBaseBuilder::get_DataTypeName + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseDictionaryEnumerator::System.Collections.IEnumerator.get_Current - // method line 1655 - .method public hidebysig - instance default class NAnt.Core.DataTypeBase CreateDataTypeBase () cil managed + // method line 1948 + .method public hidebysig specialname + instance default class NAnt.Core.DataTypeBase get_Current () cil managed { - // Method begins at RVA 0x21490 - .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 0x1ff30 + // Code size 25 (0x19) + .maxstack 1 .locals init ( class NAnt.Core.DataTypeBase 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_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_0028: ldloc.0 - IL_0029: ret - } // end of method DataTypeBaseBuilder::CreateDataTypeBase + IL_0017: ldloc.0 + IL_0018: ret + } // end of method DataTypeBaseDictionaryEnumerator::get_Current - .property instance string ClassName () + .property instance object System.Collections.IDictionaryEnumerator.Key () { - .get instance default string NAnt.Core.DataTypeBaseBuilder::get_ClassName () + .get instance default object NAnt.Core.DataTypeBaseDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key () } - .property instance string DataTypeName () + .property instance object System.Collections.IDictionaryEnumerator.Value () { - .get instance default string NAnt.Core.DataTypeBaseBuilder::get_DataTypeName () + .get instance default object NAnt.Core.DataTypeBaseDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value () } - } // end of class NAnt.Core.DataTypeBaseBuilder + .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 } .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 + .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.. - // method line 1656 + + // method line 1949 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x214c6 - // Code size 19 (0x13) + // Method begins at RVA 0x1ff55 + // Code size 8 (0x8) .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_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method DataTypeBaseBuilderCollection::.ctor - // method line 1657 - .method public hidebysig specialname - instance default bool get_Executed () cil managed + // method line 1950 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.DataTypeBaseBuilderCollection 'value') cil managed { - // Method begins at RVA 0x214dc + // Method begins at RVA 0x1ff5e // 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 + .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 - IL_000d: ldloc.0 + // method line 1951 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.DataTypeBaseBuilder[] 'value') cil managed + { + // Method begins at RVA 0x1ff6e + // 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 Target::get_Executed + } // end of method DataTypeBaseBuilderCollection::.ctor - // method line 1658 + // method line 1952 .method public hidebysig specialname - instance default string get_Name () cil managed + instance default class NAnt.Core.DataTypeBaseBuilder get_Item (int32 index) cil managed { - // Method begins at RVA 0x214f8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1ff80 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - string V_0) + class NAnt.Core.DataTypeBaseBuilder 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method Target::get_Name + IL_0018: ldloc.0 + IL_0019: ret + } // end of method DataTypeBaseBuilderCollection::get_Item - // method line 1659 + // method line 1953 .method public hidebysig specialname - instance default void set_Name (string 'value') cil managed + instance default void set_Item (int32 index, class NAnt.Core.DataTypeBaseBuilder 'value') cil managed { - // Method begins at RVA 0x21513 - // Code size 9 (0x9) + // Method begins at RVA 0x1ffa6 + // Code size 15 (0xf) .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_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 - // method line 1660 + // method line 1954 .method public hidebysig specialname - instance default string get_IfCondition () cil managed + instance default class NAnt.Core.DataTypeBaseBuilder get_Item (string dataTypeName) cil managed { - // Method begins at RVA 0x21520 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x1ffb8 + // Code size 111 (0x6f) + .maxstack 2 .locals init ( - string V_0) + 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.0 - IL_0002: ldfld string NAnt.Core.Target::_ifCondition - 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 Target::get_IfCondition + 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 1661 - .method public hidebysig specialname - instance default void set_IfCondition (string 'value') cil managed + 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 1955 + .method public hidebysig + instance default int32 Add (class NAnt.Core.DataTypeBaseBuilder item) cil managed { - // Method begins at RVA 0x2153b - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x20044 + // 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.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Target::_ifCondition - IL_000d: ret - } // end of method Target::set_IfCondition + 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 1662 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseBuilderCollection::Add + + // method line 1956 + .method public hidebysig + instance default void AddRange (class NAnt.Core.DataTypeBaseBuilder[] items) cil managed { - // Method begins at RVA 0x2154c - // Code size 104 (0x68) + // Method begins at RVA 0x20068 + // Code size 34 (0x22) .maxstack 3 .locals init ( - string 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.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_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0018 - 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_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 - } // 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_0021: ret + } // end of method DataTypeBaseBuilderCollection::AddRange - IL_0066: ldloc.1 - IL_0067: ret - } // end of method Target::get_IfDefined + // method line 1957 + .method public hidebysig + instance default void AddRange (class NAnt.Core.DataTypeBaseBuilderCollection items) cil managed + { + // Method begins at RVA 0x20098 + // 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 1663 - .method public hidebysig specialname - instance default string get_UnlessCondition () cil managed + 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_0028: ret + } // end of method DataTypeBaseBuilderCollection::AddRange + + // method line 1958 + .method public hidebysig + instance default bool Contains (class NAnt.Core.DataTypeBaseBuilder item) cil managed { - // Method begins at RVA 0x215d0 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x200d0 + // 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.Target::_unlessCondition - 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 Target::get_UnlessCondition + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseBuilderCollection::Contains - // method line 1664 - .method public hidebysig specialname - instance default void set_UnlessCondition (string 'value') cil managed + // method line 1959 + .method public hidebysig + instance default bool Contains (string taskName) cil managed { - // Method begins at RVA 0x215eb - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x200f4 + // 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 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_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 1665 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed + IL_0014: ldloc.0 + IL_0015: ret + } // end of method DataTypeBaseBuilderCollection::Contains + + // method line 1960 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.DataTypeBaseBuilder[] 'array', int32 index) cil managed { - // Method begins at RVA 0x215fc - // Code size 104 (0x68) - .maxstack 3 - .locals init ( - string V_0, - bool V_1) + // Method begins at RVA 0x20116 + // Code size 15 (0xf) + .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: 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_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_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 - } // 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 "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 + // method line 1961 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.DataTypeBaseBuilder item) cil managed + { + // Method begins at RVA 0x20128 + // 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_0066: ldloc.1 - IL_0067: ret - } // end of method Target::get_UnlessDefined + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DataTypeBaseBuilderCollection::IndexOf - // method line 1666 - .method public hidebysig specialname - instance default void set_Description (string 'value') cil managed + // method line 1962 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.DataTypeBaseBuilder item) cil managed { - // Method begins at RVA 0x21680 - // Code size 9 (0x9) + // Method begins at RVA 0x20149 + // Code size 15 (0xf) .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 + 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 1667 - .method public hidebysig specialname - instance default string get_Description () cil managed + // method line 1963 + .method public hidebysig + instance default class NAnt.Core.DataTypeBaseBuilderEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x2168c + // Method begins at RVA 0x2015c // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.DataTypeBaseBuilderEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Target::_description + 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 Target::get_Description + } // end of method DataTypeBaseBuilderCollection::GetEnumerator - // method line 1668 - .method public hidebysig specialname - instance default void set_DependsListString (string 'value') cil managed + // method line 1964 + .method public hidebysig + instance default void Remove (class NAnt.Core.DataTypeBaseBuilder item) cil managed { - // Method begins at RVA 0x216a8 - // Code size 86 (0x56) - .maxstack 5 - .locals init ( - string V_0, - string[] V_1, - int32 V_2, - string V_3) + // Method begins at RVA 0x20177 + // Code size 14 (0xe) + .maxstack 8 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_0001: 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_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 + .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_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 +.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: ret - } // end of method Target::set_DependsListString + // method line 1965 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.DataTypeBaseBuilderCollection arguments) cil managed + { + // Method begins at RVA 0x20188 + // 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 1669 + // method line 1966 .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Dependencies () cil managed + instance default class NAnt.Core.DataTypeBaseBuilder get_Current () cil managed { - // Method begins at RVA 0x2170c - // Code size 15 (0xf) + // Method begins at RVA 0x201ac + // Code size 25 (0x19) .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + class NAnt.Core.DataTypeBaseBuilder V_0) 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: 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 Target::get_Dependencies + IL_0017: ldloc.0 + IL_0018: ret + } // end of method DataTypeBaseBuilderEnumerator::get_Current - // method line 1670 - .method private final virtual hidebysig newslot - instance default object System.ICloneable.Clone () cil managed + // method line 1967 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x21728 - .override class [mscorlib]System.ICloneable::Clone - // Code size 15 (0xf) + // Method begins at RVA 0x201d4 + .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Code size 20 (0x14) .maxstack 1 .locals init ( object V_0) 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method Target::System.ICloneable.Clone + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.get_Current - // method line 1671 + // method line 1968 .method public hidebysig - instance default class NAnt.Core.Target Clone () cil managed + instance default bool MoveNext () cil managed { - // Method begins at RVA 0x21744 - // Code size 95 (0x5f) - .maxstack 2 + // Method begins at RVA 0x201f4 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - class NAnt.Core.Target V_0, - class NAnt.Core.Target V_1) + bool V_0) IL_0000: nop - 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_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_005d: ldloc.1 - IL_005e: ret - } // end of method Target::Clone + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseBuilderEnumerator::MoveNext - // method line 1672 - .method public hidebysig - instance default void Execute () cil managed + // method line 1969 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x217b0 - // Code size 473 (0x1d9) - .maxstack 7 + // Method begins at RVA 0x20214 + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // Code size 20 (0x14) + .maxstack 1 .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) + bool V_0) 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_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_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_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_0076: nop - IL_0077: leave IL_018f - - 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_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_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_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_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. + 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 - .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. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.MoveNext - .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. + // method line 1970 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x20234 + // 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 - .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.. + // method line 1971 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x20242 + .override class [mscorlib]System.Collections.IEnumerator::Reset + // 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 - .get instance default string NAnt.Core.Target::get_Description () - .set instance default void NAnt.Core.Target::set_Description (string 'value') - } - .property instance string DependsListString () + .property instance object System.Collections.IEnumerator.Current () { - .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 object NAnt.Core.DataTypeBaseBuilderEnumerator::System.Collections.IEnumerator.get_Current () } - .property instance class [System]System.Collections.Specialized.StringCollection Dependencies () + .property instance class NAnt.Core.DataTypeBaseBuilder Current () { - .get instance default class [System]System.Collections.Specialized.StringCollection NAnt.Core.Target::get_Dependencies () + .get instance default class NAnt.Core.DataTypeBaseBuilder NAnt.Core.DataTypeBaseBuilderEnumerator::get_Current () } - } // end of class NAnt.Core.Target + } // end of class NAnt.Core.DataTypeBaseBuilderEnumerator } .namespace NAnt.Core @@ -65236,11 +70602,11 @@ .field private notserialized class NAnt.Core.DataTypeBaseDictionary _dataTypeReferences .field private valuetype NAnt.Core.Level _threshold - // method line 1673 + // method line 1972 .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 { - // Method begins at RVA 0x219cc + // Method begins at RVA 0x20250 // Code size 148 (0x94) .maxstack 5 IL_0000: ldarg.0 @@ -65293,11 +70659,11 @@ IL_0093: ret } // end of method Project::.ctor - // method line 1674 + // method line 1973 .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 { - // Method begins at RVA 0x21a6c + // Method begins at RVA 0x202f0 // Code size 144 (0x90) .maxstack 5 IL_0000: ldarg.0 @@ -65349,11 +70715,11 @@ IL_008f: ret } // end of method Project::.ctor - // method line 1675 + // method line 1974 .method public hidebysig specialname rtspecialname instance default void '.ctor' (string uriOrFilePath, valuetype NAnt.Core.Level threshold, int32 indentLevel) cil managed { - // Method begins at RVA 0x21b08 + // Method begins at RVA 0x2038c // Code size 154 (0x9a) .maxstack 5 IL_0000: ldarg.0 @@ -65408,11 +70774,11 @@ IL_0099: ret } // end of method Project::.ctor - // method line 1676 + // method line 1975 .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 0x21bb0 + // Method begins at RVA 0x20434 // Code size 150 (0x96) .maxstack 5 IL_0000: ldarg.0 @@ -65466,11 +70832,11 @@ IL_0095: ret } // end of method Project::.ctor - // method line 1677 + // method line 1976 .method assembly hidebysig specialname rtspecialname instance default void '.ctor' (string uriOrFilePath, class NAnt.Core.Project parent) cil managed { - // Method begins at RVA 0x21c54 + // Method begins at RVA 0x204d8 // Code size 283 (0x11b) .maxstack 5 .locals init ( @@ -65582,11 +70948,11 @@ IL_011a: ret } // end of method Project::.ctor - // method line 1678 + // method line 1977 .method assembly hidebysig specialname rtspecialname instance default void '.ctor' (class [System.Xml]System.Xml.XmlDocument doc) cil managed { - // Method begins at RVA 0x21d8c + // Method begins at RVA 0x20610 // Code size 140 (0x8c) .maxstack 5 IL_0000: ldarg.0 @@ -65635,11 +71001,11 @@ IL_008b: ret } // end of method Project::.ctor - // method line 1679 + // method line 1978 .method public hidebysig specialname instance default void add_BuildStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x21e24 + // Method begins at RVA 0x206a8 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65666,11 +71032,11 @@ IL_0029: ret } // end of method Project::add_BuildStarted - // method line 1680 + // method line 1979 .method public hidebysig specialname instance default void remove_BuildStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x21e5c + // Method begins at RVA 0x206e0 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65697,11 +71063,11 @@ IL_0029: ret } // end of method Project::remove_BuildStarted - // method line 1681 + // method line 1980 .method public hidebysig specialname instance default void add_BuildFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x21e94 + // Method begins at RVA 0x20718 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65728,11 +71094,11 @@ IL_0029: ret } // end of method Project::add_BuildFinished - // method line 1682 + // method line 1981 .method public hidebysig specialname instance default void remove_BuildFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x21ecc + // Method begins at RVA 0x20750 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65759,11 +71125,11 @@ IL_0029: ret } // end of method Project::remove_BuildFinished - // method line 1683 + // method line 1982 .method public hidebysig specialname instance default void add_TargetStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x21f04 + // Method begins at RVA 0x20788 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65790,11 +71156,11 @@ IL_0029: ret } // end of method Project::add_TargetStarted - // method line 1684 + // method line 1983 .method public hidebysig specialname instance default void remove_TargetStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x21f3c + // Method begins at RVA 0x207c0 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65821,11 +71187,11 @@ IL_0029: ret } // end of method Project::remove_TargetStarted - // method line 1685 + // method line 1984 .method public hidebysig specialname instance default void add_TargetFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x21f74 + // Method begins at RVA 0x207f8 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65852,11 +71218,11 @@ IL_0029: ret } // end of method Project::add_TargetFinished - // method line 1686 + // method line 1985 .method public hidebysig specialname instance default void remove_TargetFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x21fac + // Method begins at RVA 0x20830 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65883,11 +71249,11 @@ IL_0029: ret } // end of method Project::remove_TargetFinished - // method line 1687 + // method line 1986 .method public hidebysig specialname instance default void add_TaskStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x21fe4 + // Method begins at RVA 0x20868 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65914,11 +71280,11 @@ IL_0029: ret } // end of method Project::add_TaskStarted - // method line 1688 + // method line 1987 .method public hidebysig specialname instance default void remove_TaskStarted (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x2201c + // Method begins at RVA 0x208a0 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65945,11 +71311,11 @@ IL_0029: ret } // end of method Project::remove_TaskStarted - // method line 1689 + // method line 1988 .method public hidebysig specialname instance default void add_TaskFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x22054 + // Method begins at RVA 0x208d8 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -65976,11 +71342,11 @@ IL_0029: ret } // end of method Project::add_TaskFinished - // method line 1690 + // method line 1989 .method public hidebysig specialname instance default void remove_TaskFinished (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x2208c + // Method begins at RVA 0x20910 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -66007,11 +71373,11 @@ IL_0029: ret } // end of method Project::remove_TaskFinished - // method line 1691 + // method line 1990 .method public hidebysig specialname instance default void add_MessageLogged (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x220c4 + // Method begins at RVA 0x20948 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -66038,11 +71404,11 @@ IL_0029: ret } // end of method Project::add_MessageLogged - // method line 1692 + // method line 1991 .method public hidebysig specialname instance default void remove_MessageLogged (class NAnt.Core.BuildEventHandler 'value') cil managed { - // Method begins at RVA 0x220fc + // Method begins at RVA 0x20980 // Code size 42 (0x2a) .maxstack 3 .locals init ( @@ -66069,11 +71435,11 @@ IL_0029: ret } // end of method Project::remove_MessageLogged - // method line 1693 + // method line 1992 .method public hidebysig specialname instance default int32 get_IndentationLevel () cil managed { - // Method begins at RVA 0x22134 + // Method begins at RVA 0x209b8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66088,11 +71454,11 @@ IL_000e: ret } // end of method Project::get_IndentationLevel - // method line 1694 + // method line 1993 .method public hidebysig specialname instance default int32 get_IndentationSize () cil managed { - // Method begins at RVA 0x22150 + // Method begins at RVA 0x209d4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66107,11 +71473,11 @@ IL_000e: ret } // end of method Project::get_IndentationSize - // method line 1695 + // method line 1994 .method public hidebysig specialname instance default valuetype NAnt.Core.Level get_Threshold () cil managed { - // Method begins at RVA 0x2216c + // Method begins at RVA 0x209f0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66126,11 +71492,11 @@ IL_000e: ret } // end of method Project::get_Threshold - // method line 1696 + // method line 1995 .method public hidebysig specialname instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed { - // Method begins at RVA 0x22187 + // Method begins at RVA 0x20a0b // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -66140,11 +71506,11 @@ IL_0008: ret } // end of method Project::set_Threshold - // method line 1697 + // method line 1996 .method public hidebysig specialname instance default string get_ProjectName () cil managed { - // Method begins at RVA 0x22194 + // Method begins at RVA 0x20a18 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66159,11 +71525,11 @@ IL_000e: ret } // end of method Project::get_ProjectName - // method line 1698 + // method line 1997 .method public hidebysig specialname instance default string get_BaseDirectory () cil managed { - // Method begins at RVA 0x221b0 + // Method begins at RVA 0x20a34 // Code size 83 (0x53) .maxstack 3 .locals init ( @@ -66201,11 +71567,11 @@ IL_0052: ret } // end of method Project::get_BaseDirectory - // method line 1699 + // method line 1998 .method public hidebysig specialname instance default void set_BaseDirectory (string 'value') cil managed { - // Method begins at RVA 0x22210 + // Method begins at RVA 0x20a94 // Code size 67 (0x43) .maxstack 5 .locals init ( @@ -66236,11 +71602,11 @@ IL_0042: ret } // end of method Project::set_BaseDirectory - // method line 1700 + // method line 1999 .method public hidebysig specialname instance default class [System.Xml]System.Xml.XmlNamespaceManager get_NamespaceManager () cil managed { - // Method begins at RVA 0x22260 + // Method begins at RVA 0x20ae4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66255,11 +71621,11 @@ IL_000e: ret } // end of method Project::get_NamespaceManager - // method line 1701 + // method line 2000 .method public hidebysig specialname instance default class [System]System.Uri get_BuildFileUri () cil managed { - // Method begins at RVA 0x2227c + // Method begins at RVA 0x20b00 // Code size 85 (0x55) .maxstack 3 .locals init ( @@ -66299,11 +71665,11 @@ IL_0054: ret } // end of method Project::get_BuildFileUri - // method line 1702 + // method line 2001 .method public hidebysig specialname instance default class NAnt.Core.FrameworkInfoDictionary get_Frameworks () cil managed { - // Method begins at RVA 0x222e0 + // Method begins at RVA 0x20b64 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66318,11 +71684,11 @@ IL_000e: ret } // end of method Project::get_Frameworks - // method line 1703 + // method line 2002 .method assembly hidebysig instance default class NAnt.Core.FrameworkInfo[] GetFrameworks (valuetype NAnt.Core.FrameworkTypes types) cil managed { - // Method begins at RVA 0x222fc + // Method begins at RVA 0x20b80 // Code size 411 (0x19b) .maxstack 3 .locals init ( @@ -66516,11 +71882,11 @@ IL_019a: ret } // end of method Project::GetFrameworks - // method line 1704 + // method line 2003 .method public hidebysig specialname instance default class NAnt.Core.FrameworkInfo get_RuntimeFramework () cil managed { - // Method begins at RVA 0x224c0 + // Method begins at RVA 0x20d44 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66535,11 +71901,11 @@ IL_000e: ret } // end of method Project::get_RuntimeFramework - // method line 1705 + // method line 2004 .method public hidebysig specialname instance default void set_RuntimeFramework (class NAnt.Core.FrameworkInfo 'value') cil managed { - // Method begins at RVA 0x224db + // Method begins at RVA 0x20d5f // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -66549,11 +71915,11 @@ IL_0008: ret } // end of method Project::set_RuntimeFramework - // method line 1706 + // method line 2005 .method public hidebysig specialname instance default class NAnt.Core.FrameworkInfo get_TargetFramework () cil managed { - // Method begins at RVA 0x224e8 + // Method begins at RVA 0x20d6c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66568,11 +71934,11 @@ IL_000e: ret } // end of method Project::get_TargetFramework - // method line 1707 + // method line 2006 .method public hidebysig specialname instance default void set_TargetFramework (class NAnt.Core.FrameworkInfo 'value') cil managed { - // Method begins at RVA 0x22503 + // Method begins at RVA 0x20d87 // Code size 39 (0x27) .maxstack 8 IL_0000: nop @@ -66593,11 +71959,11 @@ IL_0026: ret } // end of method Project::set_TargetFramework - // method line 1708 + // method line 2007 .method public hidebysig specialname instance default string get_PlatformName () cil managed { - // Method begins at RVA 0x2252c + // Method begins at RVA 0x20db0 // Code size 118 (0x76) .maxstack 4 .locals init ( @@ -66641,11 +72007,11 @@ IL_0075: ret } // end of method Project::get_PlatformName - // method line 1709 + // method line 2008 .method public hidebysig specialname instance default class NAnt.Core.Target get_CurrentTarget () cil managed { - // Method begins at RVA 0x225b0 + // Method begins at RVA 0x20e34 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66660,11 +72026,11 @@ IL_000e: ret } // end of method Project::get_CurrentTarget - // method line 1710 + // method line 2009 .method public hidebysig specialname instance default string get_BuildFileLocalName () cil managed { - // Method begins at RVA 0x225cc + // Method begins at RVA 0x20e50 // Code size 62 (0x3e) .maxstack 2 .locals init ( @@ -66697,11 +72063,11 @@ IL_003d: ret } // end of method Project::get_BuildFileLocalName - // method line 1711 + // method line 2010 .method public hidebysig specialname instance default class [System.Xml]System.Xml.XmlDocument get_Document () cil managed { - // Method begins at RVA 0x22618 + // Method begins at RVA 0x20e9c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66716,11 +72082,11 @@ IL_000e: ret } // end of method Project::get_Document - // method line 1712 + // method line 2011 .method public hidebysig specialname instance default class [System.Xml]System.Xml.XmlNode get_ConfigurationNode () cil managed { - // Method begins at RVA 0x22634 + // Method begins at RVA 0x20eb8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66735,11 +72101,11 @@ IL_000e: ret } // end of method Project::get_ConfigurationNode - // method line 1713 + // method line 2012 .method public hidebysig specialname instance default string get_DefaultTargetName () cil managed { - // Method begins at RVA 0x22650 + // Method begins at RVA 0x20ed4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66754,11 +72120,11 @@ IL_000e: ret } // end of method Project::get_DefaultTargetName - // method line 1714 + // method line 2013 .method public hidebysig specialname instance default bool get_Verbose () cil managed { - // Method begins at RVA 0x2266c + // Method begins at RVA 0x20ef0 // Code size 25 (0x19) .maxstack 2 .locals init ( @@ -66777,11 +72143,11 @@ IL_0018: ret } // end of method Project::get_Verbose - // method line 1715 + // method line 2014 .method public hidebysig specialname instance default class [System]System.Collections.Specialized.StringCollection get_BuildTargets () cil managed { - // Method begins at RVA 0x22694 + // Method begins at RVA 0x20f18 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66796,11 +72162,11 @@ IL_000e: ret } // end of method Project::get_BuildTargets - // method line 1716 + // method line 2015 .method public hidebysig specialname instance default class NAnt.Core.PropertyDictionary get_Properties () cil managed { - // Method begins at RVA 0x226b0 + // Method begins at RVA 0x20f34 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66815,11 +72181,11 @@ IL_000e: ret } // end of method Project::get_Properties - // method line 1717 + // method line 2016 .method public hidebysig specialname instance default class NAnt.Core.PropertyDictionary get_FrameworkNeutralProperties () cil managed { - // Method begins at RVA 0x226cc + // Method begins at RVA 0x20f50 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66834,11 +72200,11 @@ IL_000e: ret } // end of method Project::get_FrameworkNeutralProperties - // method line 1718 + // method line 2017 .method public hidebysig specialname instance default class NAnt.Core.DataTypeBaseDictionary get_DataTypeReferences () cil managed { - // Method begins at RVA 0x226e8 + // Method begins at RVA 0x20f6c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66853,11 +72219,11 @@ IL_000e: ret } // end of method Project::get_DataTypeReferences - // method line 1719 + // method line 2018 .method public hidebysig specialname instance default class NAnt.Core.TargetCollection get_Targets () cil managed { - // Method begins at RVA 0x22704 + // Method begins at RVA 0x20f88 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66872,11 +72238,11 @@ IL_000e: ret } // end of method Project::get_Targets - // method line 1720 + // method line 2019 .method public hidebysig specialname instance default class NAnt.Core.BuildListenerCollection get_BuildListeners () cil managed { - // Method begins at RVA 0x22720 + // Method begins at RVA 0x20fa4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66891,11 +72257,11 @@ IL_000e: ret } // end of method Project::get_BuildListeners - // method line 1721 + // method line 2020 .method assembly hidebysig specialname instance default class NAnt.Core.LocationMap get_LocationMap () cil managed { - // Method begins at RVA 0x2273c + // Method begins at RVA 0x20fc0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -66910,11 +72276,11 @@ IL_000e: ret } // end of method Project::get_LocationMap - // method line 1722 + // method line 2021 .method public hidebysig instance default class NAnt.Core.Location GetLocation (class [System.Xml]System.Xml.XmlNode node) cil managed { - // Method begins at RVA 0x22758 + // Method begins at RVA 0x20fdc // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -66931,11 +72297,11 @@ IL_0014: ret } // end of method Project::GetLocation - // method line 1723 + // method line 2022 .method public hidebysig instance default void OnBuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x22779 + // Method begins at RVA 0x20ffd // Code size 28 (0x1c) .maxstack 8 IL_0000: nop @@ -66953,11 +72319,11 @@ IL_001b: ret } // end of method Project::OnBuildStarted - // method line 1724 + // method line 2023 .method public hidebysig instance default void OnBuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x22796 + // Method begins at RVA 0x2101a // Code size 28 (0x1c) .maxstack 8 IL_0000: nop @@ -66975,11 +72341,11 @@ IL_001b: ret } // end of method Project::OnBuildFinished - // method line 1725 + // method line 2024 .method public hidebysig instance default void OnTargetStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x227b3 + // Method begins at RVA 0x21037 // Code size 28 (0x1c) .maxstack 8 IL_0000: nop @@ -66997,11 +72363,11 @@ IL_001b: ret } // end of method Project::OnTargetStarted - // method line 1726 + // method line 2025 .method public hidebysig instance default void OnTargetFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x227d0 + // Method begins at RVA 0x21054 // Code size 28 (0x1c) .maxstack 8 IL_0000: nop @@ -67019,11 +72385,11 @@ IL_001b: ret } // end of method Project::OnTargetFinished - // method line 1727 + // method line 2026 .method public hidebysig instance default void OnTaskStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x227ed + // Method begins at RVA 0x21071 // Code size 28 (0x1c) .maxstack 8 IL_0000: nop @@ -67041,11 +72407,11 @@ IL_001b: ret } // end of method Project::OnTaskStarted - // method line 1728 + // method line 2027 .method public hidebysig instance default void OnTaskFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x2280a + // Method begins at RVA 0x2108e // Code size 28 (0x1c) .maxstack 8 IL_0000: nop @@ -67063,11 +72429,11 @@ IL_001b: ret } // end of method Project::OnTaskFinished - // method line 1729 + // method line 2028 .method public hidebysig instance default void OnMessageLogged (class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x22827 + // Method begins at RVA 0x210ab // Code size 28 (0x1c) .maxstack 8 IL_0000: nop @@ -67085,11 +72451,11 @@ IL_001b: ret } // end of method Project::OnMessageLogged - // method line 1730 + // method line 2029 .method public hidebysig instance default void Log (valuetype NAnt.Core.Level messageLevel, string message) cil managed { - // Method begins at RVA 0x22844 + // Method begins at RVA 0x210c8 // Code size 30 (0x1e) .maxstack 2 .locals init ( @@ -67110,14 +72476,14 @@ IL_001d: ret } // end of method Project::Log - // method line 1731 + // method line 2030 .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 ) // .... - // Method begins at RVA 0x22870 + // Method begins at RVA 0x210f4 // Code size 41 (0x29) .maxstack 4 .locals init ( @@ -67141,11 +72507,11 @@ IL_0028: ret } // end of method Project::Log - // method line 1732 + // method line 2031 .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 0x228a8 + // Method begins at RVA 0x2112c // Code size 30 (0x1e) .maxstack 2 .locals init ( @@ -67166,11 +72532,11 @@ IL_001d: ret } // end of method Project::Log - // method line 1733 + // method line 2032 .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 0x228d4 + // Method begins at RVA 0x21158 // Code size 30 (0x1e) .maxstack 2 .locals init ( @@ -67191,11 +72557,11 @@ IL_001d: ret } // end of method Project::Log - // method line 1734 + // method line 2033 .method public virtual hidebysig newslot instance default void Execute () cil managed { - // Method begins at RVA 0x22900 + // Method begins at RVA 0x21184 // Code size 352 (0x160) .maxstack 4 .locals init ( @@ -67351,11 +72717,11 @@ IL_015f: ret } // end of method Project::Execute - // method line 1735 + // method line 2034 .method public hidebysig instance default void Execute (string targetName) cil managed { - // Method begins at RVA 0x22a88 + // Method begins at RVA 0x2130c // Code size 10 (0xa) .maxstack 8 IL_0000: nop @@ -67366,11 +72732,11 @@ IL_0009: ret } // end of method Project::Execute - // method line 1736 + // method line 2035 .method public hidebysig instance default void Execute (string targetName, bool forceDependencies) cil managed { - // Method begins at RVA 0x22a94 + // Method begins at RVA 0x21318 // Code size 117 (0x75) .maxstack 4 .locals init ( @@ -67433,11 +72799,11 @@ IL_0074: ret } // end of method Project::Execute - // method line 1737 + // method line 2036 .method public hidebysig instance default bool Run () cil managed { - // Method begins at RVA 0x22b18 + // Method begins at RVA 0x2139c // Code size 371 (0x173) .maxstack 7 .locals init ( @@ -67604,11 +72970,11 @@ IL_0172: ret } // end of method Project::Run - // method line 1738 + // method line 2037 .method public hidebysig instance default class NAnt.Core.DataTypeBase CreateDataTypeBase (class [System.Xml]System.Xml.XmlNode elementNode) cil managed { - // Method begins at RVA 0x22cc0 + // Method begins at RVA 0x21544 // Code size 51 (0x33) .maxstack 2 .locals init ( @@ -67640,11 +73006,11 @@ IL_0032: ret } // end of method Project::CreateDataTypeBase - // method line 1739 + // method line 2038 .method public hidebysig instance default class NAnt.Core.Task CreateTask (class [System.Xml]System.Xml.XmlNode taskNode) cil managed { - // Method begins at RVA 0x22d00 + // Method begins at RVA 0x21584 // Code size 17 (0x11) .maxstack 3 .locals init ( @@ -67661,11 +73027,11 @@ IL_0010: ret } // end of method Project::CreateTask - // method line 1740 + // method line 2039 .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 0x22d20 + // Method begins at RVA 0x215a4 // Code size 51 (0x33) .maxstack 2 .locals init ( @@ -67697,11 +73063,11 @@ IL_0032: ret } // end of method Project::CreateTask - // method line 1741 + // method line 2040 .method public hidebysig instance default string ExpandProperties (string input, class NAnt.Core.Location location) cil managed { - // Method begins at RVA 0x22d60 + // Method begins at RVA 0x215e4 // Code size 22 (0x16) .maxstack 3 .locals init ( @@ -67719,11 +73085,11 @@ IL_0015: ret } // end of method Project::ExpandProperties - // method line 1742 + // method line 2041 .method public hidebysig instance default string GetFullPath (string path) cil managed { - // Method begins at RVA 0x22d84 + // Method begins at RVA 0x21608 // Code size 153 (0x99) .maxstack 4 .locals init ( @@ -67798,11 +73164,11 @@ IL_0098: ret } // end of method Project::GetFullPath - // method line 1743 + // method line 2042 .method public hidebysig instance default void CreateDefaultLogger () cil managed { - // Method begins at RVA 0x22e3c + // Method begins at RVA 0x216c0 // Code size 166 (0xa6) .maxstack 3 .locals init ( @@ -67864,11 +73230,11 @@ IL_00a5: ret } // end of method Project::CreateDefaultLogger - // method line 1744 + // method line 2043 .method public hidebysig instance default void Indent () cil managed { - // Method begins at RVA 0x22eee + // Method begins at RVA 0x21772 // Code size 16 (0x10) .maxstack 8 IL_0000: nop @@ -67881,11 +73247,11 @@ IL_000f: ret } // end of method Project::Indent - // method line 1745 + // method line 2044 .method public hidebysig instance default void Unindent () cil managed { - // Method begins at RVA 0x22eff + // Method begins at RVA 0x21783 // Code size 16 (0x10) .maxstack 8 IL_0000: nop @@ -67898,11 +73264,11 @@ IL_000f: ret } // end of method Project::Unindent - // method line 1746 + // method line 2045 .method public hidebysig instance default void DetachBuildListeners () cil managed { - // Method begins at RVA 0x22f10 + // Method begins at RVA 0x21794 // Code size 248 (0xf8) .maxstack 3 .locals init ( @@ -68001,11 +73367,11 @@ IL_00f7: ret } // end of method Project::DetachBuildListeners - // method line 1747 + // method line 2046 .method public hidebysig instance default void AttachBuildListeners (class NAnt.Core.BuildListenerCollection listeners) cil managed { - // Method begins at RVA 0x23024 + // Method begins at RVA 0x218a8 // Code size 212 (0xd4) .maxstack 3 .locals init ( @@ -68095,11 +73461,11 @@ IL_00d3: ret } // end of method Project::AttachBuildListeners - // method line 1748 + // method line 2047 .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 begins at RVA 0x23114 + // Method begins at RVA 0x21998 // Code size 779 (0x30b) .maxstack 4 .locals init ( @@ -68376,11 +73742,11 @@ IL_030a: ret } // end of method Project::CtorHelper - // method line 1749 + // method line 2048 .method assembly hidebysig instance default void InitializeProjectDocument (class [System.Xml]System.Xml.XmlDocument doc) cil managed { - // Method begins at RVA 0x2342c + // Method begins at RVA 0x21cb0 // Code size 602 (0x25a) .maxstack 7 .locals init ( @@ -68614,11 +73980,11 @@ IL_0259: ret } // end of method Project::InitializeProjectDocument - // method line 1750 + // method line 2049 .method private hidebysig instance default class [System.Xml]System.Xml.XmlDocument LoadBuildFile (string uriOrFilePath) cil managed { - // Method begins at RVA 0x236c8 + // Method begins at RVA 0x21f4c // Code size 171 (0xab) .maxstack 3 .locals init ( @@ -68724,11 +74090,11 @@ IL_00aa: ret } // end of method Project::LoadBuildFile - // method line 1751 + // method line 2050 .method private hidebysig instance default void ConfigurePlatformProperties () cil managed { - // Method begins at RVA 0x237b4 + // Method begins at RVA 0x22038 // Code size 260 (0x104) .maxstack 4 .locals init ( @@ -68808,11 +74174,11 @@ IL_0103: ret } // end of method Project::ConfigurePlatformProperties - // method line 1752 + // method line 2051 .method private hidebysig instance default void UpdateTargetFrameworkProperties () cil managed { - // Method begins at RVA 0x238c4 + // Method begins at RVA 0x22148 // Code size 257 (0x101) .maxstack 3 IL_0000: nop @@ -68888,11 +74254,11 @@ IL_0100: ret } // end of method Project::UpdateTargetFrameworkProperties - // method line 1753 + // method line 2052 .method private hidebysig instance default class [System.Xml]System.Xml.XmlNode GetConfigurationNode () cil managed { - // Method begins at RVA 0x239d4 + // Method begins at RVA 0x22258 // Code size 69 (0x45) .maxstack 3 .locals init ( @@ -68923,11 +74289,11 @@ IL_0044: ret } // end of method Project::GetConfigurationNode - // method line 1754 + // method line 2053 .method public hidebysig instance default class NAnt.Core.TargetCollection TopologicalTargetSort (string root, class NAnt.Core.TargetCollection targets) cil managed { - // Method begins at RVA 0x23a28 + // Method begins at RVA 0x222ac // Code size 267 (0x10b) .maxstack 6 .locals init ( @@ -69053,11 +74419,11 @@ IL_010a: ret } // end of method Project::TopologicalTargetSort - // method line 1755 + // method line 2054 .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 0x23b50 + // Method begins at RVA 0x223d4 // Code size 411 (0x19b) .maxstack 6 .locals init ( @@ -69237,11 +74603,11 @@ IL_019a: ret } // end of method Project::TopologicalTargetSort - // method line 1756 + // method line 2055 .method private static hidebysig default class NAnt.Core.BuildException CreateCircularException (string end, class [mscorlib]System.Collections.Stack stack) cil managed { - // Method begins at RVA 0x23d08 + // Method begins at RVA 0x2258c // Code size 85 (0x55) .maxstack 2 .locals init ( @@ -69285,11 +74651,11 @@ IL_0054: ret } // end of method Project::CreateCircularException - // method line 1757 + // method line 2056 .method private static hidebysig specialname rtspecialname default void '.cctor' () cil managed { - // Method begins at RVA 0x23d69 + // Method begins at RVA 0x225ed // Code size 21 (0x15) .maxstack 8 IL_0000: call class [mscorlib]System.Reflection.MethodBase class [mscorlib]System.Reflection.MethodBase::GetCurrentMethod() @@ -69452,3352 +74818,3706 @@ .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 ) // .... - + .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 1758 + // method line 2057 .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 0x23d7f - // Code size 37 (0x25) + // Method begins at RVA 0x22603 + // Code size 18 (0x12) .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 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 line 2058 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.StopWatchStack stopWatchStack) cil managed + { + // Method begins at RVA 0x22618 + // 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: 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: ldc.i4 3000 + IL_0011: stfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold 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 + 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 - // method line 1759 - .method public virtual hidebysig newslot specialname - instance default string get_Item (string name) cil managed + // method line 2059 + .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 0x23da8 - // 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 + // Method begins at RVA 0x22668 + // 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 line 1760 - .method public virtual hidebysig newslot specialname - instance default void set_Item (string name, string 'value') cil managed + // method line 2060 + .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 0x23df7 - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x22730 + // Code size 75 (0x4b) + .maxstack 3 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_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 - // method line 1761 - .method public hidebysig specialname - instance default class NAnt.Core.Project get_Project () cil managed + // method line 2061 + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x23e08 - // Code size 15 (0xf) + // Method begins at RVA 0x22788 + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.Core.Project V_0) + string V_0) 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method PropertyDictionary::get_Project + IL_0012: ldloc.0 + IL_0013: ret + } // end of method XmlLogger::ToString - // method line 1762 - .method family virtual hidebysig - instance default void OnClear () cil managed + // method line 2062 + .method public final virtual hidebysig newslot + instance default void BuildStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x23e23 - // Code size 24 (0x18) - .maxstack 8 + // Method begins at RVA 0x227a8 + // 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]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_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 - // method line 1763 - .method family virtual hidebysig - instance default void OnSet (object key, object oldValue, object newValue) cil managed + } // end .try 0 + finally { // 0 + IL_004f: ldloc.1 + IL_0050: brfalse.s IL_0058 + + 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 + + // method line 2063 + .method public final virtual hidebysig newslot + instance default void BuildFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x23e3c - // Code size 63 (0x3f) + // Method begins at RVA 0x2282c + // Code size 332 (0x14c) .maxstack 4 .locals init ( - string V_0) + 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.1 - IL_0002: castclass [mscorlib]System.String + IL_0001: ldarg.0 + IL_0002: ldfld class [System.Xml]System.Xml.XmlTextWriter NAnt.Core.XmlLogger::_xmlWriter 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_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_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_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 - // method line 1764 - .method family virtual hidebysig - instance default void OnInsert (object key, object 'value') cil managed - { - // Method begins at RVA 0x23e88 - // 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 + } // end .try 0 + finally { // 0 + IL_0069: ldloc.1 + IL_006a: brfalse.s IL_0072 - 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_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 - // method line 1765 - .method family virtual hidebysig - instance default void OnRemove (object key, object 'value') cil managed - { - // Method begins at RVA 0x23ecc - // 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_008f: nop + IL_0090: br IL_014b - 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 + .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_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_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 1766 - .method family virtual hidebysig - instance default void OnValidate (object key, object 'value') cil managed - { - // Method begins at RVA 0x23f08 - // 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_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_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_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 1767 - .method public virtual hidebysig newslot - instance default void AddReadOnly (string name, string 'value') cil managed - { - // Method begins at RVA 0x23f52 - // 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 + } // end .try 1 + finally { // 1 + IL_0127: ldloc.3 + IL_0128: brfalse IL_0133 - 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_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 1768 - .method public virtual hidebysig newslot - instance default void MarkDynamic (string name) cil managed + } // 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 + + // method line 2064 + .method public final virtual hidebysig newslot + instance default void TargetStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x23f80 - // Code size 73 (0x49) - .maxstack 3 + // Method begins at RVA 0x229ac + // Code size 91 (0x5b) + .maxstack 2 + .locals init ( + object V_0, + bool V_1) 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_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_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 + } // end .try 0 + finally { // 0 + IL_0050: ldloc.1 + IL_0051: brfalse.s IL_0059 - 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_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 1769 - .method public virtual hidebysig newslot - instance default void Add (string name, string 'value') cil managed + // method line 2065 + .method public final virtual hidebysig newslot + instance default void TargetFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x23fd5 - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x22a24 + // Code size 64 (0x40) + .maxstack 2 + .locals init ( + object V_0, + bool 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: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IDictionary::Add(object, object) - IL_000e: ret - } // end of method PropertyDictionary::Add + 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 - // method line 1770 - .method public virtual hidebysig newslot - instance default bool IsReadOnlyProperty (string name) cil managed + } // 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::TargetFinished + + // method line 2066 + .method public final virtual hidebysig newslot + instance default void TaskStarted (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x23fe8 - // Code size 21 (0x15) + // Method begins at RVA 0x22a80 + // 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 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_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_0013: ldloc.0 - IL_0014: ret - } // end of method PropertyDictionary::IsReadOnlyProperty + } // end .try 0 + finally { // 0 + IL_0050: ldloc.1 + IL_0051: brfalse.s IL_0059 - // method line 1771 - .method public virtual hidebysig newslot - instance default bool IsDynamicProperty (string name) cil managed + 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 2067 + .method public final virtual hidebysig newslot + instance default void TaskFinished (object sender, class NAnt.Core.BuildEventArgs e) cil managed { - // Method begins at RVA 0x2400c - // Code size 21 (0x15) + // Method begins at RVA 0x22af8 + // Code size 64 (0x40) .maxstack 2 .locals init ( - bool V_0) + object 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: 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_0013: ldloc.0 - IL_0014: ret - } // end of method PropertyDictionary::IsDynamicProperty + } // end .try 0 + finally { // 0 + IL_0035: ldloc.1 + IL_0036: brfalse.s IL_003e - // method line 1772 - .method public virtual hidebysig newslot - instance default void Inherit (class NAnt.Core.PropertyDictionary source, class [System]System.Collections.Specialized.StringCollection excludes) cil managed + 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 2068 + .method private hidebysig + instance default void WriteDuration () cil managed { - // Method begins at RVA 0x24030 - // Code size 221 (0xdd) + // Method begins at RVA 0x22b54 + // Code size 42 (0x2a) .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) + valuetype [mscorlib]System.TimeSpan V_0) 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_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_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_003f: nop - IL_0040: leave IL_00b8 + 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_0045: ldarg.0 - IL_0046: ldloc.2 - IL_0047: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) - IL_004c: brfalse IL_0057 + // method line 2069 + .method public final virtual hidebysig newslot + instance default void MessageLogged (object sender, class NAnt.Core.BuildEventArgs e) cil managed + { + // Method begins at RVA 0x22b8c + // 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: call instance valuetype NAnt.Core.Level class NAnt.Core.XmlLogger::get_Threshold() + IL_000d: blt IL_00ed - IL_0051: nop - IL_0052: leave IL_00b8 + 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_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_0031: nop + IL_0032: br IL_00ed - IL_0081: nop + 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: 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_009c: ldarg.0 - IL_009d: ldloc.2 - IL_009e: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) - IL_00a3: brtrue IL_00b7 + IL_0083: ldloc.0 + IL_0084: call instance bool class NAnt.Core.XmlLogger::IsValidXml(string) + IL_0089: brfalse IL_00b2 - 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_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_00c3: leave IL_00dc + 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_00c8: ldloc.1 - IL_00c9: isinst [mscorlib]System.IDisposable - IL_00ce: dup - IL_00cf: stloc.3 - IL_00d0: brfalse IL_00db + IL_00e2: ldloc.2 + IL_00e3: brfalse.s IL_00eb - IL_00d5: ldloc.3 - IL_00d6: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_00db: endfinally + IL_00e5: ldloc.1 + IL_00e6: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_00eb: endfinally } // end handler 0 - IL_00dc: ret - } // end of method PropertyDictionary::Inherit + IL_00ec: nop + IL_00ed: ret + } // end of method XmlLogger::MessageLogged - // method line 1773 - .method public hidebysig - instance default string ExpandProperties (string input, class NAnt.Core.Location location) cil managed + // method line 2070 + .method public final virtual hidebysig newslot specialname + instance default valuetype NAnt.Core.Level get_Threshold () cil managed { - // Method begins at RVA 0x2412c - // Code size 31 (0x1f) - .maxstack 5 + // Method begins at RVA 0x22c98 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Collections.Hashtable V_0, - class [mscorlib]System.Collections.Stack V_1, - string V_2) + valuetype NAnt.Core.Level 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: ldfld valuetype NAnt.Core.Level NAnt.Core.XmlLogger::_threshold + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001d: ldloc.2 - IL_001e: ret - } // end of method PropertyDictionary::ExpandProperties + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlLogger::get_Threshold - // method line 1774 - .method public hidebysig - instance default bool Contains (string name) cil managed + // method line 2071 + .method public final virtual hidebysig newslot specialname + instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed { - // Method begins at RVA 0x24158 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x22cb3 + // 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 + + // method line 2072 + .method public virtual hidebysig newslot specialname + instance default bool get_EmacsMode () cil managed + { + // Method begins at RVA 0x22cc0 + // Code size 10 (0xa) + .maxstack 1 .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_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_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PropertyDictionary::Contains + IL_0008: ldloc.0 + IL_0009: ret + } // end of method XmlLogger::get_EmacsMode - // method line 1775 - .method public hidebysig - instance default void Remove (string name) cil managed + // method line 2073 + .method public virtual hidebysig newslot specialname + instance default void set_EmacsMode (bool 'value') cil managed { - // Method begins at RVA 0x24179 - // Code size 14 (0xe) + // Method begins at RVA 0x22cd6 + // Code size 2 (0x2) .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 + IL_0001: ret + } // end of method XmlLogger::set_EmacsMode - // method line 1776 - .method assembly hidebysig - instance default string GetPropertyValue (string propertyName) cil managed + // method line 2074 + .method public final virtual hidebysig newslot specialname + instance default class [mscorlib]System.IO.TextWriter get_OutputWriter () cil managed { - // Method begins at RVA 0x24188 - // Code size 33 (0x21) - .maxstack 2 + // Method begins at RVA 0x22cdc + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.IO.TextWriter 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: ldfld class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::_outputWriter + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001f: ldloc.0 - IL_0020: ret - } // end of method PropertyDictionary::GetPropertyValue + IL_000d: ldloc.0 + IL_000e: ret + } // end of method XmlLogger::get_OutputWriter - // method line 1777 - .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 2075 + .method public final virtual hidebysig newslot specialname + instance default void set_OutputWriter (class [mscorlib]System.IO.TextWriter 'value') cil managed { - // Method begins at RVA 0x241b8 - // Code size 20 (0x14) - .maxstack 5 - .locals init ( - string V_0) + // Method begins at RVA 0x22cf7 + // Code size 9 (0x9) + .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_0012: ldloc.0 - IL_0013: ret - } // end of method PropertyDictionary::ExpandProperties + IL_0003: stfld class [mscorlib]System.IO.TextWriter NAnt.Core.XmlLogger::_outputWriter + IL_0008: ret + } // end of method XmlLogger::set_OutputWriter - // method line 1778 - .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 2076 + .method public final virtual hidebysig newslot + instance default void Flush () cil managed { - // Method begins at RVA 0x241d8 - // Code size 611 (0x263) - .maxstack 4 + // Method begins at RVA 0x22d04 + // Code size 47 (0x2f) + .maxstack 2 .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) + object V_0, + bool V_1) 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_001d: nop - IL_001e: ldarg.1 - IL_001f: stloc.0 - IL_0020: br IL_0261 - + 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_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 + 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 } // 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_0229: ldloc.s 10 - IL_022b: stloc.s 13 - IL_022d: br IL_0242 - - 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 + finally { // 0 + IL_0024: ldloc.1 + IL_0025: brfalse.s IL_002d - 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 + IL_0027: ldloc.0 + IL_0028: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_002d: endfinally } // end handler 0 - IL_0261: ldloc.0 - IL_0262: ret - } // end of method PropertyDictionary::EvaluateEmbeddedExpressions - - // method line 1779 - .method private hidebysig - instance default void CheckDeprecation (string name) cil managed - { - // Method begins at RVA 0x24464 - // 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.1 - IL_0002: brfalse IL_0352 - - IL_0007: ldsfld class [mscorlib]System.Collections.Generic.Dictionary`2 NAnt.Core.PropertyDictionary::'<>f__switch$map0' - IL_000c: brtrue IL_00d9 - - 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 + IL_002e: ret + } // end of method XmlLogger::Flush - 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 2077 + .method public hidebysig + instance default string StripFormatting (string message) cil managed + { + // Method begins at RVA 0x22d50 + // Code size 119 (0x77) + .maxstack 3 + .locals init ( + 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: 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_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_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_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 + 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_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_0075: ldloc.3 + IL_0076: ret + } // end of method XmlLogger::StripFormatting - 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 2078 + .method public hidebysig + instance default bool IsJustWhiteSpace (string message) cil managed + { + // Method begins at RVA 0x22dd4 + // Code size 32 (0x20) + .maxstack 2 + .locals init ( + class [System]System.Text.RegularExpressions.Regex V_0, + bool 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_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_001e: ldloc.1 + IL_001f: ret + } // end of method XmlLogger::IsJustWhiteSpace - 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 2079 + .method private hidebysig + instance default void WriteErrorNode (class [mscorlib]System.Exception exception) cil managed + { + // Method begins at RVA 0x22e00 + // Code size 505 (0x1f9) + .maxstack 4 + .locals init ( + class NAnt.Core.BuildException V_0, + int32 V_1, + int32 V_2) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_000d - 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_0007: nop + IL_0008: br IL_01f8 - 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_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_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_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_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_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_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_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_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_0083: nop + IL_0084: ldloc.0 + IL_0085: callvirt instance string class NAnt.Core.BuildException::get_RawMessage() + IL_008a: brfalse IL_00c3 - 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 + 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_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_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_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_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_0352: br IL_0357 + IL_0173: nop + IL_0174: ldarg.1 + IL_0175: callvirt instance string class [mscorlib]System.Exception::get_Message() + IL_017a: brfalse IL_01b3 - IL_0357: ret - } // end of method PropertyDictionary::CheckDeprecation + 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 1780 - .method private static hidebysig - default void ValidatePropertyName (string propertyName, class NAnt.Core.Location location) cil managed + // method line 2080 + .method private hidebysig + instance default bool IsValidXml (string message) cil managed { - // Method begins at RVA 0x247c8 - // Code size 108 (0x6c) + // Method begins at RVA 0x23008 + // Code size 96 (0x60) .maxstack 3 + .locals init ( + class [System.Xml]System.Xml.XmlValidatingReader V_0, + bool 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_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_003e: ldarg.0 - IL_003f: ldstr "." - IL_0044: callvirt instance bool string::EndsWith(string) - IL_0049: brfalse IL_006b + 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_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_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 - // method line 1781 - .method private static hidebysig - default void ValidatePropertyValue (object 'value', class NAnt.Core.Location location) cil managed - { - // Method begins at RVA 0x24840 - // Code size 70 (0x46) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: brfalse IL_003f + IL_0036: ldc.i4.1 + IL_0037: stloc.1 + IL_0038: leave IL_005e - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: isinst [mscorlib]System.String - IL_000e: brtrue IL_0039 + } // 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_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 + } // end handler 0 + } // end .try 1 + finally { // 1 + IL_0046: nop + IL_0047: ldloc.0 + IL_0048: brfalse IL_0055 - IL_003f: nop - IL_0040: br IL_0045 + 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_0045: ret - } // end of method PropertyDictionary::ValidatePropertyValue + IL_005e: ldloc.1 + IL_005f: ret + } // end of method XmlLogger::IsValidXml - // method line 1782 - .method assembly static hidebysig - default class NAnt.Core.BuildException CreateCircularException (string end, class [mscorlib]System.Collections.Stack stack) cil managed + // method line 2081 + .method private hidebysig + instance default string StripCData (string message) cil managed { - // Method begins at RVA 0x24894 - // Code size 85 (0x55) - .maxstack 2 + // Method begins at RVA 0x23090 + // Code size 42 (0x2a) + .maxstack 3 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1, - class NAnt.Core.BuildException V_2) + string V_0, + string V_1) 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_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_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_0028: ldloc.1 + IL_0029: ret + } // end of method XmlLogger::StripCData - IL_0053: ldloc.2 - IL_0054: ret - } // end of method PropertyDictionary::CreateCircularException + // method line 2082 + .method private hidebysig + instance default void WriteNameAttribute (string name) cil managed + { + // Method begins at RVA 0x230c6 + // 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 - .property instance string Item (string) + .property instance valuetype NAnt.Core.Level Threshold () { - .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 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 class NAnt.Core.Project Project () + .property instance bool EmacsMode () { - .get instance default class NAnt.Core.Project NAnt.Core.PropertyDictionary::get_Project () + .get instance default bool NAnt.Core.XmlLogger::get_EmacsMode () + .set instance default void NAnt.Core.XmlLogger::set_EmacsMode (bool 'value') } - } // end of class NAnt.Core.PropertyDictionary -} - -.namespace NAnt.Core -{ - .class public auto ansi beforefieldinit DataTypeBaseDictionary + .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 - 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 + { + .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" - // method line 1783 + // method line 2083 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x248f5 - // Code size 19 (0x13) + // Method begins at RVA 0x230da + // 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 Elements::.ctor - // method line 1784 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.DataTypeBaseDictionary original) cil managed - { - // Method begins at RVA 0x24909 - // 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 + } // end of class Elements - // method line 1785 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary) cil managed - { - // Method begins at RVA 0x24923 - // 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 + .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 1786 + // method line 2084 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity) cil managed + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x24938 - // Code size 20 (0x14) + // Method begins at RVA 0x230e2 + // 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: 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 + IL_0006: ret + } // end of method Attributes::.ctor - // method line 1787 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Collections.IDictionary dictionary, float32 loadFactor) cil managed - { - // Method begins at RVA 0x2494d - // 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.DataTypeBaseDictionary::_innerHash - IL_0014: ret - } // end of method DataTypeBaseDictionary::.ctor + } // end of class Attributes - // method line 1788 - .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 0x24963 - // 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 + } // end of class NAnt.Core.XmlLogger +} - // method line 1789 +.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 ) // .. + + .field private class NAnt.Core.PropertyDictionary _properties + .field private class [mscorlib]System.Collections.Hashtable _state + .field private class [mscorlib]System.Collections.Stack _visiting + + // method line 2085 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (int32 capacity, int32 loadFactor) cil managed + 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 0x24979 - // Code size 22 (0x16) + // Method begins at RVA 0x26966 + // Code size 31 (0x1f) .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_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: 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_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 1790 - .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 line 2086 + .method family virtual hidebysig + instance default object EvaluateProperty (string propertyName) cil managed { - // Method begins at RVA 0x24990 - // 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 + // Method begins at RVA 0x26988 + // 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 - // method line 1791 - .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 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method ExpressionEvaluator::EvaluateProperty + + // method line 2087 + .method family virtual hidebysig + instance default object EvaluateFunction (class [mscorlib]System.Reflection.MethodInfo methodInfo, object[] args) cil managed { - // Method begins at RVA 0x249a7 - // 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 + // Method begins at RVA 0x269a4 + // Code size 184 (0xb8) + .maxstack 5 + .locals init ( + object V_0, + class [mscorlib]System.Reflection.ConstructorInfo V_1, + object V_2, + class [mscorlib]System.Reflection.TargetInvocationException 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 - // method line 1792 - .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 + 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_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 2088 + .method public hidebysig + instance default string GetPropertyValue (string propertyName) cil managed { - // Method begins at RVA 0x249be - // 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 + .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 line 1793 - .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 0x26a78 + // Code size 271 (0x10f) + .maxstack 5 + .locals init ( + 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: 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_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_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_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_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_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_010d: ldloc.3 + IL_010e: ret + } // end of method ExpressionEvaluator::GetPropertyValue + + } // end of class NAnt.Core.ExpressionEvaluator +} + +.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 + + // method line 2089 + .method family hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x249d7 - // Code size 24 (0x18) + // Method begins at RVA 0x570c + // 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: 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_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 1794 - .method assembly hidebysig specialname - instance default class [mscorlib]System.Collections.Hashtable get_InnerHash () cil managed + // method line 2090 + .method public hidebysig specialname + instance default bool get_FailOnError () cil managed { - // Method begins at RVA 0x249f0 + // Method begins at RVA 0x5730 // Code size 15 (0xf) .maxstack 1 .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.Core.DataTypeBaseDictionary::_innerHash + 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 DataTypeBaseDictionary::get_InnerHash + } // end of method Task::get_FailOnError - // method line 1795 - .method assembly hidebysig specialname - instance default void set_InnerHash (class [mscorlib]System.Collections.Hashtable 'value') cil managed + // method line 2091 + .method public hidebysig specialname + instance default void set_FailOnError (bool 'value') cil managed { - // Method begins at RVA 0x24a0b + // Method begins at RVA 0x574b // 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_0003: stfld bool NAnt.Core.Task::_failOnError IL_0008: ret - } // end of method DataTypeBaseDictionary::set_InnerHash + } // end of method Task::set_FailOnError - // method line 1796 - .method public hidebysig - instance default class NAnt.Core.DataTypeBaseDictionaryEnumerator GetEnumerator () cil managed + // method line 2092 + .method public virtual hidebysig newslot specialname + instance default bool get_Verbose () cil managed { - // Method begins at RVA 0x24a18 - // Code size 15 (0xf) + // Method begins at RVA 0x5758 + // Code size 34 (0x22) .maxstack 1 .locals init ( - class NAnt.Core.DataTypeBaseDictionaryEnumerator V_0) + bool 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: ldfld bool NAnt.Core.Task::_verbose + IL_0007: brtrue IL_0019 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionary::GetEnumerator + 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 - // method line 1797 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator () cil managed + 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 + + // method line 2093 + .method public virtual hidebysig newslot specialname + instance default void set_Verbose (bool 'value') cil managed { - // Method begins at RVA 0x24a34 - .override class [mscorlib]System.Collections.IDictionary::GetEnumerator - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Collections.IDictionaryEnumerator V_0) + // Method begins at RVA 0x5786 + // Code size 9 (0x9) + .maxstack 8 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_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.GetEnumerator + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Task::_verbose + IL_0008: ret + } // end of method Task::set_Verbose - // method line 1798 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 2094 + .method public hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x24a50 - .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator + // Method begins at RVA 0x5790 // 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 NAnt.Core.DataTypeBaseDictionaryEnumerator class NAnt.Core.DataTypeBaseDictionary::GetEnumerator() + 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 DataTypeBaseDictionary::System.Collections.IEnumerable.GetEnumerator - - // method line 1799 - .method public hidebysig - instance default void Remove (string key) cil managed - { - // Method begins at RVA 0x24a6b - // 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 + } // end of method Task::get_IfDefined - // method line 1800 - .method private final virtual hidebysig newslot - instance default void System.Collections.IDictionary.Remove (object key) cil managed + // method line 2095 + .method public hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed { - // Method begins at RVA 0x24a7a - .override class [mscorlib]System.Collections.IDictionary::Remove - // Code size 14 (0xe) + // Method begins at RVA 0x57ab + // Code size 9 (0x9) .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 - - // method line 1801 - .method public hidebysig - instance default bool Contains (string key) cil managed - { - // Method begins at RVA 0x24a8c - // 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.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_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseDictionary::Contains + IL_0003: stfld bool NAnt.Core.Task::_ifDefined + IL_0008: ret + } // end of method Task::set_IfDefined - // method line 1802 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IDictionary.Contains (object key) cil managed + // method line 2096 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x24ab0 - .override class [mscorlib]System.Collections.IDictionary::Contains - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x57b8 + // Code size 15 (0xf) + .maxstack 1 .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.DataTypeBaseDictionary::Contains(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.Contains - - // method line 1803 - .method public final virtual hidebysig newslot - instance default void Clear () cil managed - { - // Method begins at RVA 0x24ad1 - // 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_0002: ldfld bool NAnt.Core.Task::_unlessDefined + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1804 - .method public hidebysig - instance default void Add (string key, class NAnt.Core.DataTypeBase 'value') cil managed - { - // Method begins at RVA 0x24adf - // 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_000d: ldloc.0 IL_000e: ret - } // end of method DataTypeBaseDictionary::Add + } // end of method Task::get_UnlessDefined - // method line 1805 - .method private final virtual hidebysig newslot - instance default void System.Collections.IDictionary.Add (object key, object 'value') cil managed + // method line 2097 + .method public hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x24aef - .override class [mscorlib]System.Collections.IDictionary::Add - // Code size 20 (0x14) + // Method begins at RVA 0x57d3 + // Code size 9 (0x9) .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::Add(string, class NAnt.Core.DataTypeBase) - IL_0013: ret - } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.Add + IL_0003: stfld bool NAnt.Core.Task::_unlessDefined + IL_0008: ret + } // end of method Task::set_UnlessDefined - // method line 1806 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsReadOnly () cil managed + // method line 2098 + .method public virtual hidebysig specialname + instance default string get_Name () cil managed { - // Method begins at RVA 0x24b04 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x57e0 + // 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: 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_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_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionary::get_IsReadOnly + 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 1807 + IL_0034: ldloc.2 + IL_0035: ret + } // end of method Task::get_Name + + // method line 2099 .method public hidebysig specialname - instance default class NAnt.Core.DataTypeBase get_Item (string key) cil managed + instance default string get_LogPrefix () cil managed { - // Method begins at RVA 0x24b24 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x5824 + // Code size 48 (0x30) + .maxstack 3 .locals init ( - class NAnt.Core.DataTypeBase V_0) + string V_0, + string V_1) 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_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_0018: ldloc.0 - IL_0019: ret - } // end of method DataTypeBaseDictionary::get_Item + IL_002e: ldloc.1 + IL_002f: ret + } // end of method Task::get_LogPrefix - // method line 1808 + // method line 2100 .method public hidebysig specialname - instance default void set_Item (string key, class NAnt.Core.DataTypeBase 'value') cil managed + instance default valuetype NAnt.Core.Level get_Threshold () cil managed { - // Method begins at RVA 0x24b4a + // Method begins at RVA 0x5860 // 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 - - // method line 1809 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionary.get_Item (object key) cil managed - { - // Method begins at RVA 0x24b5c - .override class [mscorlib]System.Collections.IDictionary::get_Item - // Code size 21 (0x15) - .maxstack 2 + .maxstack 1 .locals init ( - object V_0) + valuetype NAnt.Core.Level 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_0002: ldfld valuetype NAnt.Core.Level NAnt.Core.Task::_threshold + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseDictionary::System.Collections.IDictionary.get_Item + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Task::get_Threshold - // method line 1810 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IDictionary.set_Item (object key, object 'value') cil managed + // method line 2101 + .method public hidebysig specialname + instance default void set_Threshold (valuetype NAnt.Core.Level 'value') cil managed { - // Method begins at RVA 0x24b7d - .override class [mscorlib]System.Collections.IDictionary::set_Item - // Code size 20 (0x14) + // Method begins at RVA 0x587b + // Code size 9 (0x9) .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_0003: stfld valuetype NAnt.Core.Level NAnt.Core.Task::_threshold + IL_0008: ret + } // end of method Task::set_Threshold - // method line 1811 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Collections.ICollection get_Values () cil managed + // method line 2102 + .method assembly hidebysig specialname + instance default class NAnt.Core.TaskBuilder get_TaskBuilder () cil managed { - // Method begins at RVA 0x24b94 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x5888 + // Code size 25 (0x19) + .maxstack 2 .locals init ( - class [mscorlib]System.Collections.ICollection V_0) + class NAnt.Core.TaskBuilder 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: 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_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionary::get_Values + IL_0017: ldloc.0 + IL_0018: ret + } // end of method Task::get_TaskBuilder - // method line 1812 - .method public final virtual hidebysig newslot specialname - instance default class [mscorlib]System.Collections.ICollection get_Keys () cil managed + // method line 2103 + .method public hidebysig + instance default void Execute () cil managed { - // Method begins at RVA 0x24bb4 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x58b0 + // Code size 329 (0x149) + .maxstack 4 .locals init ( - class [mscorlib]System.Collections.ICollection V_0) + class [mscorlib]System.Exception V_0, + string V_1, + class [mscorlib]System.Exception V_2, + int32 V_3) 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_000c: stloc.0 - IL_000d: br IL_0012 + 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_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionary::get_Keys + IL_0030: ldarg.0 + IL_0031: call instance bool class NAnt.Core.Task::get_UnlessDefined() + IL_0036: brtrue IL_0148 - // method line 1813 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsFixedSize () cil managed - { - // Method begins at RVA 0x24bd4 - // 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_000c: stloc.0 - IL_000d: br IL_0012 + 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 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionary::get_IsFixedSize + } // 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 - // method line 1814 - .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 0x24bf4 - .override class [mscorlib]System.Collections.ICollection::CopyTo - // 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 + 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 - // method line 1815 - .method public final virtual hidebysig newslot specialname - instance default bool get_IsSynchronized () cil managed - { - // Method begins at RVA 0x24c04 - // 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_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_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionary::get_IsSynchronized + 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 - // method line 1816 - .method public final virtual hidebysig newslot specialname - instance default int32 get_Count () cil managed - { - // Method begins at RVA 0x24c24 - // 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_000c: stloc.0 - IL_000d: br IL_0012 + 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_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionary::get_Count + 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 - // method line 1817 - .method public final virtual hidebysig newslot specialname - instance default object get_SyncRoot () cil managed - { - // Method begins at RVA 0x24c44 - // 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.DataTypeBaseDictionary::_innerHash - IL_0007: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_SyncRoot() - IL_000c: stloc.0 - IL_000d: br IL_0012 + 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_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionary::get_SyncRoot + 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 1818 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.DataTypeBase[] 'array', int32 index) 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 2104 + .method public virtual hidebysig + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message) cil managed { - // Method begins at RVA 0x24c64 - // Code size 15 (0xf) - .maxstack 8 + // Method begins at RVA 0x5a24 + // Code size 104 (0x68) + .maxstack 4 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 + IL_0002: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Task::IsLogEnabledFor(valuetype NAnt.Core.Level) + IL_0008: brtrue IL_0013 - // method line 1819 - .method public hidebysig - instance default class NAnt.Core.DataTypeBaseDictionary Clone () cil managed - { - // Method begins at RVA 0x24c74 - // Code size 38 (0x26) - .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: 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_000d: nop + IL_000e: br IL_0067 - IL_0024: ldloc.1 - IL_0025: ret - } // end of method DataTypeBaseDictionary::Clone + IL_0013: ldarg.0 + IL_0014: ldfld bool NAnt.Core.Task::_verbose + IL_0019: brfalse IL_0057 - // method line 1820 - .method private final virtual hidebysig newslot - instance default object System.ICloneable.Clone () cil managed + 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: 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_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 2105 + .method public virtual hidebysig + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message, object[] args) cil managed { - // Method begins at RVA 0x24ca8 - .override class [mscorlib]System.ICloneable::Clone - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5a98 + // Code size 23 (0x17) + .maxstack 3 .locals init ( - object V_0) + string 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_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionary::System.ICloneable.Clone + 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 1821 + // method line 2106 .method public hidebysig - instance default bool ContainsKey (string key) cil managed + instance default bool IsLogEnabledFor (valuetype NAnt.Core.Level messageLevel) cil managed { - // Method begins at RVA 0x24cc4 - // Code size 21 (0x15) + // Method begins at RVA 0x5abc + // Code size 66 (0x42) .maxstack 2 .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_0002: ldfld bool NAnt.Core.Task::_verbose + IL_0007: brfalse IL_002e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseDictionary::ContainsKey + IL_000c: ldarg.1 + IL_000d: ldc.i4 2000 + IL_0012: bne.un IL_002e - // method line 1822 + 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_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_0040: ldloc.0 + IL_0041: ret + } // end of method Task::IsLogEnabledFor + + // method line 2107 .method public hidebysig - instance default bool ContainsValue (class NAnt.Core.DataTypeBase 'value') cil managed + instance default void InitializeTaskConfiguration () cil managed { - // Method begins at RVA 0x24ce8 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x5b0c + // Code size 832 (0x340) + .maxstack 7 .locals init ( - bool 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 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 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_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBaseDictionary::ContainsValue + 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 1823 - .method public static hidebysig - default class NAnt.Core.DataTypeBaseDictionary Synchronized (class NAnt.Core.DataTypeBaseDictionary nonSync) cil managed + 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_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_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_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 + + } // 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_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 + + } // end handler 0 + IL_00fe: nop + IL_00ff: nop + IL_0100: br IL_013c + + 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_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 2108 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x24d0c - // Code size 33 (0x21) - .maxstack 2 - .locals init ( - class NAnt.Core.DataTypeBaseDictionary V_0, - class NAnt.Core.DataTypeBaseDictionary V_1) + // Method begins at RVA 0x5e8c + // Code size 14 (0xe) + .maxstack 8 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_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_001f: ldloc.1 - IL_0020: ret - } // end of method DataTypeBaseDictionary::Synchronized + // method line 2109 + .method family virtual hidebysig newslot + instance default void InitializeTask (class [System.Xml]System.Xml.XmlNode taskNode) 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 line 1824 - .method public virtual hidebysig newslot - instance default void Inherit (class NAnt.Core.DataTypeBaseDictionary source) cil managed + // Method begins at RVA 0x5e9b + // Code size 2 (0x2) + .maxstack 8 + IL_0000: nop + IL_0001: ret + } // end of method Task::InitializeTask + + // method line 2110 + .method family virtual hidebysig newslot abstract + instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x24d3c - // Code size 84 (0x54) + // Method begins at RVA 0x0 + } // end of method Task::ExecuteTask + + // method line 2111 + .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 0x5ea0 + // Code size 56 (0x38) .maxstack 4 .locals init ( - string V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class [mscorlib]System.IDisposable V_2) + class [System.Xml]System.Xml.XmlNode V_0, + class [System.Xml]System.Xml.XmlNode V_1) 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_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_0011: stloc.0 + IL_0012: ldloc.0 + IL_0013: brfalse IL_0028 - 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_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_003a: leave IL_0053 + 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 - } // 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_0036: ldloc.1 + IL_0037: ret + } // end of method Task::GetAttributeConfigurationNode - 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 + // method line 2112 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed + { + // Method begins at RVA 0x5ee4 + // 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 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 () + .property instance bool FailOnError () { - .get instance default bool NAnt.Core.DataTypeBaseDictionary::get_IsReadOnly () + .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 ) // .... + + .get instance default bool NAnt.Core.Task::get_FailOnError () + .set instance default void NAnt.Core.Task::set_FailOnError (bool 'value') } - .property instance class NAnt.Core.DataTypeBase Item (string) + .property instance bool Verbose () { - .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') + .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.Task::get_Verbose () + .set instance default void NAnt.Core.Task::set_Verbose (bool 'value') } - .property instance class [mscorlib]System.Collections.ICollection Values () + .property instance bool IfDefined () { - .get instance default class [mscorlib]System.Collections.ICollection NAnt.Core.DataTypeBaseDictionary::get_Values () + .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.Task::get_IfDefined () + .set instance default void NAnt.Core.Task::set_IfDefined (bool 'value') } - .property instance class [mscorlib]System.Collections.ICollection Keys () + .property instance bool UnlessDefined () { - .get instance default class [mscorlib]System.Collections.ICollection NAnt.Core.DataTypeBaseDictionary::get_Keys () + .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.Task::get_UnlessDefined () + .set instance default void NAnt.Core.Task::set_UnlessDefined (bool 'value') } - .property instance bool IsFixedSize () + .property instance string Name () { - .get instance default bool NAnt.Core.DataTypeBaseDictionary::get_IsFixedSize () + .get instance default string NAnt.Core.Task::get_Name () } - .property instance bool IsSynchronized () + .property instance string LogPrefix () { - .get instance default bool NAnt.Core.DataTypeBaseDictionary::get_IsSynchronized () + .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... + + .get instance default string NAnt.Core.Task::get_LogPrefix () } - .property instance int32 Count () + .property instance valuetype NAnt.Core.Level Threshold () { - .get instance default int32 NAnt.Core.DataTypeBaseDictionary::get_Count () + .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 object SyncRoot () + .property instance class NAnt.Core.TaskBuilder TaskBuilder () { - .get instance default object NAnt.Core.DataTypeBaseDictionary::get_SyncRoot () + .get instance default class NAnt.Core.TaskBuilder NAnt.Core.Task::get_TaskBuilder () } - } // end of class NAnt.Core.DataTypeBaseDictionary + } // end of class NAnt.Core.Task } .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 + .class public auto ansi serializable beforefieldinit TargetCollection + extends [mscorlib]System.Collections.ArrayList + { + .field private static initonly class [log4net]log4net.ILog logger - // method line 1825 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.DataTypeBaseDictionary enumerable) cil managed + // method line 2113 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x24dac - // Code size 25 (0x19) + // Method begins at RVA 0x26b93 + // 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: 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_0001: call instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() + IL_0006: ret + } // end of method TargetCollection::.ctor - // method line 1826 - .method public hidebysig specialname - instance default string get_Key () cil managed + // method line 2114 + .method public virtual hidebysig newslot + instance default int32 Add (class NAnt.Core.Target t) cil managed { - // Method begins at RVA 0x24dc8 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0x26b9c + // Code size 121 (0x79) + .maxstack 4 .locals init ( - string V_0) + int32 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_0001: ldarg.1 + IL_0002: brtrue IL_0013 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method DataTypeBaseDictionaryEnumerator::get_Key + 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 - // method line 1827 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionaryEnumerator.get_Key () cil managed + 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_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 + + // method line 2115 + .method public hidebysig + instance default class NAnt.Core.Target Find (string targetName) cil managed { - // Method begins at RVA 0x24df0 - .override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Key - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x26c24 + // Code size 97 (0x61) + .maxstack 2 .locals init ( - object V_0) + 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) 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Key + 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 - // method line 1828 - .method public hidebysig specialname - instance default class NAnt.Core.DataTypeBase get_Value () cil managed + 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_005f: ldloc.2 + IL_0060: ret + } // end of method TargetCollection::Find + + // method line 2116 + .method public hidebysig + instance default string ToString (string separator) cil managed { - // Method begins at RVA 0x24e0c - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0x26ca4 + // Code size 73 (0x49) + .maxstack 4 .locals init ( - class NAnt.Core.DataTypeBase V_0) + string[] V_0, + int32 V_1, + string V_2) 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_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_0017: ldloc.0 - IL_0018: ret - } // end of method DataTypeBaseDictionaryEnumerator::get_Value + 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_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 - // method line 1829 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IDictionaryEnumerator.get_Value () cil managed + 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_0047: ldloc.2 + IL_0048: ret + } // end of method TargetCollection::ToString + + // method line 2117 + .method public virtual hidebysig + instance default int32 Add (object 'value') cil managed { - // Method begins at RVA 0x24e34 - .override class [mscorlib]System.Collections.IDictionaryEnumerator::get_Value - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x26cfc + // Code size 21 (0x15) + .maxstack 2 .locals init ( - object V_0) + int32 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_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_000d: ldloc.0 - IL_000e: ret - } // end of method DataTypeBaseDictionaryEnumerator::System.Collections.IDictionaryEnumerator.get_Value + IL_0013: ldloc.0 + IL_0014: ret + } // end of method TargetCollection::Add - // method line 1830 - .method public final virtual hidebysig newslot specialname - instance default valuetype [mscorlib]System.Collections.DictionaryEntry get_Entry () cil managed + // method line 2118 + .method public virtual hidebysig + instance default string ToString () cil managed { - // Method begins at RVA 0x24e50 + // Method begins at RVA 0x26d20 // Code size 20 (0x14) - .maxstack 1 + .maxstack 2 .locals init ( - valuetype [mscorlib]System.Collections.DictionaryEntry V_0) + 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 valuetype [mscorlib]System.Collections.DictionaryEntry class [mscorlib]System.Collections.IDictionaryEnumerator::get_Entry() + 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 DataTypeBaseDictionaryEnumerator::get_Entry + } // end of method TargetCollection::ToString - // method line 1831 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed + // method line 2119 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () cil managed { - // Method begins at RVA 0x24e70 - // Code size 13 (0xd) + // Method begins at RVA 0x26d40 + // Code size 21 (0x15) .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_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 - // method line 1832 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + } // end of class NAnt.Core.TargetCollection +} + +.namespace NAnt.Core +{ + .class public auto ansi beforefieldinit DataTypeBaseBuilder + extends NAnt.Core.Extensibility.ExtensionBuilder + { + .field private initonly string _className + .field private string _dataTypeName + + // method line 2120 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly', string className) cil managed { - // Method begins at RVA 0x24e80 - // Code size 20 (0x14) + // Method begins at RVA 0x26d56 + // 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 + + // method line 2121 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed + { + // Method begins at RVA 0x26d66 + // 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 + + // method line 2122 + .method public hidebysig specialname + instance default string get_ClassName () cil managed + { + // Method begins at RVA 0x26d78 + // 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.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_0002: ldfld string NAnt.Core.DataTypeBaseBuilder::_className + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionaryEnumerator::MoveNext + IL_000d: ldloc.0 + IL_000e: ret + } // end of method DataTypeBaseBuilder::get_ClassName - // method line 1833 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 2123 + .method public hidebysig specialname + instance default string get_DataTypeName () cil managed { - // Method begins at RVA 0x24ea0 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x26d94 + // Code size 78 (0x4e) + .maxstack 2 .locals init ( - object V_0) + class NAnt.Core.Attributes.ElementNameAttribute V_0, + string V_1) 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_0002: ldfld string NAnt.Core.DataTypeBaseBuilder::_dataTypeName + IL_0007: brtrue IL_0040 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DataTypeBaseDictionaryEnumerator::System.Collections.IEnumerator.get_Current + 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 - // method line 1834 - .method public hidebysig specialname - instance default class NAnt.Core.DataTypeBase get_Current () cil managed + IL_004c: ldloc.1 + IL_004d: ret + } // end of method DataTypeBaseBuilder::get_DataTypeName + + // method line 2124 + .method public hidebysig + instance default class NAnt.Core.DataTypeBase CreateDataTypeBase () cil managed { - // Method begins at RVA 0x24ec0 - // Code size 25 (0x19) - .maxstack 1 + // Method begins at RVA 0x26df0 + .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.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_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_0017: ldloc.0 - IL_0018: ret - } // end of method DataTypeBaseDictionaryEnumerator::get_Current + IL_0028: ldloc.0 + IL_0029: ret + } // end of method DataTypeBaseBuilder::CreateDataTypeBase - .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 () + .property instance string ClassName () { - .get instance default valuetype [mscorlib]System.Collections.DictionaryEntry NAnt.Core.DataTypeBaseDictionaryEnumerator::get_Entry () + .get instance default string NAnt.Core.DataTypeBaseBuilder::get_ClassName () } - .property instance class NAnt.Core.DataTypeBase Current () + .property instance string DataTypeName () { - .get instance default class NAnt.Core.DataTypeBase NAnt.Core.DataTypeBaseDictionaryEnumerator::get_Current () + .get instance default string NAnt.Core.DataTypeBaseBuilder::get_DataTypeName () } - } // end of class NAnt.Core.DataTypeBaseDictionaryEnumerator + } // end of class NAnt.Core.DataTypeBaseBuilder } .namespace NAnt.Core { - .class public auto ansi beforefieldinit ConfigurationSection - extends [mscorlib]System.Object - implements [System]System.Configuration.IConfigurationSectionHandler { + .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 - // method line 1835 + // method line 2125 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x24ee5 - // Code size 7 (0x7) + // Method begins at RVA 0x26e26 + // Code size 19 (0x13) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: ret - } // end of method ConfigurationSection::.ctor + 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 - // method line 1836 - .method public final virtual hidebysig newslot - instance default object Create (object parent, object configContext, class [System.Xml]System.Xml.XmlNode node) cil managed + // method line 2126 + .method public hidebysig specialname + instance default bool get_Executed () cil managed { - // Method begins at RVA 0x24ef0 - // Code size 10 (0xa) + // Method begins at RVA 0x26e3c + // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + bool V_0) 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 - - } // end of class NAnt.Core.ConfigurationSection -} - -.namespace NAnt.Core -{ - .class public auto ansi abstract serializable beforefieldinit DataTypeBase - extends NAnt.Core.Element - { - .field private string _id - .field private string _refID + IL_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Target::_executed + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1837 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0xab42 - // 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_000d: ldloc.0 + IL_000e: ret + } // end of method Target::get_Executed - // method line 1838 + // method line 2127 .method public hidebysig specialname - instance default string get_ID () cil managed + instance default string get_Name () cil managed { - // Method begins at RVA 0xab4c + // Method begins at RVA 0x26e58 // 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_0002: ldfld string NAnt.Core.Target::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DataTypeBase::get_ID + } // end of method Target::get_Name - // method line 1839 + // method line 2128 .method public hidebysig specialname - instance default void set_ID (string 'value') cil managed + instance default void set_Name (string 'value') cil managed { - // Method begins at RVA 0xab67 - // Code size 14 (0xe) + // Method begins at RVA 0x26e73 + // 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.DataTypeBase::_id - IL_000d: ret - } // end of method DataTypeBase::set_ID + IL_0003: stfld string NAnt.Core.Target::_name + IL_0008: ret + } // end of method Target::set_Name - // method line 1840 + // method line 2129 .method public hidebysig specialname - instance default string get_RefID () cil managed + instance default string get_IfCondition () cil managed { - // Method begins at RVA 0xab78 + // Method begins at RVA 0x26e80 // 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_0002: ldfld string NAnt.Core.Target::_ifCondition IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method DataTypeBase::get_RefID + } // end of method Target::get_IfCondition - // method line 1841 + // method line 2130 .method public hidebysig specialname - instance default void set_RefID (string 'value') cil managed + instance default void set_IfCondition (string 'value') cil managed { - // Method begins at RVA 0xab93 + // Method begins at RVA 0x26e9b // 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_0008: stfld string NAnt.Core.Target::_ifCondition IL_000d: ret - } // end of method DataTypeBase::set_RefID + } // end of method Target::set_IfCondition - // method line 1842 + // method line 2131 .method public hidebysig specialname - instance default bool get_CanBeReferenced () cil managed + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0xaba4 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x26eac + // Code size 104 (0x68) + .maxstack 3 .locals init ( - bool V_0) + string V_0, + bool V_1) 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_0013: ldloc.0 - IL_0014: ret - } // end of method DataTypeBase::get_CanBeReferenced + 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 - // method line 1843 - .method public virtual hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0xabc8 - // 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_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_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 .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_0034: ldloc.2 - IL_0035: ret - } // end of method DataTypeBase::get_Name + IL_0066: ldloc.1 + IL_0067: ret + } // end of method Target::get_IfDefined - // method line 1844 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 2132 + .method public hidebysig specialname + instance default string get_UnlessCondition () cil managed { - // Method begins at RVA 0xac0c - // Code size 281 (0x119) - .maxstack 3 + // Method begins at RVA 0x26f30 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance object class NAnt.Core.Element::get_Parent() - IL_0007: brtrue IL_0022 - - 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_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_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_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_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_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_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_0002: ldfld string NAnt.Core.Target::_unlessCondition + IL_0007: stloc.0 + IL_0008: br IL_000d - 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_000d: ldloc.0 + IL_000e: ret + } // end of method Target::get_UnlessCondition - // method line 1845 - .method public virtual hidebysig newslot - instance default void Reset () cil managed + // method line 2133 + .method public hidebysig specialname + instance default void set_UnlessCondition (string 'value') cil managed { - // Method begins at RVA 0xad31 - // Code size 2 (0x2) + // Method begins at RVA 0x26f4b + // Code size 14 (0xe) .maxstack 8 IL_0000: nop - IL_0001: ret - } // end of method DataTypeBase::Reset + 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 - // method line 1846 - .method family hidebysig - instance default void CopyTo (class NAnt.Core.DataTypeBase clone) cil managed + // method line 2134 + .method public hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0xad34 - // Code size 33 (0x21) - .maxstack 8 + // Method begins at RVA 0x26f5c + // Code size 104 (0x68) + .maxstack 3 + .locals init ( + string V_0, + bool V_1) 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 - - .property instance string ID () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 64 00 00 ) // ...id.. + 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 - .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_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 - .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 -} + } // 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 "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 -.namespace NAnt.Core -{ - .class public auto ansi sealed serializable beforefieldinit PathScanner - 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 + IL_0066: ldloc.1 + IL_0067: ret + } // end of method Target::get_UnlessDefined - // method line 1847 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 2135 + .method public hidebysig specialname + instance default void set_Description (string 'value') cil managed { - // Method begins at RVA 0x24f06 - // Code size 18 (0x12) + // Method begins at RVA 0x26fe0 + // Code size 9 (0x9) .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 + 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 1848 - .method private final virtual hidebysig newslot - instance default object System.ICloneable.Clone () cil managed + // method line 2136 + .method public hidebysig specialname + instance default string get_Description () cil managed { - // Method begins at RVA 0x24f1c - .override class [mscorlib]System.ICloneable::Clone + // Method begins at RVA 0x26fec // 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.Core.PathScanner class NAnt.Core.PathScanner::Clone() + 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 PathScanner::System.ICloneable.Clone + } // end of method Target::get_Description - // method line 1849 - .method public hidebysig - instance default class NAnt.Core.PathScanner Clone () cil managed + // method line 2137 + .method public hidebysig specialname + instance default void set_DependsListString (string 'value') cil managed { - // Method begins at RVA 0x24f38 - // Code size 33 (0x21) - .maxstack 2 + // Method begins at RVA 0x27008 + // Code size 86 (0x56) + .maxstack 5 .locals init ( - class NAnt.Core.PathScanner V_0, - class NAnt.Core.PathScanner V_1) + string V_0, + string[] V_1, + int32 V_2, + string V_3) 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_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_001f: ldloc.1 - IL_0020: ret - } // end of method PathScanner::Clone + 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 1850 - .method public hidebysig - instance default void Add (string fileName) cil managed + 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_0055: ret + } // end of method Target::set_DependsListString + + // method line 2138 + .method public hidebysig specialname + instance default class [System]System.Collections.Specialized.StringCollection get_Dependencies () cil managed { - // Method begins at RVA 0x24f65 + // Method begins at RVA 0x2706c // 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 [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_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 PathScanner::Add + } // end of method Target::get_Dependencies - // method line 1851 - .method public hidebysig - instance default void Clear () cil managed + // method line 2139 + .method private final virtual hidebysig newslot + instance default object System.ICloneable.Clone () cil managed { - // Method begins at RVA 0x24f75 - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x27088 + .override class [mscorlib]System.ICloneable::Clone + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + object V_0) 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 + IL_0002: call instance class NAnt.Core.Target class NAnt.Core.Target::Clone() + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 1852 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Target::System.ICloneable.Clone + + // method line 2140 .method public hidebysig - instance default class [System]System.Collections.Specialized.StringCollection Scan () cil managed + instance default class NAnt.Core.Target Clone () cil managed { - // Method begins at RVA 0x24f84 - // Code size 20 (0x14) + // Method begins at RVA 0x270a4 + // Code size 95 (0x5f) .maxstack 2 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + class NAnt.Core.Target V_0, + class NAnt.Core.Target V_1) 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_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 PathScanner::Scan + IL_005d: ldloc.1 + IL_005e: ret + } // end of method Target::Clone - // method line 1853 + // method line 2141 .method public hidebysig - instance default class [System]System.Collections.Specialized.StringCollection Scan (string name) cil managed + instance default void Execute () cil managed { - // Method begins at RVA 0x24fa4 - // Code size 371 (0x173) - .maxstack 4 + // Method begins at RVA 0x27110 + // Code size 473 (0x1d9) + .maxstack 7 .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) + 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: 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_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Target::get_IfDefined() + IL_0007: brfalse IL_01d8 - IL_0014: nop - IL_0015: ldloc.0 - IL_0016: stloc.2 - IL_0017: br IL_0171 + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Target::get_UnlessDefined() + IL_0012: brtrue IL_01d8 - IL_001c: ldloc.1 - IL_001d: ldsfld char [mscorlib]System.IO.Path::PathSeparator - IL_0022: ldc.i4.0 - IL_0023: callvirt instance string[] 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 + IL_0017: nop .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_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_0052: nop - IL_0053: ldloc.s 4 - IL_0055: call bool class [mscorlib]System.IO.File::Exists(string) - IL_005a: brfalse IL_006f + 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_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_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_006f: nop - IL_0070: leave IL_0142 + IL_0076: nop + IL_0077: leave IL_018f - 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_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_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_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_00a8: nop - IL_00a9: leave IL_0130 + 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_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_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_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_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_00d6: nop - IL_00d7: leave IL_0130 + 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_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_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_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_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_0104: nop - IL_0105: leave IL_012f + IL_019a: leave IL_01b5 } // 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 + 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_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 + IL_01b5: nop + IL_01b6: leave IL_01d7 } // 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 + 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_016a: ldloc.0 - IL_016b: stloc.2 - IL_016c: br IL_0171 - - IL_0171: ldloc.2 - IL_0172: ret - } // end of method PathScanner::Scan - - // method line 1854 - .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 0x25158 - // 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 - - IL_0029: ldloc.2 - IL_002a: ret - } // end of method PathScanner::Clone - - // method line 1855 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x2518f - // 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 beforefieldinit TaskBuilder - extends NAnt.Core.Extensibility.ExtensionBuilder - { - .field private initonly string _className - .field private string _taskName - - // method line 1856 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly', string className) cil managed - { - // Method begins at RVA 0x251a5 - // 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 1857 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, string className) cil managed - { - // Method begins at RVA 0x251b5 - // 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 1858 - .method public hidebysig specialname - instance default string get_ClassName () cil managed - { - // Method begins at RVA 0x251c8 - // 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 1859 - .method public hidebysig specialname - instance default string get_TaskName () cil managed - { - // Method begins at RVA 0x251e4 - // Code size 78 (0x4e) - .maxstack 2 - .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_01d7: nop + IL_01d8: ret + } // end of method Target::Execute - 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 + .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. - IL_004c: ldloc.1 - IL_004d: ret - } // end of method TaskBuilder::get_TaskName + .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 1860 - .method public hidebysig - instance default class NAnt.Core.Task CreateTask () cil managed - { - // Method begins at R