~/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