~/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 7f46d41cfd9cd76319fa064ee032e7c4ee3ba16da6a76066fe747f7c8507a09f 0 -/usr/share/NAnt/bin/NAnt.CompressionTasks.dll.mdb d9e193a19a9888e707dc2f7a9abe61510a3f8c8860eb1e5f5ff0d45adb1a1cbe 0 -/usr/share/NAnt/bin/NAnt.CompressionTasks.xml cd22e5d481cec7490edd79c182390e0636716ec16c9e7fdc6c2fccc4f939e0f0 0 -/usr/share/NAnt/bin/NAnt.Core.dll 708bbadfaf453c3f76a4620fb63d24eaf34744ea7c7fa00d54769f8c694bd890 0 -/usr/share/NAnt/bin/NAnt.Core.dll.mdb dbe629eb0211b0fb4c5a94710a973447c772e79ea8ae363c2c341300e13c5c5c 0 -/usr/share/NAnt/bin/NAnt.Core.xml b826e6a9b6655ad006df7cba10e37301c7f5e46f4423d2ec68de08c8ef2e1982 0 -/usr/share/NAnt/bin/NAnt.DotNetTasks.dll 794cb421b043b12cbacbd8bb1ad1d8280cb7ccdbebda12ee0b799be82fa3a9d4 0 -/usr/share/NAnt/bin/NAnt.DotNetTasks.dll.mdb 482c80222cd70f57a21529ae10687cc30bcfec1f3035c2bbc73f71cb92e58c02 0 -/usr/share/NAnt/bin/NAnt.DotNetTasks.xml 3317c680c22b59e0d58f4b801a67818f98aca49b0cee60934e2a127c45540eb7 0 -/usr/share/NAnt/bin/NAnt.NUnit.dll b8ed9acd41a396081e323b70e27617e377fab8d351278d7e27b1463445324e8b 0 -/usr/share/NAnt/bin/NAnt.NUnit.dll.mdb 1d7ab912b88b07ad961f65ffaffec1a165d9ed252f4f54f0dffe2ee9c64382c1 0 -/usr/share/NAnt/bin/NAnt.NUnit.xml 88ace49b289fdc54a740e5ecca79d44d887c28628691199e42bf4ff0badc0dd4 0 -/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll 0ae795eb4733fb6882268a3f7455483e43aa849aa406698ab89da34f672ce668 0 -/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll.mdb f1edad416fe0f03590f59a18397e9ed9d7243b3adf85f90436b83250c84a6014 0 -/usr/share/NAnt/bin/NAnt.NUnit1Tasks.xml 4fc791f3acbb4568bef672f50ba1425143a56321f7346e3cc140c35d81d3450d 0 -/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll 3fb27aca0e147ac15fb7c3af180b01195f1217a9b9257527469439e34f343fff 0 -/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll.mdb f1414a0450616832941412600686c2d32479531e00085141c8e89c62ab3b095c 0 -/usr/share/NAnt/bin/NAnt.NUnit2Tasks.xml 51432fef429be380a02b99a72ff52d22c5ffd99001df73ab46f8fcd55d3e52f9 0 -/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll 8dcc0107c7b9e2cef6928502b56bdcc81b6ad5e4b686d31c683d1f780799a4cf 0 -/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll.mdb 3586a12a4db3b69c20df003b7326f115570e13f46f47de543f1813673bd376eb 0 -/usr/share/NAnt/bin/NAnt.SourceControlTasks.xml 33ec56622edb39d51a9f314ec3dcb67dbdd7675de25b0dce8d7f5b0d820dd7e5 0 -/usr/share/NAnt/bin/NAnt.VSNetTasks.dll 9cbced7cae65a120cd39588bc89f8ec89974ed1bd69e47c5bb7c83561f969ad9 0 -/usr/share/NAnt/bin/NAnt.VSNetTasks.dll.mdb b3cf9d957b23f15541cd13d2dfb690022c95540fe9aaa03f1b7db9e37d7d7678 0 -/usr/share/NAnt/bin/NAnt.VSNetTasks.xml 3f872ed5ecc787b6449d22a884b4f963529ebaa74728276e521d77980e66c801 0 -/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll a255685d1fe802ad831db8b3bbe1ffb6d2a9fe7e9010a4141265a132093ed550 0 -/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll.mdb 86265dae105f6338724ec084b86a0500181ef1d64275eb03e80eab9969f89119 0 -/usr/share/NAnt/bin/NAnt.VisualCppTasks.xml 91f15721115756b3cae9533ceb8fd4fd49674b995934a145fb1cf5aa905a5127 0 -/usr/share/NAnt/bin/NAnt.Win32Tasks.dll f1364d89fcc227e821ccad916bf46cd58b7c0b713c543d597d053506d8abca5f 0 -/usr/share/NAnt/bin/NAnt.Win32Tasks.dll.mdb d461740d2bfef73d1e31ea0746a637a701359616c19b792b176ec81e17727491 0 -/usr/share/NAnt/bin/NAnt.Win32Tasks.xml e8a5c60a21f8b4df3dbfd8fff08371782385552ec35af8fb5a912095cd6ec9d2 0 +/usr/share/NAnt/bin/NAnt.CompressionTasks.dll 30d1aa6698d0df0c785d3a2533a8812c0bd272fc91a5aa3ba34bb5e85f83c543 0 +/usr/share/NAnt/bin/NAnt.CompressionTasks.dll.mdb dc68943636ad32968ea723e9f614fff0dd2fae24466d8b61b6b120db273e19ea 0 +/usr/share/NAnt/bin/NAnt.CompressionTasks.xml e2fa8e56ba74ad2edc805ef156a8d6b2833e4b7a257a5b4d32837d3677eb440c 0 +/usr/share/NAnt/bin/NAnt.Core.dll 1d797352767564bb696d0447fcd7293483372439c025689f4364aab0d8424722 0 +/usr/share/NAnt/bin/NAnt.Core.dll.mdb 3fb230387bc5709fd93a3a9fb7d001dd06f6e4f1feedf5af911108708408c27c 0 +/usr/share/NAnt/bin/NAnt.Core.xml 480cd01d6311f0bda59e3526ef41e757132bc53ded7e372705bd5fd31dcbb14a 0 +/usr/share/NAnt/bin/NAnt.DotNetTasks.dll c6b08baf95f4d3d728f518b59782b65b092ecf5dea574297d2eaf66ca24c57d7 0 +/usr/share/NAnt/bin/NAnt.DotNetTasks.dll.mdb 6f91d37cc5c6c581a082276245bea6ca85ddbc23a6d67922ec205e88fb285e5f 0 +/usr/share/NAnt/bin/NAnt.DotNetTasks.xml c4c5a7543a5ee96376e92037e91854eec0ba09f19c73a8314711513ec773ef3e 0 +/usr/share/NAnt/bin/NAnt.NUnit.dll 6bbf079a3ccbb56a6f311e68e8ad56291c9b4ce3a7e315a44a0c1706a2e4df41 0 +/usr/share/NAnt/bin/NAnt.NUnit.dll.mdb 8904f078dd262b1005122e64551112f8d240e9d91ddb300e7c69d5bec97cd387 0 +/usr/share/NAnt/bin/NAnt.NUnit.xml f28ee83a187d9628641c74252cbb0787c4ebb5ad10a41b30859ffd603eb91344 0 +/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll aaa81460e9e591b9a006fc7b6a5182995e20eb945db838d1ec540036fa826704 0 +/usr/share/NAnt/bin/NAnt.NUnit1Tasks.dll.mdb 73e5930fc11ddeaeb3f3224e269fa29b33738c4221bec0f77308ceb6d4d79e93 0 +/usr/share/NAnt/bin/NAnt.NUnit1Tasks.xml 6c70ff735550ea0b49a5e4abb47020ec2f0aa6ccf84ef6bc3141dba7adf0b805 0 +/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll 14a8582f8458918e21a10926d53965d02509d025b508b76567b6a7e5614edc25 0 +/usr/share/NAnt/bin/NAnt.NUnit2Tasks.dll.mdb 020966c55bddf7e42e13d35396be2f127b7687e252e0c1dfebafb61d51fac757 0 +/usr/share/NAnt/bin/NAnt.NUnit2Tasks.xml 7be8ca93cfc78cc094df3ce7f5479c2316ab789fe11c9e449110eacea9a50504 0 +/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll 4a3d67a8d5ca0005bf9796691a6bd7ca9f527b59d4bcc4d52caa0d89e01b5447 0 +/usr/share/NAnt/bin/NAnt.SourceControlTasks.dll.mdb 52a839b55e252ce82c6efd246288afa066cd460b586ec4993d952ce0fb651586 0 +/usr/share/NAnt/bin/NAnt.SourceControlTasks.xml e6b148a8996baf6783d8003eff445d8b2e86427cde7c22523f5d6620a43fb8da 0 +/usr/share/NAnt/bin/NAnt.VSNetTasks.dll 9ad5dfc0bcd6fe4eec1a3da3aa45823a009036e623e1eb3a06ff9eb177eaf68f 0 +/usr/share/NAnt/bin/NAnt.VSNetTasks.dll.mdb bb76fd49438ec5839ae9ae2719492d82ad0b79ce8fecd2e9ac18b21aab0982fa 0 +/usr/share/NAnt/bin/NAnt.VSNetTasks.xml c35bd1a37a69fb8fac72a491767908bd1c99830f1c6b2b9e8b401793c8dea11d 0 +/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll 926650fb98af3cd5e19ded306ec8957eb97b6a1888f1e081567d9824bf4657b2 0 +/usr/share/NAnt/bin/NAnt.VisualCppTasks.dll.mdb 97edcab3f33b06747ad5b3d1a0dcfdbf65f6cf91fd291e667ec8c3a80373c116 0 +/usr/share/NAnt/bin/NAnt.VisualCppTasks.xml f1f2137b0ab5ecdb180353b2acf9455cebab4fa841312aad6aec876442fc08ff 0 +/usr/share/NAnt/bin/NAnt.Win32Tasks.dll ec81903695216bcad384108e1d0cb2386e6386b28c122559ae4ccdf9028e4cc4 0 +/usr/share/NAnt/bin/NAnt.Win32Tasks.dll.mdb e6c554242cbdba1f8f0554e826d1f72088f3a9affad7772e07d42bc65f9ab8b7 0 +/usr/share/NAnt/bin/NAnt.Win32Tasks.xml d5e92a84c99bb5eeed5bbd8bbafc13a931450c2dd7e71aebacbc16be6432c3fe 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 cd1e05f8f45a790bba0d8ad5f1b64ca5256dad3ebc56dcb716adc1a5225278b0 0 /usr/share/NAnt/bin/NAnt.xml d64dc7eda2810a1168f2d55d27e5556c35e933519cfe52a77eca150cf2dc4ff2 0 -/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll 2cfba474b8a0c2983dd9cab838096bde092597b5698f08683f8f632506646aeb 0 -/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll.mdb 9100a3f95e008e3eb4a6dab1cc916f5d941385127c2f59ebbe38f05cc30a7375 0 -/usr/share/NAnt/bin/NDoc.Documenter.NAnt.xml 272cccf9448e3ab2109520bacbaacb88aab515f60477165e60ad1bd2ea43a178 0 +/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll 0a7bbfb767601b1a88040e04c75938b5a723e1623515ad8c6d898046edbe7ce4 0 +/usr/share/NAnt/bin/NDoc.Documenter.NAnt.dll.mdb 1c9632f6b6e4315b45189f813e4348fc8595da8c6f136e45bedf93988b143720 0 +/usr/share/NAnt/bin/NDoc.Documenter.NAnt.xml 59d22fe77f9e68747bb436d53e3ec6d9e6961f88f347a2193275a62c44bc2b7b 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 3a96a3e9712eeeabbaaf3b4914e15063189446bb18ec44acd7c4f808ac86df8f 0 -/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll.mdb 3c5a821a7651b656cc19b9cf0e0f631115880345df9521cb15b482b11155d841 0 -/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.xml 743d928776e2e0282a3557189ef0017714a98a1504fd96668d64fb675dedee2d 0 +/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll e8e8a068ad87d59b0b9bf4db98213829f91589d7f34c4cd79d09f603d9a69461 0 +/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.dll.mdb 5c74560c0fed1702ab5b9164a95dfca45ae4d9fa8b4d98a5eba8ea79dbaa4cd8 0 +/usr/share/NAnt/bin/extensions/common/4.5/NAnt.MSBuild.xml 0ac3523f44914d1ee83ea49661960c350452c6f6878d8381cd67797002fcab51 0 /usr/share/NAnt/bin/lib 0 /usr/share/NAnt/bin/lib/common 0 /usr/share/NAnt/bin/lib/common/2.0 0 comparing rpmtags comparing RELEASE comparing PROVIDES comparing scripts comparing filelist comparing file checksum creating rename script RPM file checksum differs. Extracting packages PE32 Mono/.Net assembly: /usr/share/NAnt/bin/NAnt.CompressionTasks.dll /usr/share/NAnt/bin/NAnt.CompressionTasks.dll differs (PE32 executable (DLL) (console) Intel 80386, Mono/.Net assembly, for MS Windows) --- old /usr/share/NAnt/bin/NAnt.CompressionTasks.dll (monodis) +++ new /usr/share/NAnt/bin/NAnt.CompressionTasks.dll (monodis) @@ -3,15 +3,15 @@ .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } +.assembly extern NAnt.Core +{ + .ver 0:93:1:0 +} .assembly extern System { .ver 4:0:0:0 .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4.. } -.assembly extern NAnt.Core -{ - .ver 0:93:1:0 -} .assembly extern ICSharpCode.SharpZipLib { .ver 0:86:0:518 @@ -64,6 +64,520 @@ .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 1 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x2050 + // 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 2 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection 'value') cil managed + { + // Method begins at RVA 0x2059 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Compression.Types.TarFileSetCollection::AddRange(class NAnt.Compression.Types.TarFileSetCollection) + IL_000e: ret + } // end of method TarFileSetCollection::.ctor + + // method line 3 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.TarFileSet[] 'value') cil managed + { + // Method begins at RVA 0x2069 + // 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 4 + .method public hidebysig specialname + instance default class NAnt.Compression.Types.TarFileSet get_Item (int32 index) cil managed + { + // Method begins at RVA 0x207c + // 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 5 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Compression.Types.TarFileSet 'value') cil managed + { + // Method begins at RVA 0x20a2 + // 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 6 + .method public hidebysig specialname + instance default int32 get_FileCount () cil managed + { + // Method begins at RVA 0x20b4 + // 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 7 + .method public hidebysig + instance default int32 Add (class NAnt.Compression.Types.TarFileSet item) cil managed + { + // Method begins at RVA 0x2130 + // 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 8 + .method public hidebysig + instance default void AddRange (class NAnt.Compression.Types.TarFileSet[] items) cil managed + { + // Method begins at RVA 0x2154 + // 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 9 + .method public hidebysig + instance default void AddRange (class NAnt.Compression.Types.TarFileSetCollection items) cil managed + { + // Method begins at RVA 0x2184 + // 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 10 + .method public hidebysig + instance default bool Contains (class NAnt.Compression.Types.TarFileSet item) cil managed + { + // Method begins at RVA 0x21bc + // 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 11 + .method public hidebysig + instance default void CopyTo (class NAnt.Compression.Types.TarFileSet[] 'array', int32 index) cil managed + { + // Method begins at RVA 0x21dd + // 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 12 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Compression.Types.TarFileSet item) cil managed + { + // Method begins at RVA 0x21f0 + // 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 13 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Compression.Types.TarFileSet item) cil managed + { + // Method begins at RVA 0x2211 + // 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 14 + .method public hidebysig + instance default class NAnt.Compression.Types.TarFileSetEnumerator GetEnumerator () cil managed + { + // Method begins at RVA 0x2224 + // 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 15 + .method public hidebysig + instance default void Remove (class NAnt.Compression.Types.TarFileSet item) cil managed + { + // Method begins at RVA 0x223f + // 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 16 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection TarFileSets) cil managed + { + // Method begins at RVA 0x2250 + // 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 17 + .method public hidebysig specialname + instance default class NAnt.Compression.Types.TarFileSet get_Current () cil managed + { + // Method begins at RVA 0x2274 + // 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 18 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () cil managed + { + // Method begins at RVA 0x229c + .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 19 + .method public hidebysig + instance default bool MoveNext () cil managed + { + // Method begins at RVA 0x22bc + // 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 20 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () cil managed + { + // Method begins at RVA 0x22dc + .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 21 + .method public hidebysig + instance default void Reset () cil managed + { + // Method begins at RVA 0x22fc + // 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 22 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x230a + .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 { @@ -87,11 +601,11 @@ extends [System]System.ComponentModel.EnumConverter { - // method line 1 + // method line 23 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2050 + // Method begins at RVA 0x2318 // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 @@ -102,11 +616,11 @@ IL_0011: ret } // end of method TarCompressionMethodConverter::.ctor - // method line 2 + // method line 24 .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 0x2064 + // Method begins at RVA 0x232c // Code size 50 (0x32) .maxstack 4 .locals init ( @@ -144,6 +658,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 25 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x236a + // 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 26 + .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 0x2380 + // 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 ZipFileSet extends [NAnt.Core]NAnt.Core.Types.FileSet { @@ -151,11 +745,11 @@ .field private string _prefix - // method line 3 + // method line 27 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x20a2 + // Method begins at RVA 0x23be // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 @@ -163,11 +757,11 @@ IL_0006: ret } // end of method ZipFileSet::.ctor - // method line 4 + // method line 28 .method public hidebysig specialname instance default string get_Prefix () cil managed { - // Method begins at RVA 0x20ac + // Method begins at RVA 0x23c8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -182,11 +776,11 @@ IL_000e: ret } // end of method ZipFileSet::get_Prefix - // method line 5 + // method line 29 .method public hidebysig specialname instance default void set_Prefix (string 'value') cil managed { - // Method begins at RVA 0x20c8 + // Method begins at RVA 0x23e4 // Code size 91 (0x5b) .maxstack 3 IL_0000: nop @@ -250,11 +844,11 @@ .field private static literal int32 _dirFlag = int32(0x00004000) .field private static literal int32 _fileFlag = int32(0x00008000) - // method line 6 + // method line 30 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x212f + // Method begins at RVA 0x244b // Code size 29 (0x1d) .maxstack 8 IL_0000: ldarg.0 @@ -268,11 +862,11 @@ IL_001c: ret } // end of method TarFileSet::.ctor - // method line 7 + // method line 31 .method public hidebysig specialname instance default int32 get_FileMode () cil managed { - // Method begins at RVA 0x2150 + // Method begins at RVA 0x246c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -287,11 +881,11 @@ IL_000e: ret } // end of method TarFileSet::get_FileMode - // method line 8 + // method line 32 .method public hidebysig specialname instance default void set_FileMode (int32 'value') cil managed { - // Method begins at RVA 0x216b + // Method begins at RVA 0x2487 // Code size 26 (0x1a) .maxstack 8 IL_0000: nop @@ -306,11 +900,11 @@ IL_0019: ret } // end of method TarFileSet::set_FileMode - // method line 9 + // method line 33 .method public hidebysig specialname instance default int32 get_DirMode () cil managed { - // Method begins at RVA 0x2188 + // Method begins at RVA 0x24a4 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -325,11 +919,11 @@ IL_000e: ret } // end of method TarFileSet::get_DirMode - // method line 10 + // method line 34 .method public hidebysig specialname instance default void set_DirMode (int32 'value') cil managed { - // Method begins at RVA 0x21a3 + // Method begins at RVA 0x24bf // Code size 26 (0x1a) .maxstack 8 IL_0000: nop @@ -344,11 +938,11 @@ IL_0019: ret } // end of method TarFileSet::set_DirMode - // method line 11 + // method line 35 .method public hidebysig specialname instance default string get_UserName () cil managed { - // Method begins at RVA 0x21c0 + // Method begins at RVA 0x24dc // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -363,11 +957,11 @@ IL_000e: ret } // end of method TarFileSet::get_UserName - // method line 12 + // method line 36 .method public hidebysig specialname instance default void set_UserName (string 'value') cil managed { - // Method begins at RVA 0x21db + // Method begins at RVA 0x24f7 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -378,11 +972,11 @@ IL_000d: ret } // end of method TarFileSet::set_UserName - // method line 13 + // method line 37 .method public hidebysig specialname instance default int32 get_Uid () cil managed { - // Method begins at RVA 0x21ec + // Method begins at RVA 0x2508 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -397,11 +991,11 @@ IL_000e: ret } // end of method TarFileSet::get_Uid - // method line 14 + // method line 38 .method public hidebysig specialname instance default void set_Uid (int32 'value') cil managed { - // Method begins at RVA 0x2207 + // Method begins at RVA 0x2523 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -411,11 +1005,11 @@ IL_0008: ret } // end of method TarFileSet::set_Uid - // method line 15 + // method line 39 .method public hidebysig specialname instance default string get_GroupName () cil managed { - // Method begins at RVA 0x2214 + // Method begins at RVA 0x2530 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -430,11 +1024,11 @@ IL_000e: ret } // end of method TarFileSet::get_GroupName - // method line 16 + // method line 40 .method public hidebysig specialname instance default void set_GroupName (string 'value') cil managed { - // Method begins at RVA 0x222f + // Method begins at RVA 0x254b // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -445,11 +1039,11 @@ IL_000d: ret } // end of method TarFileSet::set_GroupName - // method line 17 + // method line 41 .method public hidebysig specialname instance default int32 get_Gid () cil managed { - // Method begins at RVA 0x2240 + // Method begins at RVA 0x255c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -464,11 +1058,11 @@ IL_000e: ret } // end of method TarFileSet::get_Gid - // method line 18 + // method line 42 .method public hidebysig specialname instance default void set_Gid (int32 'value') cil managed { - // Method begins at RVA 0x225b + // Method begins at RVA 0x2577 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -478,11 +1072,11 @@ IL_0008: ret } // end of method TarFileSet::set_Gid - // method line 19 + // method line 43 .method public hidebysig specialname instance default string get_Prefix () cil managed { - // Method begins at RVA 0x2268 + // Method begins at RVA 0x2584 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -497,11 +1091,11 @@ IL_000e: ret } // end of method TarFileSet::get_Prefix - // method line 20 + // method line 44 .method public hidebysig specialname instance default void set_Prefix (string 'value') cil managed { - // Method begins at RVA 0x2284 + // Method begins at RVA 0x25a0 // Code size 91 (0x5b) .maxstack 3 IL_0000: nop @@ -590,531 +1184,17 @@ .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 21 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x22eb - // 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 22 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection 'value') cil managed - { - // Method begins at RVA 0x22f4 - // 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 23 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.TarFileSet[] 'value') cil managed - { - // Method begins at RVA 0x2304 - // 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 24 - .method public hidebysig specialname - instance default class NAnt.Compression.Types.TarFileSet get_Item (int32 index) cil managed - { - // Method begins at RVA 0x2314 - // 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 25 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Compression.Types.TarFileSet 'value') cil managed - { - // Method begins at RVA 0x233a - // 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 26 - .method public hidebysig specialname - instance default int32 get_FileCount () cil managed - { - // Method begins at RVA 0x234c - // 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 27 - .method public hidebysig - instance default int32 Add (class NAnt.Compression.Types.TarFileSet item) cil managed - { - // Method begins at RVA 0x23c8 - // 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 28 - .method public hidebysig - instance default void AddRange (class NAnt.Compression.Types.TarFileSet[] items) cil managed - { - // Method begins at RVA 0x23ec - // 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 29 - .method public hidebysig - instance default void AddRange (class NAnt.Compression.Types.TarFileSetCollection items) cil managed - { - // Method begins at RVA 0x241c - // 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 30 - .method public hidebysig - instance default bool Contains (class NAnt.Compression.Types.TarFileSet item) cil managed - { - // Method begins at RVA 0x2454 - // 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 31 - .method public hidebysig - instance default void CopyTo (class NAnt.Compression.Types.TarFileSet[] 'array', int32 index) cil managed - { - // Method begins at RVA 0x2475 - // 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 32 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Compression.Types.TarFileSet item) cil managed - { - // Method begins at RVA 0x2488 - // 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 33 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Compression.Types.TarFileSet item) cil managed - { - // Method begins at RVA 0x24a9 - // 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 34 - .method public hidebysig - instance default class NAnt.Compression.Types.TarFileSetEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x24bc - // 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 35 - .method public hidebysig - instance default void Remove (class NAnt.Compression.Types.TarFileSet item) cil managed - { - // Method begins at RVA 0x24d7 - // 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 36 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Compression.Types.TarFileSetCollection TarFileSets) cil managed - { - // Method begins at RVA 0x24e8 - // 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 37 - .method public hidebysig specialname - instance default class NAnt.Compression.Types.TarFileSet get_Current () cil managed - { - // Method begins at RVA 0x250c - // 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 38 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x2534 - .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 39 - .method public hidebysig - instance default bool MoveNext () cil managed - { - // Method begins at RVA 0x2554 - // 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 40 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x2574 - .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 41 - .method public hidebysig - instance default void Reset () cil managed - { - // Method begins at RVA 0x2594 - // 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 42 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x25a2 - .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 serializable beforefieldinit ZipFileSetCollection extends [mscorlib]System.Collections.CollectionBase { .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 43 + // method line 45 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x25b0 + // Method begins at RVA 0x2607 // Code size 8 (0x8) .maxstack 8 IL_0000: ldarg.0 @@ -1123,11 +1203,11 @@ IL_0007: ret } // end of method ZipFileSetCollection::.ctor - // method line 44 + // method line 46 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSetCollection 'value') cil managed { - // Method begins at RVA 0x25b9 + // Method begins at RVA 0x2610 // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -1139,11 +1219,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::.ctor - // method line 45 + // method line 47 .method public hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSet[] 'value') cil managed { - // Method begins at RVA 0x25c9 + // Method begins at RVA 0x2620 // Code size 15 (0xf) .maxstack 8 IL_0000: ldarg.0 @@ -1155,11 +1235,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::.ctor - // method line 46 + // method line 48 .method public hidebysig specialname instance default class NAnt.Compression.Types.ZipFileSet get_Item (int32 index) cil managed { - // Method begins at RVA 0x25dc + // Method begins at RVA 0x2630 // Code size 26 (0x1a) .maxstack 2 .locals init ( @@ -1177,11 +1257,11 @@ IL_0019: ret } // end of method ZipFileSetCollection::get_Item - // method line 47 + // method line 49 .method public hidebysig specialname instance default void set_Item (int32 index, class NAnt.Compression.Types.ZipFileSet 'value') cil managed { - // Method begins at RVA 0x2602 + // Method begins at RVA 0x2656 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -1193,11 +1273,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::set_Item - // method line 48 + // method line 50 .method public hidebysig specialname instance default int32 get_FileCount () cil managed { - // Method begins at RVA 0x2614 + // Method begins at RVA 0x2668 // Code size 96 (0x60) .maxstack 2 .locals init ( @@ -1255,11 +1335,11 @@ IL_005f: ret } // end of method ZipFileSetCollection::get_FileCount - // method line 49 + // method line 51 .method public hidebysig instance default int32 Add (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x2690 + // Method begins at RVA 0x26e4 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -1276,11 +1356,11 @@ IL_0014: ret } // end of method ZipFileSetCollection::Add - // method line 50 + // method line 52 .method public hidebysig instance default void AddRange (class NAnt.Compression.Types.ZipFileSet[] items) cil managed { - // Method begins at RVA 0x26b4 + // Method begins at RVA 0x2708 // Code size 34 (0x22) .maxstack 3 .locals init ( @@ -1311,11 +1391,11 @@ IL_0021: ret } // end of method ZipFileSetCollection::AddRange - // method line 51 + // method line 53 .method public hidebysig instance default void AddRange (class NAnt.Compression.Types.ZipFileSetCollection items) cil managed { - // Method begins at RVA 0x26e4 + // Method begins at RVA 0x2738 // Code size 41 (0x29) .maxstack 3 .locals init ( @@ -1345,11 +1425,11 @@ IL_0028: ret } // end of method ZipFileSetCollection::AddRange - // method line 52 + // method line 54 .method public hidebysig instance default bool Contains (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x271c + // Method begins at RVA 0x2770 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -1366,11 +1446,11 @@ IL_0014: ret } // end of method ZipFileSetCollection::Contains - // method line 53 + // method line 55 .method public hidebysig instance default void CopyTo (class NAnt.Compression.Types.ZipFileSet[] 'array', int32 index) cil managed { - // Method begins at RVA 0x273d + // Method begins at RVA 0x2791 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -1382,11 +1462,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::CopyTo - // method line 54 + // method line 56 .method public hidebysig instance default int32 IndexOf (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x2750 + // Method begins at RVA 0x27a4 // Code size 21 (0x15) .maxstack 2 .locals init ( @@ -1403,11 +1483,11 @@ IL_0014: ret } // end of method ZipFileSetCollection::IndexOf - // method line 55 + // method line 57 .method public hidebysig instance default void Insert (int32 index, class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x2771 + // Method begins at RVA 0x27c5 // Code size 15 (0xf) .maxstack 8 IL_0000: nop @@ -1419,11 +1499,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::Insert - // method line 56 + // method line 58 .method public hidebysig instance default class NAnt.Compression.Types.ZipFileSetEnumerator GetEnumerator () cil managed { - // Method begins at RVA 0x2784 + // Method begins at RVA 0x27d8 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -1438,11 +1518,11 @@ IL_000e: ret } // end of method ZipFileSetCollection::GetEnumerator - // method line 57 + // method line 59 .method public hidebysig instance default void Remove (class NAnt.Compression.Types.ZipFileSet item) cil managed { - // Method begins at RVA 0x279f + // Method begins at RVA 0x27f3 // Code size 14 (0xe) .maxstack 8 IL_0000: nop @@ -1472,11 +1552,11 @@ implements [mscorlib]System.Collections.IEnumerator { .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator - // method line 58 + // method line 60 .method assembly hidebysig specialname rtspecialname instance default void '.ctor' (class NAnt.Compression.Types.ZipFileSetCollection ZipFileSets) cil managed { - // Method begins at RVA 0x27b0 + // Method begins at RVA 0x2804 // Code size 22 (0x16) .maxstack 2 .locals init ( @@ -1493,11 +1573,11 @@ IL_0015: ret } // end of method ZipFileSetEnumerator::.ctor - // method line 59 + // method line 61 .method public hidebysig specialname instance default class NAnt.Compression.Types.ZipFileSet get_Current () cil managed { - // Method begins at RVA 0x27d4 + // Method begins at RVA 0x2828 // Code size 25 (0x19) .maxstack 1 .locals init ( @@ -1514,11 +1594,11 @@ IL_0018: ret } // end of method ZipFileSetEnumerator::get_Current - // method line 60 + // method line 62 .method private final virtual hidebysig newslot specialname instance default object System.Collections.IEnumerator.get_Current () cil managed { - // Method begins at RVA 0x27fc + // Method begins at RVA 0x2850 .override class [mscorlib]System.Collections.IEnumerator::get_Current // Code size 20 (0x14) .maxstack 1 @@ -1535,11 +1615,11 @@ IL_0013: ret } // end of method ZipFileSetEnumerator::System.Collections.IEnumerator.get_Current - // method line 61 + // method line 63 .method public hidebysig instance default bool MoveNext () cil managed { - // Method begins at RVA 0x281c + // Method begins at RVA 0x2870 // Code size 20 (0x14) .maxstack 1 .locals init ( @@ -1555,11 +1635,11 @@ IL_0013: ret } // end of method ZipFileSetEnumerator::MoveNext - // method line 62 + // method line 64 .method private final virtual hidebysig newslot instance default bool System.Collections.IEnumerator.MoveNext () cil managed { - // Method begins at RVA 0x283c + // Method begins at RVA 0x2890 .override class [mscorlib]System.Collections.IEnumerator::MoveNext // Code size 20 (0x14) .maxstack 1 @@ -1576,11 +1656,11 @@ IL_0013: ret } // end of method ZipFileSetEnumerator::System.Collections.IEnumerator.MoveNext - // method line 63 + // method line 65 .method public hidebysig instance default void Reset () cil managed { - // Method begins at RVA 0x285c + // Method begins at RVA 0x28b0 // Code size 13 (0xd) .maxstack 8 IL_0000: nop @@ -1590,11 +1670,11 @@ IL_000c: ret } // end of method ZipFileSetEnumerator::Reset - // method line 64 + // method line 66 .method private final virtual hidebysig newslot instance default void System.Collections.IEnumerator.Reset () cil managed { - // Method begins at RVA 0x286a + // Method begins at RVA 0x28be .override class [mscorlib]System.Collections.IEnumerator::Reset // Code size 13 (0xd) .maxstack 8 @@ -1616,628 +1696,232 @@ } // end of class NAnt.Compression.Types.ZipFileSetEnumerator } -.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 65 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2878 - // 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 66 - .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 0x288c - // 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.Tasks { - .class public auto ansi beforefieldinit GUnzip + .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 06 67 75 6E 7A 69 70 00 00 ) // ...gunzip.. + .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 _srcFile .field private class [mscorlib]System.IO.FileInfo _destFile - - // method line 67 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x28ca - // 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 68 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed - { - // Method begins at RVA 0x28d4 - // 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.GUnzip::_srcFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GUnzip::get_SrcFile - - // method line 69 - .method public hidebysig specialname - instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x28ef - // 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.GUnzip::_srcFile - IL_0008: ret - } // end of method GUnzip::set_SrcFile - - // method line 70 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed - { - // Method begins at RVA 0x28fc - // 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.GUnzip::_destFile - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method GUnzip::get_DestFile - - // method line 71 - .method public hidebysig specialname - instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x2917 - // 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.GUnzip::_destFile - IL_0008: ret - } // end of method GUnzip::set_DestFile - - // method line 72 - .method family virtual hidebysig - instance default void ExecuteTask () cil managed - { - // Method begins at RVA 0x2924 - } // 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 ZipTask - extends [NAnt.Core]NAnt.Core.Task - { - .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 _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 class NAnt.Compression.Types.TarFileSetCollection _filesets .field private bool _flatten - .field private valuetype NAnt.Compression.Types.DuplicateHandling _duplicateHandling - .field private class [mscorlib]System.Text.Encoding _encoding + .field private bool _includeEmptyDirs + .field private valuetype NAnt.Compression.Types.TarCompressionMethod _compressionMethod .field private class [mscorlib]System.Collections.Hashtable _addedDirs - .field private class [mscorlib]System.Collections.Hashtable _fileEntries - // method line 73 + // method line 67 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x2aa4 - // Code size 54 (0x36) + // Method begins at RVA 0x28cc + // Code size 50 (0x32) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.6 - IL_0002: stfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel - IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.Compression.Types.ZipFileSetCollection::'.ctor'() - IL_000d: stfld class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::_filesets + IL_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 valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::_duplicateHandling + IL_0014: stfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs 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_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 74 + // method line 68 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_ZipFile () cil managed + instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed { - // Method begins at RVA 0x2adc + // Method begins at RVA 0x2900 // 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_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_ZipFile - - // method line 75 - .method public hidebysig specialname - instance default void set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x2af7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.ZipTask::_zipfile - IL_0008: ret - } // end of method ZipTask::set_ZipFile - - // method line 76 - .method public hidebysig specialname - instance default string get_Comment () cil managed - { - // Method begins at RVA 0x2b04 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Compression.Tasks.ZipTask::_comment - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_Comment - - // method line 77 - .method public hidebysig specialname - instance default void set_Comment (string 'value') cil managed - { - // Method begins at RVA 0x2b1f - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Compression.Tasks.ZipTask::_comment - IL_000d: ret - } // end of method ZipTask::set_Comment - - // method line 78 - .method public hidebysig specialname - instance default valuetype [mscorlib]System.DateTime get_Stamp () cil managed - { - // Method begins at RVA 0x2b30 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype [mscorlib]System.DateTime V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::_stampDateTime - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ZipTask::get_Stamp - - // method line 79 - .method public hidebysig specialname - instance default void set_Stamp (valuetype [mscorlib]System.DateTime 'value') cil managed - { - // Method begins at RVA 0x2b4b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::_stampDateTime - IL_0008: ret - } // end of method ZipTask::set_Stamp - - // method line 80 - .method public hidebysig specialname - instance default int32 get_ZipLevel () cil managed - { - // Method begins at RVA 0x2b58 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 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.TarTask::_destFile 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 TarTask::get_DestFile - // method line 81 + // method line 69 .method public hidebysig specialname - instance default void set_ZipLevel (int32 'value') cil managed + instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x2b73 + // Method begins at RVA 0x291b // 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.TarTask::_destFile IL_0008: ret - } // end of method ZipTask::set_ZipLevel + } // end of method TarTask::set_DestFile - // method line 82 + // method line 70 .method public hidebysig specialname instance default bool get_IncludeEmptyDirs () cil managed { - // Method begins at RVA 0x2b80 + // Method begins at RVA 0x2928 // 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.ZipTask::_includeEmptyDirs + 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_IncludeEmptyDirs + } // end of method TarTask::get_IncludeEmptyDirs - // method line 83 + // method line 71 .method public hidebysig specialname instance default void set_IncludeEmptyDirs (bool 'value') cil managed { - // Method begins at RVA 0x2b9b + // Method begins at RVA 0x2943 // 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 bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs IL_0008: ret - } // end of method ZipTask::set_IncludeEmptyDirs + } // end of method TarTask::set_IncludeEmptyDirs - // method line 84 + // method line 72 .method public virtual hidebysig newslot specialname instance default bool get_Flatten () cil managed { - // Method begins at RVA 0x2ba8 + // Method begins at RVA 0x2950 // 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.ZipTask::_flatten + 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_Flatten + } // end of method TarTask::get_Flatten - // method line 85 + // method line 73 .method public virtual hidebysig newslot specialname instance default void set_Flatten (bool 'value') cil managed { - // Method begins at RVA 0x2bc3 + // Method begins at RVA 0x296b // 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 bool NAnt.Compression.Tasks.TarTask::_flatten IL_0008: ret - } // end of method ZipTask::set_Flatten + } // end of method TarTask::set_Flatten - // method line 86 + // method line 74 .method public hidebysig specialname - instance default class NAnt.Compression.Types.ZipFileSetCollection get_ZipFileSets () cil managed + instance default class NAnt.Compression.Types.TarFileSetCollection get_TarFileSets () cil managed { - // Method begins at RVA 0x2bd0 + // Method begins at RVA 0x2978 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Compression.Types.ZipFileSetCollection V_0) + class NAnt.Compression.Types.TarFileSetCollection 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 class NAnt.Compression.Types.TarFileSetCollection NAnt.Compression.Tasks.TarTask::_filesets IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ZipTask::get_ZipFileSets - - // method line 87 - .method public hidebysig specialname - instance default void set_ZipFileSets (class NAnt.Compression.Types.ZipFileSetCollection 'value') cil managed - { - // Method begins at RVA 0x2beb - // 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 + } // end of method TarTask::get_TarFileSets - // method line 88 + // method line 75 .method public hidebysig specialname - instance default valuetype NAnt.Compression.Types.DuplicateHandling get_DuplicateHandling () cil managed + instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed { - // Method begins at RVA 0x2bf8 + // Method begins at RVA 0x2994 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Compression.Types.DuplicateHandling V_0) + valuetype NAnt.Compression.Types.TarCompressionMethod 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 valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::_compressionMethod IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ZipTask::get_DuplicateHandling - - // method line 89 - .method public hidebysig specialname - instance default void set_DuplicateHandling (valuetype NAnt.Compression.Types.DuplicateHandling 'value') cil managed - { - // Method begins at RVA 0x2c13 - // 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_0008: ret - } // end of method ZipTask::set_DuplicateHandling - - // method line 90 - .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed - { - // Method begins at RVA 0x2c20 - // 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 + } // end of method TarTask::get_CompressionMethod - // method line 91 + // method line 76 .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 0x2c62 + // Method begins at RVA 0x29af // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld 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 92 + // method line 77 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x2c6c - } // end of method ZipTask::ExecuteTask + // Method begins at RVA 0x29bc + } // end of method TarTask::ExecuteTask - // method line 93 + // method line 78 .method private hidebysig - instance default void CleanUp () cil managed + (null) cil managed { - // Method begins at RVA 0x325c - // 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 0x2e98 + } // 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 () { @@ -2245,31 +1929,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 @@ -2279,11 +1956,11 @@ { .field private bool _overwrite - // method line 94 + // method line 79 .method family hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3275 + // Method begins at RVA 0x2f1a // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 @@ -2294,11 +1971,11 @@ IL_000d: ret } // end of method ExpandBaseTask::.ctor - // method line 95 + // method line 80 .method public virtual hidebysig newslot specialname instance default bool get_Overwrite () cil managed { - // Method begins at RVA 0x3284 + // Method begins at RVA 0x2f2c // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -2313,11 +1990,11 @@ IL_000e: ret } // end of method ExpandBaseTask::get_Overwrite - // method line 96 + // method line 81 .method public virtual hidebysig newslot specialname instance default void set_Overwrite (bool 'value') cil managed { - // Method begins at RVA 0x329f + // Method begins at RVA 0x2f47 // Code size 9 (0x9) .maxstack 8 IL_0000: nop @@ -2327,11 +2004,11 @@ IL_0008: ret } // end of method ExpandBaseTask::set_Overwrite - // method line 97 + // method line 82 .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 0x32ac + // Method begins at RVA 0x2f54 // Code size 369 (0x171) .maxstack 7 .locals init ( @@ -2503,11 +2180,11 @@ IL_0170: ret } // end of method ExpandBaseTask::ExtractFile - // method line 98 + // method line 83 .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 0x3454 + // Method begins at RVA 0x30fc // Code size 91 (0x5b) .maxstack 3 .locals init ( @@ -2569,75 +2246,72 @@ .namespace NAnt.Compression.Tasks { - .class public auto ansi beforefieldinit UnTarTask + .class public auto ansi beforefieldinit UnZipTask extends NAnt.Compression.Tasks.ExpandBaseTask { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 75 6E 74 61 72 00 00 ) // ...untar.. + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 75 6E 7A 69 70 00 00 ) // ...unzip.. - .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 class [mscorlib]System.IO.DirectoryInfo _toDir + .field private class [mscorlib]System.Text.Encoding _encoding - // method line 99 + // method line 84 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x34cc - // Code size 14 (0xe) + // Method begins at RVA 0x3174 + // Code size 7 (0x7) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.0 - IL_0002: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Compression.Tasks.ExpandBaseTask::'.ctor'() - IL_000d: ret - } // end of method UnTarTask::.ctor + IL_0001: call instance void class NAnt.Compression.Tasks.ExpandBaseTask::'.ctor'() + IL_0006: ret + } // end of method UnZipTask::.ctor - // method line 100 + // method line 85 .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 0x34dc + // Method begins at RVA 0x317c // 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.UnZipTask::_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 UnZipTask::get_ZipFile - // method line 101 + // method line 86 .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 0x34f7 + // Method begins at RVA 0x3197 // 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.UnZipTask::_zipfile IL_0008: ret - } // end of method UnTarTask::set_SrcFile + } // end of method UnZipTask::set_ZipFile - // method line 102 + // method line 87 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_DestinationDirectory () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed { - // Method begins at RVA 0x3504 + // Method begins at RVA 0x31a4 // Code size 48 (0x30) .maxstack 2 .locals init ( class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir IL_0007: brtrue IL_0022 IL_000c: ldarg.0 @@ -2645,69 +2319,204 @@ 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_001d: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir IL_0022: ldarg.0 - IL_0023: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir + IL_0023: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir IL_0028: stloc.0 IL_0029: br IL_002e IL_002e: ldloc.0 IL_002f: ret - } // end of method UnTarTask::get_DestinationDirectory + } // end of method UnZipTask::get_ToDirectory - // method line 103 + // method line 88 .method public hidebysig specialname - instance default void set_DestinationDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x3540 + // Method begins at RVA 0x31e0 // 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.Compression.Tasks.UnTarTask::_destDir + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir IL_0008: ret - } // end of method UnTarTask::set_DestinationDirectory + } // end of method UnZipTask::set_ToDirectory - // method line 104 + // method line 89 .method public hidebysig specialname - instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + { + // Method begins at RVA 0x31ec + // 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.UnZipTask::_encoding + IL_0007: brtrue IL_0028 + + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_CurrentCulture() + IL_0013: callvirt instance class [mscorlib]System.Globalization.TextInfo class [mscorlib]System.Globalization.CultureInfo::get_TextInfo() + IL_0018: callvirt instance int32 class [mscorlib]System.Globalization.TextInfo::get_OEMCodePage() + IL_001d: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::GetEncoding(int32) + IL_0022: stfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding + IL_0027: nop + IL_0028: ldarg.0 + IL_0029: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding + IL_002e: stloc.0 + IL_002f: br IL_0034 + + IL_0034: ldloc.0 + IL_0035: ret + } // end of method UnZipTask::get_Encoding + + // method line 90 + .method public hidebysig specialname + instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed + { + // Method begins at RVA 0x322e + // 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.UnZipTask::_encoding + IL_0008: ret + } // end of method UnZipTask::set_Encoding + + // method line 91 + .method family virtual hidebysig + instance default void ExecuteTask () cil managed + { + // Method begins at RVA 0x3238 + } // end of method UnZipTask::ExecuteTask + + .property instance class [mscorlib]System.IO.FileInfo ZipFile () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 7A 69 70 66 69 6C 65 01 00 54 02 08 52 // ...zipfile..T..R + 65 71 75 69 72 65 64 01 ) // equired. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnZipTask::get_ZipFile () + .set instance default void NAnt.Compression.Tasks.UnZipTask::set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class [mscorlib]System.IO.DirectoryInfo ToDirectory () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 05 74 6F 64 69 72 01 00 54 02 08 52 65 71 // ...todir..T..Req + 75 69 72 65 64 00 ) // uired. + + .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::get_ToDirectory () + .set instance default void NAnt.Compression.Tasks.UnZipTask::set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + } + .property instance class [mscorlib]System.Text.Encoding Encoding () + { + .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 08 65 6E 63 6F 64 69 6E 67 00 00 ) // ...encoding.. + + .get instance default class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::get_Encoding () + .set instance default void NAnt.Compression.Tasks.UnZipTask::set_Encoding (class [mscorlib]System.Text.Encoding 'value') + } + } // end of class NAnt.Compression.Tasks.UnZipTask +} + +.namespace NAnt.Compression.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 92 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x3404 + // 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 93 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_SrcFile () cil managed { - // Method begins at RVA 0x354c + // Method begins at RVA 0x340c // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype NAnt.Compression.Types.TarCompressionMethod V_0) + class [mscorlib]System.IO.FileInfo 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 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 UnTarTask::get_CompressionMethod + } // end of method GUnzip::get_SrcFile - // method line 105 + // method line 94 .method public hidebysig specialname - instance default void set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') cil managed + instance default void set_SrcFile (class [mscorlib]System.IO.FileInfo 'value') cil managed { - // Method begins at RVA 0x3567 + // Method begins at RVA 0x3427 // 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 class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.GUnzip::_srcFile IL_0008: ret - } // end of method UnTarTask::set_CompressionMethod + } // end of method GUnzip::set_SrcFile - // method line 106 + // method line 95 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed + { + // Method begins at RVA 0x3434 + // 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.GUnzip::_destFile + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method GUnzip::get_DestFile + + // method line 96 + .method public hidebysig specialname + instance default void set_DestFile (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x344f + // 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.GUnzip::_destFile + IL_0008: ret + } // end of method GUnzip::set_DestFile + + // method line 97 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x3574 - } // end of method UnTarTask::ExecuteTask + // Method begins at RVA 0x345c + } // end of method GUnzip::ExecuteTask .property instance class [mscorlib]System.IO.FileInfo SrcFile () { @@ -2715,255 +2524,447 @@ 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') + .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.DirectoryInfo DestinationDirectory () + .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 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.. + 69 72 65 64 01 ) // ired. - .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') + .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.UnTarTask + } // end of class NAnt.Compression.Tasks.GUnzip } .namespace NAnt.Compression.Tasks { - .class public auto ansi beforefieldinit TarTask + .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 03 74 61 72 00 00 ) // ...tar.. + .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 _destFile - .field private class NAnt.Compression.Types.TarFileSetCollection _filesets - .field private bool _flatten + .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 valuetype NAnt.Compression.Types.TarCompressionMethod _compressionMethod + .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 107 + // method line 98 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3820 - // Code size 50 (0x32) + // Method begins at RVA 0x35dc + // Code size 54 (0x36) .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_0001: ldc.i4.6 + IL_0002: stfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel + IL_0007: ldarg.0 + IL_0008: newobj instance void class NAnt.Compression.Types.ZipFileSetCollection::'.ctor'() + IL_000d: stfld class NAnt.Compression.Types.ZipFileSetCollection NAnt.Compression.Tasks.ZipTask::_filesets IL_0012: ldarg.0 IL_0013: ldc.i4.0 - IL_0014: stfld bool NAnt.Compression.Tasks.TarTask::_includeEmptyDirs + IL_0014: stfld valuetype NAnt.Compression.Types.DuplicateHandling NAnt.Compression.Tasks.ZipTask::_duplicateHandling IL_0019: ldarg.0 - IL_001a: ldc.i4.0 - IL_001b: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.TarTask::_compressionMethod - IL_0020: ldarg.0 - IL_0021: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0026: stfld class [mscorlib]System.Collections.Hashtable NAnt.Compression.Tasks.TarTask::_addedDirs - IL_002b: ldarg.0 - IL_002c: call instance void class [NAnt.Core]NAnt.Core.Task::'.ctor'() - IL_0031: ret - } // end of method TarTask::.ctor + IL_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 108 + // method line 99 .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_DestFile () cil managed + instance default class [mscorlib]System.IO.FileInfo get_ZipFile () cil managed { - // Method begins at RVA 0x3854 + // Method begins at RVA 0x3614 // 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.TarTask::_destFile + 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 TarTask::get_DestFile + } // end of method ZipTask::get_ZipFile - // method line 109 + // method line 100 .method public hidebysig specialname - instance default void set_DestFile (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 0x386f + // Method begins at RVA 0x362f // 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 class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.ZipTask::_zipfile IL_0008: ret - } // end of method TarTask::set_DestFile + } // end of method ZipTask::set_ZipFile - // method line 110 + // method line 101 + .method public hidebysig specialname + instance default string get_Comment () cil managed + { + // Method begins at RVA 0x363c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld string NAnt.Compression.Tasks.ZipTask::_comment + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ZipTask::get_Comment + + // method line 102 + .method public hidebysig specialname + instance default void set_Comment (string 'value') cil managed + { + // Method begins at RVA 0x3657 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call string class [NAnt.Core]NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) + IL_0008: stfld string NAnt.Compression.Tasks.ZipTask::_comment + IL_000d: ret + } // end of method ZipTask::set_Comment + + // method line 103 + .method public hidebysig specialname + instance default valuetype [mscorlib]System.DateTime get_Stamp () cil managed + { + // Method begins at RVA 0x3668 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + valuetype [mscorlib]System.DateTime V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::_stampDateTime + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ZipTask::get_Stamp + + // method line 104 + .method public hidebysig specialname + instance default void set_Stamp (valuetype [mscorlib]System.DateTime 'value') cil managed + { + // Method begins at RVA 0x3683 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld valuetype [mscorlib]System.DateTime NAnt.Compression.Tasks.ZipTask::_stampDateTime + IL_0008: ret + } // end of method ZipTask::set_Stamp + + // method line 105 + .method public hidebysig specialname + instance default int32 get_ZipLevel () cil managed + { + // Method begins at RVA 0x3690 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ZipTask::get_ZipLevel + + // method line 106 + .method public hidebysig specialname + instance default void set_ZipLevel (int32 'value') cil managed + { + // Method begins at RVA 0x36ab + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld int32 NAnt.Compression.Tasks.ZipTask::_ziplevel + IL_0008: ret + } // end of method ZipTask::set_ZipLevel + + // method line 107 .method public hidebysig specialname instance default bool get_IncludeEmptyDirs () cil managed { - // Method begins at RVA 0x387c + // Method begins at RVA 0x36b8 // 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 111 + // method line 108 .method public hidebysig specialname instance default void set_IncludeEmptyDirs (bool 'value') cil managed { - // Method begins at RVA 0x3897 + // Method begins at RVA 0x36d3 // 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 112 + // method line 109 .method public virtual hidebysig newslot specialname instance default bool get_Flatten () cil managed { - // Method begins at RVA 0x38a4 + // Method begins at RVA 0x36e0 // 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 113 + // method line 110 .method public virtual hidebysig newslot specialname instance default void set_Flatten (bool 'value') cil managed { - // Method begins at RVA 0x38bf + // Method begins at RVA 0x36fb // 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 114 + // method line 111 .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 0x38cc + // Method begins at RVA 0x3708 // 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 115 + // method line 112 .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 0x3723 + // 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 113 + .method public hidebysig specialname + instance default valuetype NAnt.Compression.Types.DuplicateHandling get_DuplicateHandling () cil managed { - // Method begins at RVA 0x38e8 + // Method begins at RVA 0x3730 // 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 114 + .method public hidebysig specialname + instance default void set_DuplicateHandling (valuetype NAnt.Compression.Types.DuplicateHandling 'value') cil managed + { + // Method begins at RVA 0x374b + // 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_0008: ret + } // end of method ZipTask::set_DuplicateHandling + + // method line 115 + .method public hidebysig specialname + instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + { + // Method begins at RVA 0x3758 + // 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 116 .method public hidebysig specialname - instance default void set_CompressionMethod (valuetype NAnt.Compression.Types.TarCompressionMethod 'value') cil managed + instance default void set_Encoding (class [mscorlib]System.Text.Encoding 'value') cil managed { - // Method begins at RVA 0x3903 + // Method begins at RVA 0x379a // 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 class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.ZipTask::_encoding IL_0008: ret - } // end of method TarTask::set_CompressionMethod + } // end of method ZipTask::set_Encoding // method line 117 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x3910 - } // end of method TarTask::ExecuteTask + // Method begins at RVA 0x37a4 + } // end of method ZipTask::ExecuteTask // method line 118 .method private hidebysig - (null) cil managed + instance default void CleanUp () cil managed { - // Method begins at RVA 0x3dec - } // end of method TarTask:: + // Method begins at RVA 0x3d94 + // 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 () { @@ -2971,94 +2972,104 @@ .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 { - .class public auto ansi beforefieldinit UnZipTask + .class public auto ansi beforefieldinit UnTarTask extends NAnt.Compression.Tasks.ExpandBaseTask { - .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskNameAttribute::'.ctor'(string) = (01 00 05 75 6E 7A 69 70 00 00 ) // ...unzip.. + .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 class [mscorlib]System.IO.DirectoryInfo _toDir - .field private class [mscorlib]System.Text.Encoding _encoding + .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 119 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x3e6e - // Code size 7 (0x7) + // Method begins at RVA 0x3dad + // Code size 14 (0xe) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Compression.Tasks.ExpandBaseTask::'.ctor'() - IL_0006: ret - } // end of method UnZipTask::.ctor + IL_0001: ldc.i4.0 + IL_0002: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Compression.Tasks.ExpandBaseTask::'.ctor'() + IL_000d: ret + } // end of method UnTarTask::.ctor // method line 120 .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 0x3e78 + // Method begins at RVA 0x3dbc // 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.UnZipTask::_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 UnZipTask::get_ZipFile + } // end of method UnTarTask::get_SrcFile // method line 121 .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 0x3e93 + // Method begins at RVA 0x3dd7 // 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.UnZipTask::_zipfile + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Compression.Tasks.UnTarTask::_srcFile IL_0008: ret - } // end of method UnZipTask::set_ZipFile + } // end of method UnTarTask::set_SrcFile // method line 122 .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_ToDirectory () cil managed + instance default class [mscorlib]System.IO.DirectoryInfo get_DestinationDirectory () cil managed { - // Method begins at RVA 0x3ea0 + // Method begins at RVA 0x3de4 // Code size 48 (0x30) .maxstack 2 .locals init ( class [mscorlib]System.IO.DirectoryInfo V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir + IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir IL_0007: brtrue IL_0022 IL_000c: ldarg.0 @@ -3066,107 +3077,96 @@ IL_000e: callvirt instance class [NAnt.Core]NAnt.Core.Project class [NAnt.Core]NAnt.Core.Element::get_Project() IL_0013: callvirt instance string class [NAnt.Core]NAnt.Core.Project::get_BaseDirectory() IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_001d: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnZipTask::_toDir + IL_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.UnZipTask::_toDir + 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 UnZipTask::get_ToDirectory + } // end of method UnTarTask::get_DestinationDirectory // method line 123 .method public hidebysig specialname - instance default void set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + instance default void set_DestinationDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed { - // Method begins at RVA 0x3edc + // Method begins at RVA 0x3e20 // 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.Compression.Tasks.UnZipTask::_toDir + IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Compression.Tasks.UnTarTask::_destDir IL_0008: ret - } // end of method UnZipTask::set_ToDirectory + } // end of method UnTarTask::set_DestinationDirectory // method line 124 .method public hidebysig specialname - instance default class [mscorlib]System.Text.Encoding get_Encoding () cil managed + instance default valuetype NAnt.Compression.Types.TarCompressionMethod get_CompressionMethod () cil managed { - // Method begins at RVA 0x3ee8 - // Code size 54 (0x36) - .maxstack 2 + // Method begins at RVA 0x3e2c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Text.Encoding V_0) + valuetype NAnt.Compression.Types.TarCompressionMethod V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding - IL_0007: brtrue IL_0028 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_CurrentCulture() - IL_0013: callvirt instance class [mscorlib]System.Globalization.TextInfo class [mscorlib]System.Globalization.CultureInfo::get_TextInfo() - IL_0018: callvirt instance int32 class [mscorlib]System.Globalization.TextInfo::get_OEMCodePage() - IL_001d: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::GetEncoding(int32) - IL_0022: stfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding - IL_0027: nop - IL_0028: ldarg.0 - IL_0029: ldfld class [mscorlib]System.Text.Encoding NAnt.Compression.Tasks.UnZipTask::_encoding - IL_002e: stloc.0 - IL_002f: br IL_0034 + IL_0002: ldfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0034: ldloc.0 - IL_0035: ret - } // end of method UnZipTask::get_Encoding + IL_000d: ldloc.0 + IL_000e: ret + } // end of method UnTarTask::get_CompressionMethod // method line 125 .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 0x3f2a + // Method begins at RVA 0x3e47 // 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.UnZipTask::_encoding + IL_0003: stfld valuetype NAnt.Compression.Types.TarCompressionMethod NAnt.Compression.Tasks.UnTarTask::_compressionMethod IL_0008: ret - } // end of method UnZipTask::set_Encoding + } // end of method UnTarTask::set_CompressionMethod // method line 126 .method family virtual hidebysig instance default void ExecuteTask () cil managed { - // Method begins at RVA 0x3f34 - } // end of method UnZipTask::ExecuteTask + // Method begins at RVA 0x3e54 + } // end of method UnTarTask::ExecuteTask - .property instance class [mscorlib]System.IO.FileInfo ZipFile () + .property instance class [mscorlib]System.IO.FileInfo SrcFile () { .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. + 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.UnZipTask::get_ZipFile () - .set instance default void NAnt.Compression.Tasks.UnZipTask::set_ZipFile (class [mscorlib]System.IO.FileInfo 'value') + .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 ToDirectory () + .property instance class [mscorlib]System.IO.DirectoryInfo DestinationDirectory () { .custom instance void class [NAnt.Core]NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 05 74 6F 64 69 72 01 00 54 02 08 52 65 71 // ...todir..T..Req - 75 69 72 65 64 00 ) // uired. + 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.UnZipTask::get_ToDirectory () - .set instance default void NAnt.Compression.Tasks.UnZipTask::set_ToDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') + .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 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.UnZipTask::get_Encoding () - .set instance default void NAnt.Compression.Tasks.UnZipTask::set_Encoding (class [mscorlib]System.Text.Encoding 'value') + .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.UnZipTask + } // end of class NAnt.Compression.Tasks.UnTarTask } /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,111 +4,6 @@ NAnt.CompressionTasks - - - Specifies the compression methods supported by - and . - - - - - No compression. - - - - - GZIP compression. - - - - - BZIP2 compression. - - - - - Specialized for - that ignores case when converting from string. - - - - - Initializes a new instance of the - class. - - - - - Converts the given object to the type of this converter, using the - specified context and culture information. - - An that provides a format context. - A object. If a is passed, the current culture is assumed. - The to convert. - - An that represents the converted value. - - - - - A is a with extra - attributes useful in the context of the . - - - - - The top level directory prefix. If set, all file and directory paths - in the fileset will have this value prepended. Can either be a single - directory name or a "/" separated path. - - - - - A is a with extra - attributes useful in the context of the . - - - - - A 3 digit octal string, specify the user, group and other modes - in the standard Unix fashion. Only applies to plain files. The - default is 644. - - - - - A 3 digit octal string, specify the user, group and other modes - in the standard Unix fashion. Only applies to directories. The - default is 755. - - - - - The username for the tar entry. - - - - - The user identifier (UID) for the tar entry. - - - - - The groupname for the tar entry. - - - - - The group identifier (GID) for the tar entry. - - - - - The top level directory prefix. If set, all file and directory paths - in the fileset will have this value prepended. Can either be a single - directory name or a "/" separated path. - - Contains a collection of elements. @@ -245,6 +140,155 @@ first element in the collection. + + + Specifies the compression methods supported by + and . + + + + + No compression. + + + + + GZIP compression. + + + + + BZIP2 compression. + + + + + Specialized for + that ignores case when converting from string. + + + + + Initializes a new instance of the + class. + + + + + Converts the given object to the type of this converter, using the + specified context and culture information. + + An that provides a format context. + A object. If a is passed, the current culture is assumed. + The to convert. + + An that represents the converted value. + + + + + Specifies how entries with the same name should be processed. + + + + + Overwrite existing entry with same name. + + + + + Preserve existing entry with the same name. + + + + + Report failure when two entries have the same name. + + + + + Specialized for + that ignores case when converting from string. + + + + + Initializes a new instance of the + class. + + + + + Converts the given object to the type of this converter, using the + specified context and culture information. + 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) @@ -3,6 +3,11 @@ .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 System.Xml { .ver 4:0:0:0 @@ -13,11 +18,6 @@ .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,5028 +74,6904 @@ .module NAnt.Core.dll // GUID = { 42 } -.namespace NAnt.Core.Extensibility +.namespace NAnt.Core.Util { - .class private auto ansi beforefieldinit FunctionArgument - extends [mscorlib]System.Object + .class public auto ansi sealed beforefieldinit DefaultCommandLineArgumentAttribute + extends NAnt.Core.Util.CommandLineArgumentAttribute { - .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 + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 02 00 54 02 0D 41 6C 6C 6F 77 // ........T..Allow + 4D 75 6C 74 69 70 6C 65 00 54 02 09 49 6E 68 65 // Multiple.T..Inhe + 72 69 74 65 64 01 ) // rited. + // method line 1 .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 + instance default void '.ctor' (valuetype NAnt.Core.Util.CommandLineArgumentTypes argumentType) cil managed { - // Method begins at RVA 0x2050 - // Code size 45 (0x2d) + // Method begins at RVA 0x20f1 + // 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_0001: ldarg.1 + IL_0002: call instance void class NAnt.Core.Util.CommandLineArgumentAttribute::'.ctor'(valuetype NAnt.Core.Util.CommandLineArgumentTypes) + IL_0007: nop + IL_0008: ret + } // end of method DefaultCommandLineArgumentAttribute::.ctor + + } // end of class NAnt.Core.Util.DefaultCommandLineArgumentAttribute +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi abstract sealed beforefieldinit FileUtils + extends [mscorlib]System.Object + { + .field private static literal int32 _bufferSize = int32(0x00002000) // method line 2 - .method public hidebysig specialname - instance default int32 get_Index () cil managed + .method public static hidebysig + default void CopyFile (string sourceFileName, string destFileName, class NAnt.Core.Filters.FilterChain filterChain, class [mscorlib]System.Text.Encoding inputEncoding, class [mscorlib]System.Text.Encoding outputEncoding) cil managed { - // Method begins at RVA 0x2080 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x20fc + // Code size 329 (0x149) + .maxstack 4 .locals init ( - int32 V_0) + bool V_0, + class [mscorlib]System.Text.Encoding V_1, + class [mscorlib]System.IO.StreamReader V_2, + class [mscorlib]System.Text.Encoding V_3, + class [mscorlib]System.IO.StreamWriter V_4, + class NAnt.Core.Filters.Filter V_5, + bool V_6, + int32 V_7, + char[] V_8, + int32 V_9) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Extensibility.FunctionArgument::_index - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0007: brtrue IL_001e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FunctionArgument::get_Index + 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 - // method line 3 - .method public hidebysig specialname - instance default string get_Name () cil managed - { - // Method begins at RVA 0x209c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Extensibility.FunctionArgument::_name - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_002e: ldarg.3 + IL_002f: brtrue IL_004a - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FunctionArgument::get_Name + IL_0034: ldarg.s 4 + IL_0036: brtrue IL_004a - // method line 4 - .method public hidebysig specialname - instance default object get_Value () cil managed - { - // Method begins at RVA 0x20b8 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - object V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld object NAnt.Core.Extensibility.FunctionArgument::_value - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_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_000d: ldloc.0 - IL_000e: ret - } // end of method FunctionArgument::get_Value + IL_004a: nop + IL_004b: ldarg.3 + IL_004c: brfalse IL_0057 - // method line 5 - .method public hidebysig specialname - instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_BeforeArgument () cil managed - { - // Method begins at RVA 0x20d4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::_beforeArgument - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0051: ldarg.3 + IL_0052: br IL_005c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method FunctionArgument::get_BeforeArgument + 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 - // method line 6 - .method public hidebysig specialname - instance default valuetype NAnt.Core.ExpressionTokenizer/Position get_AfterArgument () cil managed - { - // Method begins at RVA 0x20f0 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - valuetype NAnt.Core.ExpressionTokenizer/Position V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld valuetype NAnt.Core.ExpressionTokenizer/Position NAnt.Core.Extensibility.FunctionArgument::_afterArgument - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_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_000d: ldloc.0 - IL_000e: ret - } // end of method FunctionArgument::get_AfterArgument + 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 - .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 -} + 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 -.namespace NAnt.Core.Extensibility -{ - .class interface public auto ansi abstract IPluginConsumer - { + 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 - // method line 7 - .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 + 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 - } // end of class NAnt.Core.Extensibility.IPluginConsumer -} + IL_00db: nop + IL_00dc: br IL_011f -.namespace NAnt.Core.Extensibility -{ - .class public auto ansi abstract beforefieldinit ExtensionBuilder - extends [mscorlib]System.Object - { - .field private initonly class NAnt.Core.Extensibility.ExtensionAssembly _extensionAssembly + IL_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 - // method line 8 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly) cil managed - { - // Method begins at RVA 0x210b - // Code size 33 (0x21) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: brtrue IL_0019 + IL_0106: nop + IL_0107: leave IL_011e - 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_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 - // method line 9 - .method family hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed - { - // Method begins at RVA 0x212d - // Code size 14 (0xe) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call class NAnt.Core.Extensibility.ExtensionAssembly class NAnt.Core.Extensibility.ExtensionAssembly::Create(class [mscorlib]System.Reflection.Assembly) - IL_0007: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) - IL_000c: nop - IL_000d: ret - } // end of method ExtensionBuilder::.ctor + IL_011e: nop + IL_011f: nop + IL_0120: leave IL_0134 - // method line 10 - .method assembly hidebysig specialname - instance default class NAnt.Core.Extensibility.ExtensionAssembly get_ExtensionAssembly () cil managed - { - // Method begins at RVA 0x213c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Extensibility.ExtensionAssembly V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::_extensionAssembly - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 0 + finally { // 0 + IL_0125: ldloc.s 4 + IL_0127: brfalse IL_0133 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExtensionBuilder::get_ExtensionAssembly + 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 - // method line 11 - .method famorassem hidebysig specialname - instance default class [mscorlib]System.Reflection.Assembly get_Assembly () cil managed + } // end .try 1 + finally { // 1 + IL_013a: ldloc.2 + IL_013b: brfalse IL_0146 + + IL_0140: ldloc.2 + IL_0141: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0146: endfinally + } // end handler 1 + IL_0147: nop + IL_0148: ret + } // end of method FileUtils::CopyFile + + // method line 3 + .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 0x2158 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [mscorlib]System.Reflection.Assembly V_0) + // Method begins at RVA 0x2270 + // Code size 88 (0x58) + .maxstack 5 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_0002: call bool class [mscorlib]System.IO.File::Exists(string) + IL_0007: brtrue IL_001e - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ExtensionBuilder::get_Assembly + 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 - .property instance class NAnt.Core.Extensibility.ExtensionAssembly ExtensionAssembly () - { - .get instance default class NAnt.Core.Extensibility.ExtensionAssembly NAnt.Core.Extensibility.ExtensionBuilder::get_ExtensionAssembly () - } - .property instance class [mscorlib]System.Reflection.Assembly Assembly () - { - .get instance default class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly () - } - } // end of class NAnt.Core.Extensibility.ExtensionBuilder -} + IL_0029: ldarg.3 + IL_002a: brtrue IL_0044 -.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_002f: ldarg.s 4 + IL_0031: brtrue IL_0044 - // method line 12 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed - { - // Method begins at RVA 0x2178 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: stfld class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::_assembly - IL_000e: ret - } // end of method ExtensionAssembly::.ctor + IL_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 - // method line 13 - .method public hidebysig specialname - instance default class [mscorlib]System.Reflection.Assembly get_Assembly () cil managed + IL_0044: nop + IL_0045: ldarg.0 + IL_0046: ldarg.1 + IL_0047: ldarg.2 + IL_0048: ldarg.3 + IL_0049: ldarg.s 4 + IL_004b: call void class NAnt.Core.Util.FileUtils::CopyFile(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) + IL_0050: ldarg.0 + IL_0051: call void class [mscorlib]System.IO.File::Delete(string) + IL_0056: nop + IL_0057: ret + } // end of method FileUtils::MoveFile + + // method line 4 + .method assembly static hidebysig + default void CopyDirectory (string sourceDirectory, string destDirectory, class NAnt.Core.Filters.FilterChain filterChain, class [mscorlib]System.Text.Encoding inputEncoding, class [mscorlib]System.Text.Encoding outputEncoding) cil managed { - // Method begins at RVA 0x2188 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x22d4 + // Code size 180 (0xb4) + .maxstack 5 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0) + string V_0, + string[] V_1, + int32 V_2, + string V_3, + string V_4, + string[] V_5, + int32 V_6, + string V_7) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Reflection.Assembly NAnt.Core.Extensibility.ExtensionAssembly::_assembly - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0007: brtrue IL_001e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ExtensionAssembly::get_Assembly + IL_000c: nop + IL_000d: ldstr "Cannot copy directory: Source Directory {0} does not exist" + IL_0012: ldarg.0 + IL_0013: call string string::Format(string, object) + IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_001d: throw + IL_001e: ldarg.1 + IL_001f: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0024: brtrue IL_0032 - // method line 14 - .method assembly hidebysig specialname - instance default class [System.Xml]System.Xml.XmlNode get_ConfigurationSection () cil managed + IL_0029: nop + IL_002a: ldarg.1 + IL_002b: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::CreateDirectory(string) + IL_0030: pop + IL_0031: nop + IL_0032: nop + IL_0033: ldarg.0 + IL_0034: call string[] class [mscorlib]System.IO.Directory::GetFiles(string) + IL_0039: stloc.1 + IL_003a: ldc.i4.0 + IL_003b: stloc.2 + IL_003c: br IL_0063 + + IL_0041: ldloc.1 + IL_0042: ldloc.2 + IL_0043: ldelem.ref + IL_0044: stloc.0 + IL_0045: nop + IL_0046: ldarg.1 + IL_0047: ldloc.0 + IL_0048: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_004d: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0052: stloc.3 + IL_0053: ldloc.0 + IL_0054: ldloc.3 + IL_0055: ldarg.2 + IL_0056: ldarg.3 + IL_0057: ldarg.s 4 + IL_0059: call void class NAnt.Core.Util.FileUtils::CopyFile(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) + IL_005e: nop + IL_005f: ldloc.2 + IL_0060: ldc.i4.1 + IL_0061: add + IL_0062: stloc.2 + IL_0063: ldloc.2 + IL_0064: ldloc.1 + IL_0065: ldlen + IL_0066: conv.i4 + IL_0067: blt IL_0041 + + IL_006c: nop + IL_006d: ldarg.0 + IL_006e: call string[] class [mscorlib]System.IO.Directory::GetDirectories(string) + IL_0073: stloc.s 5 + IL_0075: ldc.i4.0 + IL_0076: stloc.s 6 + IL_0078: br IL_00a8 + + IL_007d: ldloc.s 5 + IL_007f: ldloc.s 6 + IL_0081: ldelem.ref + IL_0082: stloc.s 4 + IL_0084: nop + IL_0085: ldarg.1 + IL_0086: ldloc.s 4 + IL_0088: call string class [mscorlib]System.IO.Path::GetFileName(string) + IL_008d: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0092: stloc.s 7 + IL_0094: ldloc.s 4 + IL_0096: ldloc.s 7 + IL_0098: ldarg.2 + IL_0099: ldarg.3 + IL_009a: ldarg.s 4 + IL_009c: call void class NAnt.Core.Util.FileUtils::CopyDirectory(string, string, class NAnt.Core.Filters.FilterChain, class [mscorlib]System.Text.Encoding, class [mscorlib]System.Text.Encoding) + IL_00a1: nop + IL_00a2: ldloc.s 6 + IL_00a4: ldc.i4.1 + IL_00a5: add + IL_00a6: stloc.s 6 + IL_00a8: ldloc.s 6 + IL_00aa: ldloc.s 5 + IL_00ac: ldlen + IL_00ad: conv.i4 + IL_00ae: blt IL_007d + + IL_00b3: ret + } // end of method FileUtils::CopyDirectory + + // method line 5 + .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 0x21a4 - // Code size 115 (0x73) - .maxstack 2 + // Method begins at RVA 0x2394 + // Code size 308 (0x134) + .maxstack 5 .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) + string V_0, + string V_1, + class [mscorlib]System.IO.IOException V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Extensibility.ExtensionAssembly::_configurationInit - IL_0007: brfalse IL_0018 + IL_0002: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_0007: brtrue IL_001e - 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_000c: nop + IL_000d: ldstr "Cannot move directory: Source Directory {0} does not exist" + IL_0012: ldarg.0 + IL_0013: call string string::Format(string, object) + IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_001d: throw + IL_001e: ldarg.2 + IL_001f: call bool class NAnt.Core.Filters.FilterChain::IsNullOrEmpty(class NAnt.Core.Filters.FilterChain) + IL_0024: brfalse IL_011f + + IL_0029: ldarg.3 + IL_002a: brtrue IL_011f + + IL_002f: ldarg.s 4 + IL_0031: brtrue IL_011f + + IL_0036: nop + IL_0037: ldarg.0 + IL_0038: ldarg.1 + IL_0039: ldc.i4.2 + IL_003a: callvirt instance bool string::Equals(string, valuetype [mscorlib]System.StringComparison) + IL_003f: brfalse IL_0050 + IL_0044: nop + IL_0045: ldstr "Source and Target paths are identical" + IL_004a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_004f: throw .try { // 1 - IL_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_0050: nop + IL_0051: call bool class NAnt.Core.PlatformHelper::get_IsWindows() + IL_0056: brfalse IL_00d1 - IL_0030: nop + IL_005b: nop + IL_005c: ldarg.0 + IL_005d: ldarg.1 + IL_005e: ldc.i4.3 + IL_005f: callvirt instance bool string::Equals(string, valuetype [mscorlib]System.StringComparison) + IL_0064: brfalse IL_00c2 + + IL_0069: nop + IL_006a: ldarg.1 + IL_006b: call class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.Directory::GetParent(string) + IL_0070: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0075: stloc.0 + IL_0076: ldloc.0 + IL_0077: call string class [mscorlib]System.IO.Path::GetRandomFileName() + IL_007c: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0081: stloc.1 .try { // 0 - IL_0031: nop - IL_0032: newobj instance void class [System.Xml]System.Xml.XmlDocument::'.ctor'() - IL_0037: stloc.2 - IL_0038: ldloc.2 - IL_0039: ldloc.1 - IL_003a: callvirt instance void class [System.Xml]System.Xml.XmlDocument::Load(class [mscorlib]System.IO.Stream) - IL_003f: ldarg.0 - IL_0040: ldloc.2 - IL_0041: callvirt instance class [System.Xml]System.Xml.XmlElement class [System.Xml]System.Xml.XmlDocument::get_DocumentElement() - IL_0046: stfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Extensibility.ExtensionAssembly::_configurationSection - IL_004b: nop - IL_004c: leave IL_005a + IL_0082: nop + IL_0083: ldarg.0 + IL_0084: ldloc.1 + IL_0085: call void class [mscorlib]System.IO.Directory::Move(string, string) + IL_008a: ldloc.1 + IL_008b: ldarg.1 + IL_008c: call void class [mscorlib]System.IO.Directory::Move(string, string) + IL_0091: nop + IL_0092: leave IL_00bc } // end .try 0 - 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 + catch class [mscorlib]System.Object { // 0 + IL_0097: pop + IL_0098: nop + IL_0099: ldloc.1 + IL_009a: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_009f: brfalse IL_00ba + + IL_00a4: nop + IL_00a5: ldarg.0 + IL_00a6: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_00ab: brtrue IL_00b9 + + IL_00b0: nop + IL_00b1: ldloc.1 + IL_00b2: ldarg.0 + IL_00b3: call void class [mscorlib]System.IO.Directory::Move(string, string) + IL_00b8: nop + IL_00b9: nop + IL_00ba: rethrow } // end handler 0 - IL_005a: nop - IL_005b: ldarg.0 - IL_005c: ldfld class [System.Xml]System.Xml.XmlNode NAnt.Core.Extensibility.ExtensionAssembly::_configurationSection - IL_0061: stloc.0 - IL_0062: leave IL_0071 + IL_00bc: nop + IL_00bd: br IL_00cb + + IL_00c2: nop + IL_00c3: ldarg.0 + IL_00c4: ldarg.1 + IL_00c5: call void class [mscorlib]System.IO.Directory::Move(string, string) + IL_00ca: nop + IL_00cb: nop + IL_00cc: br IL_00da + + IL_00d1: nop + IL_00d2: ldarg.0 + IL_00d3: ldarg.1 + IL_00d4: call void class [mscorlib]System.IO.Directory::Move(string, string) + IL_00d9: nop + IL_00da: nop + IL_00db: leave IL_0119 } // end .try 1 - 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 + catch class [mscorlib]System.IO.IOException { // 1 + IL_00e0: stloc.2 + IL_00e1: nop + IL_00e2: ldarg.1 + IL_00e3: call bool class [mscorlib]System.IO.Directory::Exists(string) + IL_00e8: brfalse IL_0105 + + IL_00ed: nop + IL_00ee: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00f3: ldstr "Failed to move directory {0}.Directory '{1}' already exists." + IL_00f8: ldarg.0 + IL_00f9: ldarg.1 + IL_00fa: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_00ff: newobj instance void class NAnt.Core.BuildException::'.ctor'(string) + IL_0104: throw + IL_0105: nop + IL_0106: ldstr "Unhandled IOException when trying to move directory '{0}' to '{1}'" + IL_010b: ldarg.0 + IL_010c: ldarg.1 + IL_010d: call string string::Format(string, object, object) + IL_0112: ldloc.2 + IL_0113: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0118: throw } // end handler 1 - IL_0071: ldloc.0 - IL_0072: ret - } // end of method ExtensionAssembly::get_ConfigurationSection + IL_0119: nop + IL_011a: br IL_0133 - // method line 15 + 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 6 + .method assembly static hidebysig + default string GetTempDirectoryName () cil managed + { + // Method begins at RVA 0x24f0 + // Code size 24 (0x18) + .maxstack 2 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: call string class [mscorlib]System.IO.Path::GetTempPath() + IL_0006: call string class [mscorlib]System.IO.Path::GetRandomFileName() + IL_000b: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0010: stloc.0 + IL_0011: br IL_0016 + + IL_0016: ldloc.0 + IL_0017: ret + } // end of method FileUtils::GetTempDirectoryName + + // method line 7 .method public static hidebysig - default class NAnt.Core.Extensibility.ExtensionAssembly Create (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed + default string ReadFile (string fileName, class NAnt.Core.Filters.FilterChain filterChain, class [mscorlib]System.Text.Encoding inputEncoding) cil managed { - // Method begins at RVA 0x2240 - // Code size 84 (0x54) + // Method begins at RVA 0x2514 + // Code size 166 (0xa6) .maxstack 3 .locals init ( string V_0, - class NAnt.Core.Extensibility.ExtensionAssembly V_1, - class NAnt.Core.Extensibility.ExtensionAssembly V_2) + class [mscorlib]System.Text.Encoding V_1, + class [mscorlib]System.IO.StreamReader V_2, + class NAnt.Core.Filters.Filter V_3, + class [mscorlib]System.IO.StringWriter V_4, + int32 V_5, + string V_6) IL_0000: nop - IL_0001: 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_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.2 + IL_0004: brfalse IL_000f - 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_0009: ldarg.2 + IL_000a: br IL_0014 - 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_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_0052: ldloc.2 - IL_0053: ret - } // end of method ExtensionAssembly::Create + 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 - // method line 16 - .method private static hidebysig specialname rtspecialname - default void '.cctor' () cil managed - { - // Method begins at RVA 0x22a0 - // Code size 11 (0xb) - .maxstack 8 - IL_0000: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() - IL_0005: stsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Extensibility.ExtensionAssembly::_extensionAssemblies - IL_000a: ret - } // end of method ExtensionAssembly::.cctor + IL_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 - .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_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 -.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_006a: leave IL_007f - .field private class [mscorlib]System.Type _type + 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 - // method line 17 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.Type 'type') cil managed - { - // Method begins at RVA 0x22ac - // 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_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 - 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 + } // end .try 0 + finally { // 0 + IL_008e: ldloc.2 + IL_008f: brfalse IL_009a - // method line 18 - .method public hidebysig specialname - instance default class [mscorlib]System.Type get_PluginType () cil managed + IL_0094: ldloc.2 + IL_0095: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_009a: endfinally + } // end handler 0 + IL_009b: ldloc.0 + IL_009c: stloc.s 6 + IL_009e: br IL_00a3 + + IL_00a3: ldloc.s 6 + IL_00a5: ret + } // end of method FileUtils::ReadFile + + // method line 8 + .method public static hidebysig + default class [mscorlib]System.IO.DirectoryInfo GetTempDirectory () cil managed { - // Method begins at RVA 0x22d4 - // Code size 15 (0xf) + // Method begins at RVA 0x25d8 + // Code size 34 (0x22) .maxstack 1 .locals init ( - class [mscorlib]System.Type V_0) + string V_0, + class [mscorlib]System.IO.DirectoryInfo V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginConsumerAttribute::_type - IL_0007: stloc.0 - IL_0008: br IL_000d - + IL_0001: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: call void class [mscorlib]System.IO.File::Delete(string) IL_000d: ldloc.0 - IL_000e: 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 -} - -.namespace NAnt.Core.Extensibility -{ - .class interface public auto ansi abstract IPlugin - { - - } // end of class NAnt.Core.Extensibility.IPlugin -} - -.namespace NAnt.Core.Extensibility -{ - .class private auto ansi beforefieldinit PluginBuilder - extends NAnt.Core.Extensibility.ExtensionBuilder - { - .field private initonly class [mscorlib]System.Type _pluginType + 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 - // method line 19 - .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 0x22ef - // Code size 16 (0x10) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: call instance void class NAnt.Core.Extensibility.ExtensionBuilder::'.ctor'(class NAnt.Core.Extensibility.ExtensionAssembly) - IL_0007: nop - IL_0008: ldarg.0 - IL_0009: ldarg.2 - IL_000a: stfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginBuilder::_pluginType - IL_000f: ret - } // end of method PluginBuilder::.ctor + IL_0020: ldloc.1 + IL_0021: ret + } // end of method FileUtils::GetTempDirectory - // method line 20 - .method public hidebysig specialname - instance default class [mscorlib]System.Type get_PluginType () cil managed + // method line 9 + .method public static hidebysig + default string CombinePaths (string path1, string path2) cil managed { - // Method begins at RVA 0x2300 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2608 + // Code size 664 (0x298) + .maxstack 4 .locals init ( - class [mscorlib]System.Type V_0) + string V_0, + char V_1, + char[] V_2, + string[] V_3, + class [mscorlib]System.Collections.ArrayList V_4, + int32 V_5, + string V_6, + bool V_7, + string[] V_8, + int32 V_9, + class [mscorlib]System.Collections.ArrayList V_10, + int32 V_11, + string V_12, + string[] V_13, + string V_14) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Type NAnt.Core.Extensibility.PluginBuilder::_pluginType - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: brfalse IL_0019 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method PluginBuilder::get_PluginType + 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 - // method line 21 - .method public hidebysig - instance default class NAnt.Core.Extensibility.IPlugin CreatePlugin () cil managed - { - // Method begins at RVA 0x231c - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.Extensibility.IPlugin V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Type class NAnt.Core.Extensibility.PluginBuilder::get_PluginType() - IL_0007: call object class [mscorlib]System.Activator::CreateInstance(class [mscorlib]System.Type) - IL_000c: castclass NAnt.Core.Extensibility.IPlugin - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0019: ldarg.0 + IL_001a: brtrue IL_002b - IL_0017: ldloc.0 - IL_0018: ret - } // end of method PluginBuilder::CreatePlugin + 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 - .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_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 -.namespace NAnt.Core.Extensibility -{ - .class private auto ansi beforefieldinit PluginScanner - extends [mscorlib]System.Object - { - .field private initonly class [mscorlib]System.Collections.ArrayList _pluginBuilders + IL_0048: nop + IL_0049: ldarg.1 + IL_004a: stloc.0 + IL_004b: br IL_0296 - // method line 22 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x2341 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_0006: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Extensibility.PluginScanner::_pluginBuilders - IL_000b: ldarg.0 - IL_000c: call instance void object::'.ctor'() - IL_0011: ret - } // end of method PluginScanner::.ctor + IL_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 - // method line 23 - .method public hidebysig - instance default bool ScanTypeForPlugins (class NAnt.Core.Extensibility.ExtensionAssembly extensionAssembly, class [mscorlib]System.Type 'type', class NAnt.Core.Task task) cil managed - { - // Method begins at RVA 0x2354 - // Code size 116 (0x74) - .maxstack 7 - .locals init ( - bool V_0, - bool V_1, - class NAnt.Core.Extensibility.PluginBuilder V_2) - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: callvirt instance bool class [mscorlib]System.Type::get_IsAbstract() - IL_0007: brfalse IL_0013 + IL_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_000c: ldc.i4.0 - IL_000d: stloc.0 - IL_000e: br IL_0072 + IL_0090: ldloc.s 6 + IL_0092: ldstr "." + IL_0097: call bool string::op_Equality(string, string) + IL_009c: brfalse IL_00a7 - .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_00a1: nop + IL_00a2: br IL_0120 - IL_002b: nop - IL_002c: ldc.i4.0 - IL_002d: stloc.0 - IL_002e: leave IL_0072 + IL_00a7: ldloc.s 6 + IL_00a9: ldstr ".." + IL_00ae: call bool string::op_Equality(string, string) + IL_00b3: brfalse IL_0113 - 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_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 - } // 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_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 - // method line 24 - .method public hidebysig - instance default void RegisterPlugins (class NAnt.Core.Extensibility.IPluginConsumer consumer) cil managed - { - // Method begins at RVA 0x23e4 - // Code size 209 (0xd1) - .maxstack 3 - .locals init ( - object[] V_0, - class NAnt.Core.Extensibility.PluginBuilder V_1, - class [mscorlib]System.Collections.IEnumerator V_2, - class NAnt.Core.Extensibility.PluginConsumerAttribute V_3, - object[] V_4, - int32 V_5, - class [mscorlib]System.IDisposable V_6) - IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_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_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_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_0032: nop - IL_0033: br IL_00d0 + 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_0038: nop - IL_0039: ldarg.0 - IL_003a: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Extensibility.PluginScanner::_pluginBuilders - IL_003f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() - IL_0044: stloc.2 - .try { // 0 - IL_0045: br IL_00aa + IL_0130: ldarg.0 + IL_0131: callvirt instance int32 string::get_Length() + IL_0136: ldc.i4.0 + IL_0137: ble IL_0153 - 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_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_0063: ldloc.s 4 - IL_0065: ldloc.s 5 - IL_0067: ldelem.ref - IL_0068: castclass NAnt.Core.Extensibility.PluginConsumerAttribute - IL_006d: stloc.3 - IL_006e: nop - IL_006f: ldloc.3 - IL_0070: callvirt instance class [mscorlib]System.Type class NAnt.Core.Extensibility.PluginConsumerAttribute::get_PluginType() - IL_0075: ldloc.1 - IL_0076: callvirt instance class [mscorlib]System.Type class NAnt.Core.Extensibility.PluginBuilder::get_PluginType() - IL_007b: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0080: brfalse IL_0097 + IL_0153: ldc.i4.0 + IL_0154: stloc.s 7 + IL_0156: ldloc.s 7 + IL_0158: brfalse IL_017b - IL_0085: nop - IL_0086: ldarg.1 - IL_0087: ldloc.1 - IL_0088: callvirt instance class NAnt.Core.Extensibility.IPlugin class NAnt.Core.Extensibility.PluginBuilder::CreatePlugin() - IL_008d: callvirt instance void class NAnt.Core.Extensibility.IPluginConsumer::ConsumePlugin(class NAnt.Core.Extensibility.IPlugin) - IL_0092: leave IL_00a9 + IL_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_0097: nop - IL_0098: ldloc.s 5 - IL_009a: ldc.i4.1 - IL_009b: add - IL_009c: stloc.s 5 - IL_009e: ldloc.s 5 - IL_00a0: ldloc.s 4 - IL_00a2: ldlen - IL_00a3: conv.i4 - IL_00a4: blt IL_0063 + IL_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_00a9: nop - IL_00aa: ldloc.2 - IL_00ab: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_00b0: brtrue IL_004a + 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_00b5: leave IL_00d0 + IL_01c0: ldloc.s 9 + IL_01c2: ldc.i4.2 + IL_01c3: bge IL_01ce - } // end .try 0 - finally { // 0 - IL_00ba: ldloc.2 - IL_00bb: isinst [mscorlib]System.IDisposable - IL_00c0: dup - IL_00c1: stloc.s 6 - IL_00c3: brfalse IL_00cf + IL_01c8: nop + IL_01c9: br IL_01f1 - 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_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 - } // end of class NAnt.Core.Extensibility.PluginScanner -} + 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 -.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_0207: ldloc.s 7 + IL_0209: brtrue IL_0218 + IL_020e: ldloc.s 8 + IL_0210: ldlen + IL_0211: conv.i4 + IL_0212: ldc.i4.1 + IL_0213: ble IL_022c - // method line 25 - .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 0x2509 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method Int32ConversionFunctions::.ctor + IL_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 - // method line 26 + IL_026c: ldarg.1 + IL_026d: ldloc.s 12 + IL_026f: callvirt instance bool string::EndsWith(string) + IL_0274: brfalse IL_028e + + IL_0279: nop + IL_027a: ldloc.s 14 + IL_027c: ldsfld char [mscorlib]System.IO.Path::DirectorySeparatorChar + IL_0281: box [mscorlib]System.Char + IL_0286: call string string::Concat(object, object) + IL_028b: stloc.s 14 + IL_028d: nop + IL_028e: ldloc.s 14 + IL_0290: stloc.0 + IL_0291: br IL_0296 + + IL_0296: ldloc.0 + IL_0297: ret + } // end of method FileUtils::CombinePaths + + // method line 10 .method public static hidebysig - default int32 Parse (string s) cil managed + default string GetFullPath (string path) 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 0x2514 - // Code size 20 (0x14) + // Method begins at RVA 0x28ac + // Code size 135 (0x87) .maxstack 2 .locals init ( - int32 V_0) + string V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: call int32 int32::Parse(string, class [mscorlib]System.IFormatProvider) - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: brtrue IL_0013 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method Int32ConversionFunctions::Parse + 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 27 - .method public static hidebysig - default string ToString (int32 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + IL_001d: ldarg.0 + IL_001e: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0023: brfalse IL_0035 - // Method begins at RVA 0x2534 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_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_0013: ldloc.0 - IL_0014: ret - } // end of method Int32ConversionFunctions::ToString + IL_0035: ldarg.0 + IL_0036: callvirt instance int32 string::get_Length() + IL_003b: brfalse IL_0061 - } // end of class NAnt.Core.Functions.Int32ConversionFunctions -} + IL_0040: ldarg.0 + IL_0041: callvirt instance string string::Trim() + IL_0046: callvirt instance int32 string::get_Length() + IL_004b: brfalse IL_0061 -.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_0050: ldarg.0 + IL_0051: ldsfld char[] [mscorlib]System.IO.Path::InvalidPathChars + IL_0056: callvirt instance int32 string::IndexOfAny(char[]) + IL_005b: ldc.i4.m1 + IL_005c: beq IL_006d + IL_0061: nop + IL_0062: ldstr "The path is not of a legal form." + IL_0067: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_006c: throw + IL_006d: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() + IL_0072: ldarg.0 + IL_0073: call string class NAnt.Core.Util.FileUtils::CombinePaths(string, string) + IL_0078: stloc.1 + IL_0079: ldloc.1 + IL_007a: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_007f: stloc.0 + IL_0080: br IL_0085 - // method line 28 - .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 0x2555 - // 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_0085: ldloc.0 + IL_0086: ret + } // end of method FileUtils::GetFullPath - // method line 29 + // method line 11 .method public static hidebysig - default int64 Parse (string s) cil managed + default string GetHomeDirectory () 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 0x2560 - // Code size 20 (0x14) - .maxstack 2 + // Method begins at RVA 0x2940 + // Code size 47 (0x2f) + .maxstack 1 .locals init ( - int64 V_0) + 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: call int64 int64::Parse(string, class [mscorlib]System.IFormatProvider) - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: brfalse IL_001c - IL_0012: ldloc.0 - IL_0013: ret - } // end of method Int64ConversionFunctions::Parse + 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 - // method line 30 + IL_001c: nop + IL_001d: ldstr "USERPROFILE" + IL_0022: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) + IL_0027: stloc.0 + IL_0028: br IL_002d + + IL_002d: ldloc.0 + IL_002e: ret + } // end of method FileUtils::GetHomeDirectory + + // method line 12 .method public static hidebysig - default string ToString (int64 'value') cil managed + default string ResolveFile (string[] directories, string fileName, bool recursive) 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 0x2580 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x297c + // Code size 113 (0x71) + .maxstack 3 .locals init ( - string V_0) + string V_0, + string V_1, + string[] V_2, + int32 V_3, + string V_4) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0008: call instance string int64::ToString(class [mscorlib]System.IFormatProvider) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldarg.0 + IL_0002: brtrue IL_0012 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method Int64ConversionFunctions::ToString + 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 - } // end of class NAnt.Core.Functions.Int64ConversionFunctions -} + 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 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit DnsFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 03 64 6E 73 03 44 4E 53 00 00 ) // ...dns.DNS.. + IL_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 - // method line 31 - .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 0x25a1 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method DnsFunctions::.ctor + IL_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 - // method line 32 - .method public static hidebysig - default string GetHostName () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 68 6F 73 74 2D 6E 61 6D 65 // ...get-host-name - 00 00 ) // .. + IL_0053: br IL_0066 - // Method begins at RVA 0x25ac - // Code size 14 (0xe) - .maxstack 1 + IL_0058: nop + IL_0059: ldloc.3 + IL_005a: ldc.i4.1 + IL_005b: add + IL_005c: stloc.3 + IL_005d: ldloc.3 + IL_005e: ldloc.2 + IL_005f: ldlen + IL_0060: conv.i4 + IL_0061: blt IL_002f + + IL_0066: ldloc.0 + IL_0067: stloc.s 4 + IL_0069: br IL_006e + + IL_006e: ldloc.s 4 + IL_0070: ret + } // end of method FileUtils::ResolveFile + + // method line 13 + .method private static hidebysig + default string ScanDirectory (string directory, string fileName, bool recursive) cil managed + { + // Method begins at RVA 0x29fc + // Code size 121 (0x79) + .maxstack 3 .locals init ( - string V_0) + string V_0, + string V_1, + string[] V_2, + string V_3, + string[] V_4, + int32 V_5) IL_0000: nop - IL_0001: call string class [System]System.Net.Dns::GetHostName() - IL_0006: stloc.0 - IL_0007: br IL_000c + 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_000c: ldloc.0 - IL_000d: ret - } // end of method DnsFunctions::GetHostName + IL_0014: ldloc.0 + IL_0015: stloc.1 + IL_0016: br IL_0077 - } // end of class NAnt.Core.Functions.DnsFunctions + IL_001b: ldarg.2 + IL_001c: brtrue IL_0028 + + IL_0021: ldnull + IL_0022: stloc.1 + IL_0023: br IL_0077 + + IL_0028: ldarg.0 + IL_0029: call string[] class [mscorlib]System.IO.Directory::GetDirectories(string) + IL_002e: stloc.2 + IL_002f: nop + IL_0030: ldloc.2 + IL_0031: stloc.s 4 + IL_0033: ldc.i4.0 + IL_0034: stloc.s 5 + IL_0036: br IL_0065 + + IL_003b: ldloc.s 4 + IL_003d: ldloc.s 5 + IL_003f: ldelem.ref + IL_0040: stloc.3 + IL_0041: nop + IL_0042: ldarg.0 + IL_0043: ldloc.3 + IL_0044: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0049: ldarg.1 + IL_004a: ldarg.2 + IL_004b: call string class NAnt.Core.Util.FileUtils::ScanDirectory(string, string, bool) + IL_0050: stloc.0 + IL_0051: ldloc.0 + IL_0052: brfalse IL_005e + + IL_0057: ldloc.0 + IL_0058: stloc.1 + IL_0059: br IL_0077 + + IL_005e: nop + IL_005f: ldloc.s 5 + IL_0061: ldc.i4.1 + IL_0062: add + IL_0063: stloc.s 5 + IL_0065: ldloc.s 5 + IL_0067: ldloc.s 4 + IL_0069: ldlen + IL_006a: conv.i4 + IL_006b: blt IL_003b + + IL_0070: ldnull + IL_0071: stloc.1 + IL_0072: br IL_0077 + + IL_0077: ldloc.1 + IL_0078: ret + } // end of method FileUtils::ScanDirectory + + } // end of class NAnt.Core.Util.FileUtils } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Util { - .class public auto ansi beforefieldinit VersionFunctions - extends NAnt.Core.FunctionSetBase + .class public auto ansi serializable beforefieldinit CommandLineArgumentCollection + extends [mscorlib]System.Collections.CollectionBase { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 07 76 65 72 73 69 6F 6E 07 56 65 72 73 69 // ...version.Versi - 6F 6E 00 00 ) // on.. + .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - // method line 33 + // method line 14 .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 0x25c6 - // Code size 10 (0xa) + // Method begins at RVA 0x2a81 + // 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 VersionFunctions::.ctor + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method CommandLineArgumentCollection::.ctor - // method line 34 - .method public static hidebysig - default int32 GetMajor (class [mscorlib]System.Version version) cil managed + // method line 15 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentCollection 'value') 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 0x25d4 + // Method begins at RVA 0x2a8a // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Major() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: call instance void class NAnt.Core.Util.CommandLineArgumentCollection::AddRange(class NAnt.Core.Util.CommandLineArgumentCollection) IL_000e: ret - } // end of method VersionFunctions::GetMajor + } // end of method CommandLineArgumentCollection::.ctor - // method line 35 - .method public static hidebysig - default int32 GetMinor (class [mscorlib]System.Version version) cil managed + // method line 16 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgument[] '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 0x25f0 + // Method begins at RVA 0x2a9a // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) - 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 + .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 VersionFunctions::GetMinor + } // end of method CommandLineArgumentCollection::.ctor - // method line 36 - .method public static hidebysig - default int32 GetBuild (class [mscorlib]System.Version version) cil managed + // method line 17 + .method public hidebysig specialname + instance default class NAnt.Core.Util.CommandLineArgument get_Item (int32 index) 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 0x260c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2aac + // Code size 26 (0x1a) + .maxstack 2 .locals init ( - int32 V_0) + class NAnt.Core.Util.CommandLineArgument V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Build() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) + IL_000d: castclass NAnt.Core.Util.CommandLineArgument + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VersionFunctions::GetBuild + IL_0018: ldloc.0 + IL_0019: ret + } // end of method CommandLineArgumentCollection::get_Item - // method line 37 - .method public static hidebysig - default int32 GetRevision (class [mscorlib]System.Version version) cil managed + // method line 18 + .method public hidebysig specialname + instance default void set_Item (int32 index, class NAnt.Core.Util.CommandLineArgument '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 0x2628 + // Method begins at RVA 0x2ad2 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - int32 V_0) + .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_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 VersionFunctions::GetRevision - - } // end of class NAnt.Core.Functions.VersionFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit VersionConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 07 76 65 72 73 69 6F 6E 0A 43 6F 6E 76 65 // ...version.Conve - 72 73 69 6F 6E 00 00 ) // rsion.. - + } // end of method CommandLineArgumentCollection::set_Item - // method line 38 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 19 + .method public hidebysig specialname + instance default class NAnt.Core.Util.CommandLineArgument get_Item (string name) cil managed { - // Method begins at RVA 0x2643 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 + // Method begins at RVA 0x2ae4 + // Code size 213 (0xd5) + .maxstack 2 + .locals init ( + class NAnt.Core.Util.CommandLineArgument V_0, + class [mscorlib]System.Collections.IEnumerator V_1, + class NAnt.Core.Util.CommandLineArgument V_2, + class [mscorlib]System.IDisposable V_3, + class NAnt.Core.Util.CommandLineArgument V_4, + class [mscorlib]System.Collections.IEnumerator V_5, + class [mscorlib]System.IDisposable V_6) + IL_0000: nop IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0002: brfalse IL_00cc + + IL_0007: nop IL_0008: nop - IL_0009: ret - } // end of method VersionConversionFunctions::.ctor + IL_0009: ldarg.0 + IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0014: stloc.1 + .try { // 0 + IL_0015: br IL_0041 - // method line 39 - .method public static hidebysig - default class [mscorlib]System.Version Parse (string version) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + 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 - // Method begins at RVA 0x2650 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.Version V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class [mscorlib]System.Version::'.ctor'(string) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0038: nop + IL_0039: ldloc.0 + IL_003a: stloc.2 + IL_003b: leave IL_00d3 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VersionConversionFunctions::Parse + IL_0040: nop + IL_0041: ldloc.1 + IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_0047: brtrue IL_001a - // method line 40 - .method public static hidebysig - default string ToString (class [mscorlib]System.Version 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + IL_004c: leave IL_0065 - // Method begins at RVA 0x266c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string object::ToString() - IL_0007: stloc.0 - IL_0008: br IL_000d + } // end .try 0 + finally { // 0 + IL_0051: ldloc.1 + IL_0052: isinst [mscorlib]System.IDisposable + IL_0057: dup + IL_0058: stloc.3 + IL_0059: brfalse IL_0064 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method VersionConversionFunctions::ToString + 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 - } // end of class NAnt.Core.Functions.VersionConversionFunctions -} + 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 -.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_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 - // method line 41 - .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 0x2687 - // 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_00af: leave IL_00cb - // method line 42 - .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.. + } // 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 - .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_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 - // Method begins at RVA 0x2694 - // Code size 10 (0xa) - .maxstack 1 + IL_00d3: ldloc.2 + IL_00d4: ret + } // end of method CommandLineArgumentCollection::get_Item + + // method line 20 + .method public hidebysig + instance default int32 Add (class NAnt.Core.Util.CommandLineArgument item) cil managed + { + // Method begins at RVA 0x2be4 + // Code size 21 (0x15) + .maxstack 2 .locals init ( int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + 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_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToInt + IL_0013: ldloc.0 + IL_0014: ret + } // end of method CommandLineArgumentCollection::Add - // method line 43 - .method public static hidebysig - default float64 ToDouble (float64 'value') cil managed + // method line 21 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Util.CommandLineArgument[] items) 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.. - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec - 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion - 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea - 64 2E 00 00 00 ) // d.... - - // Method begins at RVA 0x26ac - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0x2c08 + // Code size 34 (0x22) + .maxstack 3 .locals init ( - float64 V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 + IL_0001: ldc.i4.0 IL_0002: stloc.0 - IL_0003: br IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToDouble + IL_0003: br IL_0018 - // method line 44 - .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_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 - .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_0021: ret + } // end of method CommandLineArgumentCollection::AddRange - // Method begins at RVA 0x26c4 - // Code size 10 (0xa) - .maxstack 1 + // method line 22 + .method public hidebysig + instance default void AddRange (class NAnt.Core.Util.CommandLineArgumentCollection items) cil managed + { + // Method begins at RVA 0x2c38 + // Code size 41 (0x29) + .maxstack 3 .locals init ( - string V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 + IL_0001: ldc.i4.0 IL_0002: stloc.0 - IL_0003: br IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ConvertToString + IL_0003: br IL_001c - // method line 45 - .method public static hidebysig - default valuetype [mscorlib]System.DateTime ToDateTime (valuetype [mscorlib]System.DateTime 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 74 6F 2D 64 61 74 65 74 69 6D 65 00 00 ) // ...to-datetime.. + IL_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 - .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_0028: ret + } // end of method CommandLineArgumentCollection::AddRange - // Method begins at RVA 0x26dc - // Code size 10 (0xa) - .maxstack 1 + // method line 23 + .method public hidebysig + instance default bool Contains (class NAnt.Core.Util.CommandLineArgument item) cil managed + { + // Method begins at RVA 0x2c70 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - valuetype [mscorlib]System.DateTime V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToDateTime + IL_0013: ldloc.0 + IL_0014: ret + } // end of method CommandLineArgumentCollection::Contains - // method line 46 - .method public static hidebysig - default bool ToBoolean (bool 'value') cil managed + // method line 24 + .method public hidebysig + instance default void CopyTo (class NAnt.Core.Util.CommandLineArgument[] 'array', int32 index) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 74 6F 2D 62 6F 6F 6C 65 61 6E 00 00 ) // ...to-boolean.. - - .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( - 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec - 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion - 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea - 64 2E 00 00 00 ) // d.... + // Method begins at RVA 0x2c91 + // 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 begins at RVA 0x26f4 - // Code size 10 (0xa) - .maxstack 1 + // method line 25 + .method public hidebysig + instance default int32 IndexOf (class NAnt.Core.Util.CommandLineArgument item) cil managed + { + // Method begins at RVA 0x2ca4 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 - - IL_0008: ldloc.0 - IL_0009: ret - } // end of method ConversionFunctions::ToBoolean - - } // end of class NAnt.Core.Functions.ConversionFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit StringFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 06 73 74 72 69 6E 67 06 53 74 72 69 6E 67 // ...string.String - 00 00 ) // .. + 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 CommandLineArgumentCollection::IndexOf - // method line 47 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary propDict) cil managed + // method line 26 + .method public hidebysig + instance default void Insert (int32 index, class NAnt.Core.Util.CommandLineArgument item) cil managed { - // Method begins at RVA 0x270a - // Code size 10 (0xa) + // Method begins at RVA 0x2cc5 + // 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 StringFunctions::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0007: ldarg.1 + IL_0008: ldarg.2 + IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) + IL_000e: ret + } // end of method CommandLineArgumentCollection::Insert - // method line 48 - .method public static hidebysig - default int32 GetLength (string s) cil managed + // method line 27 + .method public hidebysig + instance default class NAnt.Core.Util.CommandLineArgumentEnumerator GetEnumerator () 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 0x2718 + // Method begins at RVA 0x2cd8 // Code size 15 (0xf) .maxstack 1 .locals init ( - int32 V_0) + class NAnt.Core.Util.CommandLineArgumentEnumerator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 string::get_Length() + IL_0002: newobj instance void class NAnt.Core.Util.CommandLineArgumentEnumerator::'.ctor'(class NAnt.Core.Util.CommandLineArgumentCollection) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method StringFunctions::GetLength + } // end of method CommandLineArgumentCollection::GetEnumerator - // method line 49 - .method public static hidebysig - default string Substring (string str, int32 startIndex, int32 length) cil managed + // method line 28 + .method public hidebysig + instance default void Remove (class NAnt.Core.Util.CommandLineArgument item) 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 0x2734 - // Code size 17 (0x11) - .maxstack 3 - .locals init ( - string V_0) + // Method begins at RVA 0x2cf3 + // Code size 14 (0xe) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: ldarg.2 - IL_0004: callvirt instance string string::Substring(int32, int32) - IL_0009: stloc.0 - IL_000a: br IL_000f + IL_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_000f: ldloc.0 - IL_0010: ret - } // end of method StringFunctions::Substring + .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 50 - .method public static hidebysig - default bool StartsWith (string s1, string s2) 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.. +.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 - // Method begins at RVA 0x2754 - // Code size 26 (0x1a) - .maxstack 3 + // method line 29 + .method assembly hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentCollection arguments) cil managed + { + // Method begins at RVA 0x2d04 + // Code size 22 (0x16) + .maxstack 2 .locals init ( - bool V_0) - IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsPrefix(string, string) - IL_0012: stloc.0 - IL_0013: br IL_0018 - - IL_0018: ldloc.0 - IL_0019: ret - } // end of method StringFunctions::StartsWith + 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 - // method line 51 - .method public static hidebysig - default bool EndsWith (string s1, string s2) cil managed + // method line 30 + .method public hidebysig specialname + instance default class NAnt.Core.Util.CommandLineArgument get_Current () 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 0x277c - // Code size 26 (0x1a) - .maxstack 3 + // Method begins at RVA 0x2d28 + // Code size 25 (0x19) + .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Util.CommandLineArgument V_0) IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsSuffix(string, string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_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_0018: ldloc.0 - IL_0019: ret - } // end of method StringFunctions::EndsWith + IL_0017: ldloc.0 + IL_0018: ret + } // end of method CommandLineArgumentEnumerator::get_Current - // method line 52 - .method public static hidebysig - default string ToLower (string s) cil managed + // method line 31 + .method private final virtual hidebysig newslot specialname + instance default object System.Collections.IEnumerator.get_Current () 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 0x27a4 + // Method begins at RVA 0x2d50 + .override class [mscorlib]System.Collections.IEnumerator::get_Current // Code size 20 (0x14) - .maxstack 2 + .maxstack 1 .locals init ( - string V_0) + object 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_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Util.CommandLineArgumentEnumerator::_baseEnumerator + IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method StringFunctions::ToLower + } // end of method CommandLineArgumentEnumerator::System.Collections.IEnumerator.get_Current - // method line 53 - .method public static hidebysig - default string ToUpper (string s) cil managed + // method line 32 + .method public hidebysig + instance default bool MoveNext () 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 0x27c4 + // Method begins at RVA 0x2d70 // Code size 20 (0x14) - .maxstack 2 + .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) + IL_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 StringFunctions::ToUpper + } // end of method CommandLineArgumentEnumerator::MoveNext - // method line 54 - .method public static hidebysig - default string Replace (string str, string oldValue, string newValue) cil managed + // method line 33 + .method private final virtual hidebysig newslot + instance default bool System.Collections.IEnumerator.MoveNext () 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 0x27e4 - // Code size 17 (0x11) - .maxstack 3 + // Method begins at RVA 0x2d90 + .override class [mscorlib]System.Collections.IEnumerator::MoveNext + // Code size 20 (0x14) + .maxstack 1 .locals init ( - string V_0) + bool 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 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_000f: ldloc.0 - IL_0010: ret - } // end of method StringFunctions::Replace + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CommandLineArgumentEnumerator::System.Collections.IEnumerator.MoveNext - // method line 55 - .method public static hidebysig - default bool Contains (string source, string 'value') cil managed + // method line 34 + .method public hidebysig + instance default void Reset () 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 0x2db0 + // Code size 13 (0xd) + .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 - // Method begins at RVA 0x2804 - // Code size 33 (0x21) - .maxstack 4 - .locals init ( - bool V_0) + // method line 35 + .method private final virtual hidebysig newslot + instance default void System.Collections.IEnumerator.Reset () cil managed + { + // Method begins at RVA 0x2dbe + .override class [mscorlib]System.Collections.IEnumerator::Reset + // Code size 13 (0xd) + .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_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_001f: ldloc.0 - IL_0020: ret - } // end of method StringFunctions::Contains + .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 56 - .method public static hidebysig - default int32 IndexOf (string source, string 'value') cil managed +.namespace NAnt.Core.Util +{ + .class public auto ansi beforefieldinit DateTimeProvider + extends [mscorlib]System.Object + { + + // method line 36 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () 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 0x2dcc + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: ret + } // end of method DateTimeProvider::.ctor - // Method begins at RVA 0x2834 - // Code size 27 (0x1b) - .maxstack 4 + // method line 37 + .method public virtual hidebysig newslot specialname + instance default valuetype [mscorlib]System.DateTime get_Now () cil managed + { + // Method begins at RVA 0x2dd4 + // Code size 14 (0xe) + .maxstack 1 .locals init ( - int32 V_0) + valuetype [mscorlib]System.DateTime 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: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0019: ldloc.0 - IL_001a: ret - } // end of method StringFunctions::IndexOf + IL_000c: ldloc.0 + IL_000d: ret + } // end of method DateTimeProvider::get_Now - // method line 57 - .method public static hidebysig - default int32 LastIndexOf (string source, string 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 6C 61 73 74 2D 69 6E 64 65 78 2D 6F 66 // ...last-index-of - 00 00 ) // .. + .property instance valuetype [mscorlib]System.DateTime Now () + { + .get instance default valuetype [mscorlib]System.DateTime NAnt.Core.Util.DateTimeProvider::get_Now () + } + } // end of class NAnt.Core.Util.DateTimeProvider +} - // Method begins at RVA 0x285c - // Code size 27 (0x1b) - .maxstack 4 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() - IL_000b: ldarg.0 - IL_000c: ldarg.1 - IL_000d: ldc.i4.0 - IL_000e: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::LastIndexOf(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) - IL_0013: stloc.0 - IL_0014: br IL_0019 +.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 - IL_0019: ldloc.0 - IL_001a: ret - } // end of method StringFunctions::LastIndexOf + // method line 38 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x2dee + // 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 58 + // method line 39 .method public static hidebysig - default string PadLeft (string s, int32 totalWidth, string paddingChar) cil managed + default void RegisterSharedAssembly (class [mscorlib]System.Reflection.Assembly 'assembly') 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 0x2884 - // Code size 23 (0x17) - .maxstack 4 - .locals init ( - string V_0) + // Method begins at RVA 0x2df7 + // Code size 24 (0x18) + .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::PadLeft(int32, char) - IL_000f: stloc.0 - IL_0010: br IL_0015 - - IL_0015: ldloc.0 - IL_0016: ret - } // end of method StringFunctions::PadLeft + 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 59 + // method line 40 .method public static hidebysig - default string PadRight (string s, int32 totalWidth, string paddingChar) cil managed + default string GetString (string name) cil managed noinlining { - .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 0x28a8 + // Method begins at RVA 0x2e10 // Code size 23 (0x17) - .maxstack 4 + .maxstack 3 .locals init ( - string V_0) + class [mscorlib]System.Reflection.Assembly V_0, + string V_1) 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_0001: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldnull + IL_0009: ldloc.0 + IL_000a: call string class NAnt.Core.Util.ResourceUtils::GetString(string, class [mscorlib]System.Globalization.CultureInfo, class [mscorlib]System.Reflection.Assembly) + IL_000f: stloc.1 IL_0010: br IL_0015 - IL_0015: ldloc.0 + IL_0015: ldloc.1 IL_0016: ret - } // end of method StringFunctions::PadRight - - // method line 60 - .method public static hidebysig - default string Trim (string s) 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 0x28cc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string string::Trim() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StringFunctions::Trim + } // end of method ResourceUtils::GetString - // method line 61 + // method line 41 .method public static hidebysig - default string TrimStart (string s) cil managed + default string GetString (string name, class [mscorlib]System.Globalization.CultureInfo culture) cil managed noinlining { - .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 0x28e8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2e34 + // Code size 23 (0x17) + .maxstack 3 .locals init ( - string V_0) + class [mscorlib]System.Reflection.Assembly V_0, + string V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string string::TrimStart() - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method StringFunctions::TrimStart + IL_0015: ldloc.1 + IL_0016: ret + } // end of method ResourceUtils::GetString - // method line 62 + // method line 42 .method public static hidebysig - default string TrimEnd (string s) cil managed + default string GetString (string name, class [mscorlib]System.Globalization.CultureInfo culture, class [mscorlib]System.Reflection.Assembly 'assembly') 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 0x2904 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x2e58 + // Code size 107 (0x6b) + .maxstack 3 .locals init ( - string V_0) + string V_0, + class [mscorlib]System.Resources.ResourceManager V_1, + string V_2, + string V_3) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance string string::TrimEnd() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method StringFunctions::TrimEnd - - } // end of class NAnt.Core.Functions.StringFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit NAntFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 6E 61 6E 74 04 4E 41 6E 74 00 00 ) // ...nant.NAnt.. + IL_0001: ldarg.2 + IL_0002: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_0007: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_000c: stloc.0 + IL_000d: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary + IL_0012: ldloc.0 + IL_0013: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_0018: brtrue IL_0025 + IL_001d: nop + IL_001e: ldarg.2 + IL_001f: call void class NAnt.Core.Util.ResourceUtils::RegisterAssembly(class [mscorlib]System.Reflection.Assembly) + IL_0024: nop + IL_0025: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary + IL_002a: ldloc.0 + IL_002b: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0030: castclass [mscorlib]System.Resources.ResourceManager + IL_0035: stloc.1 + IL_0036: ldloc.1 + IL_0037: ldarg.0 + IL_0038: ldarg.1 + IL_0039: callvirt instance string class [mscorlib]System.Resources.ResourceManager::GetString(string, class [mscorlib]System.Globalization.CultureInfo) + IL_003e: stloc.2 + IL_003f: ldloc.2 + IL_0040: brtrue IL_0062 - // method line 63 - .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 0x291f - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method NAntFunctions::.ctor + IL_0045: ldsfld class [mscorlib]System.Resources.ResourceManager NAnt.Core.Util.ResourceUtils::_sharedResourceManager + IL_004a: brfalse IL_0062 - // method line 64 - .method public hidebysig - instance default string GetBaseDirectory () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 62 61 73 65 2D 64 69 72 65 // ...get-base-dire - 63 74 6F 72 79 00 00 ) // ctory.. + IL_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 - // Method begins at RVA 0x292c - // Code size 19 (0x13) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() - IL_0006: callvirt instance string class [mscorlib]System.AppDomain::get_BaseDirectory() - IL_000b: stloc.0 - IL_000c: br IL_0011 + IL_0062: ldloc.2 + IL_0063: stloc.3 + IL_0064: br IL_0069 - IL_0011: ldloc.0 - IL_0012: ret - } // end of method NAntFunctions::GetBaseDirectory + IL_0069: ldloc.3 + IL_006a: ret + } // end of method ResourceUtils::GetString - // method line 65 - .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly GetAssembly () cil managed + // method line 43 + .method private static hidebysig + default void RegisterAssembly (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 61 73 73 65 6D 62 6C 79 00 // ...get-assembly. - 00 ) // . - - // Method begins at RVA 0x294c - // Code size 50 (0x32) - .maxstack 2 + // Method begins at RVA 0x2ed0 + // Code size 70 (0x46) + .maxstack 4 .locals init ( - class [mscorlib]System.Reflection.Assembly V_0, - class [mscorlib]System.Reflection.Assembly V_1) + object V_0, + bool V_1, + string V_2) IL_0000: nop - IL_0001: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetEntryAssembly() + IL_0001: ldsfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.ResourceUtils::_resourceManagerDictionary 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_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_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 + } // end .try 0 + finally { // 0 + IL_003b: ldloc.1 + IL_003c: brfalse.s IL_0044 - IL_0030: ldloc.1 - IL_0031: ret - } // end of method NAntFunctions::GetAssembly + IL_003e: ldloc.0 + IL_003f: call void class [mscorlib]System.Threading.Monitor::Exit(object) + IL_0044: endfinally + } // end handler 0 + IL_0045: ret + } // end of method ResourceUtils::RegisterAssembly - // method line 66 - .method public hidebysig - instance default string ScanProbingPaths (string fileName) cil managed + // method line 44 + .method private static hidebysig + default string GetResourceName (string assemblyName) 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 0x298c - // Code size 92 (0x5c) - .maxstack 3 + // Method begins at RVA 0x2f34 + // Code size 65 (0x41) + .maxstack 4 .locals init ( string V_0, - class NAnt.Core.FrameworkInfo V_1, - string[] V_2, - string V_3) + string V_1) IL_0000: nop IL_0001: ldnull IL_0002: stloc.0 IL_0003: ldarg.0 - IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0009: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000e: stloc.1 - IL_000f: ldloc.1 - IL_0010: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_0015: brfalse IL_0036 + IL_0004: ldstr "Tasks" + IL_0009: callvirt instance bool string::EndsWith(string) + IL_000e: brfalse IL_002a - IL_001a: nop - IL_001b: ldloc.1 - IL_001c: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_0021: callvirt instance class NAnt.Core.Configuration.DirList class NAnt.Core.Configuration.Runtime::get_ProbingPaths() - IL_0026: callvirt instance string[] class NAnt.Core.Configuration.DirList::GetDirectories() - IL_002b: stloc.2 - IL_002c: ldloc.2 - IL_002d: ldarg.1 - IL_002e: ldc.i4.1 - IL_002f: call string class NAnt.Core.Util.FileUtils::ResolveFile(string[], string, bool) - IL_0034: stloc.0 - IL_0035: nop - IL_0036: ldloc.0 - IL_0037: brtrue IL_0053 + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: ldc.i4.0 + IL_0016: ldarg.0 + IL_0017: callvirt instance int32 string::get_Length() + IL_001c: ldc.i4.5 + IL_001d: sub + IL_001e: callvirt instance string string::Substring(int32, int32) + IL_0023: stloc.0 + IL_0024: nop + IL_0025: br IL_002e - IL_003c: nop - IL_003d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0042: ldstr "\"{0}\" could not be found in any of the configured probing paths." - IL_0047: ldarg.1 - IL_0048: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_004d: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'(string) - IL_0052: throw - IL_0053: ldloc.0 - IL_0054: stloc.3 - IL_0055: br IL_005a + IL_002a: nop + IL_002b: ldarg.0 + IL_002c: stloc.0 + IL_002d: nop + IL_002e: ldloc.0 + IL_002f: ldstr ".Resources.Strings" + IL_0034: call string string::Concat(string, string) + IL_0039: stloc.1 + IL_003a: br IL_003f - IL_005a: ldloc.3 - IL_005b: ret - } // end of method NAntFunctions::ScanProbingPaths + IL_003f: ldloc.1 + IL_0040: ret + } // end of method ResourceUtils::GetResourceName - // method line 67 - .method public hidebysig - instance default string ScanProbingPaths (string baseDirectory, string fileName) cil managed + // method line 45 + .method private static hidebysig specialname rtspecialname + default void '.cctor' () 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.. + // Method begins at RVA 0x2f81 + // 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 - .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 01 00 00 00 00 00 ) // ........ + } // end of class NAnt.Core.Util.ResourceUtils +} - // Method begins at RVA 0x29f4 - // Code size 93 (0x5d) +.namespace NAnt.Core.Util +{ + .class public auto ansi beforefieldinit CommandLineArgument + extends [mscorlib]System.Object + { + .field private class [mscorlib]System.Type _elementType + .field private bool _seenValue + .field private valuetype NAnt.Core.Util.CommandLineArgumentTypes _argumentType + .field private class [mscorlib]System.Reflection.PropertyInfo _propertyInfo + .field private class NAnt.Core.Util.CommandLineArgumentAttribute _attribute + .field private object _argumentValue + .field private class [mscorlib]System.Collections.ArrayList _collectionValues + .field private class [System]System.Collections.Specialized.NameValueCollection _valuePairs + + // method line 46 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.CommandLineArgumentAttribute attribute, class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x2f90 + // Code size 258 (0x102) .maxstack 3 - .locals init ( - string V_0, - class NAnt.Core.FrameworkInfo V_1, - string[] V_2, - string V_3) - IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0009: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000e: stloc.1 - IL_000f: ldloc.1 - IL_0010: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() - IL_0015: brfalse IL_0037 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_000e: ldarg.0 + IL_000f: ldarg.2 + IL_0010: stfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0015: ldarg.0 + IL_0016: ldc.i4.0 + IL_0017: stfld bool NAnt.Core.Util.CommandLineArgument::_seenValue + IL_001c: ldarg.0 + IL_001d: ldarg.2 + IL_001e: call class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::GetElementType(class [mscorlib]System.Reflection.PropertyInfo) + IL_0023: stfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::_elementType + IL_0028: ldarg.0 + IL_0029: ldarg.1 + IL_002a: ldarg.2 + IL_002b: call valuetype NAnt.Core.Util.CommandLineArgumentTypes class NAnt.Core.Util.CommandLineArgument::GetArgumentType(class NAnt.Core.Util.CommandLineArgumentAttribute, class [mscorlib]System.Reflection.PropertyInfo) + IL_0030: stfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType + IL_0035: ldarg.0 + IL_0036: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_003b: brtrue IL_004b - IL_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_0040: ldarg.0 + IL_0041: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_0046: brfalse IL_005d - 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_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_005b: ldloc.3 - IL_005c: ret - } // end of method NAntFunctions::ScanProbingPaths + IL_005d: ldarg.0 + IL_005e: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_0063: brfalse IL_0075 - } // end of class NAnt.Core.Functions.NAntFunctions -} + 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 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit ProjectFunctions - extends NAnt.Core.FunctionSetBase - { - .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 ) // . + IL_0080: ldarg.0 + IL_0081: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0086: callvirt instance int32 string::get_Length() + IL_008b: ldc.i4.0 + IL_008c: cgt + IL_008e: br.s IL_0091 + IL_0090: ldc.i4.0 + IL_0091: call void class [System]System.Diagnostics.Debug::Assert(bool) + IL_0096: ldarg.0 + IL_0097: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_009c: brtrue IL_00b7 - // method line 68 - .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 0x2a5d - // 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 ProjectFunctions::.ctor + IL_00a1: ldarg.0 + IL_00a2: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_00a7: brtrue IL_00b7 - // method line 69 - .method public hidebysig - instance default string GetName () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. + IL_00ac: ldarg.0 + IL_00ad: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_00b2: brfalse IL_00bf - // Method begins at RVA 0x2a68 - // 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_00b7: ldarg.0 + IL_00b8: call instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() + IL_00bd: br.s IL_00c0 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ProjectFunctions::GetName + 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 - // method line 70 - .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.. + IL_00d5: ldarg.0 + IL_00d6: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_00db: brtrue IL_00f3 - // Method begins at RVA 0x2a90 - // 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_00e0: ldarg.0 + IL_00e1: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_00e6: brtrue IL_00f3 - 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_00eb: ldarg.0 + IL_00ec: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_00f1: br.s IL_00f4 - IL_002e: ldsfld string [mscorlib]System.String::Empty - IL_0033: stloc.0 - IL_0034: br IL_0039 + IL_00f3: ldc.i4.1 + IL_00f4: br.s IL_00f7 - IL_0039: ldloc.0 - IL_003a: ret - } // end of method ProjectFunctions::GetBuildFileUri + IL_00f6: ldc.i4.1 + IL_00f7: ldstr "Unique only applicable to collection arguments" + IL_00fc: call void class [System]System.Diagnostics.Debug::Assert(bool, string) + IL_0101: ret + } // end of method CommandLineArgument::.ctor - // method line 71 - .method public hidebysig - instance default string GetBuildFilePath () cil managed + // method line 47 + .method public hidebysig specialname + instance default class [mscorlib]System.Reflection.PropertyInfo get_Property () 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 0x2ad8 - // Code size 25 (0x19) + // Method begins at RVA 0x30a0 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Reflection.PropertyInfo 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_0002: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ProjectFunctions::GetBuildFilePath + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineArgument::get_Property - // method line 72 - .method public hidebysig - instance default string GetDefaultTarget () cil managed + // method line 48 + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_ValueType () 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 0x2b00 - // Code size 25 (0x19) + // Method begins at RVA 0x30bc + // Code size 48 (0x30) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.Type V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: 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: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0007: brtrue IL_0017 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method ProjectFunctions::GetDefaultTarget + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_0012: brfalse IL_0022 - // method line 73 - .method public hidebysig - instance default string GetBaseDirectory () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 62 61 73 65 2D 64 69 72 65 // ...get-base-dire - 63 74 6F 72 79 00 00 ) // ctory.. + IL_0017: ldarg.0 + IL_0018: ldfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::_elementType + IL_001d: br IL_0028 - // Method begins at RVA 0x2b28 - // Code size 20 (0x14) + IL_0022: ldarg.0 + IL_0023: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_Type() + IL_0028: stloc.0 + IL_0029: br IL_002e + + IL_002e: ldloc.0 + IL_002f: ret + } // end of method CommandLineArgument::get_ValueType + + // method line 49 + .method public hidebysig specialname + instance default string get_LongName () cil managed + { + // Method begins at RVA 0x30f8 + // Code size 66 (0x42) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ProjectFunctions::GetBaseDirectory + IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0007: brfalse IL_002e - } // end of class NAnt.Core.Functions.ProjectFunctions -} + 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 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit TargetFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 06 74 61 72 67 65 74 04 4E 41 6E 74 00 00 ) // ...target.NAnt.. + IL_001c: nop + IL_001d: ldarg.0 + IL_001e: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0023: callvirt instance string class NAnt.Core.Util.CommandLineArgumentAttribute::get_Name() + IL_0028: stloc.0 + IL_0029: br IL_0040 + IL_002e: nop + IL_002f: ldarg.0 + IL_0030: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0035: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_003a: stloc.0 + IL_003b: br IL_0040 - // method line 74 - .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 0x2b48 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method TargetFunctions::.ctor + IL_0040: ldloc.0 + IL_0041: ret + } // end of method CommandLineArgument::get_LongName - // method line 75 - .method public hidebysig - instance default bool Exists (string name) cil managed + // method line 50 + .method public hidebysig specialname + instance default string get_ShortName () 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 0x2b54 - // Code size 32 (0x20) - .maxstack 2 + // Method begins at RVA 0x3148 + // Code size 40 (0x28) + .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.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_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_ShortName() IL_0018: stloc.0 - IL_0019: br IL_001e + IL_0019: br IL_0026 - IL_001e: ldloc.0 - IL_001f: ret - } // end of method TargetFunctions::Exists + IL_001e: nop + IL_001f: ldnull + IL_0020: stloc.0 + IL_0021: br IL_0026 - // method line 76 - .method public hidebysig - instance default string GetCurrentTarget () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 63 75 72 72 65 6E 74 2D 74 // ...get-current-t - 61 72 67 65 74 00 00 ) // arget.. + IL_0026: ldloc.0 + IL_0027: ret + } // end of method CommandLineArgument::get_ShortName - // Method begins at RVA 0x2b80 - // Code size 45 (0x2d) + // method line 51 + .method public hidebysig specialname + instance default string get_Description () cil managed + { + // Method begins at RVA 0x317c + // Code size 40 (0x28) .maxstack 1 .locals init ( - class NAnt.Core.Target V_0, - string V_1) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.Target class NAnt.Core.Project::get_CurrentTarget() - IL_000c: stloc.0 - IL_000d: ldloc.0 - IL_000e: brtrue IL_001f + IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0007: brfalse IL_001e - 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_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_002b: ldloc.1 - IL_002c: ret - } // end of method TargetFunctions::GetCurrentTarget + IL_001e: nop + IL_001f: ldnull + IL_0020: stloc.0 + IL_0021: br IL_0026 - // method line 77 - .method public hidebysig - instance default bool HasExecuted (string name) 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 ) // . + IL_0026: ldloc.0 + IL_0027: ret + } // end of method CommandLineArgument::get_Description - // Method begins at RVA 0x2bbc - // Code size 67 (0x43) + // method line 52 + .method public hidebysig specialname + instance default bool get_IsRequired () cil managed + { + // Method begins at RVA 0x31b0 + // Code size 23 (0x17) .maxstack 3 .locals init ( - class NAnt.Core.Target V_0, - bool V_1) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.TargetCollection class NAnt.Core.Project::get_Targets() - IL_000c: ldarg.1 - IL_000d: callvirt instance class NAnt.Core.Target class NAnt.Core.TargetCollection::Find(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: brtrue IL_0035 - - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "NA1097" - IL_0024: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0029: ldarg.1 - IL_002a: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002f: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0034: throw - IL_0035: ldloc.0 - IL_0036: callvirt instance bool class NAnt.Core.Target::get_Executed() - IL_003b: stloc.1 - IL_003c: br IL_0041 - - IL_0041: ldloc.1 - IL_0042: ret - } // end of method TargetFunctions::HasExecuted - - } // end of class NAnt.Core.Functions.TargetFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit TaskFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 74 61 73 6B 04 4E 41 6E 74 00 00 ) // ...task.NAnt.. - + IL_0001: ldc.i4.0 + IL_0002: ldarg.0 + IL_0003: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType + IL_0008: ldc.i4.1 + IL_0009: and + IL_000a: ceq + IL_000c: ldc.i4.0 + IL_000d: ceq + IL_000f: stloc.0 + IL_0010: br IL_0015 - // method line 78 - .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 0x2c0b - // 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_0015: ldloc.0 + IL_0016: ret + } // end of method CommandLineArgument::get_IsRequired - // method line 79 - .method public hidebysig - instance default bool Exists (string name) cil managed + // method line 53 + .method public hidebysig specialname + instance default bool get_SeenValue () 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 0x2c18 - // Code size 20 (0x14) - .maxstack 2 + // Method begins at RVA 0x31d4 + // Code size 15 (0xf) + .maxstack 1 .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_0001: ldarg.0 + IL_0002: ldfld bool NAnt.Core.Util.CommandLineArgument::_seenValue + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method TaskFunctions::Exists + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineArgument::get_SeenValue - // method line 80 - .method public hidebysig - instance default class [mscorlib]System.Reflection.Assembly GetAssembly (string name) cil managed + // method line 54 + .method public hidebysig specialname + instance default bool get_AllowMultiple () 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 0x2c38 - // Code size 61 (0x3d) + // Method begins at RVA 0x31f0 + // Code size 59 (0x3b) .maxstack 3 .locals init ( - class NAnt.Core.TaskBuilder V_0, - class [mscorlib]System.Reflection.Assembly V_1) + 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 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_0013: nop - IL_0014: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0019: ldstr "NA1099" - IL_001e: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0023: ldarg.1 - IL_0024: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0029: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_002e: throw - IL_002f: ldloc.0 - IL_0030: callvirt instance class [mscorlib]System.Reflection.Assembly class NAnt.Core.Extensibility.ExtensionBuilder::get_Assembly() - IL_0035: stloc.1 - IL_0036: br IL_003b + IL_0001: ldarg.0 + IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0007: brtrue IL_0022 - IL_003b: ldloc.1 - IL_003c: ret - } // end of method TaskFunctions::GetAssembly + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_0012: brtrue IL_0022 - } // end of class NAnt.Core.Functions.TaskFunctions -} + IL_0017: ldarg.0 + IL_0018: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_001d: brfalse IL_0032 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit PropertyFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 70 72 6F 70 65 72 74 79 04 4E 41 6E 74 // ...property.NAnt - 00 00 ) // .. + IL_0022: ldc.i4.0 + IL_0023: ldarg.0 + IL_0024: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType + IL_0029: ldc.i4.4 + IL_002a: and + IL_002b: ceq + IL_002d: ldc.i4.0 + IL_002e: ceq + IL_0030: br.s IL_0033 + IL_0032: ldc.i4.0 + IL_0033: stloc.0 + IL_0034: br IL_0039 - // method line 81 - .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 0x2c81 - // 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 PropertyFunctions::.ctor + IL_0039: ldloc.0 + IL_003a: ret + } // end of method CommandLineArgument::get_AllowMultiple - // method line 82 - .method public hidebysig - instance default bool Exists (string name) cil managed + // method line 55 + .method public hidebysig specialname + instance default bool get_Unique () 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 0x2c8c - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x3238 + // Code size 23 (0x17) + .maxstack 3 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + 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_0018: ldloc.0 - IL_0019: ret - } // end of method PropertyFunctions::Exists + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CommandLineArgument::get_Unique - // method line 83 - .method public hidebysig - instance default bool IsReadOnly (string name) cil managed + // method line 56 + .method public hidebysig specialname + instance default class [mscorlib]System.Type get_Type () 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 0x2cb4 - // Code size 76 (0x4c) - .maxstack 3 + // Method begins at RVA 0x325c + // Code size 20 (0x14) + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Type V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) - IL_0012: brtrue IL_0033 - - IL_0017: nop - IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001d: ldstr "NA1053" - IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0027: ldarg.1 - IL_0028: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0032: throw - IL_0033: ldarg.0 - IL_0034: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0039: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_003e: ldarg.1 - IL_003f: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) - IL_0044: stloc.0 - IL_0045: br IL_004a + IL_0002: 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_004a: ldloc.0 - IL_004b: ret - } // end of method PropertyFunctions::IsReadOnly + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CommandLineArgument::get_Type - // method line 84 - .method public hidebysig - instance default bool IsDynamic (string name) cil managed + // method line 57 + .method public hidebysig specialname + instance default bool get_IsCollection () 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.. - - // Method begins at RVA 0x2d0c - // Code size 76 (0x4c) - .maxstack 3 + // Method begins at RVA 0x327c + // Code size 20 (0x14) + .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_000c: ldarg.1 - IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) - IL_0012: brtrue IL_0033 - - IL_0017: nop - IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001d: ldstr "NA1053" - IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0027: ldarg.1 - IL_0028: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0032: throw - IL_0033: ldarg.0 - IL_0034: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0039: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() - IL_003e: ldarg.1 - IL_003f: callvirt instance bool class NAnt.Core.PropertyDictionary::IsDynamicProperty(string) - IL_0044: stloc.0 - IL_0045: br IL_004a - - IL_004a: ldloc.0 - IL_004b: ret - } // end of method PropertyFunctions::IsDynamic - - } // end of class NAnt.Core.Functions.PropertyFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit PlatformFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 70 6C 61 74 66 6F 72 6D 04 4E 41 6E 74 // ...platform.NAnt - 00 00 ) // .. - + 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 - // method line 85 - .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 0x2d64 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method PlatformFunctions::.ctor + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CommandLineArgument::get_IsCollection - // method line 86 - .method public hidebysig - instance default string GetName () cil managed + // method line 58 + .method public hidebysig specialname + instance default bool get_IsNameValueCollection () 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 0x2d70 + // Method begins at RVA 0x329c // Code size 20 (0x14) .maxstack 1 .locals init ( - string V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance string class NAnt.Core.Project::get_PlatformName() + IL_0002: call instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_Type() + IL_0007: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method PlatformFunctions::GetName + } // end of method CommandLineArgument::get_IsNameValueCollection - // method line 87 - .method public static hidebysig - default bool IsWin32 () cil managed + // method line 59 + .method public hidebysig specialname + instance default bool get_IsArray () 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 0x2d90 - // Code size 14 (0xe) + // Method begins at RVA 0x32bc + // Code size 20 (0x14) .maxstack 1 .locals init ( bool V_0) IL_0000: nop - IL_0001: call bool class NAnt.Core.PlatformHelper::get_IsWindows() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_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_000c: ldloc.0 - IL_000d: ret - } // end of method PlatformFunctions::IsWin32 + IL_0012: ldloc.0 + IL_0013: ret + } // end of method CommandLineArgument::get_IsArray - // method line 88 - .method public static hidebysig - default bool IsWindows () cil managed + // method line 60 + .method public hidebysig specialname + instance default bool get_IsDefault () 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 0x2dac - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x32dc + // Code size 37 (0x25) + .maxstack 2 .locals init ( bool V_0) IL_0000: nop - IL_0001: call bool class NAnt.Core.PlatformHelper::get_IsWindows() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0007: brfalse IL_001c - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PlatformFunctions::IsWindows + IL_000c: ldarg.0 + IL_000d: ldfld class NAnt.Core.Util.CommandLineArgumentAttribute NAnt.Core.Util.CommandLineArgument::_attribute + IL_0012: isinst NAnt.Core.Util.DefaultCommandLineArgumentAttribute + IL_0017: ldnull + IL_0018: cgt.un + IL_001a: br.s IL_001d - // method line 89 - .method public static hidebysig - default bool IsUnix () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 69 73 2D 75 6E 69 78 00 00 ) // ...is-unix.. + IL_001c: ldc.i4.0 + IL_001d: stloc.0 + IL_001e: br IL_0023 - // Method begins at RVA 0x2dc8 - // Code size 14 (0xe) - .maxstack 1 + IL_0023: ldloc.0 + IL_0024: ret + } // end of method CommandLineArgument::get_IsDefault + + // method line 61 + .method public hidebysig specialname + instance default bool get_IsExclusive () cil managed + { + // Method begins at RVA 0x3310 + // Code size 23 (0x17) + .maxstack 3 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PlatformFunctions::IsUnix - - } // end of class NAnt.Core.Functions.PlatformFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit 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: ldc.i4.0 + IL_0002: ldarg.0 + IL_0003: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgument::_argumentType + IL_0008: ldc.i4.8 + IL_0009: and + IL_000a: ceq + IL_000c: ldc.i4.0 + IL_000d: ceq + IL_000f: stloc.0 + IL_0010: br IL_0015 + IL_0015: ldloc.0 + IL_0016: ret + } // end of method CommandLineArgument::get_IsExclusive - // method line 90 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 62 + .method public hidebysig + instance default void Finish (object destination) cil managed { - // Method begins at RVA 0x2de2 - // 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 DateTimeFunctions::.ctor - - // method line 91 - .method public static hidebysig - default valuetype [mscorlib]System.DateTime Now () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 03 6E 6F 77 00 00 ) // ...now.. - - // Method begins at RVA 0x2df0 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x3334 + .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 ( - valuetype [mscorlib]System.DateTime V_0) + object V_0, + object V_1, + class [mscorlib]System.Reflection.MethodInfo V_2, + class [mscorlib]System.Reflection.MethodInfo V_3, + class [mscorlib]System.Reflection.MethodInfo[] V_4, + int32 V_5, + class [mscorlib]System.Reflection.ParameterInfo V_6, + object V_7, + class [mscorlib]System.Collections.IEnumerator V_8, + class [mscorlib]System.IDisposable V_9, + class [mscorlib]System.Exception V_10, + object V_11, + object V_12, + class [mscorlib]System.Reflection.MethodInfo V_13, + class [mscorlib]System.Reflection.MethodInfo V_14, + class [mscorlib]System.Reflection.MethodInfo[] V_15, + int32 V_16, + string V_17, + class [mscorlib]System.Collections.IEnumerator V_18, + class [mscorlib]System.IDisposable V_19, + class [mscorlib]System.Exception V_20) IL_0000: nop - IL_0001: 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 bool class NAnt.Core.Util.CommandLineArgument::get_IsRequired() + IL_0007: brfalse IL_0033 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method DateTimeFunctions::Now + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() + IL_0012: brtrue IL_0033 - // method line 92 - .method public static hidebysig - default int32 GetYear (valuetype [mscorlib]System.DateTime 'date') 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.. + 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 - // Method begins at RVA 0x2e0c - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Year() - IL_0008: stloc.0 - IL_0009: br IL_000e + 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_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetYear + IL_006a: ldarg.0 + IL_006b: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsCollection() + IL_0070: brfalse IL_0256 - // method line 93 - .method public static hidebysig - default int32 GetMonth (valuetype [mscorlib]System.DateTime 'date') 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.. + 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 - // Method begins at RVA 0x2e28 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Month() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_008f: nop + IL_0090: ldarg.0 + IL_0091: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0096: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_009b: brtrue IL_00cb - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetMonth + 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 - // method line 94 - .method public static hidebysig - default int32 GetDay (valuetype [mscorlib]System.DateTime 'date') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 67 65 74 2D 64 61 79 00 00 ) // ...get-day.. + IL_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 - // Method begins at RVA 0x2e44 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Day() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_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_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDay + IL_0154: nop + IL_0155: ldloc.3 + IL_0156: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_015b: ldc.i4.0 + IL_015c: ldelem.ref + IL_015d: stloc.s 6 + IL_015f: ldloc.s 6 + IL_0161: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0166: ldtoken [mscorlib]System.Object + IL_016b: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0170: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0175: brfalse IL_0182 - // method line 95 - .method public static hidebysig - default int32 GetHour (valuetype [mscorlib]System.DateTime 'date') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 68 6F 75 72 00 00 ) // ...get-hour.. + IL_017a: nop + IL_017b: ldloc.3 + IL_017c: stloc.2 + IL_017d: br IL_0195 - // Method begins at RVA 0x2e60 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Hour() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_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_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetHour + IL_0195: ldloc.2 + IL_0196: ldnull + IL_0197: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_019c: brfalse IL_01c2 - // method line 96 - .method public static hidebysig - default int32 GetMinute (valuetype [mscorlib]System.DateTime 'date') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 6D 69 6E 75 74 65 00 00 ) // ...get-minute.. + IL_01a1: nop + IL_01a2: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01a7: ldstr "NA1169" + IL_01ac: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01b1: ldarg.0 + IL_01b2: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_01b7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01bc: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_01c1: throw + IL_01c2: nop + .try { // 1 + IL_01c3: nop + IL_01c4: nop + IL_01c5: ldarg.0 + IL_01c6: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Util.CommandLineArgument::_collectionValues + IL_01cb: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_01d0: stloc.s 8 + .try { // 0 + IL_01d2: br IL_01fc - // Method begins at RVA 0x2e7c - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Minute() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_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_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetMinute + IL_0208: leave IL_0224 - // method line 97 - .method public static hidebysig - default int32 GetSecond (valuetype [mscorlib]System.DateTime 'date') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 73 65 63 6F 6E 64 00 00 ) // ...get-second.. + } // end .try 0 + finally { // 0 + IL_020d: ldloc.s 8 + IL_020f: isinst [mscorlib]System.IDisposable + IL_0214: dup + IL_0215: stloc.s 9 + IL_0217: brfalse IL_0223 - // Method begins at RVA 0x2e98 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Second() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_021c: ldloc.s 9 + IL_021e: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0223: endfinally + } // end handler 0 + IL_0224: nop + IL_0225: leave IL_024f - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetSecond + } // end .try 1 + catch class [mscorlib]System.Exception { // 1 + IL_022a: stloc.s 10 + IL_022c: nop + IL_022d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0232: ldstr "NA1173" + IL_0237: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_023c: ldarg.0 + IL_023d: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0242: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0247: ldloc.s 10 + IL_0249: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string, class [mscorlib]System.Exception) + IL_024e: throw + } // end handler 1 + IL_024f: nop + IL_0250: nop + IL_0251: br IL_04ac - // method line 98 - .method public static hidebysig - default int32 GetMillisecond (valuetype [mscorlib]System.DateTime 'date') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 6D 69 6C 6C 69 73 65 63 6F // ...get-milliseco - 6E 64 00 00 ) // nd.. + IL_0256: ldarg.0 + IL_0257: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_025c: brfalse IL_0483 - // Method begins at RVA 0x2eb4 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Millisecond() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_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_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetMillisecond + IL_027b: nop + IL_027c: ldarg.0 + IL_027d: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0282: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_0287: brtrue IL_02b7 - // method line 99 - .method public static hidebysig - default int64 GetTicks (valuetype [mscorlib]System.DateTime 'date') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 74 69 63 6B 73 00 00 ) // ...get-ticks.. + IL_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 - // Method begins at RVA 0x2ed0 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int64 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int64 valuetype [mscorlib]System.DateTime::get_Ticks() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_031b: ldloc.s 15 + IL_031d: ldloc.s 16 + IL_031f: ldelem.ref + IL_0320: stloc.s 14 + IL_0322: nop + IL_0323: ldloc.s 14 + IL_0325: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_032a: ldstr "Add" + IL_032f: call bool string::op_Equality(string, string) + IL_0334: brfalse IL_0398 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetTicks + 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 - // method line 100 - .method public static hidebysig - default int32 GetDayOfWeek (valuetype [mscorlib]System.DateTime 'date') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 64 61 79 2D 6F 66 2D 77 65 // ...get-day-of-we - 65 6B 00 00 ) // ek.. + IL_0348: nop + IL_0349: ldloc.s 14 + IL_034b: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0350: ldc.i4.0 + IL_0351: ldelem.ref + IL_0352: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0357: ldtoken [mscorlib]System.String + IL_035c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0361: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0366: brfalse IL_0397 - // Method begins at RVA 0x2eec - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance valuetype [mscorlib]System.DayOfWeek valuetype [mscorlib]System.DateTime::get_DayOfWeek() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_036b: ldloc.s 14 + IL_036d: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_0372: ldc.i4.1 + IL_0373: ldelem.ref + IL_0374: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_0379: ldtoken [mscorlib]System.String + IL_037e: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0383: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0388: brfalse IL_0397 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDayOfWeek + IL_038d: nop + IL_038e: ldloc.s 14 + IL_0390: stloc.s 13 + IL_0392: br IL_03aa - // method line 101 - .method public static hidebysig - default int32 GetDayOfYear (valuetype [mscorlib]System.DateTime 'date') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 64 61 79 2D 6F 66 2D 79 65 // ...get-day-of-ye - 61 72 00 00 ) // ar.. + IL_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 - // Method begins at RVA 0x2f08 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_DayOfYear() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_03aa: ldloc.s 13 + IL_03ac: ldnull + IL_03ad: call bool class [mscorlib]System.Reflection.MethodInfo::op_Equality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_03b2: brfalse IL_03d8 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDayOfYear + 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 102 - .method public static hidebysig - default int32 GetDaysInMonth (int32 year, int32 month) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 64 61 79 73 2D 69 6E 2D 6D // ...get-days-in-m - 6F 6E 74 68 00 00 ) // onth.. + IL_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 - // Method begins at RVA 0x2f24 - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call int32 valuetype [mscorlib]System.DateTime::DaysInMonth(int32, int32) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0435: leave IL_0451 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method DateTimeFunctions::GetDaysInMonth + } // 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 103 - .method public static hidebysig - default bool IsLeapYear (int32 year) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 69 73 2D 6C 65 61 70 2D 79 65 61 72 00 // ...is-leap-year. - 00 ) // . + IL_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 - // Method begins at RVA 0x2f40 - // Code size 15 (0xf) - .maxstack 1 + } // end .try 3 + catch class [mscorlib]System.Exception { // 3 + IL_0457: stloc.s 20 + IL_0459: nop + IL_045a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_045f: ldstr "NA1173" + IL_0464: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0469: ldarg.0 + IL_046a: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_046f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0474: ldloc.s 20 + IL_0476: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string, class [mscorlib]System.Exception) + IL_047b: throw + } // end handler 3 + IL_047c: nop + IL_047d: nop + IL_047e: br IL_04ac + + IL_0483: nop + IL_0484: ldarg.0 + IL_0485: ldfld object NAnt.Core.Util.CommandLineArgument::_argumentValue + IL_048a: brfalse IL_04ab + + IL_048f: nop + IL_0490: ldarg.0 + IL_0491: ldfld class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::_propertyInfo + IL_0496: ldarg.1 + IL_0497: ldarg.0 + IL_0498: ldfld object NAnt.Core.Util.CommandLineArgument::_argumentValue + IL_049d: ldc.i4.0 + IL_049e: ldnull + IL_049f: ldnull + IL_04a0: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_04a5: callvirt instance void class [mscorlib]System.Reflection.PropertyInfo::SetValue(object, object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_04aa: nop + IL_04ab: nop + IL_04ac: ret + } // end of method CommandLineArgument::Finish + + // method line 63 + .method public hidebysig + instance default void SetValue (string 'value') cil managed + { + // Method begins at RVA 0x3824 + // Code size 211 (0xd3) + .maxstack 4 .locals init ( - bool V_0) + object V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool valuetype [mscorlib]System.DateTime::IsLeapYear(int32) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() + IL_0007: brfalse IL_0038 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DateTimeFunctions::IsLeapYear + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() + IL_0012: brtrue IL_0038 - } // end of class NAnt.Core.Functions.DateTimeFunctions -} + 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 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit DateTimeConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 64 61 74 65 74 69 6D 65 0A 43 6F 6E 76 // ...datetime.Conv - 65 72 73 69 6F 6E 00 00 ) // ersion.. + IL_0058: ldarg.0 + IL_0059: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsArray() + IL_005e: brfalse IL_00b7 + IL_0063: nop + IL_0064: ldarg.0 + IL_0065: call instance bool class NAnt.Core.Util.CommandLineArgument::get_Unique() + IL_006a: brfalse IL_00a2 - // method line 104 - .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 0x2f5b - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method DateTimeConversionFunctions::.ctor + IL_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 105 - .method public static hidebysig - default valuetype [mscorlib]System.DateTime Parse (string s) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + IL_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 begins at RVA 0x2f68 - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - valuetype [mscorlib]System.DateTime V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0007: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::Parse(string, class [mscorlib]System.IFormatProvider) - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_00b7: ldarg.0 + IL_00b8: call instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_00bd: brfalse IL_00c9 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DateTimeConversionFunctions::Parse + IL_00c2: nop + IL_00c3: nop + IL_00c4: br IL_00d2 - // method line 106 - .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_00c9: nop + IL_00ca: ldarg.0 + IL_00cb: ldloc.0 + IL_00cc: stfld object NAnt.Core.Util.CommandLineArgument::_argumentValue + IL_00d1: nop + IL_00d2: ret + } // end of method CommandLineArgument::SetValue - // Method begins at RVA 0x2f88 - // Code size 21 (0x15) - .maxstack 2 + // method line 64 + .method private hidebysig + instance default object ParseValue (class [mscorlib]System.Type 'type', string stringData) cil managed + { + // Method begins at RVA 0x3904 + // Code size 810 (0x32a) + .maxstack 9 .locals init ( - string V_0) + object V_0, + class [System]System.Text.RegularExpressions.Match V_1, + string V_2, + string V_3, + class [mscorlib]System.ArgumentException V_4, + string V_5, + object V_6, + class [mscorlib]System.Collections.IEnumerator V_7, + class [mscorlib]System.IDisposable V_8, + class [mscorlib]System.Reflection.MethodInfo V_9, + class [mscorlib]System.Reflection.ConstructorInfo V_10, + class [mscorlib]System.Exception V_11) IL_0000: nop - IL_0001: 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_0001: ldarg.2 + IL_0002: brtrue IL_001c - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DateTimeConversionFunctions::ToString + 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 - // method line 107 - .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_001c: ldarg.2 + IL_001d: brfalse IL_002e - // Method begins at RVA 0x2fac - // Code size 22 (0x16) - .maxstack 3 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: ldarg.1 - IL_0004: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0009: call instance string valuetype [mscorlib]System.DateTime::ToString(string, class [mscorlib]System.IFormatProvider) - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0022: ldarg.2 + IL_0023: callvirt instance int32 string::get_Length() + IL_0028: ldc.i4.0 + IL_0029: ble IL_0307 - IL_0014: ldloc.0 - IL_0015: ret - } // end of method DateTimeConversionFunctions::ToString + IL_002e: nop + .try { // 2 + IL_002f: nop + IL_0030: ldarg.1 + IL_0031: ldtoken [mscorlib]System.String + IL_0036: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_003b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0040: brfalse IL_004d - } // end of class NAnt.Core.Functions.DateTimeConversionFunctions -} + IL_0045: nop + IL_0046: ldarg.2 + IL_0047: stloc.0 + IL_0048: leave IL_0328 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit BooleanConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 04 62 6F 6F 6C 0A 43 6F 6E 76 65 72 73 69 // ...bool.Conversi - 6F 6E 00 00 ) // on.. + IL_004d: ldarg.1 + IL_004e: ldtoken [mscorlib]System.Boolean + IL_0053: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0058: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_005d: brfalse IL_00a9 + IL_0062: nop + IL_0063: ldarg.2 + IL_0064: brfalse IL_0079 - // method line 108 - .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 0x2fce - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method BooleanConversionFunctions::.ctor + IL_0069: ldarg.2 + IL_006a: ldstr "+" + IL_006f: call bool string::op_Equality(string, string) + IL_0074: brfalse IL_0086 - // method line 109 - .method public static hidebysig - default bool Parse (string s) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + IL_0079: nop + IL_007a: ldc.i4.1 + IL_007b: box [mscorlib]System.Boolean + IL_0080: stloc.0 + IL_0081: leave IL_0328 - // Method begins at RVA 0x2fdc - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call bool bool::Parse(string) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0086: ldarg.2 + IL_0087: ldstr "-" + IL_008c: call bool string::op_Equality(string, string) + IL_0091: brfalse IL_00a3 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method BooleanConversionFunctions::Parse + IL_0096: nop + IL_0097: ldc.i4.0 + IL_0098: box [mscorlib]System.Boolean + IL_009d: stloc.0 + IL_009e: leave IL_0328 - // method line 110 - .method public static hidebysig - default string ToString (bool '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_00a3: nop + IL_00a4: br IL_02d6 - // Method begins at RVA 0x2ff8 - // 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 bool::ToString(class [mscorlib]System.IFormatProvider) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_00a9: ldarg.1 + IL_00aa: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) + IL_00af: brfalse IL_0174 - IL_0013: ldloc.0 - IL_0014: ret - } // end of method BooleanConversionFunctions::ToString + IL_00b4: nop + IL_00b5: ldarg.2 + IL_00b6: ldstr "(\\w+[^=]*)=(\\w*.*)" + IL_00bb: call class [System]System.Text.RegularExpressions.Match class [System]System.Text.RegularExpressions.Regex::Match(string, string) + IL_00c0: stloc.1 + IL_00c1: ldloc.1 + IL_00c2: callvirt instance bool class [System]System.Text.RegularExpressions.Group::get_Success() + IL_00c7: brfalse IL_0148 - } // end of class NAnt.Core.Functions.BooleanConversionFunctions -} + 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 -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit FrameworkFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 09 66 72 61 6D 65 77 6F 72 6B 04 4E 41 6E // ...framework.NAn - 74 00 00 ) // t.. + IL_00fc: ldarg.0 + IL_00fd: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs + IL_0102: ldloc.2 + IL_0103: callvirt instance string class [System]System.Collections.Specialized.NameValueCollection::Get(string) + IL_0108: brfalse IL_012f + + IL_010d: nop + IL_010e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0113: ldstr "NA1174" + IL_0118: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_011d: ldloc.2 + IL_011e: ldarg.0 + IL_011f: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0124: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0129: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_012e: throw + IL_012f: ldarg.0 + IL_0130: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs + IL_0135: ldloc.2 + IL_0136: ldloc.3 + IL_0137: callvirt instance void class [System]System.Collections.Specialized.NameValueCollection::Add(string, string) + IL_013c: ldarg.0 + IL_013d: ldfld class [System]System.Collections.Specialized.NameValueCollection NAnt.Core.Util.CommandLineArgument::_valuePairs + IL_0142: stloc.0 + IL_0143: leave IL_0328 + IL_0148: nop + IL_0149: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_014e: ldstr "NA1170" + IL_0153: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0158: ldarg.2 + IL_0159: ldarg.0 + IL_015a: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_015f: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0164: ldstr "Expected name/value pair (=)." + IL_0169: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_016e: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0173: throw + IL_0174: nop + IL_0175: ldarg.1 + IL_0176: callvirt instance bool class [mscorlib]System.Type::get_IsEnum() + IL_017b: brfalse IL_022d - // method line 111 - .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 0x3019 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method FrameworkFunctions::.ctor + IL_0180: nop + .try { // 1 + IL_0181: nop + IL_0182: ldarg.1 + IL_0183: ldarg.2 + IL_0184: ldc.i4.1 + IL_0185: call object class [mscorlib]System.Enum::Parse(class [mscorlib]System.Type, string, bool) + IL_018a: stloc.0 + IL_018b: leave IL_0328 - // method line 112 - .method public hidebysig - instance default bool Exists (string framework) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + } // end .try 1 + catch class [mscorlib]System.ArgumentException { // 1 + IL_0190: stloc.s 4 + IL_0192: nop + IL_0193: ldstr "Invalid value {0} for command-line argument '-{1}'. Valid values are: " + IL_0198: stloc.s 5 + IL_019a: nop + IL_019b: ldarg.1 + IL_019c: call class [mscorlib]System.Array class [mscorlib]System.Enum::GetValues(class [mscorlib]System.Type) + IL_01a1: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Array::GetEnumerator() + IL_01a6: stloc.s 7 + .try { // 0 + IL_01a8: br IL_01cd - // Method begins at RVA 0x3024 - // Code size 42 (0x2a) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - bool V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() - IL_000c: ldarg.1 - IL_000d: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: brfalse IL_0021 + IL_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_0019: ldloc.0 - IL_001a: callvirt instance bool class NAnt.Core.FrameworkInfo::get_IsValid() - IL_001f: br.s IL_0022 + IL_01d9: leave IL_01f5 - IL_0021: ldc.i4.0 - IL_0022: stloc.1 - IL_0023: br IL_0028 + } // 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_0028: ldloc.1 - IL_0029: ret - } // end of method FrameworkFunctions::Exists + IL_01ed: ldloc.s 8 + IL_01ef: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01f4: endfinally + } // end handler 0 + IL_01f5: ldloc.s 5 + IL_01f7: ldc.i4.0 + IL_01f8: ldloc.s 5 + IL_01fa: callvirt instance int32 string::get_Length() + IL_01ff: ldc.i4.2 + IL_0200: sub + IL_0201: callvirt instance string string::Substring(int32, int32) + IL_0206: ldstr "." + IL_020b: call string string::Concat(string, string) + IL_0210: stloc.s 5 + IL_0212: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0217: ldloc.s 5 + IL_0219: ldarg.2 + IL_021a: ldarg.0 + IL_021b: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0220: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0225: ldloc.s 4 + IL_0227: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string, class [mscorlib]System.Exception) + IL_022c: throw + } // end handler 1 + IL_022d: nop + IL_022e: ldarg.1 + IL_022f: ldstr "Parse" + IL_0234: ldc.i4.s 0x18 + IL_0236: ldnull + IL_0237: ldc.i4.1 + IL_0238: ldc.i4.1 + IL_0239: newarr [mscorlib]System.Type + IL_023e: dup + IL_023f: ldc.i4.0 + IL_0240: ldtoken [mscorlib]System.String + IL_0245: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_024a: stelem.ref + IL_024b: ldnull + IL_024c: callvirt instance class [mscorlib]System.Reflection.MethodInfo class [mscorlib]System.Type::GetMethod(string, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, valuetype [mscorlib]System.Reflection.CallingConventions, class [mscorlib]System.Type[], valuetype [mscorlib]System.Reflection.ParameterModifier[]) + IL_0251: stloc.s 9 + IL_0253: ldloc.s 9 + IL_0255: ldnull + IL_0256: call bool class [mscorlib]System.Reflection.MethodInfo::op_Inequality(class [mscorlib]System.Reflection.MethodInfo, class [mscorlib]System.Reflection.MethodInfo) + IL_025b: brfalse IL_0280 - // method line 113 - .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_0260: nop + IL_0261: ldloc.s 9 + IL_0263: ldnull + IL_0264: ldc.i4.0 + IL_0265: ldnull + IL_0266: ldc.i4.1 + IL_0267: newarr [mscorlib]System.Object + IL_026c: dup + IL_026d: ldc.i4.0 + IL_026e: ldarg.2 + IL_026f: stelem.ref + IL_0270: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0275: callvirt instance object class [mscorlib]System.Reflection.MethodBase::Invoke(object, valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_027a: stloc.0 + IL_027b: leave IL_0328 - // Method begins at RVA 0x305c - // 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_0280: ldarg.1 + IL_0281: callvirt instance bool class [mscorlib]System.Type::get_IsClass() + IL_0286: brfalse IL_02d4 - IL_001b: ldloc.1 - IL_001c: ret - } // end of method FrameworkFunctions::SdkExists + IL_028b: nop + IL_028c: ldarg.1 + IL_028d: ldc.i4.1 + IL_028e: newarr [mscorlib]System.Type + IL_0293: dup + IL_0294: ldc.i4.0 + IL_0295: ldtoken [mscorlib]System.String + IL_029a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_029f: stelem.ref + IL_02a0: callvirt instance class [mscorlib]System.Reflection.ConstructorInfo class [mscorlib]System.Type::GetConstructor(class [mscorlib]System.Type[]) + IL_02a5: stloc.s 10 + IL_02a7: ldloc.s 10 + IL_02a9: ldnull + IL_02aa: call bool class [mscorlib]System.Reflection.ConstructorInfo::op_Inequality(class [mscorlib]System.Reflection.ConstructorInfo, class [mscorlib]System.Reflection.ConstructorInfo) + IL_02af: brfalse IL_02d3 - // method line 114 - .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_02b4: nop + IL_02b5: ldloc.s 10 + IL_02b7: ldc.i4.0 + IL_02b8: ldnull + IL_02b9: ldc.i4.1 + IL_02ba: newarr [mscorlib]System.Object + IL_02bf: dup + IL_02c0: ldc.i4.0 + IL_02c1: ldarg.2 + IL_02c2: stelem.ref + IL_02c3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02c8: callvirt instance object class [mscorlib]System.Reflection.ConstructorInfo::Invoke(valuetype [mscorlib]System.Reflection.BindingFlags, class [mscorlib]System.Reflection.Binder, object[], class [mscorlib]System.Globalization.CultureInfo) + IL_02cd: stloc.0 + IL_02ce: leave IL_0328 - // Method begins at RVA 0x3088 - // 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_02d3: nop + IL_02d4: nop + IL_02d5: nop + IL_02d6: nop + IL_02d7: leave IL_0306 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetTargetFramework + } // end .try 2 + catch class NAnt.Core.Util.CommandLineArgumentException { // 2 + IL_02dc: pop + IL_02dd: nop + IL_02de: rethrow + } // end handler 2 + catch class [mscorlib]System.Exception { // 3 + IL_02e0: stloc.s 11 + IL_02e2: nop + IL_02e3: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02e8: ldstr "NA1170" + IL_02ed: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_02f2: ldarg.2 + IL_02f3: ldarg.0 + IL_02f4: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_02f9: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_02fe: ldloc.s 11 + IL_0300: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0305: throw + } // end handler 3 + IL_0306: nop + IL_0307: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_030c: ldstr "NA1170" + IL_0311: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0316: ldarg.2 + IL_0317: ldarg.0 + IL_0318: call instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_031d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0322: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_0327: throw + IL_0328: ldloc.0 + IL_0329: ret + } // end of method CommandLineArgument::ParseValue - // method line 115 - .method public hidebysig - instance default string GetRuntimeFramework () cil managed + // method line 65 + .method private static hidebysig + default valuetype NAnt.Core.Util.CommandLineArgumentTypes GetArgumentType (class NAnt.Core.Util.CommandLineArgumentAttribute attribute, class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 15 67 65 74 2D 72 75 6E 74 69 6D 65 2D 66 // ...get-runtime-f - 72 61 6D 65 77 6F 72 6B 00 00 ) // ramework.. - - // Method begins at RVA 0x30b0 - // Code size 25 (0x19) + // Method begins at RVA 0x3ca0 + // Code size 54 (0x36) .maxstack 1 .locals init ( - string V_0) + valuetype NAnt.Core.Util.CommandLineArgumentTypes 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_0002: brfalse IL_0014 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetRuntimeFramework + IL_0007: nop + IL_0008: ldarg.0 + IL_0009: callvirt instance valuetype NAnt.Core.Util.CommandLineArgumentTypes class NAnt.Core.Util.CommandLineArgumentAttribute::get_Type() + IL_000e: stloc.0 + IL_000f: br IL_0034 - // method line 116 - .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_0014: ldarg.1 + IL_0015: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_001a: call bool class NAnt.Core.Util.CommandLineArgument::IsCollectionType(class [mscorlib]System.Type) + IL_001f: brfalse IL_002c - // Method begins at RVA 0x30d8 - // 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_0024: nop + IL_0025: ldc.i4.6 + IL_0026: stloc.0 + IL_0027: br IL_0034 - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetFamily + IL_002c: nop + IL_002d: ldc.i4.0 + IL_002e: stloc.0 + IL_002f: br IL_0034 - // method line 117 - .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_0034: ldloc.0 + IL_0035: ret + } // end of method CommandLineArgument::GetArgumentType - // Method begins at RVA 0x30fc - // Code size 25 (0x19) - .maxstack 1 + // method line 66 + .method private static hidebysig + default class [mscorlib]System.Type GetElementType (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x3ce4 + // Code size 322 (0x142) + .maxstack 3 .locals init ( - class [mscorlib]System.Version V_0) + class [mscorlib]System.Type V_0, + class [mscorlib]System.Reflection.MethodInfo V_1, + class [mscorlib]System.Reflection.MethodInfo[] V_2, + int32 V_3, + class [mscorlib]System.Reflection.ParameterInfo V_4, + class [mscorlib]System.Type V_5) IL_0000: nop - IL_0001: 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_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0009: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_000e: brfalse IL_0057 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetVersion + IL_0013: nop + IL_0014: ldarg.0 + IL_0015: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_001a: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Type::GetElementType() + IL_001f: stloc.0 + IL_0020: ldloc.0 + IL_0021: ldtoken [mscorlib]System.Object + IL_0026: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_002b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0030: brfalse IL_0051 - // method line 118 - .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_0035: nop + IL_0036: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_003b: ldstr "Property {0} is not a strong-typed array." + IL_0040: ldarg.0 + IL_0041: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0046: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_004b: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_0050: throw + IL_0051: nop + IL_0052: br IL_0137 - // Method begins at RVA 0x3124 - // 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_0057: ldtoken [mscorlib]System.Collections.ICollection + IL_005c: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0061: ldarg.0 + IL_0062: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0067: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_006c: brfalse IL_0137 - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetVersion + IL_0071: nop + IL_0072: nop + IL_0073: ldarg.0 + IL_0074: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_0079: ldc.i4.s 0x14 + IL_007b: callvirt instance class [mscorlib]System.Reflection.MethodInfo[] class [mscorlib]System.Type::GetMethods(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0080: stloc.2 + IL_0081: ldc.i4.0 + IL_0082: stloc.3 + IL_0083: br IL_0105 - // method line 119 - .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_0088: ldloc.2 + IL_0089: ldloc.3 + IL_008a: ldelem.ref + IL_008b: stloc.1 + IL_008c: nop + IL_008d: ldloc.1 + IL_008e: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_0093: ldstr "Add" + IL_0098: call bool string::op_Equality(string, string) + IL_009d: brfalse IL_0100 - // Method begins at RVA 0x3148 - // 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_00a2: ldloc.1 + IL_00a3: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_00a8: ldlen + IL_00a9: conv.i4 + IL_00aa: ldc.i4.1 + IL_00ab: bne.un IL_0100 - IL_0017: ldloc.0 - IL_0018: ret - } // end of method FrameworkFunctions::GetDescription + IL_00b0: nop + IL_00b1: ldloc.1 + IL_00b2: callvirt instance class [mscorlib]System.Reflection.ParameterInfo[] class [mscorlib]System.Reflection.MethodBase::GetParameters() + IL_00b7: ldc.i4.0 + IL_00b8: ldelem.ref + IL_00b9: stloc.s 4 + IL_00bb: ldloc.s 4 + IL_00bd: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_00c2: ldtoken [mscorlib]System.Object + IL_00c7: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_00cc: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00d1: brfalse IL_00f2 - // method line 120 - .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_00d6: nop + IL_00d7: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_00dc: ldstr "Property {0} is not a strong-typed collection." + IL_00e1: ldarg.0 + IL_00e2: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_00e7: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_00ec: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_00f1: throw + IL_00f2: nop + IL_00f3: ldloc.s 4 + IL_00f5: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.ParameterInfo::get_ParameterType() + IL_00fa: stloc.0 + IL_00fb: br IL_010e - // Method begins at RVA 0x3170 - // 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_0100: nop + IL_0101: ldloc.3 + IL_0102: ldc.i4.1 + IL_0103: add + IL_0104: stloc.3 + IL_0105: ldloc.3 + IL_0106: ldloc.2 + IL_0107: ldlen + IL_0108: conv.i4 + IL_0109: blt IL_0088 - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetDescription + IL_010e: ldloc.0 + IL_010f: ldnull + IL_0110: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0115: brfalse IL_0136 - // method line 121 - .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_011a: nop + IL_011b: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0120: ldstr "Invalid commandline argument type for property {0}." + IL_0125: ldarg.0 + IL_0126: callvirt instance string class [mscorlib]System.Reflection.MemberInfo::get_Name() + IL_012b: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0130: newobj instance void class [mscorlib]System.NotSupportedException::'.ctor'(string) + IL_0135: throw + IL_0136: nop + IL_0137: ldloc.0 + IL_0138: stloc.s 5 + IL_013a: br IL_013f + + IL_013f: ldloc.s 5 + IL_0141: ret + } // end of method CommandLineArgument::GetElementType - // Method begins at RVA 0x3194 + // method line 67 + .method private static hidebysig + default bool IsNameValueCollectionType (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x3e34 // Code size 25 (0x19) - .maxstack 1 + .maxstack 2 .locals init ( - class [mscorlib]System.Version V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance 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_0001: ldtoken [System]System.Collections.Specialized.NameValueCollection + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.0 + IL_000c: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) IL_0011: stloc.0 IL_0012: br IL_0017 IL_0017: ldloc.0 IL_0018: ret - } // end of method FrameworkFunctions::GetClrVersion + } // end of method CommandLineArgument::IsNameValueCollectionType - // method line 122 - .method public hidebysig - instance default class [mscorlib]System.Version GetClrVersion (string framework) cil managed + // method line 68 + .method private static hidebysig + default bool IsCollectionType (class [mscorlib]System.Type 'type') cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 63 6C 72 2D 76 65 72 73 69 // ...get-clr-versi - 6F 6E 00 00 ) // on.. - - // Method begins at RVA 0x31bc - // Code size 23 (0x17) + // Method begins at RVA 0x3e5c + // Code size 42 (0x2a) .maxstack 2 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class [mscorlib]System.Version V_1) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() - IL_000f: stloc.1 - IL_0010: br IL_0015 + IL_0001: ldtoken [mscorlib]System.Collections.ICollection + IL_0006: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000b: ldarg.0 + IL_000c: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0011: brfalse IL_0021 - IL_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetClrVersion + IL_0016: ldarg.0 + IL_0017: call bool class NAnt.Core.Util.CommandLineArgument::IsNameValueCollectionType(class [mscorlib]System.Type) + IL_001c: ldc.i4.0 + IL_001d: ceq + IL_001f: br.s IL_0022 - // method line 123 - .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_0021: ldc.i4.0 + IL_0022: stloc.0 + IL_0023: br IL_0028 - // Method begins at RVA 0x31e0 - // Code size 28 (0x1c) - .maxstack 2 + IL_0028: ldloc.0 + IL_0029: ret + } // end of method CommandLineArgument::IsCollectionType + + // method line 69 + .method private static hidebysig + default bool IsArrayType (class [mscorlib]System.Type 'type') cil managed + { + // Method begins at RVA 0x3e94 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - string V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_FrameworkDirectory() - IL_000f: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0014: stloc.1 - IL_0015: br IL_001a + IL_0002: callvirt instance bool class [mscorlib]System.Type::get_IsArray() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_001a: ldloc.1 - IL_001b: ret - } // end of method FrameworkFunctions::GetFrameworkDirectory + IL_000d: ldloc.0 + IL_000e: ret + } // end of method CommandLineArgument::IsArrayType - // method line 124 - .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.. + .property instance class [mscorlib]System.Reflection.PropertyInfo Property () + { + .get instance default class [mscorlib]System.Reflection.PropertyInfo NAnt.Core.Util.CommandLineArgument::get_Property () + } + .property instance class [mscorlib]System.Type ValueType () + { + .get instance default class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::get_ValueType () + } + .property instance string LongName () + { + .get instance default string NAnt.Core.Util.CommandLineArgument::get_LongName () + } + .property instance string ShortName () + { + .get instance default string NAnt.Core.Util.CommandLineArgument::get_ShortName () + } + .property instance string Description () + { + .get instance default string NAnt.Core.Util.CommandLineArgument::get_Description () + } + .property instance bool IsRequired () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsRequired () + } + .property instance bool SeenValue () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_SeenValue () + } + .property instance bool AllowMultiple () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_AllowMultiple () + } + .property instance bool Unique () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_Unique () + } + .property instance class [mscorlib]System.Type Type () + { + .get instance default class [mscorlib]System.Type NAnt.Core.Util.CommandLineArgument::get_Type () + } + .property instance bool IsCollection () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsCollection () + } + .property instance bool IsNameValueCollection () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection () + } + .property instance bool IsArray () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsArray () + } + .property instance bool IsDefault () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsDefault () + } + .property instance bool IsExclusive () + { + .get instance default bool NAnt.Core.Util.CommandLineArgument::get_IsExclusive () + } + } // end of class NAnt.Core.Util.CommandLineArgument +} - // Method begins at RVA 0x3208 - // 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 +.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_001a: ldloc.1 - IL_001b: ret - } // end of method FrameworkFunctions::GetAssemblyDirectory + // method line 70 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x3eaf + // Code size 19 (0x13) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: newobj instance void class [mscorlib]System.Collections.Hashtable::'.ctor'() + IL_000d: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache + IL_0012: ret + } // end of method AssemblyResolver::.ctor - // method line 125 - .method public hidebysig - instance default string GetSdkDirectory (string framework) cil managed + // method line 71 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Task task) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 73 64 6B 2D 64 69 72 65 63 // ...get-sdk-direc - 74 6F 72 79 00 00 ) // tory.. + // Method begins at RVA 0x3ec3 + // 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 begins at RVA 0x3230 + // method line 72 + .method public hidebysig + instance default void Attach () cil managed + { + // Method begins at RVA 0x3ed3 // Code size 46 (0x2e) - .maxstack 2 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class [mscorlib]System.IO.DirectoryInfo V_1, - string V_2) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.FrameworkInfo class NAnt.Core.Functions.FrameworkFunctions::GetFramework(string) - IL_0008: stloc.0 - IL_0009: ldloc.0 - IL_000a: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.FrameworkInfo::get_SdkDirectory() - IL_000f: stloc.1 - IL_0010: ldloc.1 - IL_0011: brfalse IL_0021 - - IL_0016: ldloc.1 - IL_0017: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_001c: br IL_0026 - - IL_0021: ldsfld string [mscorlib]System.String::Empty - IL_0026: stloc.2 - IL_0027: br IL_002c - - IL_002c: ldloc.2 + 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 FrameworkFunctions::GetSdkDirectory + } // end of method AssemblyResolver::Attach - // method line 126 + // method line 73 .method public hidebysig - instance default string GetToolPath (string tool) cil managed + instance default void Detach () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 74 6F 6F 6C 2D 70 61 74 68 // ...get-tool-path - 00 00 ) // .. - - // Method begins at RVA 0x326c + // Method begins at RVA 0x3f02 // Code size 57 (0x39) - .maxstack 3 - .locals init ( - string V_0, - string V_1) + .maxstack 8 IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() - IL_000c: ldarg.1 - IL_000d: callvirt instance string class NAnt.Core.FrameworkInfo::GetToolPath(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: brtrue IL_0030 - - IL_0019: nop - IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_001f: ldstr "\"{0}\" could not be found in any of the configured tool paths." - IL_0024: ldarg.1 - IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_002a: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'(string) - IL_002f: throw - IL_0030: ldloc.0 - IL_0031: stloc.1 - IL_0032: br IL_0037 - - IL_0037: ldloc.1 + IL_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 FrameworkFunctions::GetToolPath + } // end of method AssemblyResolver::Detach - // method line 127 - .method public hidebysig - instance default string GetRuntimeEngine (string framework) cil managed + // method line 74 + .method private hidebysig + instance default class [mscorlib]System.Reflection.Assembly AssemblyResolve (object sender, class [mscorlib]System.ResolveEventArgs args) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 72 75 6E 74 69 6D 65 2D 65 // ...get-runtime-e - 6E 67 69 6E 65 00 00 ) // ngine.. - - // Method begins at RVA 0x32b4 - // Code size 23 (0x17) - .maxstack 2 + // Method begins at RVA 0x3f3c + // Code size 502 (0x1f6) + .maxstack 7 .locals init ( - class NAnt.Core.FrameworkInfo V_0, - string V_1) + bool V_0, + class [mscorlib]System.Reflection.Assembly[] V_1, + class [mscorlib]System.Reflection.Assembly V_2, + class [mscorlib]System.Reflection.Assembly[] V_3, + int32 V_4, + class [mscorlib]System.Reflection.Assembly V_5, + class [mscorlib]System.Reflection.Assembly V_6, + class [mscorlib]System.Collections.IEnumerator V_7, + class [mscorlib]System.IDisposable V_8) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: 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_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_0015: ldloc.1 - IL_0016: ret - } // end of method FrameworkFunctions::GetRuntimeEngine + IL_002e: ldloc.3 + IL_002f: ldloc.s 4 + IL_0031: ldelem.ref + IL_0032: stloc.2 + IL_0033: nop + IL_0034: ldloc.0 + IL_0035: brfalse IL_007f - // method line 128 - .method public hidebysig - instance default string GetFrameworks (valuetype NAnt.Core.FrameworkTypes types) 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.. + 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 - // Method begins at RVA 0x32d8 - // Code size 109 (0x6d) - .maxstack 3 - .locals init ( - class NAnt.Core.FrameworkInfo[] V_0, - string V_1, - class [mscorlib]System.Text.StringBuilder V_2, - int32 V_3) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: 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_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_0016: ldsfld string [mscorlib]System.String::Empty - IL_001b: stloc.1 - IL_001c: br IL_006b + IL_0079: nop + IL_007a: br IL_00c3 - 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_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_002e: nop - IL_002f: ldloc.3 - IL_0030: ldc.i4.0 - IL_0031: ble IL_0042 + 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_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_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_005f: ldloc.2 - IL_0060: callvirt instance string object::ToString() - IL_0065: stloc.1 - IL_0066: br IL_006b + IL_00d4: ldloc.0 + IL_00d5: brfalse IL_0134 - IL_006b: ldloc.1 - IL_006c: ret - } // end of method FrameworkFunctions::GetFrameworks + 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 - // method line 129 - .method private hidebysig - instance default class NAnt.Core.FrameworkInfo GetFramework (string framework) cil managed - { - // Method begins at RVA 0x3354 - // Code size 114 (0x72) - .maxstack 3 - .locals init ( - class NAnt.Core.FrameworkInfo V_0, - class NAnt.Core.FrameworkInfo V_1) - IL_0000: nop - IL_0001: ldarg.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_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_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_012e: nop + IL_012f: br IL_01cc - 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_0134: nop + IL_0135: nop + IL_0136: ldarg.0 + IL_0137: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.AssemblyResolver::_assemblyCache + IL_013c: callvirt instance class [mscorlib]System.Collections.ICollection class [mscorlib]System.Collections.Hashtable::get_Values() + IL_0141: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() + IL_0146: stloc.s 7 + .try { // 0 + IL_0148: br IL_01a3 - IL_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_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_0070: ldloc.0 - IL_0071: ret - } // end of method FrameworkFunctions::GetFramework + 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 - } // end of class NAnt.Core.Functions.FrameworkFunctions -} + IL_01a2: nop + IL_01a3: ldloc.s 7 + IL_01a5: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() + IL_01aa: brtrue IL_014d -.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.. + IL_01af: leave IL_01cb + } // end .try 0 + finally { // 0 + IL_01b4: ldloc.s 7 + IL_01b6: isinst [mscorlib]System.IDisposable + IL_01bb: dup + IL_01bc: stloc.s 8 + IL_01be: brfalse IL_01ca - // method line 130 - .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 0x33d2 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method DoubleConversionFunctions::.ctor + IL_01c3: ldloc.s 8 + IL_01c5: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_01ca: endfinally + } // end handler 0 + IL_01cb: nop + IL_01cc: ldarg.0 + IL_01cd: ldc.i4 1000 + IL_01d2: ldstr "Assembly '{0}' could not be located." + IL_01d7: ldc.i4.1 + IL_01d8: newarr [mscorlib]System.Object + IL_01dd: dup + IL_01de: ldc.i4.0 + IL_01df: ldarg.2 + IL_01e0: callvirt instance string class [mscorlib]System.ResolveEventArgs::get_Name() + IL_01e5: stelem.ref + IL_01e6: call instance void class NAnt.Core.Util.AssemblyResolver::Log(valuetype NAnt.Core.Level, string, object[]) + IL_01eb: ldnull + IL_01ec: stloc.s 5 + IL_01ee: br IL_01f3 - // method line 131 - .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_01f3: ldloc.s 5 + IL_01f5: ret + } // end of method AssemblyResolver::AssemblyResolve - // Method begins at RVA 0x33e0 - // Code size 20 (0x14) - .maxstack 2 - .locals init ( - float64 V_0) + // method line 75 + .method private hidebysig + instance default void AssemblyLoad (object sender, class [mscorlib]System.AssemblyLoadEventArgs args) cil managed + { + // Method begins at RVA 0x4150 + // Code size 66 (0x42) + .maxstack 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 float64 float64::Parse(string, class [mscorlib]System.IFormatProvider) - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DoubleConversionFunctions::Parse + 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 132 - .method public static hidebysig - default string ToString (float64 'value') cil managed + // method line 76 + .method private hidebysig + instance default void Log (valuetype NAnt.Core.Level messageLevel, string message, object[] args) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + .param [3] + .custom instance void class [mscorlib]System.ParamArrayAttribute::'.ctor'() = (01 00 00 00 ) // .... - // Method begins at RVA 0x3400 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - string V_0) + // Method begins at RVA 0x419e + // Code size 29 (0x1d) + .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 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.Task NAnt.Core.Util.AssemblyResolver::_task + IL_0007: brfalse IL_001c - IL_0013: ldloc.0 - IL_0014: ret - } // end of method DoubleConversionFunctions::ToString + 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.Functions.DoubleConversionFunctions + } // end of class NAnt.Core.Util.AssemblyResolver } -.namespace NAnt.Core.Functions +.namespace NAnt.Core.Util { - .class public auto ansi beforefieldinit FileVersionInfoFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 0F 66 69 6C 65 76 65 72 73 69 6F 6E 69 6E // ...fileversionin - 66 6F 07 56 65 72 73 69 6F 6E 00 00 ) // fo.Version.. - + .class public auto ansi sealed beforefieldinit GacCache + extends [mscorlib]System.Object + implements [mscorlib]System.IDisposable { + .field private class [mscorlib]System.AppDomain _domain + .field private class NAnt.Core.Project _project + .field private class [mscorlib]System.Collections.Hashtable _gacQueryCache + .field private bool _hasLoadedAssembly + .field private class NAnt.Core.Util.GacCache/GacResolver _resolver + .field private bool _disposed - // method line 133 + // method line 77 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + instance default void '.ctor' (class NAnt.Core.Project project) cil managed { - // Method begins at RVA 0x3421 - // Code size 10 (0xa) + // Method begins at RVA 0x41bc + // Code size 32 (0x20) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method FileVersionInfoFunctions::.ctor + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.Core.Project NAnt.Core.Util.GacCache::_project + IL_000e: ldarg.0 + IL_000f: call class [mscorlib]System.Collections.Hashtable class [System]System.Collections.Specialized.CollectionsUtil::CreateCaseInsensitiveHashtable() + IL_0014: stfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache + IL_0019: ldarg.0 + IL_001a: call instance void class NAnt.Core.Util.GacCache::RecreateDomain() + IL_001f: ret + } // end of method GacCache::.ctor - // method line 134 - .method public hidebysig - instance default class [System]System.Diagnostics.FileVersionInfo GetVersionInfo (string fileName) cil managed + // method line 78 + .method family virtual hidebysig + instance default void Finalize () 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 0x342c - // Code size 26 (0x1a) + // Method begins at RVA 0x41e0 + // Code size 21 (0x15) .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 + .try { // 0 + IL_0001: ldarg.0 + IL_0002: ldc.i4.0 + IL_0003: call instance void class NAnt.Core.Util.GacCache::Dispose(bool) + IL_0008: leave IL_0014 - IL_0018: ldloc.0 - IL_0019: ret - } // end of method FileVersionInfoFunctions::GetVersionInfo + } // end .try 0 + finally { // 0 + IL_000d: ldarg.0 + IL_000e: call instance void object::Finalize() + IL_0013: endfinally + } // end handler 0 + IL_0014: ret + } // end of method GacCache::Finalize - // method line 135 - .method public static hidebysig - default string GetCompanyName (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + // method line 79 + .method public hidebysig specialname + instance default class NAnt.Core.Project get_Project () 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 0x3454 + // Method begins at RVA 0x4214 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class NAnt.Core.Project V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [System]System.Diagnostics.FileVersionInfo::get_CompanyName() + IL_0002: ldfld class NAnt.Core.Project NAnt.Core.Util.GacCache::_project IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileVersionInfoFunctions::GetCompanyName - - // method line 136 - .method public static hidebysig - default class [mscorlib]System.Version GetFileVersion (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 66 69 6C 65 2D 76 65 72 73 // ...get-file-vers - 69 6F 6E 00 00 ) // ion.. - - // Method begins at RVA 0x3470 - // 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_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_0024: ldloc.0 - IL_0025: ret - } // end of method FileVersionInfoFunctions::GetFileVersion + } // end of method GacCache::get_Project - // method line 137 - .method public static hidebysig - default string GetProductName (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + // method line 80 + .method private hidebysig specialname + instance default class [mscorlib]System.AppDomain get_Domain () 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.. - - // Method begins at RVA 0x34a4 + // Method begins at RVA 0x4230 // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0) + class [mscorlib]System.AppDomain V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [System]System.Diagnostics.FileVersionInfo::get_ProductName() + IL_0002: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileVersionInfoFunctions::GetProductName + } // end of method GacCache::get_Domain - // method line 138 - .method public static hidebysig - default class [mscorlib]System.Version GetProductVersion (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + // method line 81 + .method private hidebysig specialname + instance default class NAnt.Core.Util.GacCache/GacResolver get_Resolver () 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 0x34c0 - // Code size 38 (0x26) + // Method begins at RVA 0x424c + // Code size 80 (0x50) .maxstack 4 .locals init ( - class [mscorlib]System.Version V_0) + class NAnt.Core.Util.GacCache/GacResolver V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductMajorPart() - IL_0007: ldarg.0 - IL_0008: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductMinorPart() - IL_000d: ldarg.0 - IL_000e: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductBuildPart() - IL_0013: ldarg.0 - IL_0014: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductPrivatePart() - IL_0019: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32, int32, int32) - IL_001e: stloc.0 - IL_001f: br IL_0024 - - IL_0024: ldloc.0 - IL_0025: ret - } // end of method FileVersionInfoFunctions::GetProductVersion - - } // end of class NAnt.Core.Functions.FileVersionInfoFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit AssemblyNameFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 0C 61 73 73 65 6D 62 6C 79 6E 61 6D 65 08 // ...assemblyname. - 41 73 73 65 6D 62 6C 79 00 00 ) // Assembly.. + IL_0002: ldfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver + IL_0007: brtrue IL_0042 + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldarg.0 + IL_000f: call instance class [mscorlib]System.AppDomain class NAnt.Core.Util.GacCache::get_Domain() + IL_0014: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_0019: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_001e: ldtoken NAnt.Core.Util.GacCache/GacResolver + IL_0023: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0028: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_002d: callvirt instance class [mscorlib]System.Runtime.Remoting.ObjectHandle class [mscorlib]System.AppDomain::CreateInstanceFrom(string, string) + IL_0032: callvirt instance object class [mscorlib]System.Runtime.Remoting.ObjectHandle::Unwrap() + IL_0037: castclass NAnt.Core.Util.GacCache/GacResolver + IL_003c: stfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver + IL_0041: nop + IL_0042: ldarg.0 + IL_0043: ldfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver + IL_0048: stloc.0 + IL_0049: br IL_004e - // method line 139 - .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 0x34f2 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method AssemblyNameFunctions::.ctor + IL_004e: ldloc.0 + IL_004f: ret + } // end of method GacCache::get_Resolver - // method line 140 - .method public static hidebysig - default string GetCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + // method line 82 + .method public final virtual hidebysig newslot + instance default void Dispose () 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 0x3500 + // Method begins at RVA 0x42a8 // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_CodeBase() - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 + IL_0002: ldc.i4.1 + IL_0003: call instance void class NAnt.Core.Util.GacCache::Dispose(bool) + IL_0008: ldarg.0 + IL_0009: call void class [mscorlib]System.GC::SuppressFinalize(object) IL_000e: ret - } // end of method AssemblyNameFunctions::GetCodeBase + } // end of method GacCache::Dispose - // method line 141 - .method public static hidebysig - default string GetEscapedCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + // method line 83 + .method private hidebysig + instance default void Dispose (bool disposing) 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 0x351c - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x42b8 + // Code size 33 (0x21) + .maxstack 8 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 + IL_0002: ldfld bool NAnt.Core.Util.GacCache::_disposed + IL_0007: brtrue IL_0020 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetEscapedCodeBase + IL_000c: nop + IL_000d: ldarg.0 + IL_000e: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_0013: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) + IL_0018: ldarg.0 + IL_0019: ldc.i4.1 + IL_001a: stfld bool NAnt.Core.Util.GacCache::_disposed + IL_001f: nop + IL_0020: ret + } // end of method GacCache::Dispose - // method line 142 - .method public static hidebysig - default string GetFullName (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + // method line 84 + .method public hidebysig + instance default void RecreateDomain () 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 0x3538 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x42dc + // Code size 114 (0x72) + .maxstack 6 .locals init ( - string V_0) + class [mscorlib]System.Security.PermissionSet 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 + IL_0002: ldfld bool NAnt.Core.Util.GacCache::_hasLoadedAssembly + IL_0007: brtrue IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetFullName + IL_000c: ldarg.0 + IL_000d: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_0012: brfalse IL_001c - // method line 143 - .method public static hidebysig - default string GetName (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. + IL_0017: br IL_0071 - // Method begins at RVA 0x3554 - // 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_001c: ldarg.0 + IL_001d: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_0022: brfalse IL_0032 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetName + IL_0027: ldarg.0 + IL_0028: ldfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_002d: call void class [mscorlib]System.AppDomain::Unload(class [mscorlib]System.AppDomain) + IL_0032: ldarg.0 + IL_0033: ldnull + IL_0034: stfld class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::_resolver + IL_0039: ldc.i4.1 + IL_003a: newobj instance void class [mscorlib]System.Security.PermissionSet::'.ctor'(valuetype [mscorlib]System.Security.Permissions.PermissionState) + IL_003f: stloc.0 + IL_0040: ldarg.0 + IL_0041: ldstr "GacCacheDomain" + IL_0046: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_004b: callvirt instance class [mscorlib]System.Security.Policy.Evidence class [mscorlib]System.AppDomain::get_Evidence() + IL_0050: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_0055: callvirt instance class [mscorlib]System.AppDomainSetup class [mscorlib]System.AppDomain::get_SetupInformation() + IL_005a: ldloc.0 + IL_005b: call !!0[] class [mscorlib]System.Array::Empty () + IL_0060: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::CreateDomain(string, class [mscorlib]System.Security.Policy.Evidence, class [mscorlib]System.AppDomainSetup, class [mscorlib]System.Security.PermissionSet, class [mscorlib]System.Security.Policy.StrongName[]) + IL_0065: stfld class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::_domain + IL_006a: ldarg.0 + IL_006b: ldc.i4.0 + IL_006c: stfld bool NAnt.Core.Util.GacCache::_hasLoadedAssembly + IL_0071: ret + } // end of method GacCache::RecreateDomain - // method line 144 - .method public static hidebysig - default class [mscorlib]System.Version GetVersion (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed + // method line 85 + .method public hidebysig + instance default bool IsAssemblyInGac (string assemblyFile) 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 0x3570 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x435c + // Code size 160 (0xa0) + .maxstack 4 .locals init ( - class [mscorlib]System.Version V_0) + bool V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: call instance class NAnt.Core.Project class NAnt.Core.Util.GacCache::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_RuntimeFramework() + IL_000c: callvirt instance string class NAnt.Core.FrameworkInfo::get_Family() + IL_0011: ldarg.0 + IL_0012: call instance class NAnt.Core.Project class NAnt.Core.Util.GacCache::get_Project() + IL_0017: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_001c: callvirt instance string class NAnt.Core.FrameworkInfo::get_Family() + IL_0021: call bool string::op_Inequality(string, string) + IL_0026: brfalse IL_0033 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method AssemblyNameFunctions::GetVersion + IL_002b: nop + IL_002c: ldc.i4.0 + IL_002d: stloc.0 + IL_002e: br IL_009e - // method line 145 - .method public hidebysig - instance default class [mscorlib]System.Reflection.AssemblyName GetAssemblyName (string assemblyFile) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 61 73 73 65 6D 62 6C 79 2D // ...get-assembly- - 6E 61 6D 65 00 00 ) // name.. + IL_0033: ldarg.1 + IL_0034: call string class [mscorlib]System.IO.Path::GetFullPath(string) + IL_0039: stloc.1 + IL_003a: ldarg.0 + IL_003b: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache + IL_0040: ldloc.1 + IL_0041: callvirt instance bool class [mscorlib]System.Collections.Hashtable::Contains(object) + IL_0046: brfalse IL_0063 - // Method begins at RVA 0x358c - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - class [mscorlib]System.Reflection.AssemblyName V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_004b: nop + IL_004c: ldarg.0 + IL_004d: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache + IL_0052: ldloc.1 + IL_0053: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0058: unbox.any [mscorlib]System.Boolean + IL_005d: stloc.0 + IL_005e: br IL_009e - IL_0018: ldloc.0 - IL_0019: ret - } // end of method AssemblyNameFunctions::GetAssemblyName + IL_0063: ldarg.0 + IL_0064: ldc.i4.1 + IL_0065: stfld bool NAnt.Core.Util.GacCache::_hasLoadedAssembly + IL_006a: ldarg.0 + IL_006b: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache + IL_0070: ldloc.1 + IL_0071: ldarg.0 + IL_0072: call instance class NAnt.Core.Util.GacCache/GacResolver class NAnt.Core.Util.GacCache::get_Resolver() + IL_0077: ldloc.1 + IL_0078: callvirt instance bool class NAnt.Core.Util.GacCache/GacResolver::IsAssemblyInGac(string) + IL_007d: box [mscorlib]System.Boolean + IL_0082: callvirt instance void class [mscorlib]System.Collections.Hashtable::set_Item(object, object) + IL_0087: ldarg.0 + IL_0088: ldfld class [mscorlib]System.Collections.Hashtable NAnt.Core.Util.GacCache::_gacQueryCache + IL_008d: ldloc.1 + IL_008e: callvirt instance object class [mscorlib]System.Collections.Hashtable::get_Item(object) + IL_0093: unbox.any [mscorlib]System.Boolean + IL_0098: stloc.0 + IL_0099: br IL_009e - } // end of class NAnt.Core.Functions.AssemblyNameFunctions -} + IL_009e: ldloc.0 + IL_009f: ret + } // end of method GacCache::IsAssemblyInGac -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit DirectoryFunctions - extends NAnt.Core.FunctionSetBase + .property instance class NAnt.Core.Project Project () + { + .get instance default class NAnt.Core.Project NAnt.Core.Util.GacCache::get_Project () + } + .property instance class [mscorlib]System.AppDomain Domain () + { + .get instance default class [mscorlib]System.AppDomain NAnt.Core.Util.GacCache::get_Domain () + } + .property instance class NAnt.Core.Util.GacCache/GacResolver Resolver () + { + .get instance default class NAnt.Core.Util.GacCache/GacResolver NAnt.Core.Util.GacCache::get_Resolver () + } + .class nested private auto ansi beforefieldinit GacResolver + extends [mscorlib]System.MarshalByRefObject { - .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.. - - // method line 146 + // method line 86 .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 0x35b2 - // Code size 10 (0xa) + // Method begins at RVA 0x4408 + // 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 DirectoryFunctions::.ctor + IL_0001: call instance void class [mscorlib]System.MarshalByRefObject::'.ctor'() + IL_0006: ret + } // end of method GacResolver::.ctor - // method line 147 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetCreationTime (string path) cil managed + // method line 87 + .method public virtual hidebysig + instance default object InitializeLifetimeService () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 63 72 65 61 74 69 6F 6E 2D // ...get-creation- - 74 69 6D 65 00 00 ) // time.. - - // Method begins at RVA 0x35c0 - // Code size 62 (0x3e) - .maxstack 3 + // Method begins at RVA 0x4410 + // Code size 47 (0x2f) + .maxstack 2 .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + class [mscorlib]System.Runtime.Remoting.Lifetime.ILease V_0, + object 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_0002: call instance object class [mscorlib]System.MarshalByRefObject::InitializeLifetimeService() + IL_0007: castclass [mscorlib]System.Runtime.Remoting.Lifetime.ILease + IL_000c: stloc.0 + IL_000d: ldloc.0 + IL_000e: callvirt instance valuetype [mscorlib]System.Runtime.Remoting.Lifetime.LeaseState class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::get_CurrentState() + IL_0013: ldc.i4.1 + IL_0014: bne.un IL_0026 IL_0019: nop - IL_001a: 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_001a: ldloc.0 + IL_001b: ldsfld valuetype [mscorlib]System.TimeSpan [mscorlib]System.TimeSpan::Zero + IL_0020: callvirt instance void class [mscorlib]System.Runtime.Remoting.Lifetime.ILease::set_InitialLeaseTime(valuetype [mscorlib]System.TimeSpan) + IL_0025: nop + IL_0026: ldloc.0 + IL_0027: stloc.1 + IL_0028: br IL_002d - IL_003c: ldloc.1 - IL_003d: ret - } // end of method DirectoryFunctions::GetCreationTime + IL_002d: ldloc.1 + IL_002e: ret + } // end of method GacResolver::InitializeLifetimeService - // method line 148 + // method line 88 .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed + instance default bool IsAssemblyInGac (string assemblyFile) 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 0x360c - // Code size 62 (0x3e) - .maxstack 3 + // Method begins at RVA 0x444c + // Code size 82 (0x52) + .maxstack 1 .locals init ( - string V_0, - valuetype [mscorlib]System.DateTime V_1) + class [mscorlib]System.Reflection.AssemblyName V_0, + bool V_1, + class [mscorlib]System.Reflection.Assembly V_2) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: stloc.0 - IL_000e: ldloc.0 - IL_000f: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0014: brtrue IL_0030 + .try { // 0 + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) + IL_0008: stloc.0 + IL_0009: ldloc.0 + IL_000a: callvirt instance unsigned int8[] class [mscorlib]System.Reflection.AssemblyName::GetPublicKeyToken() + IL_000f: brtrue IL_001c - IL_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_0014: nop + IL_0015: ldc.i4.0 + IL_0016: stloc.1 + IL_0017: leave IL_0050 - IL_003c: ldloc.1 - IL_003d: ret - } // end of method DirectoryFunctions::GetLastWriteTime + IL_001c: ldloc.0 + IL_001d: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::Load(class [mscorlib]System.Reflection.AssemblyName) + IL_0022: stloc.2 + IL_0023: ldsfld bool NAnt.Core.PlatformHelper::IsMono + IL_0028: brfalse IL_003a - // method line 149 - .method public hidebysig - instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 14 67 65 74 2D 6C 61 73 74 2D 61 63 63 65 // ...get-last-acce - 73 73 2D 74 69 6D 65 00 00 ) // ss-time.. + IL_002d: nop + IL_002e: ldloc.2 + IL_002f: callvirt instance bool class [mscorlib]System.Reflection.Assembly::get_GlobalAssemblyCache() + IL_0034: stloc.1 + IL_0035: leave IL_0050 - // Method begins at RVA 0x3658 - // 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_003a: nop + IL_003b: ldloc.2 + IL_003c: call bool class [mscorlib]System.Runtime.InteropServices.RuntimeEnvironment::FromGlobalAccessCache(class [mscorlib]System.Reflection.Assembly) + IL_0041: stloc.1 + IL_0042: leave IL_0050 - 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 + } // end .try 0 + catch class [mscorlib]System.Object { // 0 + IL_0047: pop + IL_0048: nop + IL_0049: ldc.i4.0 + IL_004a: stloc.1 + IL_004b: leave IL_0050 - IL_003c: ldloc.1 - IL_003d: ret - } // end of method DirectoryFunctions::GetLastAccessTime + } // end handler 0 + IL_0050: ldloc.1 + IL_0051: ret + } // end of method GacResolver::IsAssemblyInGac - // method line 150 - .method public static hidebysig - default string GetCurrentDirectory () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 15 67 65 74 2D 63 75 72 72 65 6E 74 2D 64 // ...get-current-d - 69 72 65 63 74 6F 72 79 00 00 ) // irectory.. + } // end of class GacResolver - // Method begins at RVA 0x36a4 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() - IL_0006: stloc.0 - IL_0007: br IL_000c + } // end of class NAnt.Core.Util.GacCache +} - IL_000c: ldloc.0 - IL_000d: ret - } // end of method DirectoryFunctions::GetCurrentDirectory +.namespace NAnt.Core.Util +{ + .class public auto ansi beforefieldinit CommandLineParser + extends [mscorlib]System.Object + { + .field private class NAnt.Core.Util.CommandLineArgumentCollection _argumentCollection + .field private class NAnt.Core.Util.CommandLineArgument _defaultArgument + .field private class [mscorlib]System.Type _argumentSpecification + .field private bool _supportsResponseFile - // method line 151 - .method public hidebysig - instance default string GetParentDirectory (string path) cil managed + // method line 89 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class [mscorlib]System.Type argumentSpecification, bool supportsResponseFile) 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 0x36c0 - // Code size 56 (0x38) - .maxstack 2 + // Method begins at RVA 0x44bc + // Code size 211 (0xd3) + .maxstack 3 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0, - class [mscorlib]System.IO.DirectoryInfo V_1, - string V_2) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + class [mscorlib]System.Reflection.PropertyInfo V_0, + class [mscorlib]System.Reflection.PropertyInfo[] V_1, + int32 V_2, + class NAnt.Core.Util.CommandLineArgumentAttribute V_3) + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_0012: stloc.0 - IL_0013: ldloc.0 - IL_0014: callvirt instance class [mscorlib]System.IO.DirectoryInfo class [mscorlib]System.IO.DirectoryInfo::get_Parent() - IL_0019: stloc.1 - IL_001a: ldloc.1 - IL_001b: brfalse IL_002b - - IL_0020: ldloc.1 - IL_0021: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0026: br IL_0030 + IL_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_002b: ldsfld string [mscorlib]System.String::Empty - IL_0030: stloc.2 - IL_0031: br IL_0036 + IL_0013: nop + IL_0014: ldstr "argumentSpecification" + IL_0019: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_001e: throw + IL_001f: ldarg.0 + IL_0020: newobj instance void class NAnt.Core.Util.CommandLineArgumentCollection::'.ctor'() + IL_0025: stfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_002a: nop + IL_002b: ldarg.1 + IL_002c: ldc.i4.s 0x14 + IL_002e: callvirt instance class [mscorlib]System.Reflection.PropertyInfo[] class [mscorlib]System.Type::GetProperties(valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0033: stloc.1 + IL_0034: ldc.i4.0 + IL_0035: stloc.2 + IL_0036: br IL_00bb - IL_0036: ldloc.2 - IL_0037: ret - } // end of method DirectoryFunctions::GetParentDirectory + IL_003b: ldloc.1 + IL_003c: ldloc.2 + IL_003d: ldelem.ref + IL_003e: stloc.0 + IL_003f: nop + IL_0040: ldloc.0 + IL_0041: callvirt instance bool class [mscorlib]System.Reflection.PropertyInfo::get_CanWrite() + IL_0046: brtrue IL_0065 - // method line 152 - .method public hidebysig - instance default string GetDirectoryRoot (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 64 69 72 65 63 74 6F 72 79 // ...get-directory - 2D 72 6F 6F 74 00 00 ) // -root.. + IL_004b: ldtoken [mscorlib]System.Collections.ICollection + IL_0050: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0055: ldloc.0 + IL_0056: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.PropertyInfo::get_PropertyType() + IL_005b: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0060: brfalse IL_00b6 - // Method begins at RVA 0x3704 - // 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_0065: nop + IL_0066: ldloc.0 + IL_0067: call class NAnt.Core.Util.CommandLineArgumentAttribute class NAnt.Core.Util.CommandLineParser::GetCommandLineAttribute(class [mscorlib]System.Reflection.PropertyInfo) + IL_006c: stloc.3 + IL_006d: ldloc.3 + IL_006e: isinst NAnt.Core.Util.DefaultCommandLineArgumentAttribute + IL_0073: brfalse IL_009a - IL_001f: ldloc.1 - IL_0020: ret - } // end of method DirectoryFunctions::GetDirectoryRoot + IL_0078: nop + IL_0079: ldarg.0 + IL_007a: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_007f: ldnull + IL_0080: ceq + IL_0082: call void class [System]System.Diagnostics.Debug::Assert(bool) + IL_0087: ldarg.0 + IL_0088: ldloc.3 + IL_0089: ldloc.0 + IL_008a: newobj instance void class NAnt.Core.Util.CommandLineArgument::'.ctor'(class NAnt.Core.Util.CommandLineArgumentAttribute, class [mscorlib]System.Reflection.PropertyInfo) + IL_008f: stfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0094: nop + IL_0095: br IL_00b5 - // method line 153 - .method public hidebysig - instance default bool Exists (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + IL_009a: ldloc.3 + IL_009b: brfalse IL_00b5 - // Method begins at RVA 0x3734 - // Code size 26 (0x1a) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: call bool class [mscorlib]System.IO.Directory::Exists(string) - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_00a0: nop + IL_00a1: ldarg.0 + IL_00a2: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_00a7: ldloc.3 + IL_00a8: ldloc.0 + IL_00a9: newobj instance void class NAnt.Core.Util.CommandLineArgument::'.ctor'(class NAnt.Core.Util.CommandLineArgumentAttribute, class [mscorlib]System.Reflection.PropertyInfo) + IL_00ae: callvirt instance int32 class NAnt.Core.Util.CommandLineArgumentCollection::Add(class NAnt.Core.Util.CommandLineArgument) + IL_00b3: pop + IL_00b4: nop + IL_00b5: nop + IL_00b6: nop + IL_00b7: ldloc.2 + IL_00b8: ldc.i4.1 + IL_00b9: add + IL_00ba: stloc.2 + IL_00bb: ldloc.2 + IL_00bc: ldloc.1 + IL_00bd: ldlen + IL_00be: conv.i4 + IL_00bf: blt IL_003b - IL_0018: ldloc.0 - IL_0019: ret - } // end of method DirectoryFunctions::Exists + IL_00c4: ldarg.0 + IL_00c5: ldarg.1 + IL_00c6: stfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineParser::_argumentSpecification + IL_00cb: ldarg.0 + IL_00cc: ldarg.2 + IL_00cd: stfld bool NAnt.Core.Util.CommandLineParser::_supportsResponseFile + IL_00d2: ret + } // end of method CommandLineParser::.ctor - // method line 154 - .method public hidebysig - instance default string GetName (string path) cil managed + // method line 90 + .method public virtual hidebysig newslot specialname + instance default string get_LogoBanner () 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 0x375c - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x459c + // Code size 634 (0x27a) + .maxstack 8 .locals init ( - string V_0) + string V_0, + string V_1, + class [mscorlib]System.Version V_2, + string V_3, + string V_4, + string V_5, + valuetype [mscorlib]System.DateTime V_6, + class [mscorlib]System.Reflection.Assembly V_7, + object[] V_8, + class [mscorlib]System.Reflection.AssemblyProductAttribute V_9, + object[] V_10, + class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute V_11, + class [System]System.Diagnostics.FileVersionInfo V_12, + valuetype [mscorlib]System.DateTime V_13, + object[] V_14, + class [mscorlib]System.Reflection.AssemblyConfigurationAttribute V_15, + object[] V_16, + class [mscorlib]System.Reflection.AssemblyCopyrightAttribute V_17, + object[] V_18, + class [mscorlib]System.Reflection.AssemblyCompanyAttribute V_19, + class [mscorlib]System.Text.StringBuilder V_20, + string V_21) IL_0000: nop - IL_0001: ldarg.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_0001: ldnull + IL_0002: stloc.3 + IL_0003: ldnull + IL_0004: stloc.s 4 + IL_0006: ldnull + IL_0007: stloc.s 5 + IL_0009: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetEntryAssembly() + IL_000e: stloc.s 7 + IL_0010: ldloc.s 7 + IL_0012: ldnull + IL_0013: call bool class [mscorlib]System.Reflection.Assembly::op_Equality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) + IL_0018: brfalse IL_0026 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method DirectoryFunctions::GetName + IL_001d: nop + IL_001e: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() + IL_0023: stloc.s 7 + IL_0025: nop + IL_0026: ldloc.s 7 + IL_0028: ldtoken [mscorlib]System.Reflection.AssemblyProductAttribute + IL_002d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0032: ldc.i4.0 + IL_0033: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0038: stloc.s 8 + IL_003a: ldloc.s 8 + IL_003c: ldlen + IL_003d: conv.i4 + IL_003e: ldc.i4.0 + IL_003f: ble IL_005e - } // end of class NAnt.Core.Functions.DirectoryFunctions -} + IL_0044: nop + IL_0045: ldloc.s 8 + IL_0047: ldc.i4.0 + IL_0048: ldelem.ref + IL_0049: castclass [mscorlib]System.Reflection.AssemblyProductAttribute + IL_004e: stloc.s 9 + IL_0050: ldloc.s 9 + IL_0052: callvirt instance string class [mscorlib]System.Reflection.AssemblyProductAttribute::get_Product() + IL_0057: stloc.0 + IL_0058: nop + IL_0059: br IL_006d -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit EnvironmentFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 0B 45 // ...environment.E - 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // nvironment.. + IL_005e: nop + IL_005f: ldloc.s 7 + IL_0061: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_0066: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_006b: stloc.0 + IL_006c: nop + IL_006d: ldloc.s 7 + IL_006f: ldtoken [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute + IL_0074: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0079: ldc.i4.0 + IL_007a: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_007f: stloc.s 10 + IL_0081: ldloc.s 10 + IL_0083: ldlen + IL_0084: conv.i4 + IL_0085: ldc.i4.0 + IL_0086: ble IL_00a5 + IL_008b: nop + IL_008c: ldloc.s 10 + IL_008e: ldc.i4.0 + IL_008f: ldelem.ref + IL_0090: castclass [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute + IL_0095: stloc.s 11 + IL_0097: ldloc.s 11 + IL_0099: callvirt instance string class [mscorlib]System.Reflection.AssemblyInformationalVersionAttribute::get_InformationalVersion() + IL_009e: stloc.1 + IL_009f: nop + IL_00a0: br IL_0115 - // method line 155 - .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 0x377c - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method EnvironmentFunctions::.ctor + IL_00a5: nop + IL_00a6: ldloc.s 7 + IL_00a8: callvirt instance string class [mscorlib]System.Reflection.Assembly::get_Location() + IL_00ad: call class [System]System.Diagnostics.FileVersionInfo class [System]System.Diagnostics.FileVersionInfo::GetVersionInfo(string) + IL_00b2: stloc.s 12 + IL_00b4: ldc.i4.7 + IL_00b5: newarr [mscorlib]System.Object + IL_00ba: dup + IL_00bb: ldc.i4.0 + IL_00bc: ldloc.s 12 + IL_00be: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileMajorPart() + IL_00c3: box [mscorlib]System.Int32 + IL_00c8: stelem.ref + IL_00c9: dup + IL_00ca: ldc.i4.1 + IL_00cb: ldstr "." + IL_00d0: stelem.ref + IL_00d1: dup + IL_00d2: ldc.i4.2 + IL_00d3: ldloc.s 12 + IL_00d5: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileMinorPart() + IL_00da: box [mscorlib]System.Int32 + IL_00df: stelem.ref + IL_00e0: dup + IL_00e1: ldc.i4.3 + IL_00e2: ldstr "." + IL_00e7: stelem.ref + IL_00e8: dup + IL_00e9: ldc.i4.4 + IL_00ea: ldloc.s 12 + IL_00ec: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FileBuildPart() + IL_00f1: box [mscorlib]System.Int32 + IL_00f6: stelem.ref + IL_00f7: dup + IL_00f8: ldc.i4.5 + IL_00f9: ldstr "." + IL_00fe: stelem.ref + IL_00ff: dup + IL_0100: ldc.i4.6 + IL_0101: ldloc.s 12 + IL_0103: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_FilePrivatePart() + IL_0108: box [mscorlib]System.Int32 + IL_010d: stelem.ref + IL_010e: call string string::Concat(object[]) + IL_0113: stloc.1 + IL_0114: nop + IL_0115: ldloc.s 7 + IL_0117: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_011c: callvirt instance class [mscorlib]System.Version class [mscorlib]System.Reflection.AssemblyName::get_Version() + IL_0121: stloc.2 + IL_0122: ldloca.s 13 + IL_0124: ldc.i4 2000 + IL_0129: ldc.i4.1 + IL_012a: ldc.i4.1 + IL_012b: call instance void valuetype [mscorlib]System.DateTime::'.ctor'(int32, int32, int32) + IL_0130: ldloca.s 13 + IL_0132: ldloc.2 + IL_0133: callvirt instance int32 class [mscorlib]System.Version::get_Build() + IL_0138: conv.r8 + IL_0139: call instance valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::AddDays(float64) + IL_013e: stloc.s 6 + IL_0140: ldloc.s 7 + IL_0142: ldtoken [mscorlib]System.Reflection.AssemblyConfigurationAttribute + IL_0147: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_014c: ldc.i4.0 + IL_014d: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0152: stloc.s 14 + IL_0154: ldloc.s 14 + IL_0156: ldlen + IL_0157: conv.i4 + IL_0158: ldc.i4.0 + IL_0159: ble IL_0173 - // method line 156 - .method public static hidebysig - default string GetFolderPath (valuetype [mscorlib]System.Environment/SpecialFolder folder) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 67 65 74 2D 66 6F 6C 64 65 72 2D 70 61 // ...get-folder-pa - 74 68 00 00 ) // th.. + IL_015e: nop + IL_015f: ldloc.s 14 + IL_0161: ldc.i4.0 + IL_0162: ldelem.ref + IL_0163: castclass [mscorlib]System.Reflection.AssemblyConfigurationAttribute + IL_0168: stloc.s 15 + IL_016a: ldloc.s 15 + IL_016c: callvirt instance string class [mscorlib]System.Reflection.AssemblyConfigurationAttribute::get_Configuration() + IL_0171: stloc.3 + IL_0172: nop + IL_0173: ldloc.s 7 + IL_0175: ldtoken [mscorlib]System.Reflection.AssemblyCopyrightAttribute + IL_017a: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_017f: ldc.i4.0 + IL_0180: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0185: stloc.s 16 + IL_0187: ldloc.s 16 + IL_0189: ldlen + IL_018a: conv.i4 + IL_018b: ldc.i4.0 + IL_018c: ble IL_01a7 - // Method begins at RVA 0x3788 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0191: nop + IL_0192: ldloc.s 16 + IL_0194: ldc.i4.0 + IL_0195: ldelem.ref + IL_0196: castclass [mscorlib]System.Reflection.AssemblyCopyrightAttribute + IL_019b: stloc.s 17 + IL_019d: ldloc.s 17 + IL_019f: callvirt instance string class [mscorlib]System.Reflection.AssemblyCopyrightAttribute::get_Copyright() + IL_01a4: stloc.s 4 + IL_01a6: nop + IL_01a7: ldloc.s 7 + IL_01a9: ldtoken [mscorlib]System.Reflection.AssemblyCompanyAttribute + IL_01ae: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01b3: ldc.i4.0 + IL_01b4: callvirt instance object[] class [mscorlib]System.Reflection.Assembly::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_01b9: stloc.s 18 + IL_01bb: ldloc.s 18 + IL_01bd: ldlen + IL_01be: conv.i4 + IL_01bf: ldc.i4.0 + IL_01c0: ble IL_01db - IL_000d: ldloc.0 - IL_000e: ret - } // end of method EnvironmentFunctions::GetFolderPath + IL_01c5: nop + IL_01c6: ldloc.s 18 + IL_01c8: ldc.i4.0 + IL_01c9: ldelem.ref + IL_01ca: castclass [mscorlib]System.Reflection.AssemblyCompanyAttribute + IL_01cf: stloc.s 19 + IL_01d1: ldloc.s 19 + IL_01d3: callvirt instance string class [mscorlib]System.Reflection.AssemblyCompanyAttribute::get_Company() + IL_01d8: stloc.s 5 + IL_01da: nop + IL_01db: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_01e0: stloc.s 20 + IL_01e2: ldloc.s 20 + IL_01e4: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01e9: ldstr "String_BuildBanner" + IL_01ee: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_01f3: ldc.i4.5 + IL_01f4: newarr [mscorlib]System.Object + IL_01f9: dup + IL_01fa: ldc.i4.0 + IL_01fb: ldloc.0 + IL_01fc: stelem.ref + IL_01fd: dup + IL_01fe: ldc.i4.1 + IL_01ff: ldloc.1 + IL_0200: stelem.ref + IL_0201: dup + IL_0202: ldc.i4.2 + IL_0203: ldloc.2 + IL_0204: ldc.i4.4 + IL_0205: callvirt instance string class [mscorlib]System.Version::ToString(int32) + IL_020a: stelem.ref + IL_020b: dup + IL_020c: ldc.i4.3 + IL_020d: ldloc.3 + IL_020e: stelem.ref + IL_020f: dup + IL_0210: ldc.i4.4 + IL_0211: ldloca.s 6 + IL_0213: call instance string valuetype [mscorlib]System.DateTime::ToShortDateString() + IL_0218: stelem.ref + IL_0219: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object[]) + IL_021e: pop + IL_021f: ldloc.s 4 + IL_0221: call bool string::IsNullOrEmpty(string) + IL_0226: brtrue IL_0244 - // method line 157 - .method public static hidebysig - default string GetMachineName () 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.. + IL_022b: nop + IL_022c: ldloc.s 20 + IL_022e: call string class [mscorlib]System.Environment::get_NewLine() + IL_0233: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0238: pop + IL_0239: ldloc.s 20 + IL_023b: ldloc.s 4 + IL_023d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0242: pop + IL_0243: nop + IL_0244: ldloc.s 5 + IL_0246: call bool string::IsNullOrEmpty(string) + IL_024b: brtrue IL_0269 - // Method begins at RVA 0x37a4 - // Code size 14 (0xe) - .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_0250: nop + IL_0251: ldloc.s 20 + IL_0253: call string class [mscorlib]System.Environment::get_NewLine() + IL_0258: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_025d: pop + IL_025e: ldloc.s 20 + IL_0260: ldloc.s 5 + IL_0262: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0267: pop + IL_0268: nop + IL_0269: ldloc.s 20 + IL_026b: callvirt instance string object::ToString() + IL_0270: stloc.s 21 + IL_0272: br IL_0277 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetMachineName + IL_0277: ldloc.s 21 + IL_0279: ret + } // end of method CommandLineParser::get_LogoBanner - // method line 158 - .method public static hidebysig - default class [mscorlib]System.OperatingSystem GetOperatingSystem () cil managed + // method line 91 + .method public virtual hidebysig newslot specialname + instance default string get_Usage () 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 0x37c0 - // Code size 14 (0xe) - .maxstack 1 + // Method begins at RVA 0x4824 + // Code size 805 (0x325) + .maxstack 5 .locals init ( - class [mscorlib]System.OperatingSystem V_0) + class [mscorlib]System.Text.StringBuilder V_0, + class [mscorlib]System.Reflection.Assembly V_1, + class NAnt.Core.Util.CommandLineArgument V_2, + class NAnt.Core.Util.CommandLineArgumentEnumerator V_3, + string V_4, + string V_5, + class [mscorlib]System.IDisposable V_6, + string V_7) IL_0000: nop - IL_0001: call class [mscorlib]System.OperatingSystem class [mscorlib]System.Environment::get_OSVersion() + IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0007: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetEntryAssembly() + IL_000c: stloc.1 + IL_000d: ldloc.1 + IL_000e: ldnull + IL_000f: call bool class [mscorlib]System.Reflection.Assembly::op_Equality(class [mscorlib]System.Reflection.Assembly, class [mscorlib]System.Reflection.Assembly) + IL_0014: brfalse IL_0021 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetOperatingSystem + IL_0019: nop + IL_001a: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetCallingAssembly() + IL_001f: stloc.1 + IL_0020: nop + IL_0021: ldloc.0 + IL_0022: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0027: ldc.i4.0 + IL_0028: ble IL_003b - // method line 159 - .method public static hidebysig - default string GetUserName () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 75 73 65 72 2D 6E 61 6D 65 // ...get-user-name - 00 00 ) // .. + IL_002d: nop + IL_002e: ldloc.0 + IL_002f: call string class [mscorlib]System.Environment::get_NewLine() + IL_0034: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0039: pop + IL_003a: nop + IL_003b: ldloc.0 + IL_003c: ldstr "Usage : " + IL_0041: ldloc.1 + IL_0042: callvirt instance class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.Assembly::GetName() + IL_0047: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_Name() + IL_004c: ldstr " [options]" + IL_0051: call string string::Concat(string, string, string) + IL_0056: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_005b: pop + IL_005c: ldarg.0 + IL_005d: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0062: brfalse IL_00c9 - // Method begins at RVA 0x37dc - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call string class [mscorlib]System.Environment::get_UserName() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_0067: nop + IL_0068: ldloc.0 + IL_0069: ldstr " <" + IL_006e: ldarg.0 + IL_006f: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0074: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0079: ldstr ">" + IL_007e: call string string::Concat(string, string, string) + IL_0083: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0088: pop + IL_0089: ldarg.0 + IL_008a: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_008f: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_AllowMultiple() + IL_0094: brfalse IL_00c8 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetUserName + IL_0099: nop + IL_009a: ldloc.0 + IL_009b: ldstr " <" + IL_00a0: ldarg.0 + IL_00a1: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_00a6: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_00ab: ldstr ">" + IL_00b0: call string string::Concat(string, string, string) + IL_00b5: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00ba: pop + IL_00bb: ldloc.0 + IL_00bc: ldstr " ..." + IL_00c1: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00c6: pop + IL_00c7: nop + IL_00c8: nop + IL_00c9: ldloc.0 + IL_00ca: call string class [mscorlib]System.Environment::get_NewLine() + IL_00cf: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00d4: pop + IL_00d5: ldloc.0 + IL_00d6: ldstr "Options : " + IL_00db: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00e0: pop + IL_00e1: ldloc.0 + IL_00e2: call string class [mscorlib]System.Environment::get_NewLine() + IL_00e7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00ec: pop + IL_00ed: ldloc.0 + IL_00ee: call string class [mscorlib]System.Environment::get_NewLine() + IL_00f3: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_00f8: pop + IL_00f9: nop + IL_00fa: ldarg.0 + IL_00fb: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_0100: callvirt instance class NAnt.Core.Util.CommandLineArgumentEnumerator class NAnt.Core.Util.CommandLineArgumentCollection::GetEnumerator() + IL_0105: stloc.3 + .try { // 0 + IL_0106: br IL_02bb - // method line 160 - .method public static hidebysig - default string GetVariable (string name) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 76 61 72 69 61 62 6C 65 00 // ...get-variable. - 00 ) // . + IL_010b: ldloc.3 + IL_010c: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current() + IL_0111: stloc.2 + IL_0112: nop + IL_0113: ldstr "" + IL_0118: stloc.s 4 + IL_011a: ldloc.2 + IL_011b: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_0120: ldtoken [mscorlib]System.String + IL_0125: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_012a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_012f: brfalse IL_0142 - // Method begins at RVA 0x37f8 - // Code size 54 (0x36) - .maxstack 3 - .locals init ( - string 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_0134: nop + IL_0135: ldstr ":" + IL_013a: stloc.s 4 + IL_013c: nop + IL_013d: br IL_01ec - 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_0142: ldloc.2 + IL_0143: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_0148: ldtoken [mscorlib]System.Boolean + IL_014d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0152: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0157: brfalse IL_016a - IL_0034: ldloc.0 - IL_0035: ret - } // end of method EnvironmentFunctions::GetVariable + IL_015c: nop + IL_015d: ldstr "[+|-]" + IL_0162: stloc.s 4 + IL_0164: nop + IL_0165: br IL_01ec - // method line 161 - .method public static hidebysig - default bool VariableExists (string name) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0F 76 61 72 69 61 62 6C 65 2D 65 78 69 73 // ...variable-exis - 74 73 00 00 ) // ts.. + IL_016a: ldloc.2 + IL_016b: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_0170: ldtoken [mscorlib]System.IO.FileInfo + IL_0175: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_017a: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_017f: brfalse IL_0192 - // Method begins at RVA 0x383c - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.Environment::GetEnvironmentVariable(string) - IL_0007: ldnull - IL_0008: ceq - IL_000a: ldc.i4.0 - IL_000b: ceq - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0184: nop + IL_0185: ldstr ":" + IL_018a: stloc.s 4 + IL_018c: nop + IL_018d: br IL_01ec - IL_0013: ldloc.0 - IL_0014: ret - } // end of method EnvironmentFunctions::VariableExists + IL_0192: ldloc.2 + IL_0193: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_0198: ldtoken [mscorlib]System.Int32 + IL_019d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_01a2: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_01a7: brfalse IL_01ba - // method line 162 - .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_01ac: nop + IL_01ad: ldstr ":" + IL_01b2: stloc.s 4 + IL_01b4: nop + IL_01b5: br IL_01ec - // Method begins at RVA 0x3860 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - class [mscorlib]System.Version V_0) - IL_0000: nop - IL_0001: call class [mscorlib]System.Version class [mscorlib]System.Environment::get_Version() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_01ba: ldloc.2 + IL_01bb: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_IsNameValueCollection() + IL_01c0: brfalse IL_01d3 - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::GetVersion + IL_01c5: nop + IL_01c6: ldstr ":=" + IL_01cb: stloc.s 4 + IL_01cd: nop + IL_01ce: br IL_01ec - // method line 163 - .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_01d3: nop + IL_01d4: ldstr ":" + IL_01d9: ldloc.2 + IL_01da: callvirt instance class [mscorlib]System.Type class NAnt.Core.Util.CommandLineArgument::get_ValueType() + IL_01df: callvirt instance string class [mscorlib]System.Type::get_FullName() + IL_01e4: call string string::Concat(string, string) + IL_01e9: stloc.s 4 + IL_01eb: nop + IL_01ec: ldloc.2 + IL_01ed: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_01f2: stloc.s 5 + IL_01f4: ldloc.2 + IL_01f5: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_01fa: brfalse IL_028c - // Method begins at RVA 0x387c - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call string class [mscorlib]System.Environment::get_NewLine() - IL_0006: stloc.0 - IL_0007: br IL_000c + IL_01ff: nop + IL_0200: ldloc.2 + IL_0201: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_0206: ldloc.2 + IL_0207: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_020c: callvirt instance bool string::StartsWith(string) + IL_0211: brfalse IL_023b - IL_000c: ldloc.0 - IL_000d: ret - } // end of method EnvironmentFunctions::NewLine + IL_0216: nop + IL_0217: ldloc.s 5 + IL_0219: ldloc.2 + IL_021a: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_021f: callvirt instance int32 string::get_Length() + IL_0224: ldstr "[" + IL_0229: callvirt instance string string::Insert(int32, string) + IL_022e: ldstr "]" + IL_0233: call string string::Concat(string, string) + IL_0238: stloc.s 5 + IL_023a: nop + IL_023b: ldloc.0 + IL_023c: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0241: ldstr " -{0,-30}{1}" + IL_0246: ldloc.s 5 + IL_0248: ldloc.s 4 + IL_024a: call string string::Concat(string, string) + IL_024f: ldloc.2 + IL_0250: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_Description() + IL_0255: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object, object) + IL_025a: pop + IL_025b: ldloc.s 5 + IL_025d: ldloc.2 + IL_025e: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_0263: callvirt instance bool string::StartsWith(string) + IL_0268: brtrue IL_0286 - } // end of class NAnt.Core.Functions.EnvironmentFunctions -} + IL_026d: nop + IL_026e: ldloc.0 + IL_026f: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0274: ldstr " (Short format: /{0})" + IL_0279: ldloc.2 + IL_027a: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_ShortName() + IL_027f: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object) + IL_0284: pop + IL_0285: nop + IL_0286: nop + IL_0287: br IL_02ae -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit TimeSpanFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 74 69 6D 65 73 70 61 6E 09 44 61 74 65 // ...timespan.Date - 2F 54 69 6D 65 00 00 ) // /Time.. + IL_028c: nop + IL_028d: ldloc.0 + IL_028e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0293: ldstr " -{0,-30}{1}" + IL_0298: ldloc.s 5 + IL_029a: ldloc.s 4 + IL_029c: call string string::Concat(string, string) + IL_02a1: ldloc.2 + IL_02a2: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_Description() + IL_02a7: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object, object) + IL_02ac: pop + IL_02ad: nop + IL_02ae: ldloc.0 + IL_02af: call string class [mscorlib]System.Environment::get_NewLine() + IL_02b4: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_02b9: pop + IL_02ba: nop + IL_02bb: ldloc.3 + IL_02bc: callvirt instance bool class NAnt.Core.Util.CommandLineArgumentEnumerator::MoveNext() + IL_02c1: brtrue IL_010b + IL_02c6: leave IL_02e1 - // method line 164 - .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 0x3896 - // Code size 10 (0xa) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldarg.1 - IL_0002: ldarg.2 - IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) - IL_0008: nop - IL_0009: ret - } // end of method TimeSpanFunctions::.ctor + } // end .try 0 + finally { // 0 + IL_02cb: ldloc.3 + IL_02cc: isinst [mscorlib]System.IDisposable + IL_02d1: dup + IL_02d2: stloc.s 6 + IL_02d4: brfalse IL_02e0 - // method line 165 - .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.. + IL_02d9: ldloc.s 6 + IL_02db: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_02e0: endfinally + } // end handler 0 + IL_02e1: ldarg.0 + IL_02e2: ldfld bool NAnt.Core.Util.CommandLineParser::_supportsResponseFile + IL_02e7: brfalse IL_0315 - // Method begins at RVA 0x38a4 - // 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_02ec: nop + IL_02ed: ldloc.0 + IL_02ee: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_02f3: ldstr " {0,-31}{1}" + IL_02f8: ldstr "@" + IL_02fd: ldstr "Insert command-line settings from a text file." + IL_0302: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::AppendFormat(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0307: pop + IL_0308: ldloc.0 + IL_0309: call string class [mscorlib]System.Environment::get_NewLine() + IL_030e: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0313: pop + IL_0314: nop + IL_0315: ldloc.0 + IL_0316: callvirt instance string object::ToString() + IL_031b: stloc.s 7 + IL_031d: br IL_0322 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalDays + IL_0322: ldloc.s 7 + IL_0324: ret + } // end of method CommandLineParser::get_Usage - // method line 166 - .method public static hidebysig - default float64 GetTotalHours (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 92 + .method public hidebysig specialname + instance default bool get_NoArgs () 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 0x38c0 - // Code size 16 (0x10) - .maxstack 1 + // Method begins at RVA 0x4b74 + // Code size 121 (0x79) + .maxstack 2 .locals init ( - float64 V_0) + class NAnt.Core.Util.CommandLineArgument V_0, + class NAnt.Core.Util.CommandLineArgumentEnumerator V_1, + bool V_2, + class [mscorlib]System.IDisposable V_3) IL_0000: nop - IL_0001: 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: nop + IL_0002: ldarg.0 + IL_0003: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_0008: callvirt instance class NAnt.Core.Util.CommandLineArgumentEnumerator class NAnt.Core.Util.CommandLineArgumentCollection::GetEnumerator() + IL_000d: stloc.1 + .try { // 0 + IL_000e: br IL_002f - // method line 167 - .method public static hidebysig - default float64 GetTotalMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 74 6F 74 61 6C 2D 6D 69 6E // ...get-total-min - 75 74 65 73 00 00 ) // utes.. + IL_0013: ldloc.1 + IL_0014: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current() + IL_0019: stloc.0 + IL_001a: nop + IL_001b: ldloc.0 + IL_001c: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() + IL_0021: brfalse IL_002e - // Method begins at RVA 0x38dc - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - float64 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMinutes() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0026: nop + IL_0027: ldc.i4.1 + IL_0028: stloc.2 + IL_0029: leave IL_0077 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalMinutes + IL_002e: nop + IL_002f: ldloc.1 + IL_0030: callvirt instance bool class NAnt.Core.Util.CommandLineArgumentEnumerator::MoveNext() + IL_0035: brtrue IL_0013 - // method line 168 - .method public static hidebysig - default float64 GetTotalSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 11 67 65 74 2D 74 6F 74 61 6C 2D 73 65 63 // ...get-total-sec - 6F 6E 64 73 00 00 ) // onds.. + IL_003a: leave IL_0053 - // Method begins at RVA 0x38f8 - // Code size 16 (0x10) - .maxstack 1 - .locals init ( - float64 V_0) - IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalSeconds() - IL_0008: stloc.0 - IL_0009: br IL_000e + } // end .try 0 + finally { // 0 + IL_003f: ldloc.1 + IL_0040: isinst [mscorlib]System.IDisposable + IL_0045: dup + IL_0046: stloc.3 + IL_0047: brfalse IL_0052 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalSeconds + IL_004c: ldloc.3 + IL_004d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0052: endfinally + } // end handler 0 + IL_0053: ldarg.0 + IL_0054: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0059: brfalse IL_0070 - // method line 169 - .method public static hidebysig - default float64 GetTotalMilliseconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed + IL_005e: nop + IL_005f: ldarg.0 + IL_0060: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0065: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_SeenValue() + IL_006a: stloc.2 + IL_006b: br IL_0077 + + IL_0070: ldc.i4.0 + IL_0071: stloc.2 + IL_0072: br IL_0077 + + IL_0077: ldloc.2 + IL_0078: ret + } // end of method CommandLineParser::get_NoArgs + + // method line 93 + .method public hidebysig + instance default void Parse (string[] args, object destination) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 16 67 65 74 2D 74 6F 74 61 6C 2D 6D 69 6C // ...get-total-mil - 6C 69 73 65 63 6F 6E 64 73 00 00 ) // liseconds.. + // Method begins at RVA 0x4c0c + // Code size 156 (0x9c) + .maxstack 2 + .locals init ( + class NAnt.Core.Util.CommandLineArgument V_0, + class NAnt.Core.Util.CommandLineArgumentEnumerator V_1, + class [mscorlib]System.IDisposable V_2) + IL_0000: nop + IL_0001: ldarg.2 + IL_0002: brtrue IL_0013 - // Method begins at RVA 0x3914 - // Code size 16 (0x10) - .maxstack 1 + IL_0007: nop + IL_0008: ldstr "destination" + IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0012: throw + IL_0013: ldarg.0 + IL_0014: ldfld class [mscorlib]System.Type NAnt.Core.Util.CommandLineParser::_argumentSpecification + IL_0019: ldarg.2 + IL_001a: callvirt instance class [mscorlib]System.Type object::GetType() + IL_001f: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) + IL_0024: brtrue IL_0035 + + IL_0029: nop + IL_002a: ldstr "Type of destination does not match type of argument specification." + IL_002f: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0034: throw + IL_0035: ldarg.0 + IL_0036: ldarg.1 + IL_0037: call instance void class NAnt.Core.Util.CommandLineParser::ParseArgumentList(string[]) + IL_003c: nop + IL_003d: ldarg.0 + IL_003e: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_0043: callvirt instance class NAnt.Core.Util.CommandLineArgumentEnumerator class NAnt.Core.Util.CommandLineArgumentCollection::GetEnumerator() + IL_0048: stloc.1 + .try { // 0 + IL_0049: br IL_005e + + IL_004e: ldloc.1 + IL_004f: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentEnumerator::get_Current() + IL_0054: stloc.0 + IL_0055: nop + IL_0056: ldloc.0 + IL_0057: ldarg.2 + IL_0058: callvirt instance void class NAnt.Core.Util.CommandLineArgument::Finish(object) + IL_005d: nop + IL_005e: ldloc.1 + IL_005f: callvirt instance bool class NAnt.Core.Util.CommandLineArgumentEnumerator::MoveNext() + IL_0064: brtrue IL_004e + + IL_0069: leave IL_0082 + + } // end .try 0 + finally { // 0 + IL_006e: ldloc.1 + IL_006f: isinst [mscorlib]System.IDisposable + IL_0074: dup + IL_0075: stloc.2 + IL_0076: brfalse IL_0081 + + IL_007b: ldloc.2 + IL_007c: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0081: endfinally + } // end handler 0 + IL_0082: ldarg.0 + IL_0083: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0088: brfalse IL_009b + + IL_008d: nop + IL_008e: ldarg.0 + IL_008f: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0094: ldarg.2 + IL_0095: callvirt instance void class NAnt.Core.Util.CommandLineArgument::Finish(object) + IL_009a: nop + IL_009b: ret + } // end of method CommandLineParser::Parse + + // method line 94 + .method private hidebysig + instance default string[] ParseArguments (string sourceString, char[] delimiters) cil managed + { + // Method begins at RVA 0x4cc4 + // Code size 208 (0xd0) + .maxstack 3 .locals init ( - float64 V_0) + bool V_0, + class [mscorlib]System.Text.StringBuilder V_1, + class [System]System.Collections.Specialized.StringCollection V_2, + char V_3, + string V_4, + int32 V_5, + string[] V_6, + string[] V_7) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMilliseconds() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: ldc.i4.0 + IL_0002: stloc.0 + IL_0003: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0008: stloc.1 + IL_0009: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_000e: stloc.2 + IL_000f: nop + IL_0010: ldarg.1 + IL_0011: stloc.s 4 + IL_0013: ldc.i4.0 + IL_0014: stloc.s 5 + IL_0016: br IL_0085 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTotalMilliseconds + IL_001b: ldloc.s 4 + IL_001d: ldloc.s 5 + IL_001f: callvirt instance char string::get_Chars(int32) + IL_0024: stloc.3 + IL_0025: nop + IL_0026: ldloc.3 + IL_0027: ldc.i4.s 0x22 + IL_0029: bne.un IL_0039 - // method line 170 - .method public static hidebysig - default int32 GetDays (valuetype [mscorlib]System.TimeSpan 'value') cil managed + IL_002e: nop + IL_002f: ldloc.0 + IL_0030: ldc.i4.0 + IL_0031: ceq + IL_0033: stloc.0 + IL_0034: br IL_007f + + IL_0039: ldloc.0 + IL_003a: brtrue IL_0074 + + IL_003f: ldloc.3 + IL_0040: ldarg.2 + IL_0041: call bool class NAnt.Core.Util.CommandLineParser::IsDelimiter(char, char[]) + IL_0046: brfalse IL_0074 + + IL_004b: nop + IL_004c: ldloc.1 + IL_004d: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0052: ldc.i4.0 + IL_0053: ble IL_006e + + IL_0058: nop + IL_0059: ldloc.2 + IL_005a: ldloc.1 + IL_005b: callvirt instance string object::ToString() + IL_0060: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_0065: pop + IL_0066: ldloc.1 + IL_0067: ldc.i4.0 + IL_0068: callvirt instance void class [mscorlib]System.Text.StringBuilder::set_Length(int32) + IL_006d: nop + IL_006e: nop + IL_006f: br IL_007e + + IL_0074: nop + IL_0075: ldloc.1 + IL_0076: ldloc.3 + IL_0077: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) + IL_007c: pop + IL_007d: nop + IL_007e: nop + IL_007f: ldloc.s 5 + IL_0081: ldc.i4.1 + IL_0082: add + IL_0083: stloc.s 5 + IL_0085: ldloc.s 5 + IL_0087: ldloc.s 4 + IL_0089: callvirt instance int32 string::get_Length() + IL_008e: blt IL_001b + + IL_0093: ldloc.1 + IL_0094: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() + IL_0099: ldc.i4.0 + IL_009a: ble IL_00ae + + IL_009f: nop + IL_00a0: ldloc.2 + IL_00a1: ldloc.1 + IL_00a2: callvirt instance string object::ToString() + IL_00a7: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::Add(string) + IL_00ac: pop + IL_00ad: nop + IL_00ae: ldloc.2 + IL_00af: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_00b4: newarr [mscorlib]System.String + IL_00b9: stloc.s 6 + IL_00bb: ldloc.2 + IL_00bc: ldloc.s 6 + IL_00be: ldc.i4.0 + IL_00bf: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) + IL_00c4: ldloc.s 6 + IL_00c6: stloc.s 7 + IL_00c8: br IL_00cd + + IL_00cd: ldloc.s 7 + IL_00cf: ret + } // end of method CommandLineParser::ParseArguments + + // method line 95 + .method private static hidebysig + default bool IsDelimiter (char c, char[] delimiters) 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 0x4da0 + // Code size 54 (0x36) + .maxstack 2 + .locals init ( + char V_0, + char[] V_1, + int32 V_2, + bool V_3) + IL_0000: nop + IL_0001: nop + IL_0002: ldarg.1 + IL_0003: stloc.1 + IL_0004: ldc.i4.0 + IL_0005: stloc.2 + IL_0006: br IL_0024 - // Method begins at RVA 0x3930 - // Code size 16 (0x10) - .maxstack 1 + IL_000b: ldloc.1 + IL_000c: ldloc.2 + IL_000d: ldelem.u2 + IL_000e: stloc.0 + IL_000f: nop + IL_0010: ldarg.0 + IL_0011: ldloc.0 + IL_0012: bne.un IL_001f + + IL_0017: nop + IL_0018: ldc.i4.1 + IL_0019: stloc.3 + IL_001a: br IL_0034 + + IL_001f: nop + IL_0020: ldloc.2 + IL_0021: ldc.i4.1 + IL_0022: add + IL_0023: stloc.2 + IL_0024: ldloc.2 + IL_0025: ldloc.1 + IL_0026: ldlen + IL_0027: conv.i4 + IL_0028: blt IL_000b + + IL_002d: ldc.i4.0 + IL_002e: stloc.3 + IL_002f: br IL_0034 + + IL_0034: ldloc.3 + IL_0035: ret + } // end of method CommandLineParser::IsDelimiter + + // method line 96 + .method private hidebysig + instance default void ProcessResponseFile (string file) cil managed + { + // Method begins at RVA 0x4de4 + // Code size 148 (0x94) + .maxstack 4 .locals init ( - int32 V_0) + char[] V_0, + class [System]System.Collections.Specialized.StringCollection V_1, + class [mscorlib]System.IO.StreamReader V_2, + string V_3, + string[] V_4) IL_0000: nop - IL_0001: 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: ldc.i4.2 + IL_0002: newarr [mscorlib]System.Char + IL_0007: dup + IL_0008: ldc.i4.0 + IL_0009: ldc.i4.s 0x20 + IL_000b: stelem.i2 + IL_000c: dup + IL_000d: ldc.i4.1 + IL_000e: ldc.i4.s 0x09 + IL_0010: stelem.i2 + IL_0011: stloc.0 + IL_0012: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_0017: stloc.1 + IL_0018: ldarg.1 + IL_0019: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() + IL_001e: ldc.i4.1 + IL_001f: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) + IL_0024: stloc.2 + .try { // 0 + IL_0025: nop + IL_0026: br IL_0055 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetDays + IL_002b: nop + IL_002c: ldloc.3 + IL_002d: ldloc.0 + IL_002e: callvirt instance string string::Trim(char[]) + IL_0033: stloc.3 + IL_0034: ldloc.3 + IL_0035: ldstr "#" + IL_003a: callvirt instance bool string::StartsWith(string) + IL_003f: brtrue IL_0054 - // method line 171 - .method public static hidebysig - default int32 GetHours (valuetype [mscorlib]System.TimeSpan 'value') cil managed + IL_0044: nop + IL_0045: ldloc.1 + IL_0046: ldarg.0 + IL_0047: ldloc.3 + IL_0048: ldloc.0 + IL_0049: call instance string[] class NAnt.Core.Util.CommandLineParser::ParseArguments(string, char[]) + IL_004e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_0053: nop + IL_0054: nop + IL_0055: ldloc.2 + IL_0056: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_005b: dup + IL_005c: stloc.3 + IL_005d: brtrue IL_002b + + IL_0062: ldloc.1 + IL_0063: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0068: newarr [mscorlib]System.String + IL_006d: stloc.s 4 + IL_006f: ldloc.1 + IL_0070: ldloc.s 4 + IL_0072: ldc.i4.0 + IL_0073: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) + IL_0078: ldarg.0 + IL_0079: ldloc.s 4 + IL_007b: call instance void class NAnt.Core.Util.CommandLineParser::ParseArgumentList(string[]) + IL_0080: nop + IL_0081: leave IL_0093 + + } // end .try 0 + finally { // 0 + IL_0086: ldloc.2 + IL_0087: brfalse IL_0092 + + IL_008c: ldloc.2 + IL_008d: callvirt instance void class [mscorlib]System.IDisposable::Dispose() + IL_0092: endfinally + } // end handler 0 + IL_0093: ret + } // end of method CommandLineParser::ProcessResponseFile + + // method line 97 + .method private hidebysig + instance default void ParseArgumentList (string[] args) 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 0x4e94 + // Code size 675 (0x2a3) + .maxstack 4 + .locals init ( + string V_0, + string[] V_1, + int32 V_2, + char V_3, + int32 V_4, + string V_5, + string V_6, + class NAnt.Core.Util.CommandLineArgument V_7, + class [mscorlib]System.Attribute[] V_8, + class [mscorlib]System.ObsoleteAttribute V_9, + string V_10, + string V_11) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_000d - // Method begins at RVA 0x394c - // Code size 16 (0x10) - .maxstack 1 + IL_0007: nop + IL_0008: br IL_02a2 + + IL_000d: nop + IL_000e: ldarg.1 + IL_000f: stloc.1 + IL_0010: ldc.i4.0 + IL_0011: stloc.2 + IL_0012: br IL_0299 + + IL_0017: ldloc.1 + IL_0018: ldloc.2 + IL_0019: ldelem.ref + IL_001a: stloc.0 + IL_001b: nop + IL_001c: ldloc.0 + IL_001d: callvirt instance int32 string::get_Length() + IL_0022: brtrue IL_002d + + IL_0027: nop + IL_0028: br IL_0295 + + IL_002d: ldloc.0 + IL_002e: ldc.i4.0 + IL_002f: callvirt instance char string::get_Chars(int32) + IL_0034: stloc.3 + IL_0035: ldloc.3 + IL_0036: ldc.i4.s 0x2d + IL_0038: sub + IL_0039: switch ( + IL_0057, + IL_004a, + IL_0057) + IL_004a: ldloc.3 + IL_004b: ldc.i4.s 0x40 + IL_004d: beq IL_0207 + + IL_0052: br IL_025a + + IL_0057: ldloc.0 + IL_0058: ldc.i4.3 + IL_0059: newarr [mscorlib]System.Char + IL_005e: dup + IL_005f: ldtoken field valuetype ''/'$ArrayType=8' ''::'$field-70EF559FCFA85790B0637E1592D4E2FF36031FDF' + IL_0064: call void class [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(class [mscorlib]System.Array, valuetype [mscorlib]System.RuntimeFieldHandle) + IL_0069: ldc.i4.1 + IL_006a: callvirt instance int32 string::IndexOfAny(char[], int32) + IL_006f: stloc.s 4 + IL_0071: ldloc.0 + IL_0072: ldc.i4.1 + IL_0073: ldloc.s 4 + IL_0075: ldc.i4.m1 + IL_0076: bne.un IL_0088 + + IL_007b: ldloc.0 + IL_007c: callvirt instance int32 string::get_Length() + IL_0081: ldc.i4.1 + IL_0082: sub + IL_0083: br IL_008c + + IL_0088: ldloc.s 4 + IL_008a: ldc.i4.1 + IL_008b: sub + IL_008c: callvirt instance string string::Substring(int32, int32) + IL_0091: stloc.s 5 + IL_0093: ldloc.s 5 + IL_0095: callvirt instance int32 string::get_Length() + IL_009a: ldc.i4.1 + IL_009b: add + IL_009c: ldloc.0 + IL_009d: callvirt instance int32 string::get_Length() + IL_00a2: bne.un IL_00b1 + + IL_00a7: nop + IL_00a8: ldnull + IL_00a9: stloc.s 6 + IL_00ab: nop + IL_00ac: br IL_0106 + + IL_00b1: ldloc.0 + IL_00b2: callvirt instance int32 string::get_Length() + IL_00b7: ldc.i4.1 + IL_00b8: ldloc.s 5 + IL_00ba: callvirt instance int32 string::get_Length() + IL_00bf: add + IL_00c0: ble IL_00f3 + + IL_00c5: ldloc.0 + IL_00c6: ldc.i4.1 + IL_00c7: ldloc.s 5 + IL_00c9: callvirt instance int32 string::get_Length() + IL_00ce: add + IL_00cf: callvirt instance char string::get_Chars(int32) + IL_00d4: ldc.i4.s 0x3a + IL_00d6: bne.un IL_00f3 + + IL_00db: nop + IL_00dc: ldloc.0 + IL_00dd: ldloc.s 5 + IL_00df: callvirt instance int32 string::get_Length() + IL_00e4: ldc.i4.2 + IL_00e5: add + IL_00e6: callvirt instance string string::Substring(int32) + IL_00eb: stloc.s 6 + IL_00ed: nop + IL_00ee: br IL_0106 + + IL_00f3: nop + IL_00f4: ldloc.0 + IL_00f5: ldloc.s 5 + IL_00f7: callvirt instance int32 string::get_Length() + IL_00fc: ldc.i4.1 + IL_00fd: add + IL_00fe: callvirt instance string string::Substring(int32) + IL_0103: stloc.s 6 + IL_0105: nop + IL_0106: ldarg.0 + IL_0107: ldfld class NAnt.Core.Util.CommandLineArgumentCollection NAnt.Core.Util.CommandLineParser::_argumentCollection + IL_010c: ldloc.s 5 + IL_010e: callvirt instance class NAnt.Core.Util.CommandLineArgument class NAnt.Core.Util.CommandLineArgumentCollection::get_Item(string) + IL_0113: stloc.s 7 + IL_0115: ldloc.s 7 + IL_0117: brtrue IL_0133 + + IL_011c: nop + IL_011d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0122: ldstr "Unknown argument '{0}'" + IL_0127: ldloc.0 + IL_0128: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_012d: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_0132: throw + IL_0133: nop + IL_0134: ldloc.s 7 + IL_0136: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class NAnt.Core.Util.CommandLineArgument::get_Property() + IL_013b: ldtoken [mscorlib]System.ObsoleteAttribute + IL_0140: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_0145: ldc.i4.0 + IL_0146: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_014b: castclass class [mscorlib]System.Attribute[] + IL_0150: stloc.s 8 + IL_0152: ldloc.s 8 + IL_0154: ldlen + IL_0155: conv.i4 + IL_0156: ldc.i4.0 + IL_0157: ble IL_01c4 + + IL_015c: nop + IL_015d: ldloc.s 8 + IL_015f: ldc.i4.0 + IL_0160: ldelem.ref + IL_0161: castclass [mscorlib]System.ObsoleteAttribute + IL_0166: stloc.s 9 + IL_0168: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_016d: ldstr "NA1177" + IL_0172: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0177: ldloc.s 5 + IL_0179: ldloc.s 9 + IL_017b: callvirt instance string class [mscorlib]System.ObsoleteAttribute::get_Message() + IL_0180: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) + IL_0185: stloc.s 10 + IL_0187: ldloc.s 9 + IL_0189: callvirt instance bool class [mscorlib]System.ObsoleteAttribute::get_IsError() + IL_018e: brfalse IL_019c + + IL_0193: nop + IL_0194: ldloc.s 10 + IL_0196: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_019b: throw + IL_019c: nop + IL_019d: ldsfld string [mscorlib]System.String::Empty + IL_01a2: call void class [mscorlib]System.Console::WriteLine(string) + IL_01a7: ldstr "Warning: " + IL_01ac: ldloc.s 10 + IL_01ae: call string string::Concat(string, string) + IL_01b3: call void class [mscorlib]System.Console::WriteLine(string) + IL_01b8: ldsfld string [mscorlib]System.String::Empty + IL_01bd: call void class [mscorlib]System.Console::WriteLine(string) + IL_01c2: nop + IL_01c3: nop + IL_01c4: ldloc.s 7 + IL_01c6: callvirt instance bool class NAnt.Core.Util.CommandLineArgument::get_IsExclusive() + IL_01cb: brfalse IL_01f6 + + IL_01d0: ldarg.1 + IL_01d1: ldlen + IL_01d2: conv.i4 + IL_01d3: ldc.i4.1 + IL_01d4: ble IL_01f6 + + IL_01d9: nop + IL_01da: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_01df: ldstr "Commandline argument '-{0}' cannot be combined with other arguments." + IL_01e4: ldloc.s 7 + IL_01e6: callvirt instance string class NAnt.Core.Util.CommandLineArgument::get_LongName() + IL_01eb: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_01f0: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_01f5: throw + IL_01f6: nop + IL_01f7: ldloc.s 7 + IL_01f9: ldloc.s 6 + IL_01fb: callvirt instance void class NAnt.Core.Util.CommandLineArgument::SetValue(string) + IL_0200: nop + IL_0201: nop + IL_0202: br IL_0294 + + IL_0207: ldarg.0 + IL_0208: ldfld bool NAnt.Core.Util.CommandLineParser::_supportsResponseFile + IL_020d: brfalse IL_0255 + + IL_0212: nop + IL_0213: ldloc.0 + IL_0214: ldc.i4.1 + IL_0215: ldloc.0 + IL_0216: callvirt instance int32 string::get_Length() + IL_021b: ldc.i4.1 + IL_021c: sub + IL_021d: callvirt instance string string::Substring(int32, int32) + IL_0222: stloc.s 11 + IL_0224: ldloc.s 11 + IL_0226: call bool class [mscorlib]System.IO.File::Exists(string) + IL_022b: brtrue IL_0248 + + IL_0230: nop + IL_0231: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0236: ldstr "Unable to open response file '{0}'." + IL_023b: ldloc.s 11 + IL_023d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0242: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_0247: throw + IL_0248: ldarg.0 + IL_0249: ldloc.s 11 + IL_024b: call instance void class NAnt.Core.Util.CommandLineParser::ProcessResponseFile(string) + IL_0250: br IL_0294 + + IL_0255: br IL_0295 + + IL_025a: ldarg.0 + IL_025b: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_0260: brfalse IL_0278 + + IL_0265: nop + IL_0266: ldarg.0 + IL_0267: ldfld class NAnt.Core.Util.CommandLineArgument NAnt.Core.Util.CommandLineParser::_defaultArgument + IL_026c: ldloc.0 + IL_026d: callvirt instance void class NAnt.Core.Util.CommandLineArgument::SetValue(string) + IL_0272: nop + IL_0273: br IL_028f + + IL_0278: nop + IL_0279: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_027e: ldstr "Unknown argument '{0}'" + IL_0283: ldloc.0 + IL_0284: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0289: newobj instance void class NAnt.Core.Util.CommandLineArgumentException::'.ctor'(string) + IL_028e: throw + IL_028f: br IL_0294 + + IL_0294: nop + IL_0295: ldloc.2 + IL_0296: ldc.i4.1 + IL_0297: add + IL_0298: stloc.2 + IL_0299: ldloc.2 + IL_029a: ldloc.1 + IL_029b: ldlen + IL_029c: conv.i4 + IL_029d: blt IL_0017 + + IL_02a2: ret + } // end of method CommandLineParser::ParseArgumentList + + // method line 98 + .method private static hidebysig + default class NAnt.Core.Util.CommandLineArgumentAttribute GetCommandLineAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + { + // Method begins at RVA 0x5144 + // Code size 62 (0x3e) + .maxstack 3 .locals init ( - int32 V_0) + object[] V_0, + class NAnt.Core.Util.CommandLineArgumentAttribute V_1) 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_0001: ldarg.0 + IL_0002: ldtoken NAnt.Core.Util.CommandLineArgumentAttribute + IL_0007: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) + IL_000c: ldc.i4.0 + IL_000d: callvirt instance object[] class [mscorlib]System.Reflection.MemberInfo::GetCustomAttributes(class [mscorlib]System.Type, bool) + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: ldlen + IL_0015: conv.i4 + IL_0016: ldc.i4.1 + IL_0017: bne.un IL_002a - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetHours + IL_001c: ldloc.0 + IL_001d: ldc.i4.0 + IL_001e: ldelem.ref + IL_001f: castclass NAnt.Core.Util.CommandLineArgumentAttribute + IL_0024: stloc.1 + IL_0025: br IL_003c - // method line 172 - .method public static hidebysig - default int32 GetMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed + IL_002a: ldloc.0 + IL_002b: ldlen + IL_002c: conv.i4 + IL_002d: ldc.i4.0 + IL_002e: ceq + IL_0030: call void class [System]System.Diagnostics.Debug::Assert(bool) + IL_0035: ldnull + IL_0036: stloc.1 + IL_0037: br IL_003c + + IL_003c: ldloc.1 + IL_003d: ret + } // end of method CommandLineParser::GetCommandLineAttribute + + .property instance string LogoBanner () + { + .get instance default string NAnt.Core.Util.CommandLineParser::get_LogoBanner () + } + .property instance string Usage () + { + .get instance default string NAnt.Core.Util.CommandLineParser::get_Usage () + } + .property instance bool NoArgs () + { + .get instance default bool NAnt.Core.Util.CommandLineParser::get_NoArgs () + } + } // end of class NAnt.Core.Util.CommandLineParser +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi sealed serializable beforefieldinit CommandLineArgumentException + extends [mscorlib]System.ArgumentException + { + + // method line 99 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 67 65 74 2D 6D 69 6E 75 74 65 73 00 00 ) // ...get-minutes.. + // Method begins at RVA 0x518e + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.ArgumentException::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method CommandLineArgumentException::.ctor - // Method begins at RVA 0x3968 - // Code size 16 (0x10) - .maxstack 1 + // method line 100 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message) cil managed + { + // Method begins at RVA 0x5197 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: call instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0007: nop + IL_0008: ret + } // end of method CommandLineArgumentException::.ctor + + // method line 101 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (string message, class [mscorlib]System.Exception innerException) cil managed + { + // Method begins at RVA 0x51a1 + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class [mscorlib]System.ArgumentException::'.ctor'(string, class [mscorlib]System.Exception) + IL_0008: nop + IL_0009: ret + } // end of method CommandLineArgumentException::.ctor + + // method line 102 + .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 0x51ac + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class [mscorlib]System.ArgumentException::'.ctor'(class [mscorlib]System.Runtime.Serialization.SerializationInfo, valuetype [mscorlib]System.Runtime.Serialization.StreamingContext) + IL_0008: nop + IL_0009: ret + } // end of method CommandLineArgumentException::.ctor + + } // end of class NAnt.Core.Util.CommandLineArgumentException +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi sealed beforefieldinit ReflectionUtils + extends [mscorlib]System.Object + { + + // method line 103 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x51b7 + // Code size 8 (0x8) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ret + } // end of method ReflectionUtils::.ctor + + // method line 104 + .method public static hidebysig + default class [mscorlib]System.Type GetTypeFromString (string typeName, bool throwOnError) cil managed + { + // Method begins at RVA 0x51c0 + // Code size 242 (0xf2) + .maxstack 4 .locals init ( - int32 V_0) + class [mscorlib]System.Type V_0, + int32 V_1, + int32 V_2, + string V_3, + string V_4, + class [mscorlib]System.Reflection.Assembly[] V_5, + class [mscorlib]System.Reflection.Assembly V_6, + class [mscorlib]System.Reflection.Assembly[] V_7, + int32 V_8, + class [mscorlib]System.Type V_9) IL_0000: nop - IL_0001: ldarga.s 0 - IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Minutes() + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool) IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0009: ldloc.0 + IL_000a: ldnull + IL_000b: call bool class [mscorlib]System.Type::op_Equality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_0010: brfalse IL_00e7 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetMinutes + IL_0015: nop + IL_0016: ldarg.0 + IL_0017: ldc.i4.s 0x2c + IL_0019: callvirt instance int32 string::IndexOf(char) + IL_001e: ldc.i4.m1 + IL_001f: beq IL_0095 - // method line 173 + IL_0024: nop + IL_0025: ldarg.0 + IL_0026: ldc.i4.s 0x2c + IL_0028: callvirt instance int32 string::IndexOf(char) + IL_002d: stloc.1 + IL_002e: ldarg.0 + IL_002f: ldc.i4.s 0x2c + IL_0031: ldloc.1 + IL_0032: ldc.i4.1 + IL_0033: add + IL_0034: callvirt instance int32 string::IndexOf(char, int32) + IL_0039: stloc.2 + IL_003a: ldarg.0 + IL_003b: ldc.i4.0 + IL_003c: ldloc.1 + IL_003d: callvirt instance string string::Substring(int32, int32) + IL_0042: stloc.3 + IL_0043: ldnull + IL_0044: stloc.s 4 + IL_0046: ldloc.2 + IL_0047: ldc.i4.m1 + IL_0048: beq IL_0069 + + IL_004d: nop + IL_004e: ldarg.0 + IL_004f: ldloc.1 + IL_0050: ldc.i4.1 + IL_0051: add + IL_0052: ldloc.2 + IL_0053: ldloc.1 + IL_0054: sub + IL_0055: ldc.i4.1 + IL_0056: sub + IL_0057: callvirt instance string string::Substring(int32, int32) + IL_005c: callvirt instance string string::Trim() + IL_0061: stloc.s 4 + IL_0063: nop + IL_0064: br IL_007b + + IL_0069: nop + IL_006a: ldarg.0 + IL_006b: ldloc.1 + IL_006c: ldc.i4.1 + IL_006d: add + IL_006e: callvirt instance string string::Substring(int32) + IL_0073: callvirt instance string string::Trim() + IL_0078: stloc.s 4 + IL_007a: nop + IL_007b: ldloc.3 + IL_007c: ldstr ", " + IL_0081: ldloc.s 4 + IL_0083: call string string::Concat(string, string, string) + IL_0088: ldc.i4.0 + IL_0089: call class [mscorlib]System.Type class [mscorlib]System.Type::GetType(string, bool) + IL_008e: stloc.0 + IL_008f: nop + IL_0090: br IL_00e6 + + IL_0095: nop + IL_0096: call class [mscorlib]System.AppDomain class [mscorlib]System.AppDomain::get_CurrentDomain() + IL_009b: callvirt instance class [mscorlib]System.Reflection.Assembly[] class [mscorlib]System.AppDomain::GetAssemblies() + IL_00a0: stloc.s 5 + IL_00a2: nop + IL_00a3: ldloc.s 5 + IL_00a5: stloc.s 7 + IL_00a7: ldc.i4.0 + IL_00a8: stloc.s 8 + IL_00aa: br IL_00da + + IL_00af: ldloc.s 7 + IL_00b1: ldloc.s 8 + IL_00b3: ldelem.ref + IL_00b4: stloc.s 6 + IL_00b6: nop + IL_00b7: ldloc.s 6 + IL_00b9: ldarg.0 + IL_00ba: ldc.i4.0 + IL_00bb: callvirt instance class [mscorlib]System.Type class [mscorlib]System.Reflection.Assembly::GetType(string, bool) + IL_00c0: stloc.0 + IL_00c1: ldloc.0 + IL_00c2: ldnull + IL_00c3: call bool class [mscorlib]System.Type::op_Inequality(class [mscorlib]System.Type, class [mscorlib]System.Type) + IL_00c8: brfalse IL_00d3 + + IL_00cd: nop + IL_00ce: br IL_00e5 + + IL_00d3: nop + IL_00d4: ldloc.s 8 + IL_00d6: ldc.i4.1 + IL_00d7: add + IL_00d8: stloc.s 8 + IL_00da: ldloc.s 8 + IL_00dc: ldloc.s 7 + IL_00de: ldlen + IL_00df: conv.i4 + IL_00e0: blt IL_00af + + IL_00e5: nop + IL_00e6: nop + IL_00e7: ldloc.0 + IL_00e8: stloc.s 9 + IL_00ea: br IL_00ef + + IL_00ef: ldloc.s 9 + IL_00f1: ret + } // end of method ReflectionUtils::GetTypeFromString + + } // end of class NAnt.Core.Util.ReflectionUtils +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi sealed beforefieldinit StringUtils + extends [mscorlib]System.Object + { + + // method line 105 + .method private hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x52be + // 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 StringUtils::.ctor + + // method line 106 .method public static hidebysig - default int32 GetSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed + default bool EndsWith (string 'value', char c) 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.. + .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 0x3984 - // Code size 16 (0x10) - .maxstack 1 + // Method begins at RVA 0x52c8 + // Code size 63 (0x3f) + .maxstack 3 .locals init ( - int32 V_0) + int32 V_0, + bool V_1) 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_0001: ldarg.0 + IL_0002: brtrue IL_0012 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetSeconds + 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 - // method line 174 + 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_003d: ldloc.1 + IL_003e: ret + } // end of method StringUtils::EndsWith + + // method line 107 .method public static hidebysig - default int32 GetMilliseconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed + default bool IsNullOrEmpty (string '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.. + .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 0x39a0 - // Code size 16 (0x10) - .maxstack 1 + // Method begins at RVA 0x5314 + // Code size 27 (0x1b) + .maxstack 2 .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_Milliseconds() - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0001: ldarg.0 + IL_0002: brfalse IL_0012 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetMilliseconds + 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 - // method line 175 + 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 + + // method line 108 .method public static hidebysig - default int64 GetTicks (valuetype [mscorlib]System.TimeSpan 'value') cil managed + default string ConvertEmptyToNull (string '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 0x39bc - // Code size 16 (0x10) + // Method begins at RVA 0x533c + // Code size 28 (0x1c) .maxstack 1 .locals init ( - int64 V_0) + string 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_0001: ldarg.0 + IL_0002: call bool string::IsNullOrEmpty(string) + IL_0007: brtrue IL_0013 - IL_000e: ldloc.0 - IL_000f: ret - } // end of method TimeSpanFunctions::GetTicks + IL_000c: ldarg.0 + IL_000d: stloc.0 + IL_000e: br IL_001a - // method line 176 + IL_0013: ldnull + IL_0014: stloc.0 + IL_0015: br IL_001a + + IL_001a: ldloc.0 + IL_001b: ret + } // end of method StringUtils::ConvertEmptyToNull + + // method line 109 .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromDays (float64 'value') cil managed + default string ConvertNullToEmpty (string 'value') 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 0x39d8 - // Code size 15 (0xf) + // Method begins at RVA 0x5364 + // Code size 27 (0x1b) .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_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: brtrue IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromDays + IL_0007: ldsfld string [mscorlib]System.String::Empty + IL_000c: stloc.0 + IL_000d: br IL_0019 - // method line 177 + IL_0012: ldarg.0 + IL_0013: stloc.0 + IL_0014: br IL_0019 + + IL_0019: ldloc.0 + IL_001a: ret + } // end of method StringUtils::ConvertNullToEmpty + + // method line 110 .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromHours (float64 'value') cil managed + default string Join (string separator, class [System]System.Collections.Specialized.StringCollection '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 0x538c + // Code size 66 (0x42) + .maxstack 3 + .locals init ( + string[] V_0, + string V_1) + IL_0000: nop + IL_0001: ldarg.1 + IL_0002: brtrue IL_0012 - // Method begins at RVA 0x39f4 - // Code size 15 (0xf) + IL_0007: ldstr "value" + IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) + IL_0011: throw + IL_0012: ldarg.0 + IL_0013: brtrue IL_001f + + IL_0018: ldsfld string [mscorlib]System.String::Empty + IL_001d: starg.s 0 + IL_001f: ldarg.1 + IL_0020: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0025: newarr [mscorlib]System.String + IL_002a: stloc.0 + IL_002b: ldarg.1 + IL_002c: ldloc.0 + IL_002d: ldc.i4.0 + IL_002e: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) + IL_0033: ldarg.0 + IL_0034: ldloc.0 + IL_0035: call string string::Join(string, string[]) + IL_003a: stloc.1 + IL_003b: br IL_0040 + + IL_0040: ldloc.1 + IL_0041: ret + } // end of method StringUtils::Join + + // method line 111 + .method public static hidebysig + default class [System]System.Collections.Specialized.StringCollection Clone (class [System]System.Collections.Specialized.StringCollection stringCollection) cil managed + { + // Method begins at RVA 0x53dc + // Code size 43 (0x2b) + .maxstack 3 + .locals init ( + string[] V_0, + class [System]System.Collections.Specialized.StringCollection V_1, + class [System]System.Collections.Specialized.StringCollection V_2) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance int32 class [System]System.Collections.Specialized.StringCollection::get_Count() + IL_0007: newarr [mscorlib]System.String + IL_000c: stloc.0 + IL_000d: ldarg.0 + IL_000e: ldloc.0 + IL_000f: ldc.i4.0 + IL_0010: callvirt instance void class [System]System.Collections.Specialized.StringCollection::CopyTo(string[], int32) + IL_0015: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() + IL_001a: stloc.1 + IL_001b: ldloc.1 + IL_001c: ldloc.0 + IL_001d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::AddRange(string[]) + IL_0022: ldloc.1 + IL_0023: stloc.2 + IL_0024: br IL_0029 + + IL_0029: ldloc.2 + IL_002a: ret + } // end of method StringUtils::Clone + + } // end of class NAnt.Core.Util.StringUtils +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi beforefieldinit StopWatchStack + extends [mscorlib]System.Object + { + .field private initonly class NAnt.Core.Util.DateTimeProvider _dtProvider + .field private initonly class [mscorlib]System.Collections.Stack _stack + + // method line 112 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.DateTimeProvider dtProvider) cil managed + { + // Method begins at RVA 0x5413 + // Code size 26 (0x1a) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class [mscorlib]System.Collections.Stack::'.ctor'() + IL_0006: stfld class [mscorlib]System.Collections.Stack NAnt.Core.Util.StopWatchStack::_stack + IL_000b: ldarg.0 + IL_000c: call instance void object::'.ctor'() + IL_0011: nop + IL_0012: ldarg.0 + IL_0013: ldarg.1 + IL_0014: stfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack::_dtProvider + IL_0019: ret + } // end of method StopWatchStack::.ctor + + // method line 113 + .method public hidebysig + instance default void PushStart () cil managed + { + // Method begins at RVA 0x542e + // Code size 24 (0x18) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.Util.StopWatchStack::_stack + IL_0007: ldarg.0 + IL_0008: ldfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack::_dtProvider + IL_000d: newobj instance void class NAnt.Core.Util.StopWatchStack/StopWatch::'.ctor'(class NAnt.Core.Util.DateTimeProvider) + IL_0012: callvirt instance void class [mscorlib]System.Collections.Stack::Push(object) + IL_0017: ret + } // end of method StopWatchStack::PushStart + + // method line 114 + .method public hidebysig + instance default valuetype [mscorlib]System.TimeSpan PopStop () cil managed + { + // Method begins at RVA 0x5448 + // Code size 30 (0x1e) .maxstack 1 .locals init ( valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromHours(float64) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldfld class [mscorlib]System.Collections.Stack NAnt.Core.Util.StopWatchStack::_stack + IL_0007: callvirt instance object class [mscorlib]System.Collections.Stack::Pop() + IL_000c: castclass NAnt.Core.Util.StopWatchStack/StopWatch + IL_0011: callvirt instance valuetype [mscorlib]System.TimeSpan class NAnt.Core.Util.StopWatchStack/StopWatch::Elapsed() + IL_0016: stloc.0 + IL_0017: br IL_001c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromHours + IL_001c: ldloc.0 + IL_001d: ret + } // end of method StopWatchStack::PopStop - // method line 178 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromMinutes (float64 'value') cil managed + .class nested private auto ansi beforefieldinit StopWatch + extends [mscorlib]System.Object + { + .field private initonly class NAnt.Core.Util.DateTimeProvider _dtProvider + .field private initonly valuetype [mscorlib]System.DateTime _start + + // method line 115 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Util.DateTimeProvider dtProvider) 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 ) // . + // Method begins at RVA 0x5472 + // Code size 27 (0x1b) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void object::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld class NAnt.Core.Util.DateTimeProvider NAnt.Core.Util.StopWatchStack/StopWatch::_dtProvider + IL_000e: ldarg.0 + IL_000f: ldarg.1 + IL_0010: callvirt instance valuetype [mscorlib]System.DateTime class NAnt.Core.Util.DateTimeProvider::get_Now() + IL_0015: stfld valuetype [mscorlib]System.DateTime NAnt.Core.Util.StopWatchStack/StopWatch::_start + IL_001a: ret + } // end of method StopWatch::.ctor - // Method begins at RVA 0x3a10 - // Code size 15 (0xf) - .maxstack 1 + // method line 116 + .method public hidebysig + instance default valuetype [mscorlib]System.TimeSpan Elapsed () cil managed + { + // Method begins at RVA 0x5490 + // Code size 31 (0x1f) + .maxstack 2 .locals init ( valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMinutes(float64) - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method TimeSpanFunctions::FromMinutes + IL_001d: ldloc.0 + IL_001e: ret + } // end of method StopWatch::Elapsed - // method line 179 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromSeconds (float64 'value') cil managed + } // end of class StopWatch + + } // end of class NAnt.Core.Util.StopWatchStack +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi sealed CommandLineArgumentTypes + extends [mscorlib]System.Enum + { + .custom instance void class [mscorlib]System.FlagsAttribute::'.ctor'() = (01 00 00 00 ) // .... + + .field public specialname rtspecialname int32 value__ + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Required = int32(0x00000001) + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Unique = int32(0x00000002) + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Multiple = int32(0x00000004) + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes Exclusive = int32(0x00000008) + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes AtMostOnce = int32(0x00000000) + .field public static literal valuetype NAnt.Core.Util.CommandLineArgumentTypes MultipleUnique = int32(0x00000006) + + } // end of class NAnt.Core.Util.CommandLineArgumentTypes +} + +.namespace NAnt.Core.Util +{ + .class public auto ansi beforefieldinit CommandLineArgumentAttribute + extends [mscorlib]System.Attribute + { + .custom instance void class [mscorlib]System.AttributeUsageAttribute::'.ctor'(valuetype [mscorlib]System.AttributeTargets) = ( + 01 00 80 00 00 00 02 00 54 02 0D 41 6C 6C 6F 77 // ........T..Allow + 4D 75 6C 74 69 70 6C 65 00 54 02 09 49 6E 68 65 // Multiple.T..Inhe + 72 69 74 65 64 01 ) // rited. + + .field private valuetype NAnt.Core.Util.CommandLineArgumentTypes _argumentType + .field private string _name + .field private string _shortName + .field private string _description + + // method line 117 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (valuetype NAnt.Core.Util.CommandLineArgumentTypes argumentType) 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 0x2050 + // Code size 15 (0xf) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class [mscorlib]System.Attribute::'.ctor'() + IL_0006: nop + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: stfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::_argumentType + IL_000e: ret + } // end of method CommandLineArgumentAttribute::.ctor - // Method begins at RVA 0x3a2c + // method line 118 + .method public hidebysig specialname + instance default valuetype NAnt.Core.Util.CommandLineArgumentTypes get_Type () cil managed + { + // Method begins at RVA 0x2060 // Code size 15 (0xf) .maxstack 1 .locals init ( - valuetype [mscorlib]System.TimeSpan V_0) + valuetype NAnt.Core.Util.CommandLineArgumentTypes V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromSeconds(float64) + IL_0002: ldfld valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::_argumentType IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TimeSpanFunctions::FromSeconds + } // end of method CommandLineArgumentAttribute::get_Type - // method line 180 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromMilliseconds (float64 'value') cil managed + // method line 119 + .method public hidebysig specialname + instance default string get_Name () 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 0x3a48 + // Method begins at RVA 0x207c // 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::FromMilliseconds(float64) + IL_0002: ldfld string NAnt.Core.Util.CommandLineArgumentAttribute::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TimeSpanFunctions::FromMilliseconds + } // end of method CommandLineArgumentAttribute::get_Name - // method line 181 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan FromTicks (int64 'value') cil managed + // method line 120 + .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 74 69 63 6B 73 00 00 ) // ...from-ticks.. + // Method begins at RVA 0x2097 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_name + IL_0008: ret + } // end of method CommandLineArgumentAttribute::set_Name - // Method begins at RVA 0x3a64 + // method line 121 + .method public hidebysig specialname + instance default string get_ShortName () cil managed + { + // Method begins at RVA 0x20a4 // 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::FromTicks(int64) + IL_0002: ldfld string NAnt.Core.Util.CommandLineArgumentAttribute::_shortName IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TimeSpanFunctions::FromTicks - - } // end of class NAnt.Core.Functions.TimeSpanFunctions -} - -.namespace NAnt.Core.Functions -{ - .class public auto ansi beforefieldinit TimeSpanConversionFunctions - extends NAnt.Core.FunctionSetBase - { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 08 74 69 6D 65 73 70 61 6E 0A 43 6F 6E 76 // ...timespan.Conv - 65 72 73 69 6F 6E 00 00 ) // ersion.. - + } // end of method CommandLineArgumentAttribute::get_ShortName - // method line 182 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed + // method line 122 + .method public hidebysig specialname + instance default void set_ShortName (string 'value') cil managed { - // Method begins at RVA 0x3a7f - // Code size 10 (0xa) + // Method begins at RVA 0x20bf + // 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 TimeSpanConversionFunctions::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Util.CommandLineArgumentAttribute::_shortName + IL_0008: ret + } // end of method CommandLineArgumentAttribute::set_ShortName - // method line 183 - .method public static hidebysig - default valuetype [mscorlib]System.TimeSpan Parse (string s) cil managed + // method line 123 + .method public hidebysig specialname + instance default string get_Description () 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 0x3a8c + // Method begins at RVA 0x20cc // 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.Util.CommandLineArgumentAttribute::_description IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method TimeSpanConversionFunctions::Parse + } // end of method CommandLineArgumentAttribute::get_Description - // method line 184 - .method public static hidebysig - default string ToString (valuetype [mscorlib]System.TimeSpan 'value') cil managed + // method line 124 + .method public hidebysig specialname + instance default void set_Description (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 0x3aa8 - // Code size 22 (0x16) - .maxstack 1 - .locals init ( - string V_0) + // Method begins at RVA 0x20e7 + // 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.Util.CommandLineArgumentAttribute::_description + IL_0008: ret + } // end of method CommandLineArgumentAttribute::set_Description - } // end of class NAnt.Core.Functions.TimeSpanConversionFunctions + .property instance valuetype NAnt.Core.Util.CommandLineArgumentTypes Type () + { + .get instance default valuetype NAnt.Core.Util.CommandLineArgumentTypes NAnt.Core.Util.CommandLineArgumentAttribute::get_Type () + } + .property instance string Name () + { + .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_Name () + .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_Name (string 'value') + } + .property instance string ShortName () + { + .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_ShortName () + .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_ShortName (string 'value') + } + .property instance string Description () + { + .get instance default string NAnt.Core.Util.CommandLineArgumentAttribute::get_Description () + .set instance default void NAnt.Core.Util.CommandLineArgumentAttribute::set_Description (string 'value') + } + } // end of class NAnt.Core.Util.CommandLineArgumentAttribute } .namespace NAnt.Core.Functions @@ -5108,11 +6984,11 @@ 6D 62 6C 79 00 00 ) // mbly.. - // method line 185 + // method line 125 .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 0x3aca + // Method begins at RVA 0x54f1 // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 @@ -5123,7 +6999,7 @@ IL_0009: ret } // end of method AssemblyFunctions::.ctor - // method line 186 + // method line 126 .method public hidebysig instance default class [mscorlib]System.Reflection.Assembly LoadFromFile (string assemblyFile) cil managed { @@ -5131,7 +7007,7 @@ 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 0x3ad8 + // Method begins at RVA 0x54fc // Code size 26 (0x1a) .maxstack 2 .locals init ( @@ -5149,13 +7025,13 @@ IL_0019: ret } // end of method AssemblyFunctions::LoadFromFile - // method line 187 + // method line 127 .method public hidebysig instance default class [mscorlib]System.Reflection.Assembly Load (string assemblyString) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 04 6C 6F 61 64 00 00 ) // ...load.. - // Method begins at RVA 0x3b00 + // Method begins at RVA 0x5524 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5170,7 +7046,7 @@ IL_000e: ret } // end of method AssemblyFunctions::Load - // method line 188 + // method line 128 .method public static hidebysig default string GetFullName (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { @@ -5178,7 +7054,7 @@ 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 0x3b1c + // Method begins at RVA 0x5540 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5193,13 +7069,13 @@ IL_000e: ret } // end of method AssemblyFunctions::GetFullName - // method line 189 + // method line 129 .method public static hidebysig default class [mscorlib]System.Reflection.AssemblyName GetName (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. - // Method begins at RVA 0x3b38 + // Method begins at RVA 0x555c // Code size 16 (0x10) .maxstack 2 .locals init ( @@ -5215,7 +7091,7 @@ IL_000f: ret } // end of method AssemblyFunctions::GetName - // method line 190 + // method line 130 .method public static hidebysig default string GetLocation (class [mscorlib]System.Reflection.Assembly 'assembly') cil managed { @@ -5223,7 +7099,7 @@ 01 00 0C 67 65 74 2D 6C 6F 63 61 74 69 6F 6E 00 // ...get-location. 00 ) // . - // Method begins at RVA 0x3b54 + // Method begins at RVA 0x5578 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -5243,17 +7119,225 @@ .namespace NAnt.Core.Functions { + .class public auto ansi beforefieldinit FileVersionInfoFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 0F 66 69 6C 65 76 65 72 73 69 6F 6E 69 6E // ...fileversionin + 66 6F 07 56 65 72 73 69 6F 6E 00 00 ) // fo.Version.. + + + // method line 131 + .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 0x5593 + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method FileVersionInfoFunctions::.ctor + + // method line 132 + .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 0x55a0 + // 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 + + // method line 133 + .method public static hidebysig + default string GetCompanyName (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 63 6F 6D 70 61 6E 79 2D 6E // ...get-company-n + 61 6D 65 00 00 ) // ame.. + + // Method begins at RVA 0x55c8 + // 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_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FileVersionInfoFunctions::GetCompanyName + + // method line 134 + .method public static hidebysig + default class [mscorlib]System.Version GetFileVersion (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 66 69 6C 65 2D 76 65 72 73 // ...get-file-vers + 69 6F 6E 00 00 ) // ion.. + + // Method begins at RVA 0x55e4 + // 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_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_0024: ldloc.0 + IL_0025: ret + } // end of method FileVersionInfoFunctions::GetFileVersion + + // method line 135 + .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.. + + // Method begins at RVA 0x5618 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string class [System]System.Diagnostics.FileVersionInfo::get_ProductName() + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method FileVersionInfoFunctions::GetProductName + + // method line 136 + .method public static hidebysig + default class [mscorlib]System.Version GetProductVersion (class [System]System.Diagnostics.FileVersionInfo fileVersionInfo) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 13 67 65 74 2D 70 72 6F 64 75 63 74 2D 76 // ...get-product-v + 65 72 73 69 6F 6E 00 00 ) // ersion.. + + // Method begins at RVA 0x5634 + // Code size 38 (0x26) + .maxstack 4 + .locals init ( + class [mscorlib]System.Version V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductMajorPart() + IL_0007: ldarg.0 + IL_0008: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductMinorPart() + IL_000d: ldarg.0 + IL_000e: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductBuildPart() + IL_0013: ldarg.0 + IL_0014: callvirt instance int32 class [System]System.Diagnostics.FileVersionInfo::get_ProductPrivatePart() + IL_0019: newobj instance void class [mscorlib]System.Version::'.ctor'(int32, int32, int32, int32) + IL_001e: stloc.0 + IL_001f: br IL_0024 + + IL_0024: ldloc.0 + IL_0025: ret + } // end of method FileVersionInfoFunctions::GetProductVersion + + } // end of class NAnt.Core.Functions.FileVersionInfoFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit DnsFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 03 64 6E 73 03 44 4E 53 00 00 ) // ...dns.DNS.. + + + // method line 137 + .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 0x5666 + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method DnsFunctions::.ctor + + // method line 138 + .method public static hidebysig + default string GetHostName () cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 68 6F 73 74 2D 6E 61 6D 65 // ...get-host-name + 00 00 ) // .. + + // Method begins at RVA 0x5674 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: call string class [System]System.Net.Dns::GetHostName() + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method DnsFunctions::GetHostName + + } // end of class NAnt.Core.Functions.DnsFunctions +} + +.namespace NAnt.Core.Functions +{ .class public auto ansi beforefieldinit FileFunctions extends NAnt.Core.FunctionSetBase { .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 66 69 6C 65 04 46 69 6C 65 00 00 ) // ...file.File.. - // method line 191 + // method line 139 .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 0x3b6f + // Method begins at RVA 0x568e // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 @@ -5264,7 +7348,7 @@ IL_0009: ret } // end of method FileFunctions::.ctor - // method line 192 + // method line 140 .method public hidebysig instance default valuetype [mscorlib]System.DateTime GetCreationTime (string path) cil managed { @@ -5272,7 +7356,7 @@ 01 00 11 67 65 74 2D 63 72 65 61 74 69 6F 6E 2D // ...get-creation- 74 69 6D 65 00 00 ) // time.. - // Method begins at RVA 0x3b7c + // Method begins at RVA 0x569c // Code size 62 (0x3e) .maxstack 3 .locals init ( @@ -5304,7 +7388,7 @@ IL_003d: ret } // end of method FileFunctions::GetCreationTime - // method line 193 + // method line 141 .method public hidebysig instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed { @@ -5312,7 +7396,7 @@ 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 0x3bc8 + // Method begins at RVA 0x56e8 // Code size 62 (0x3e) .maxstack 3 .locals init ( @@ -5344,7 +7428,7 @@ IL_003d: ret } // end of method FileFunctions::GetLastWriteTime - // method line 194 + // method line 142 .method public hidebysig instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed { @@ -5352,7 +7436,7 @@ 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 0x3c14 + // Method begins at RVA 0x5734 // Code size 62 (0x3e) .maxstack 3 .locals init ( @@ -5384,13 +7468,13 @@ IL_003d: ret } // end of method FileFunctions::GetLastAccessTime - // method line 195 + // method line 143 .method public hidebysig instance default bool Exists (string file) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. - // Method begins at RVA 0x3c60 + // Method begins at RVA 0x5780 // Code size 26 (0x1a) .maxstack 2 .locals init ( @@ -5408,13 +7492,13 @@ IL_0019: ret } // end of method FileFunctions::Exists - // method line 196 + // method line 144 .method public hidebysig instance default bool UpToDate (string srcFile, string targetFile) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 75 70 2D 74 6F 2D 64 61 74 65 00 00 ) // ...up-to-date.. - // Method begins at RVA 0x3c88 + // Method begins at RVA 0x57a8 // Code size 75 (0x4b) .maxstack 2 .locals init ( @@ -5460,13 +7544,13 @@ IL_004a: ret } // end of method FileFunctions::UpToDate - // method line 197 + // method line 145 .method public hidebysig instance default int64 GetLength (string file) 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 0x3ce0 + // Method begins at RVA 0x5800 // Code size 33 (0x21) .maxstack 2 .locals init ( @@ -5488,14 +7572,14 @@ IL_0020: ret } // end of method FileFunctions::GetLength - // method line 198 + // method line 146 .method public hidebysig instance default bool IsAssembly (string assemblyFile) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( 01 00 0B 69 73 2D 61 73 73 65 6D 62 6C 79 00 00 ) // ...is-assembly.. - // Method begins at RVA 0x3d10 + // Method begins at RVA 0x5830 // Code size 47 (0x2f) .maxstack 2 .locals init ( @@ -5539,17 +7623,19 @@ .namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit PathFunctions + .class public auto ansi beforefieldinit VersionFunctions extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 70 61 74 68 04 50 61 74 68 00 00 ) // ...path.Path.. + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 07 76 65 72 73 69 6F 6E 07 56 65 72 73 69 // ...version.Versi + 6F 6E 00 00 ) // on.. - // method line 199 + // method line 147 .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 0x3d68 + // Method begins at RVA 0x5888 // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 @@ -5558,311 +7644,182 @@ IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) IL_0008: nop IL_0009: ret - } // end of method PathFunctions::.ctor - - // method line 200 - .method public hidebysig - instance default string GetFullPath (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 66 75 6C 6C 2D 70 61 74 68 // ...get-full-path - 00 00 ) // .. - - // Method begins at RVA 0x3d74 - // Code size 21 (0x15) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() - IL_0007: ldarg.1 - IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_000d: stloc.0 - IL_000e: br IL_0013 - - IL_0013: ldloc.0 - IL_0014: ret - } // end of method PathFunctions::GetFullPath - - // method line 201 - .method public static hidebysig - default string Combine (string path1, string path2) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 63 6F 6D 62 69 6E 65 00 00 ) // ...combine.. - - // Method begins at RVA 0x3d98 - // Code size 16 (0x10) - .maxstack 2 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0008: stloc.0 - IL_0009: br IL_000e - - IL_000e: ldloc.0 - IL_000f: ret - } // end of method PathFunctions::Combine - - // method line 202 - .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.. - - // Method begins at RVA 0x3db4 - // 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 - - IL_000e: ldloc.0 - IL_000f: ret - } // end of method PathFunctions::ChangeExtension - - // method line 203 - .method public static hidebysig - default string GetDirectoryName (string path) cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 64 69 72 65 63 74 6F 72 79 // ...get-directory - 2D 6E 61 6D 65 00 00 ) // -name.. - - // Method begins at RVA 0x3dd0 - // 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 + } // end of method VersionFunctions::.ctor - // method line 204 + // method line 148 .method public static hidebysig - default string GetExtension (string path) cil managed + default int32 GetMajor (class [mscorlib]System.Version version) 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 ) // .. + .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 0x3df4 + // Method begins at RVA 0x5894 // 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::GetExtension(string) + IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Major() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PathFunctions::GetExtension + } // end of method VersionFunctions::GetMajor - // method line 205 + // method line 149 .method public static hidebysig - default string GetFileName (string path) cil managed + default int32 GetMinor (class [mscorlib]System.Version version) 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 ) // .. + .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 0x3e10 + // Method begins at RVA 0x58b0 // 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::GetFileName(string) + 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 PathFunctions::GetFileName + } // end of method VersionFunctions::GetMinor - // method line 206 + // method line 150 .method public static hidebysig - default string GetFileNameWithoutExtension (string path) cil managed + default int32 GetBuild (class [mscorlib]System.Version version) 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.. + .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 0x3e2c + // Method begins at RVA 0x58cc // 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: callvirt instance int32 class [mscorlib]System.Version::get_Build() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PathFunctions::GetFileNameWithoutExtension + } // end of method VersionFunctions::GetBuild - // method line 207 + // method line 151 .method public static hidebysig - default string GetPathRoot (string path) cil managed + default int32 GetRevision (class [mscorlib]System.Version version) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0D 67 65 74 2D 70 61 74 68 2D 72 6F 6F 74 // ...get-path-root - 00 00 ) // .. + 01 00 0C 67 65 74 2D 72 65 76 69 73 69 6F 6E 00 // ...get-revision. + 00 ) // . - // Method begins at RVA 0x3e48 - // Code size 22 (0x16) + // Method begins at RVA 0x58e8 + // Code size 15 (0xf) .maxstack 1 .locals init ( - string V_0, - string V_1) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call string class [mscorlib]System.IO.Path::GetPathRoot(string) + IL_0002: callvirt instance int32 class [mscorlib]System.Version::get_Revision() 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_0008: br IL_000d - IL_0014: ldloc.1 - IL_0015: ret - } // end of method PathFunctions::GetPathRoot + IL_000d: ldloc.0 + IL_000e: ret + } // end of method VersionFunctions::GetRevision - // method line 208 - .method public static hidebysig - default string GetTempFileName () cil managed - { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 12 67 65 74 2D 74 65 6D 70 2D 66 69 6C 65 // ...get-temp-file - 2D 6E 61 6D 65 00 00 ) // -name.. + } // end of class NAnt.Core.Functions.VersionFunctions +} - // Method begins at RVA 0x3e6c - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call string class [mscorlib]System.IO.Path::GetTempFileName() - IL_0006: stloc.0 - IL_0007: br IL_000c +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit VersionConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 07 76 65 72 73 69 6F 6E 0A 43 6F 6E 76 65 // ...version.Conve + 72 73 69 6F 6E 00 00 ) // rsion.. - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PathFunctions::GetTempFileName - // method line 209 - .method public static hidebysig - default string GetTempPath () cil managed + // method line 152 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) 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 0x3e88 - // Code size 14 (0xe) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: call string class [mscorlib]System.IO.Path::GetTempPath() - IL_0006: stloc.0 - IL_0007: br IL_000c - - IL_000c: ldloc.0 - IL_000d: ret - } // end of method PathFunctions::GetTempPath + // Method begins at RVA 0x5903 + // 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 VersionConversionFunctions::.ctor - // method line 210 + // method line 153 .method public static hidebysig - default bool HasExtension (string path) cil managed + default class [mscorlib]System.Version Parse (string version) 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 ) // .. + .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 0x3ea4 + // Method begins at RVA 0x5910 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool class [mscorlib]System.IO.Path::HasExtension(string) + IL_0002: newobj instance void class [mscorlib]System.Version::'.ctor'(string) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PathFunctions::HasExtension + } // end of method VersionConversionFunctions::Parse - // method line 211 + // method line 154 .method public static hidebysig - default bool IsPathRooted (string path) cil managed + default string ToString (class [mscorlib]System.Version 'value') 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.. + .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 0x3ec0 + // Method begins at RVA 0x592c // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) + IL_0002: callvirt instance string object::ToString() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PathFunctions::IsPathRooted + } // end of method VersionConversionFunctions::ToString - } // end of class NAnt.Core.Functions.PathFunctions + } // end of class NAnt.Core.Functions.VersionConversionFunctions } .namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit PkgConfigFunctions + .class public auto ansi beforefieldinit FrameworkFunctions extends NAnt.Core.FunctionSetBase { .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 0A 70 6B 67 2D 63 6F 6E 66 69 67 0B 55 6E // ...pkg-config.Un - 69 78 2F 43 79 67 77 69 6E 00 00 ) // ix/Cygwin.. + 01 00 09 66 72 61 6D 65 77 6F 72 6B 04 4E 41 6E // ...framework.NAn + 74 00 00 ) // t.. - // method line 212 + // method line 155 .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 0x3edb + // Method begins at RVA 0x5947 // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 @@ -5871,589 +7828,613 @@ 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 + } // end of method FrameworkFunctions::.ctor - // method line 213 + // method line 156 .method public hidebysig - instance default string GetVariable (string package, string name) cil managed + instance default bool Exists (string framework) 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 ) // . + .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 0x3ee8 - // Code size 94 (0x5e) - .maxstack 7 + // Method begins at RVA 0x5954 + // Code size 42 (0x2a) + .maxstack 2 .locals init ( - string V_0) + class NAnt.Core.FrameworkInfo V_0, + bool V_1) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_000c: ldarg.1 + IL_000d: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) + IL_0012: stloc.0 + IL_0013: ldloc.0 + IL_0014: brfalse IL_0021 + + IL_0019: ldloc.0 + IL_001a: callvirt instance bool class NAnt.Core.FrameworkInfo::get_IsValid() + IL_001f: br.s IL_0022 + + IL_0021: ldc.i4.0 + IL_0022: stloc.1 + IL_0023: br IL_0028 + + IL_0028: ldloc.1 + IL_0029: ret + } // end of method FrameworkFunctions::Exists + + // method line 157 + .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.. + + // Method begins at RVA 0x598c + // 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 bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) - IL_0008: brtrue IL_0029 + 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_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_001b: ldloc.1 + IL_001c: ret + } // end of method FrameworkFunctions::SdkExists - IL_005c: ldloc.0 - IL_005d: ret - } // end of method PkgConfigFunctions::GetVariable + // method line 158 + .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.. - // method line 214 + // Method begins at RVA 0x59b8 + // 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_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetTargetFramework + + // method line 159 .method public hidebysig - instance default string GetLinkFlags (string package) cil managed + instance default string GetRuntimeFramework () 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.. + 01 00 15 67 65 74 2D 72 75 6E 74 69 6D 65 2D 66 // ...get-runtime-f + 72 61 6D 65 77 6F 72 6B 00 00 ) // ramework.. - // Method begins at RVA 0x3f54 - // Code size 83 (0x53) - .maxstack 5 + // Method begins at RVA 0x59e0 + // 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_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetRuntimeFramework + + // method line 160 + .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.. + + // Method begins at RVA 0x5a08 + // 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 bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) - IL_0008: brtrue IL_0029 + 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_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_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetFamily - IL_0051: ldloc.0 - IL_0052: ret - } // end of method PkgConfigFunctions::GetLinkFlags + // method line 161 + .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.. - // method line 215 + // Method begins at RVA 0x5a2c + // 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_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetVersion + + // method line 162 .method public hidebysig - instance default string GetCompileFlags (string package) cil managed + instance default class [mscorlib]System.Version GetVersion (string framework) 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.. + 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. - // Method begins at RVA 0x3fb4 - // Code size 83 (0x53) - .maxstack 5 + // Method begins at RVA 0x5a54 + // Code size 23 (0x17) + .maxstack 2 .locals init ( - string V_0) + 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 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_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_0051: ldloc.0 - IL_0052: ret - } // end of method PkgConfigFunctions::GetCompileFlags + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetVersion - // method line 216 + // method line 163 .method public hidebysig - instance default string GetModVersion (string package) cil managed + instance default string GetDescription () 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 + 01 00 0F 67 65 74 2D 64 65 73 63 72 69 70 74 69 // ...get-descripti 6F 6E 00 00 ) // on.. - // Method begins at RVA 0x4014 - // Code size 83 (0x53) - .maxstack 5 + // Method begins at RVA 0x5a78 + // Code size 25 (0x19) + .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) - IL_0008: brtrue IL_0029 - - IL_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: 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_0051: ldloc.0 - IL_0052: ret - } // end of method PkgConfigFunctions::GetModVersion + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetDescription - // method line 217 + // method line 164 .method public hidebysig - instance default bool IsAtLeastVersion (string package, string version) cil managed + instance default string GetDescription (string framework) 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.. + 01 00 0F 67 65 74 2D 64 65 73 63 72 69 70 74 69 // ...get-descripti + 6F 6E 00 00 ) // on.. - // Method begins at RVA 0x4074 - // Code size 54 (0x36) - .maxstack 7 + // Method begins at RVA 0x5aa0 + // Code size 23 (0x17) + .maxstack 2 .locals init ( - bool V_0) + class NAnt.Core.FrameworkInfo V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.2 - IL_0003: newarr NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--atleast-version=\"" - IL_000f: ldarg.2 - IL_0010: ldstr "\"" - IL_0015: call string string::Concat(string, string, string) - IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_001f: stelem.ref - IL_0020: dup - IL_0021: ldc.i4.1 - IL_0022: ldarg.1 - IL_0023: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0028: stelem.ref - IL_0029: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) - IL_002e: stloc.0 - IL_002f: br IL_0034 + IL_0002: 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_0034: ldloc.0 - IL_0035: ret - } // end of method PkgConfigFunctions::IsAtLeastVersion + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetDescription - // method line 218 + // method line 165 .method public hidebysig - instance default bool IsExactVersion (string package, string version) cil managed + instance default class [mscorlib]System.Version GetClrVersion () 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.. + 01 00 0F 67 65 74 2D 63 6C 72 2D 76 65 72 73 69 // ...get-clr-versi + 6F 6E 00 00 ) // on.. - // Method begins at RVA 0x40b8 - // Code size 54 (0x36) - .maxstack 7 + // Method begins at RVA 0x5ac4 + // Code size 25 (0x19) + .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: 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: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000c: callvirt instance class [mscorlib]System.Version class NAnt.Core.FrameworkInfo::get_ClrVersion() + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_0034: ldloc.0 - IL_0035: ret - } // end of method PkgConfigFunctions::IsExactVersion + IL_0017: ldloc.0 + IL_0018: ret + } // end of method FrameworkFunctions::GetClrVersion - // method line 219 + // method line 166 .method public hidebysig - instance default bool IsMaxVersion (string package, string version) cil managed + instance default class [mscorlib]System.Version GetClrVersion (string framework) 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.. + 01 00 0F 67 65 74 2D 63 6C 72 2D 76 65 72 73 69 // ...get-clr-versi + 6F 6E 00 00 ) // on.. - // Method begins at RVA 0x40fc - // Code size 54 (0x36) - .maxstack 7 + // Method begins at RVA 0x5aec + // Code size 23 (0x17) + .maxstack 2 .locals init ( - bool V_0) + class NAnt.Core.FrameworkInfo V_0, + class [mscorlib]System.Version V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.2 - IL_0003: newarr NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--max-version=\"" - IL_000f: ldarg.2 - IL_0010: ldstr "\"" - IL_0015: call string string::Concat(string, string, string) - IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_001f: stelem.ref - IL_0020: dup - IL_0021: ldc.i4.1 - IL_0022: ldarg.1 - IL_0023: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0028: stelem.ref - IL_0029: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) - IL_002e: stloc.0 - IL_002f: br IL_0034 + IL_0002: 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_0034: ldloc.0 - IL_0035: ret - } // end of method PkgConfigFunctions::IsMaxVersion + IL_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetClrVersion - // method line 220 + // method line 167 .method public hidebysig - instance default bool IsBetweenVersion (string package, string minVersion, string maxVersion) cil managed + instance default string GetFrameworkDirectory (string framework) 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.. + 01 00 17 67 65 74 2D 66 72 61 6D 65 77 6F 72 6B // ...get-framework + 2D 64 69 72 65 63 74 6F 72 79 00 00 ) // -directory.. - // Method begins at RVA 0x4140 - // Code size 78 (0x4e) - .maxstack 7 + // Method begins at RVA 0x5b10 + // Code size 28 (0x1c) + .maxstack 2 .locals init ( - bool V_0) + class NAnt.Core.FrameworkInfo V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: 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: 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_004c: ldloc.0 - IL_004d: ret - } // end of method PkgConfigFunctions::IsBetweenVersion + IL_001a: ldloc.1 + IL_001b: ret + } // end of method FrameworkFunctions::GetFrameworkDirectory - // method line 221 + // method line 168 .method public hidebysig - instance default bool Exists (string package) cil managed + instance default string GetAssemblyDirectory (string framework) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 16 67 65 74 2D 61 73 73 65 6D 62 6C 79 2D // ...get-assembly- + 64 69 72 65 63 74 6F 72 79 00 00 ) // directory.. - // Method begins at RVA 0x419c - // Code size 43 (0x2b) - .maxstack 5 + // Method begins at RVA 0x5b38 + // Code size 28 (0x1c) + .maxstack 2 .locals init ( - bool V_0) + class NAnt.Core.FrameworkInfo V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldc.i4.2 - IL_0003: newarr NAnt.Core.Types.Argument - IL_0008: dup - IL_0009: ldc.i4.0 - IL_000a: ldstr "--exists" - IL_000f: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_0014: stelem.ref - IL_0015: dup - IL_0016: ldc.i4.1 - IL_0017: ldarg.1 - IL_0018: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) - IL_001d: stelem.ref - IL_001e: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) - IL_0023: stloc.0 - IL_0024: br IL_0029 + IL_0002: 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_0029: ldloc.0 - IL_002a: ret - } // end of method PkgConfigFunctions::Exists + IL_001a: ldloc.1 + IL_001b: ret + } // end of method FrameworkFunctions::GetAssemblyDirectory - // method line 222 - .method private hidebysig - instance default bool RunPkgConfigBool (class NAnt.Core.Types.Argument[] args) cil managed + // method line 169 + .method public hidebysig + instance default string GetSdkDirectory (string framework) cil managed { - // Method begins at RVA 0x41d4 - // Code size 71 (0x47) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 73 64 6B 2D 64 69 72 65 63 // ...get-sdk-direc + 74 6F 72 79 00 00 ) // tory.. + + // Method begins at RVA 0x5b60 + // Code size 46 (0x2e) .maxstack 2 .locals init ( - class [mscorlib]System.IO.MemoryStream V_0, - class NAnt.Core.Tasks.ExecTask V_1, - bool V_2) + class NAnt.Core.FrameworkInfo V_0, + class [mscorlib]System.IO.DirectoryInfo V_1, + string V_2) 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 + 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 - } // 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_0016: ldloc.1 + IL_0017: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_001c: br IL_0026 - IL_003b: nop - IL_003c: rethrow - IL_003e: ldc.i4.0 - IL_003f: stloc.2 - IL_0040: leave IL_0045 + IL_0021: ldsfld string [mscorlib]System.String::Empty + IL_0026: stloc.2 + IL_0027: br IL_002c - } // end handler 0 - IL_0045: ldloc.2 - IL_0046: ret - } // end of method PkgConfigFunctions::RunPkgConfigBool + IL_002c: ldloc.2 + IL_002d: ret + } // end of method FrameworkFunctions::GetSdkDirectory - // method line 223 - .method private hidebysig - instance default string RunPkgConfigString (class NAnt.Core.Types.Argument[] args) cil managed + // method line 170 + .method public hidebysig + instance default string GetToolPath (string tool) cil managed { - // Method begins at RVA 0x4238 - // Code size 134 (0x86) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 74 6F 6F 6C 2D 70 61 74 68 // ...get-tool-path + 00 00 ) // .. + + // Method begins at RVA 0x5b9c + // 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_0019: nop + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "\"{0}\" could not be found in any of the configured tool paths." + IL_0024: ldarg.1 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'(string) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: stloc.1 + IL_0032: br IL_0037 + + IL_0037: ldloc.1 + IL_0038: ret + } // end of method FrameworkFunctions::GetToolPath + + // method line 171 + .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.. + + // Method begins at RVA 0x5be4 + // Code size 23 (0x17) .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) + class NAnt.Core.FrameworkInfo V_0, + string V_1) 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 + 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 - } // 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_0015: ldloc.1 + IL_0016: ret + } // end of method FrameworkFunctions::GetRuntimeEngine - IL_0075: nop - IL_0076: ldloc.s 7 - IL_0078: ldloc.s 5 - IL_007a: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class [mscorlib]System.Exception) - IL_007f: throw - IL_0080: nop - IL_0081: rethrow - } // end handler 0 - IL_0083: ldloc.s 4 - IL_0085: ret - } // end of method PkgConfigFunctions::RunPkgConfigString + // method line 172 + .method public hidebysig + instance default string GetFrameworks (valuetype NAnt.Core.FrameworkTypes types) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0E 67 65 74 2D 66 72 61 6D 65 77 6F 72 6B // ...get-framework + 73 00 00 ) // s.. - // method line 224 + // Method begins at RVA 0x5c08 + // Code size 109 (0x6d) + .maxstack 3 + .locals init ( + class NAnt.Core.FrameworkInfo[] V_0, + string V_1, + class [mscorlib]System.Text.StringBuilder V_2, + int32 V_3) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance class NAnt.Core.FrameworkInfo[] class NAnt.Core.Project::GetFrameworks(valuetype NAnt.Core.FrameworkTypes) + IL_000d: stloc.0 + IL_000e: ldloc.0 + IL_000f: ldlen + IL_0010: conv.i4 + IL_0011: brtrue IL_0021 + + IL_0016: ldsfld string [mscorlib]System.String::Empty + IL_001b: stloc.1 + IL_001c: br IL_006b + + IL_0021: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0026: stloc.2 + IL_0027: ldc.i4.0 + IL_0028: stloc.3 + IL_0029: br IL_0056 + + IL_002e: nop + IL_002f: ldloc.3 + IL_0030: ldc.i4.0 + IL_0031: ble IL_0042 + + IL_0036: ldloc.2 + IL_0037: ldstr "," + IL_003c: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0041: pop + IL_0042: ldloc.2 + IL_0043: ldloc.0 + IL_0044: ldloc.3 + IL_0045: ldelem.ref + IL_0046: callvirt instance string class NAnt.Core.FrameworkInfo::get_Name() + IL_004b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) + IL_0050: pop + IL_0051: nop + IL_0052: ldloc.3 + IL_0053: ldc.i4.1 + IL_0054: add + IL_0055: stloc.3 + IL_0056: ldloc.3 + IL_0057: ldloc.0 + IL_0058: ldlen + IL_0059: conv.i4 + IL_005a: blt IL_002e + + IL_005f: ldloc.2 + IL_0060: callvirt instance string object::ToString() + IL_0065: stloc.1 + IL_0066: br IL_006b + + IL_006b: ldloc.1 + IL_006c: ret + } // end of method FrameworkFunctions::GetFrameworks + + // method line 173 .method private hidebysig - instance default class NAnt.Core.Tasks.ExecTask GetTask (class [mscorlib]System.IO.Stream 'stream') cil managed + instance default class NAnt.Core.FrameworkInfo GetFramework (string framework) cil managed { - // Method begins at RVA 0x42dc - // Code size 83 (0x53) + // Method begins at RVA 0x5c84 + // Code size 114 (0x72) .maxstack 3 .locals init ( - class NAnt.Core.Tasks.ExecTask V_0, - class [mscorlib]System.IO.TextWriter V_1, - class NAnt.Core.Tasks.ExecTask V_2) + class NAnt.Core.FrameworkInfo V_0, + class NAnt.Core.FrameworkInfo V_1) 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_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_0051: ldloc.2 - IL_0052: ret - } // end of method PkgConfigFunctions::GetTask + 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 - } // end of class NAnt.Core.Functions.PkgConfigFunctions + IL_002e: ldarg.0 + IL_002f: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0034: callvirt instance class NAnt.Core.FrameworkInfoDictionary class NAnt.Core.Project::get_Frameworks() + IL_0039: ldarg.1 + IL_003a: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.FrameworkInfoDictionary::get_Item(string) + IL_003f: stloc.1 + IL_0040: ldloc.1 + IL_0041: brtrue IL_0062 + + IL_0046: nop + IL_0047: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_004c: ldstr "NA1096" + IL_0051: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0056: ldarg.1 + IL_0057: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_005c: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0061: throw + IL_0062: nop + IL_0063: ldloc.1 + IL_0064: callvirt instance void class NAnt.Core.FrameworkInfo::Validate() + IL_0069: ldloc.1 + IL_006a: stloc.0 + IL_006b: br IL_0070 + + IL_0070: ldloc.0 + IL_0071: ret + } // end of method FrameworkFunctions::GetFramework + + } // end of class NAnt.Core.Functions.FrameworkFunctions } .namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit OperatingSystemFunctions + .class public auto ansi beforefieldinit AssemblyNameFunctions extends NAnt.Core.FunctionSetBase { .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( - 01 00 10 6F 70 65 72 61 74 69 6E 67 2D 73 79 73 // ...operating-sys - 74 65 6D 10 4F 70 65 72 61 74 69 6E 67 20 53 79 // tem.Operating Sy - 73 74 65 6D 00 00 ) // stem.. + 01 00 0C 61 73 73 65 6D 62 6C 79 6E 61 6D 65 08 // ...assemblyname. + 41 73 73 65 6D 62 6C 79 00 00 ) // Assembly.. - // method line 225 + // method line 174 .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 0x433b + // Method begins at RVA 0x5d02 // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 @@ -6462,75 +8443,147 @@ 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 + } // end of method AssemblyNameFunctions::.ctor - // method line 226 + // method line 175 .method public static hidebysig - default valuetype [mscorlib]System.PlatformID GetPlatform (class [mscorlib]System.OperatingSystem operatingSystem) cil managed + default string GetCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0C 67 65 74 2D 70 6C 61 74 66 6F 72 6D 00 // ...get-platform. + 01 00 0C 67 65 74 2D 63 6F 64 65 62 61 73 65 00 // ...get-codebase. 00 ) // . - // Method begins at RVA 0x4348 + // Method begins at RVA 0x5d10 // 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: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_CodeBase() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method OperatingSystemFunctions::GetPlatform + } // end of method AssemblyNameFunctions::GetCodeBase - // method line 227 + // method line 176 .method public static hidebysig - default class [mscorlib]System.Version GetVersion (class [mscorlib]System.OperatingSystem operatingSystem) cil managed + default string GetEscapedCodeBase (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( - 01 00 0B 67 65 74 2D 76 65 72 73 69 6F 6E 00 00 ) // ...get-version.. + 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 0x4364 + // Method begins at RVA 0x5d2c // 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.OperatingSystem::get_Version() + IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_EscapedCodeBase() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method OperatingSystemFunctions::GetVersion + } // end of method AssemblyNameFunctions::GetEscapedCodeBase - // method line 228 + // method line 177 .method public static hidebysig - default string ToString (class [mscorlib]System.OperatingSystem operatingSystem) cil managed + default string GetFullName (class [mscorlib]System.Reflection.AssemblyName assemblyName) cil managed { - .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + .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 0x4380 + // Method begins at RVA 0x5d48 // Code size 15 (0xf) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: callvirt instance string object::ToString() + IL_0002: callvirt instance string class [mscorlib]System.Reflection.AssemblyName::get_FullName() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method OperatingSystemFunctions::ToString + } // end of method AssemblyNameFunctions::GetFullName - } // end of class NAnt.Core.Functions.OperatingSystemFunctions + // method line 178 + .method public static hidebysig + default string GetName (class [mscorlib]System.Reflection.AssemblyName assemblyName) 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 0x5d64 + // 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 line 179 + .method public static hidebysig + default class [mscorlib]System.Version GetVersion (class [mscorlib]System.Reflection.AssemblyName assemblyName) 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 0x5d80 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.Version 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_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method AssemblyNameFunctions::GetVersion + + // method line 180 + .method public hidebysig + instance default class [mscorlib]System.Reflection.AssemblyName GetAssemblyName (string assemblyFile) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 61 73 73 65 6D 62 6C 79 2D // ...get-assembly- + 6E 61 6D 65 00 00 ) // name.. + + // Method begins at RVA 0x5d9c + // Code size 26 (0x1a) + .maxstack 2 + .locals init ( + class [mscorlib]System.Reflection.AssemblyName V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: call class [mscorlib]System.Reflection.AssemblyName class [mscorlib]System.Reflection.AssemblyName::GetAssemblyName(string) + IL_0012: stloc.0 + IL_0013: br IL_0018 + + IL_0018: ldloc.0 + IL_0019: ret + } // end of method AssemblyNameFunctions::GetAssemblyName + + } // end of class NAnt.Core.Functions.AssemblyNameFunctions } .namespace NAnt.Core.Functions @@ -6541,11 +8594,11 @@ .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 6D 61 74 68 04 4D 61 74 68 00 00 ) // ...math.Math.. - // method line 229 + // method line 181 .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 0x439b + // Method begins at RVA 0x5dc2 // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 @@ -6556,13 +8609,13 @@ IL_0009: ret } // end of method MathFunctions::.ctor - // method line 230 + // method line 182 .method public static hidebysig default float64 Round (float64 'value') 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 0x43a8 + // Method begins at RVA 0x5dd0 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -6577,13 +8630,13 @@ IL_000e: ret } // end of method MathFunctions::Round - // method line 231 + // method line 183 .method public static hidebysig default float64 Floor (float64 '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 0x43c4 + // Method begins at RVA 0x5dec // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -6598,13 +8651,13 @@ IL_000e: ret } // end of method MathFunctions::Floor - // method line 232 + // method line 184 .method public static hidebysig default float64 Ceiling (float64 'value') cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 63 65 69 6C 69 6E 67 00 00 ) // ...ceiling.. - // Method begins at RVA 0x43e0 + // Method begins at RVA 0x5e08 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -6619,13 +8672,13 @@ IL_000e: ret } // end of method MathFunctions::Ceiling - // method line 233 + // method line 185 .method public static hidebysig default float64 Abs (float64 'value') cil managed { .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 03 61 62 73 00 00 ) // ...abs.. - // Method begins at RVA 0x43fc + // Method begins at RVA 0x5e24 // Code size 15 (0xf) .maxstack 1 .locals init ( @@ -6643,8881 +8696,6934 @@ } // end of class NAnt.Core.Functions.MathFunctions } -.namespace NAnt.Core.Configuration +.namespace NAnt.Core.Functions { - .class private auto ansi serializable beforefieldinit ConditionalElement - extends NAnt.Core.Element + .class public auto ansi beforefieldinit OperatingSystemFunctions + extends NAnt.Core.FunctionSetBase { - .field private bool _ifDefined - .field private bool _unlessDefined + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 10 6F 70 65 72 61 74 69 6E 67 2D 73 79 73 // ...operating-sys + 74 65 6D 10 4F 70 65 72 61 74 69 6E 67 20 53 79 // tem.Operating Sy + 73 74 65 6D 00 00 ) // stem.. - // method line 234 + + // method line 186 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x6cec - // Code size 14 (0xe) + // Method begins at RVA 0x5e3f + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: ret - } // end of method ConditionalElement::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method OperatingSystemFunctions::.ctor - // method line 235 - .method family virtual hidebysig - instance default void InitializeXml (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed + // method line 187 + .method public static hidebysig + default valuetype [mscorlib]System.PlatformID GetPlatform (class [mscorlib]System.OperatingSystem operatingSystem) cil managed { - // Method begins at RVA 0x6cfc - // Code size 25 (0x19) - .maxstack 4 + .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 0x5e4c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator V_0) + valuetype [mscorlib]System.PlatformID V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: callvirt instance void class NAnt.Core.Element::set_XmlNode(class [System.Xml]System.Xml.XmlNode) - IL_0008: ldarg.0 - IL_0009: ldarg.1 - IL_000a: ldarg.2 - IL_000b: ldarg.3 - IL_000c: newobj instance void class NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::'.ctor'(class NAnt.Core.Configuration.ConditionalElement, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_0011: stloc.0 - IL_0012: ldloc.0 - IL_0013: callvirt instance void class NAnt.Core.Element/AttributeConfigurator::Initialize() - IL_0018: ret - } // end of method ConditionalElement::InitializeXml + IL_0002: callvirt instance valuetype [mscorlib]System.PlatformID class [mscorlib]System.OperatingSystem::get_Platform() + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 236 - .method family hidebysig specialname - instance default bool get_IfDefined () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method OperatingSystemFunctions::GetPlatform + + // method line 188 + .method public static hidebysig + default class [mscorlib]System.Version GetVersion (class [mscorlib]System.OperatingSystem operatingSystem) cil managed { - // Method begins at RVA 0x6d24 + .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 0x5e68 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class [mscorlib]System.Version V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined + IL_0002: callvirt instance class [mscorlib]System.Version class [mscorlib]System.OperatingSystem::get_Version() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ConditionalElement::get_IfDefined + } // end of method OperatingSystemFunctions::GetVersion - // method line 237 - .method family hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 189 + .method public static hidebysig + default string ToString (class [mscorlib]System.OperatingSystem operatingSystem) cil managed { - // Method begins at RVA 0x6d3f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined - IL_0008: ret - } // end of method ConditionalElement::set_IfDefined + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - // method line 238 - .method family hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x6d4c + // Method begins at RVA 0x5e84 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement::_unlessDefined + IL_0002: callvirt instance string object::ToString() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method ConditionalElement::get_UnlessDefined + } // end of method OperatingSystemFunctions::ToString - // method line 239 - .method family hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + } // end of class NAnt.Core.Functions.OperatingSystemFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit ConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 07 63 6F 6E 76 65 72 74 0A 43 6F 6E 76 65 // ...convert.Conve + 72 73 69 6F 6E 00 00 ) // rsion.. + + + // method line 190 + .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 0x6d67 - // Code size 9 (0x9) + // Method begins at RVA 0x5e9f + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Configuration.ConditionalElement::_unlessDefined - IL_0008: ret - } // end of method ConditionalElement::set_UnlessDefined + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method ConversionFunctions::.ctor - // method line 240 - .method assembly hidebysig specialname - instance default bool get_Enabled () cil managed + // method line 191 + .method public static hidebysig + default int32 ToInt (int32 'value') cil managed { - // Method begins at RVA 0x6d74 - // Code size 32 (0x20) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 74 6F 2D 69 6E 74 00 00 ) // ...to-int.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec + 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion + 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea + 64 2E 00 00 00 ) // d.... + + // Method begins at RVA 0x5eac + // Code size 10 (0xa) + .maxstack 1 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Configuration.ConditionalElement::get_IfDefined() - IL_0007: brfalse IL_0017 - - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined() - IL_0012: ldc.i4.0 - IL_0013: ceq - IL_0015: br.s IL_0018 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_0017: ldc.i4.0 - IL_0018: stloc.0 - IL_0019: br IL_001e + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToInt - IL_001e: ldloc.0 - IL_001f: ret - } // end of method ConditionalElement::get_Enabled + // method line 192 + .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.. - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec + 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion + 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea + 64 2E 00 00 00 ) // d.... - .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_IfDefined () - .set instance default void NAnt.Core.Configuration.ConditionalElement::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + // Method begins at RVA 0x5ec4 + // 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 - .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined () - .set instance default void NAnt.Core.Configuration.ConditionalElement::set_UnlessDefined (bool 'value') - } - .property instance bool Enabled () - { - .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_Enabled () - } - .class nested private auto ansi beforefieldinit ConditionalConfigurator - extends NAnt.Core.Element/AttributeConfigurator - { - .field private initonly bool _enabled + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToDouble - // method line 241 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Configuration.ConditionalElement element, class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo targetFramework) cil managed + // method line 193 + .method public static hidebysig + default string ConvertToString (string 'value') cil managed { - // Method begins at RVA 0x6da0 - // Code size 148 (0x94) - .maxstack 5 - .locals init ( - class [mscorlib]System.Type V_0, - class [mscorlib]System.Reflection.PropertyInfo V_1, - class [mscorlib]System.Reflection.PropertyInfo V_2) - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: ldarg.2 - IL_000a: ldarg.3 - IL_000b: ldarg.s 4 - IL_000d: call instance void class NAnt.Core.Element/AttributeConfigurator::'.ctor'(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) - IL_0012: nop - IL_0013: ldarg.1 - IL_0014: callvirt instance class [mscorlib]System.Type object::GetType() - IL_0019: stloc.0 - IL_001a: ldloc.0 - IL_001b: ldstr "IfDefined" - IL_0020: ldc.i4.s 0x24 - IL_0022: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class [mscorlib]System.Type::GetProperty(string, valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0027: stloc.1 - IL_0028: ldarg.0 - IL_0029: ldloc.1 - IL_002a: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) - IL_002f: pop - IL_0030: ldarg.1 - IL_0031: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_IfDefined() - IL_0036: brtrue IL_0049 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - IL_003b: nop - IL_003c: ldarg.0 - IL_003d: ldc.i4.0 - IL_003e: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_0043: nop - IL_0044: br IL_0070 + .custom instance void class [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_0049: nop - IL_004a: ldloc.0 - IL_004b: ldstr "UnlessDefined" - IL_0050: ldc.i4.s 0x24 - IL_0052: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class [mscorlib]System.Type::GetProperty(string, valuetype [mscorlib]System.Reflection.BindingFlags) - IL_0057: stloc.2 - IL_0058: ldarg.0 - IL_0059: ldloc.2 - IL_005a: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) - IL_005f: pop - IL_0060: ldarg.0 - IL_0061: ldarg.1 - IL_0062: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined() - IL_0067: ldc.i4.0 - IL_0068: ceq - IL_006a: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_006f: nop - IL_0070: ldarg.0 - IL_0071: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_0076: brtrue IL_0093 + // Method begins at RVA 0x5edc + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_007b: nop - IL_007c: ldarg.0 - IL_007d: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes() - IL_0082: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0087: ldarg.0 - IL_0088: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() - IL_008d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() - IL_0092: nop - IL_0093: ret - } // end of method ConditionalConfigurator::.ctor + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ConvertToString - // method line 242 - .method family virtual hidebysig - instance default bool InitializeAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed + // method line 194 + .method public static hidebysig + default valuetype [mscorlib]System.DateTime ToDateTime (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x6e40 - // Code size 34 (0x22) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 74 6F 2D 64 61 74 65 74 69 6D 65 00 00 ) // ...to-datetime.. + + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec + 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion + 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea + 64 2E 00 00 00 ) // d.... + + // Method begins at RVA 0x5ef4 + // Code size 10 (0xa) + .maxstack 1 .locals init ( - bool V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_0007: brtrue IL_0013 + IL_0002: stloc.0 + IL_0003: br IL_0008 - IL_000c: ldc.i4.1 - IL_000d: stloc.0 - IL_000e: br IL_0020 + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToDateTime - IL_0013: ldarg.0 - IL_0014: ldarg.1 - IL_0015: call instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) - IL_001a: stloc.0 - IL_001b: br IL_0020 + // method line 195 + .method public static hidebysig + default bool ToBoolean (bool 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 74 6F 2D 62 6F 6F 6C 65 61 6E 00 00 ) // ...to-boolean.. - IL_0020: ldloc.0 - IL_0021: ret - } // end of method ConditionalConfigurator::InitializeAttribute + .custom instance void class [mscorlib]System.ObsoleteAttribute::'.ctor'(string, bool) = ( + 01 00 2F 55 73 65 20 74 79 70 65 2D 73 70 65 63 // ../Use type-spec + 69 66 69 63 20 63 6F 6E 76 65 72 73 69 6F 6E 20 // ific conversion + 66 75 6E 63 74 69 6F 6E 73 20 69 6E 73 74 65 61 // functions instea + 64 2E 00 00 00 ) // d.... - // method line 243 - .method family virtual hidebysig - instance default void InitializeOrderedChildElements () cil managed - { - // Method begins at RVA 0x6e6e - // Code size 24 (0x18) - .maxstack 8 + // Method begins at RVA 0x5f0c + // Code size 10 (0xa) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled - IL_0007: brtrue IL_0011 - - IL_000c: br IL_0017 - - IL_0011: ldarg.0 - IL_0012: call instance void class NAnt.Core.Element/AttributeConfigurator::InitializeOrderedChildElements() - IL_0017: ret - } // end of method ConditionalConfigurator::InitializeOrderedChildElements + IL_0002: stloc.0 + IL_0003: br IL_0008 - } // end of class ConditionalConfigurator + IL_0008: ldloc.0 + IL_0009: ret + } // end of method ConversionFunctions::ToBoolean - } // end of class NAnt.Core.Configuration.ConditionalElement + } // end of class NAnt.Core.Functions.ConversionFunctions } -.namespace NAnt.Core.Configuration +.namespace NAnt.Core.Functions { - .class private auto ansi serializable beforefieldinit DirList - extends NAnt.Core.Element + .class public auto ansi beforefieldinit NAntFunctions + extends NAnt.Core.FunctionSetBase { - .field private class [mscorlib]System.IO.DirectoryInfo _baseDirectory - .field private class NAnt.Core.Configuration.DirectoryName[] _directoryNames + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 6E 61 6E 74 04 4E 41 6E 74 00 00 ) // ...nant.NAnt.. - // method line 244 + + // method line 196 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x6e87 - // Code size 7 (0x7) + // Method begins at RVA 0x5f22 + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() - IL_0006: ret - } // end of method DirList::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method NAntFunctions::.ctor - // method line 245 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed + // method line 197 + .method public hidebysig + instance default string GetBaseDirectory () cil managed { - // Method begins at RVA 0x6e90 - // Code size 49 (0x31) + .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 0x5f30 + // Code size 19 (0x13) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::_baseDirectory - IL_0007: brtrue IL_0023 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0013: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0018: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_001d: stloc.0 - IL_001e: br IL_002f - - IL_0023: ldarg.0 - IL_0024: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::_baseDirectory - IL_0029: stloc.0 - IL_002a: br IL_002f + IL_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_002f: ldloc.0 - IL_0030: ret - } // end of method DirList::get_Directory + IL_0011: ldloc.0 + IL_0012: ret + } // end of method NAntFunctions::GetBaseDirectory - // method line 246 - .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 198 + .method public hidebysig + instance default class [mscorlib]System.Reflection.Assembly GetAssembly () cil managed { - // Method begins at RVA 0x6ecd - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::_baseDirectory - IL_0008: ret - } // end of method DirList::set_Directory + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 67 65 74 2D 61 73 73 65 6D 62 6C 79 00 // ...get-assembly. + 00 ) // . - // method line 247 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.DirectoryName[] get_DirectoryNames () cil managed - { - // Method begins at RVA 0x6ed8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x5f50 + // Code size 50 (0x32) + .maxstack 2 .locals init ( - class NAnt.Core.Configuration.DirectoryName[] V_0) + class [mscorlib]System.Reflection.Assembly V_0, + class [mscorlib]System.Reflection.Assembly V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method DirList::get_DirectoryNames + IL_0021: nop + IL_0022: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::GetExecutingAssembly() + IL_0027: stloc.0 + IL_0028: nop + IL_0029: ldloc.0 + IL_002a: stloc.1 + IL_002b: br IL_0030 - // method line 248 - .method public hidebysig specialname - instance default void set_DirectoryNames (class NAnt.Core.Configuration.DirectoryName[] 'value') cil managed - { - // Method begins at RVA 0x6ef3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0008: ret - } // end of method DirList::set_DirectoryNames + IL_0030: ldloc.1 + IL_0031: ret + } // end of method NAntFunctions::GetAssembly - // method line 249 + // method line 199 .method public hidebysig - instance default string[] GetDirectories () cil managed + instance default string ScanProbingPaths (string fileName) cil managed { - // Method begins at RVA 0x6f00 - // Code size 28 (0x1c) - .maxstack 2 - .locals init ( - string V_0, - string[] V_1) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Configuration.DirList::get_Directory() - IL_0007: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_000c: stloc.0 - IL_000d: ldarg.0 - IL_000e: ldloc.0 - IL_000f: call instance string[] class NAnt.Core.Configuration.DirList::GetDirectories(string) - IL_0014: stloc.1 - IL_0015: br IL_001a + .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_001a: ldloc.1 - IL_001b: ret - } // end of method DirList::GetDirectories + .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 01 00 00 00 00 00 ) // ........ - // method line 250 - .method assembly hidebysig - instance default string[] GetDirectories (string baseDir) cil managed - { - // Method begins at RVA 0x6f28 - // Code size 116 (0x74) - .maxstack 4 + // Method begins at RVA 0x5f90 + // Code size 92 (0x5c) + .maxstack 3 .locals init ( - string[] V_0, - string[] V_1, - int32 V_2, - class NAnt.Core.Configuration.DirectoryName V_3) + string V_0, + class NAnt.Core.FrameworkInfo V_1, + string[] V_2, + string V_3) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0012 + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0009: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000e: stloc.1 + IL_000f: ldloc.1 + IL_0010: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_0015: brfalse IL_0036 - IL_0007: ldstr "baseDir" - IL_000c: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0011: throw - IL_0012: ldarg.0 - IL_0013: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0018: brtrue IL_002a + IL_001a: nop + IL_001b: ldloc.1 + IL_001c: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_0021: callvirt instance class NAnt.Core.Configuration.DirList class NAnt.Core.Configuration.Runtime::get_ProbingPaths() + IL_0026: callvirt instance string[] class NAnt.Core.Configuration.DirList::GetDirectories() + IL_002b: stloc.2 + IL_002c: ldloc.2 + IL_002d: ldarg.1 + IL_002e: ldc.i4.1 + IL_002f: call string class NAnt.Core.Util.FileUtils::ResolveFile(string[], string, bool) + IL_0034: stloc.0 + IL_0035: nop + IL_0036: ldloc.0 + IL_0037: brtrue IL_0053 - IL_001d: nop - IL_001e: ldc.i4.0 - IL_001f: newarr [mscorlib]System.String - IL_0024: stloc.0 - IL_0025: br IL_0072 + IL_003c: nop + IL_003d: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0042: ldstr "\"{0}\" could not be found in any of the configured probing paths." + IL_0047: ldarg.1 + IL_0048: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_004d: newobj instance void class [mscorlib]System.IO.FileNotFoundException::'.ctor'(string) + IL_0052: throw + IL_0053: ldloc.0 + IL_0054: stloc.3 + IL_0055: br IL_005a - IL_002a: ldarg.0 - IL_002b: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0030: ldlen - IL_0031: conv.i4 - IL_0032: newarr [mscorlib]System.String - IL_0037: stloc.1 - IL_0038: ldc.i4.0 - IL_0039: stloc.2 - IL_003a: br IL_005d + IL_005a: ldloc.3 + IL_005b: ret + } // end of method NAntFunctions::ScanProbingPaths - IL_003f: nop - IL_0040: ldarg.0 - IL_0041: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0046: ldloc.2 - IL_0047: ldelem.ref - IL_0048: stloc.3 - IL_0049: ldloc.1 - IL_004a: ldloc.2 - IL_004b: ldarg.1 - IL_004c: ldloc.3 - IL_004d: callvirt instance string class NAnt.Core.Configuration.DirectoryName::get_DirName() - IL_0052: call string class [mscorlib]System.IO.Path::Combine(string, string) - IL_0057: stelem.ref - IL_0058: nop - IL_0059: ldloc.2 - IL_005a: ldc.i4.1 - IL_005b: add - IL_005c: stloc.2 - IL_005d: ldloc.2 - IL_005e: ldarg.0 - IL_005f: ldfld class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::_directoryNames - IL_0064: ldlen - IL_0065: conv.i4 - IL_0066: blt IL_003f + // method line 200 + .method public hidebysig + instance default string ScanProbingPaths (string baseDirectory, string fileName) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 73 63 61 6E 2D 70 72 6F 62 69 6E 67 2D // ...scan-probing- + 70 61 74 68 73 00 00 ) // paths.. - IL_006b: ldloc.1 - IL_006c: stloc.0 - IL_006d: br IL_0072 + .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) = (01 00 01 00 00 00 00 00 ) // ........ - IL_0072: ldloc.0 - IL_0073: ret - } // end of method DirList::GetDirectories + // Method begins at RVA 0x5ff8 + // Code size 93 (0x5d) + .maxstack 3 + .locals init ( + string V_0, + class NAnt.Core.FrameworkInfo V_1, + string[] V_2, + string V_3) + IL_0000: nop + IL_0001: ldnull + IL_0002: stloc.0 + IL_0003: ldarg.0 + IL_0004: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0009: callvirt instance class NAnt.Core.FrameworkInfo class NAnt.Core.Project::get_TargetFramework() + IL_000e: stloc.1 + IL_000f: ldloc.1 + IL_0010: callvirt instance class NAnt.Core.Configuration.Runtime class NAnt.Core.FrameworkInfo::get_Runtime() + IL_0015: brfalse IL_0037 - .property instance class [mscorlib]System.IO.DirectoryInfo Directory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. + IL_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 - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Configuration.DirList::get_Directory () - .set instance default void NAnt.Core.Configuration.DirList::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class NAnt.Core.Configuration.DirectoryName[] DirectoryNames () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 09 64 69 72 65 63 74 6F 72 79 00 00 ) // ...directory.. + 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 - .get instance default class NAnt.Core.Configuration.DirectoryName[] NAnt.Core.Configuration.DirList::get_DirectoryNames () - .set instance default void NAnt.Core.Configuration.DirList::set_DirectoryNames (class NAnt.Core.Configuration.DirectoryName[] 'value') - } - } // end of class NAnt.Core.Configuration.DirList + IL_005b: ldloc.3 + IL_005c: ret + } // end of method NAntFunctions::ScanProbingPaths + + } // end of class NAnt.Core.Functions.NAntFunctions } -.namespace NAnt.Core.Configuration +.namespace NAnt.Core.Functions { - .class private auto ansi serializable beforefieldinit ManagedExecutionMode - extends NAnt.Core.Element + .class public auto ansi beforefieldinit ProjectFunctions + extends NAnt.Core.FunctionSetBase { - .field private class NAnt.Core.Configuration.RuntimeEngine _engine - .field private class NAnt.Core.Types.EnvironmentSet _environmentSet + .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 ) // . - // method line 251 + + // method line 201 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x6fa8 - // Code size 18 (0x12) + // Method begins at RVA 0x6061 + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.EnvironmentSet::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::_environmentSet - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Element::'.ctor'() - IL_0011: ret - } // end of method ManagedExecutionMode::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method ProjectFunctions::.ctor - // method line 252 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.RuntimeEngine get_Engine () cil managed + // method line 202 + .method public hidebysig + instance default string GetName () cil managed { - // Method begins at RVA 0x6fbc - // Code size 15 (0xf) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. + + // Method begins at RVA 0x606c + // Code size 25 (0x19) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.RuntimeEngine V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::_engine - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance string class NAnt.Core.Project::get_ProjectName() + IL_000c: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedExecutionMode::get_Engine + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ProjectFunctions::GetName - // method line 253 - .method public hidebysig specialname - instance default void set_Engine (class NAnt.Core.Configuration.RuntimeEngine 'value') cil managed + // method line 203 + .method public hidebysig + instance default string GetBuildFileUri () cil managed { - // Method begins at RVA 0x6fd7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::_engine - IL_0008: ret - } // end of method ManagedExecutionMode::set_Engine + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 62 75 69 6C 64 66 69 6C 65 // ...get-buildfile + 2D 75 72 69 00 00 ) // -uri.. - // method line 254 - .method public hidebysig specialname - instance default class NAnt.Core.Types.EnvironmentSet get_Environment () cil managed - { - // Method begins at RVA 0x6fe4 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6094 + // Code size 59 (0x3b) + .maxstack 2 .locals init ( - class NAnt.Core.Types.EnvironmentSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::_environmentSet - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedExecutionMode::get_Environment - - .property instance class NAnt.Core.Configuration.RuntimeEngine Engine () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 06 65 6E 67 69 6E 65 00 00 ) // ...engine.. + 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 - .get instance default class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::get_Engine () - .set instance default void NAnt.Core.Configuration.ManagedExecutionMode::set_Engine (class NAnt.Core.Configuration.RuntimeEngine 'value') - } - .property instance class NAnt.Core.Types.EnvironmentSet Environment () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // ...environment.. + 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 - .get instance default class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::get_Environment () - } - } // end of class NAnt.Core.Configuration.ManagedExecutionMode -} + IL_002e: ldsfld string [mscorlib]System.String::Empty + IL_0033: stloc.0 + IL_0034: br IL_0039 -.namespace NAnt.Core.Configuration -{ - .class private auto ansi serializable beforefieldinit ManagedExecutionModes - extends NAnt.Core.Element - { - .field private class NAnt.Core.Configuration.ManagedExecutionMode _autoMode - .field private class NAnt.Core.Configuration.ManagedExecutionMode _strictMode + IL_0039: ldloc.0 + IL_003a: ret + } // end of method ProjectFunctions::GetBuildFileUri - // method line 255 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 204 + .method public hidebysig + instance default string GetBuildFilePath () cil managed { - // Method begins at RVA 0x6fff - // Code size 7 (0x7) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Element::'.ctor'() - IL_0006: ret - } // end of method ManagedExecutionModes::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 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 line 256 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Auto () cil managed - { - // Method begins at RVA 0x7008 - // Code size 15 (0xf) + // Method begins at RVA 0x60dc + // Code size 25 (0x19) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_autoMode - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance string class NAnt.Core.Project::get_BuildFileLocalName() + IL_000c: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_0011: stloc.0 + IL_0012: br IL_0017 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedExecutionModes::get_Auto + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ProjectFunctions::GetBuildFilePath - // method line 257 - .method public hidebysig specialname - instance default void set_Auto (class NAnt.Core.Configuration.ManagedExecutionMode 'value') cil managed + // method line 205 + .method public hidebysig + instance default string GetDefaultTarget () cil managed { - // Method begins at RVA 0x7023 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_autoMode - IL_0008: ret - } // end of method ManagedExecutionModes::set_Auto + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 64 65 66 61 75 6C 74 2D 74 // ...get-default-t + 61 72 67 65 74 00 00 ) // arget.. - // method line 258 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Strict () cil managed - { - // Method begins at RVA 0x7030 - // Code size 15 (0xf) + // Method begins at RVA 0x6104 + // Code size 25 (0x19) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_strictMode - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ManagedExecutionModes::get_Strict + 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 - // method line 259 - .method public hidebysig specialname - instance default void set_Strict (class NAnt.Core.Configuration.ManagedExecutionMode 'value') cil managed - { - // Method begins at RVA 0x704b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_strictMode - IL_0008: ret - } // end of method ManagedExecutionModes::set_Strict + IL_0017: ldloc.0 + IL_0018: ret + } // end of method ProjectFunctions::GetDefaultTarget - // method line 260 + // method line 206 .method public hidebysig - instance default class NAnt.Core.Configuration.ManagedExecutionMode GetExecutionMode (valuetype NAnt.Core.Types.ManagedExecution 'managed') cil managed + instance default string GetBaseDirectory () cil managed { - // Method begins at RVA 0x7058 - // Code size 86 (0x56) + .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 0x612c + // Code size 20 (0x14) .maxstack 1 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionMode V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: switch ( - IL_0018, - IL_001f, - IL_002b) - IL_0013: br IL_004e - - IL_0018: ldnull - IL_0019: stloc.0 - IL_001a: br IL_0054 - - IL_001f: ldarg.0 - IL_0020: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Auto() - IL_0025: stloc.0 - IL_0026: br IL_0054 - - IL_002b: ldarg.0 - IL_002c: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Strict() - IL_0031: brfalse IL_0042 - - IL_0036: ldarg.0 - IL_0037: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Strict() - IL_003c: stloc.0 - IL_003d: br IL_0054 - - IL_0042: ldarg.0 - IL_0043: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Auto() - IL_0048: stloc.0 - IL_0049: br IL_0054 - - IL_004e: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'() - IL_0053: throw - IL_0054: ldloc.0 - IL_0055: ret - } // end of method ManagedExecutionModes::GetExecutionMode - - .property instance class NAnt.Core.Configuration.ManagedExecutionMode Auto () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 61 75 74 6F 00 00 ) // ...auto.. + IL_0001: ldarg.0 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() + IL_000c: stloc.0 + IL_000d: br IL_0012 - .get instance default class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::get_Auto () - .set instance default void NAnt.Core.Configuration.ManagedExecutionModes::set_Auto (class NAnt.Core.Configuration.ManagedExecutionMode 'value') - } - .property instance class NAnt.Core.Configuration.ManagedExecutionMode Strict () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 06 73 74 72 69 63 74 00 00 ) // ...strict.. + IL_0012: ldloc.0 + IL_0013: ret + } // end of method ProjectFunctions::GetBaseDirectory - .get instance default class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::get_Strict () - .set instance default void NAnt.Core.Configuration.ManagedExecutionModes::set_Strict (class NAnt.Core.Configuration.ManagedExecutionMode 'value') - } - } // end of class NAnt.Core.Configuration.ManagedExecutionModes + } // end of class NAnt.Core.Functions.ProjectFunctions } -.namespace NAnt.Core.Configuration +.namespace NAnt.Core.Functions { - .class private auto ansi serializable beforefieldinit DirectoryName - extends NAnt.Core.Configuration.ConditionalElement + .class public auto ansi beforefieldinit TargetFunctions + extends NAnt.Core.FunctionSetBase { - .field private string _name + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 06 74 61 72 67 65 74 04 4E 41 6E 74 00 00 ) // ...target.NAnt.. - // method line 261 + + // method line 207 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x70ba - // Code size 7 (0x7) + // Method begins at RVA 0x614c + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.Configuration.ConditionalElement::'.ctor'() - IL_0006: ret - } // end of method DirectoryName::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method TargetFunctions::.ctor - // method line 262 - .method public hidebysig specialname - instance default string get_DirName () cil managed + // method line 208 + .method public hidebysig + instance default bool Exists (string name) cil managed { - // Method begins at RVA 0x70c4 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Configuration.DirectoryName::_name - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method DirectoryName::get_DirName + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. - // method line 263 - .method public hidebysig specialname - instance default void set_DirName (string 'value') cil managed - { - // Method begins at RVA 0x70df - // Code size 9 (0x9) - .maxstack 8 + // Method begins at RVA 0x6158 + // Code size 32 (0x20) + .maxstack 2 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Configuration.DirectoryName::_name - IL_0008: ret - } // end of method DirectoryName::set_DirName - - .property instance string DirName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ - 69 72 65 64 01 ) // ired. - - .get instance default string NAnt.Core.Configuration.DirectoryName::get_DirName () - .set instance default void NAnt.Core.Configuration.DirectoryName::set_DirName (string 'value') - } - } // end of class NAnt.Core.Configuration.DirectoryName -} + 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 -.namespace NAnt.Core.Configuration -{ - .class private auto ansi serializable beforefieldinit RuntimeEngine - extends NAnt.Core.Element - { - .field private class [mscorlib]System.IO.FileInfo _program - .field private class NAnt.Core.Types.ArgumentCollection _arguments + IL_001e: ldloc.0 + IL_001f: ret + } // end of method TargetFunctions::Exists - // method line 264 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + // method line 209 + .method public hidebysig + instance default string GetCurrentTarget () cil managed { - // Method begins at RVA 0x70e9 - // Code size 18 (0x12) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Types.ArgumentCollection::'.ctor'() - IL_0006: stfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::_arguments - IL_000b: ldarg.0 - IL_000c: call instance void class NAnt.Core.Element::'.ctor'() - IL_0011: ret - } // end of method RuntimeEngine::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 67 65 74 2D 63 75 72 72 65 6E 74 2D 74 // ...get-current-t + 61 72 67 65 74 00 00 ) // arget.. - // method line 265 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_Program () cil managed - { - // Method begins at RVA 0x70fc - // Code size 15 (0xf) + // Method begins at RVA 0x6184 + // Code size 45 (0x2d) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + class NAnt.Core.Target V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::_program - IL_0007: stloc.0 - IL_0008: br IL_000d - + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.Target class NAnt.Core.Project::get_CurrentTarget() + IL_000c: stloc.0 IL_000d: ldloc.0 - IL_000e: ret - } // end of method RuntimeEngine::get_Program - - // method line 266 - .method public hidebysig specialname - instance default void set_Program (class [mscorlib]System.IO.FileInfo 'value') cil managed - { - // Method begins at RVA 0x7117 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::_program - IL_0008: ret - } // end of method RuntimeEngine::set_Program + IL_000e: brtrue IL_001f - // method line 267 - .method public hidebysig specialname - instance default class NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed - { - // Method begins at RVA 0x7124 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.ArgumentCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::_arguments - IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method RuntimeEngine::get_Arguments + IL_002b: ldloc.1 + IL_002c: ret + } // end of method TargetFunctions::GetCurrentTarget - // method line 268 - .method family virtual hidebysig - instance default void Initialize () cil managed + // method line 210 + .method public hidebysig + instance default bool HasExecuted (string name) cil managed { - // Method begins at RVA 0x7140 - // Code size 73 (0x49) + .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 0x61c0 + // Code size 67 (0x43) .maxstack 3 + .locals init ( + class NAnt.Core.Target V_0, + bool V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance void class NAnt.Core.Element::Initialize() - IL_0007: ldarg.0 - IL_0008: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() - IL_000d: ldnull - IL_000e: ceq - IL_0010: ldc.i4.0 - IL_0011: ceq - IL_0013: ldarg.0 - IL_0014: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() - IL_0019: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_001e: ldc.i4.0 - IL_001f: ceq - IL_0021: and - IL_0022: brfalse IL_0048 - - IL_0027: nop - IL_0028: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_002d: ldstr "Runtime engine '{0}' does not exist." - IL_0032: ldarg.0 - IL_0033: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() - IL_0038: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0042: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0047: throw - IL_0048: ret - } // end of method RuntimeEngine::Initialize + 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 - .property instance class [mscorlib]System.IO.FileInfo Program () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 07 70 72 6F 67 72 61 6D 01 00 54 02 08 52 // ...program..T..R - 65 71 75 69 72 65 64 01 ) // equired. + IL_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 - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::get_Program () - .set instance default void NAnt.Core.Configuration.RuntimeEngine::set_Program (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class NAnt.Core.Types.ArgumentCollection Arguments () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. + IL_0041: ldloc.1 + IL_0042: ret + } // end of method TargetFunctions::HasExecuted - .get instance default class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::get_Arguments () - } - } // end of class NAnt.Core.Configuration.RuntimeEngine + } // end of class NAnt.Core.Functions.TargetFunctions } -.namespace NAnt.Core.Configuration +.namespace NAnt.Core.Functions { - .class private auto ansi serializable beforefieldinit Runtime - extends NAnt.Core.Element + .class public auto ansi beforefieldinit TaskFunctions + extends NAnt.Core.FunctionSetBase { - .field private class NAnt.Core.Configuration.ManagedExecutionModes _modes - .field private class NAnt.Core.Configuration.DirList _probingPaths + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 74 61 73 6B 04 4E 41 6E 74 00 00 ) // ...task.NAnt.. - // method line 269 + + // method line 211 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x7195 - // Code size 29 (0x1d) + // Method begins at RVA 0x620f + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: newobj instance void class NAnt.Core.Configuration.ManagedExecutionModes::'.ctor'() - IL_0006: stfld class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::_modes - IL_000b: ldarg.0 - IL_000c: newobj instance void class NAnt.Core.Configuration.DirList::'.ctor'() - IL_0011: stfld class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::_probingPaths - IL_0016: ldarg.0 - IL_0017: call instance void class NAnt.Core.Element::'.ctor'() - IL_001c: ret - } // end of method Runtime::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method TaskFunctions::.ctor - // method line 270 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.DirList get_ProbingPaths () cil managed + // method line 212 + .method public hidebysig + instance default bool Exists (string name) cil managed { - // Method begins at RVA 0x71b4 - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. + + // Method begins at RVA 0x621c + // Code size 20 (0x14) + .maxstack 2 .locals init ( - class NAnt.Core.Configuration.DirList V_0) + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::_probingPaths - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0006: ldarg.1 + IL_0007: callvirt instance bool class NAnt.Core.TaskBuilderCollection::Contains(string) + IL_000c: stloc.0 + IL_000d: br IL_0012 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Runtime::get_ProbingPaths + IL_0012: ldloc.0 + IL_0013: ret + } // end of method TaskFunctions::Exists - // method line 271 - .method public hidebysig specialname - instance default class NAnt.Core.Configuration.ManagedExecutionModes get_Modes () cil managed + // method line 213 + .method public hidebysig + instance default class [mscorlib]System.Reflection.Assembly GetAssembly (string name) cil managed { - // Method begins at RVA 0x71d0 - // Code size 15 (0xf) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 67 65 74 2D 61 73 73 65 6D 62 6C 79 00 // ...get-assembly. + 00 ) // . + + // Method begins at RVA 0x623c + // Code size 61 (0x3d) + .maxstack 3 .locals init ( - class NAnt.Core.Configuration.ManagedExecutionModes V_0) + class NAnt.Core.TaskBuilder V_0, + class [mscorlib]System.Reflection.Assembly V_1) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::_modes - IL_0007: stloc.0 - IL_0008: br IL_000d - + IL_0001: call class NAnt.Core.TaskBuilderCollection class NAnt.Core.TypeFactory::get_TaskBuilders() + IL_0006: ldarg.1 + IL_0007: callvirt instance class NAnt.Core.TaskBuilder class NAnt.Core.TaskBuilderCollection::get_Item(string) + IL_000c: stloc.0 IL_000d: ldloc.0 - IL_000e: ret - } // end of method Runtime::get_Modes + IL_000e: brtrue IL_002f - .property instance class NAnt.Core.Configuration.DirList ProbingPaths () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0D 70 72 6F 62 69 6E 67 2D 70 61 74 68 73 // ...probing-paths - 00 00 ) // .. + IL_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 - .get instance default class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::get_ProbingPaths () - } - .property instance class NAnt.Core.Configuration.ManagedExecutionModes Modes () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 6D 6F 64 65 73 00 00 ) // ...modes.. + IL_003b: ldloc.1 + IL_003c: ret + } // end of method TaskFunctions::GetAssembly - .get instance default class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::get_Modes () - } - } // end of class NAnt.Core.Configuration.Runtime + } // end of class NAnt.Core.Functions.TaskFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit XsltExtensionObject - extends NAnt.Core.Element + .class public auto ansi beforefieldinit PropertyFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = ( - 01 00 13 78 73 6C 74 65 78 74 65 6E 73 69 6F 6E // ...xsltextension - 6F 62 6A 65 63 74 00 00 ) // 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 string _namespaceUri - .field private string _typeName - .field private class [mscorlib]System.IO.FileInfo _assemblyPath - .field private bool _ifDefined - .field private bool _unlessDefined - // method line 272 + // method line 214 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x71eb - // Code size 26 (0x1a) + // Method begins at RVA 0x6285 + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldsfld string [mscorlib]System.String::Empty - IL_0006: stfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri - IL_000b: ldarg.0 - IL_000c: ldc.i4.1 - IL_000d: stfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined - IL_0012: ldarg.0 - IL_0013: call instance void class NAnt.Core.Element::'.ctor'() - IL_0018: nop - IL_0019: ret - } // end of method XsltExtensionObject::.ctor - - // method line 273 - .method public hidebysig specialname - instance default string get_NamespaceUri () cil managed - { - // Method begins at RVA 0x7208 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_NamespaceUri - - // method line 274 - .method public hidebysig specialname - instance default void set_NamespaceUri (string 'value') cil managed - { - // Method begins at RVA 0x7223 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.XsltExtensionObject::_namespaceUri - IL_0008: ret - } // end of method XsltExtensionObject::set_NamespaceUri - - // method line 275 - .method public hidebysig specialname - instance default string get_TypeName () cil managed - { - // Method begins at RVA 0x7230 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.XsltExtensionObject::_typeName - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_TypeName - - // method line 276 - .method public hidebysig specialname - instance default void set_TypeName (string 'value') cil managed - { - // Method begins at RVA 0x724b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.XsltExtensionObject::_typeName - IL_0008: ret - } // end of method XsltExtensionObject::set_TypeName - - // method line 277 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_AssemblyPath () cil managed - { - // Method begins at RVA 0x7258 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - class [mscorlib]System.IO.FileInfo V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.XsltExtensionObject::_assemblyPath - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_AssemblyPath + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method PropertyFunctions::.ctor - // method line 278 - .method public hidebysig specialname - instance default void set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 215 + .method public hidebysig + instance default bool Exists (string name) cil managed { - // Method begins at RVA 0x7273 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.XsltExtensionObject::_assemblyPath - IL_0008: ret - } // end of method XsltExtensionObject::set_AssemblyPath + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 06 65 78 69 73 74 73 00 00 ) // ...exists.. - // method line 279 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x7280 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6290 + // Code size 26 (0x1a) + .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_000c: ldarg.1 + IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_IfDefined + IL_0018: ldloc.0 + IL_0019: ret + } // end of method PropertyFunctions::Exists - // method line 280 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 216 + .method public hidebysig + instance default bool IsReadOnly (string name) cil managed { - // Method begins at RVA 0x729b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.XsltExtensionObject::_ifDefined - IL_0008: ret - } // end of method XsltExtensionObject::set_IfDefined + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 69 73 2D 72 65 61 64 6F 6E 6C 79 00 00 ) // ...is-readonly.. - // method line 281 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x72a8 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x62b8 + // Code size 76 (0x4c) + .maxstack 3 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.XsltExtensionObject::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_000c: ldarg.1 + IL_000d: callvirt instance bool class NAnt.Core.PropertyDictionary::Contains(string) + IL_0012: brtrue IL_0033 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method XsltExtensionObject::get_UnlessDefined + IL_0017: nop + IL_0018: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001d: ldstr "NA1053" + IL_0022: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_0027: ldarg.1 + IL_0028: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0032: throw + IL_0033: ldarg.0 + IL_0034: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0039: callvirt instance class NAnt.Core.PropertyDictionary class NAnt.Core.Project::get_Properties() + IL_003e: ldarg.1 + IL_003f: callvirt instance bool class NAnt.Core.PropertyDictionary::IsReadOnlyProperty(string) + IL_0044: stloc.0 + IL_0045: br IL_004a - // method line 282 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed - { - // Method begins at RVA 0x72c3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.XsltExtensionObject::_unlessDefined - IL_0008: ret - } // end of method XsltExtensionObject::set_UnlessDefined + IL_004a: ldloc.0 + IL_004b: ret + } // end of method PropertyFunctions::IsReadOnly - // method line 283 + // method line 217 .method public hidebysig - instance default object CreateInstance () cil managed + instance default bool IsDynamic (string name) cil managed { - // Method begins at RVA 0x72d0 - // Code size 217 (0xd9) - .maxstack 4 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 69 73 2D 64 79 6E 61 6D 69 63 00 00 ) // ...is-dynamic.. + + // Method begins at RVA 0x6310 + // Code size 76 (0x4c) + .maxstack 3 .locals init ( - object V_0, - class [mscorlib]System.Reflection.Assembly V_1, - class [mscorlib]System.Exception V_2, - object V_3) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() - IL_0007: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() - IL_000c: brtrue IL_003d - - IL_0011: nop - IL_0012: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_0017: ldstr "NA1166" - IL_001c: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0021: ldarg.0 - IL_0022: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() - IL_0027: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_002c: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) - IL_0031: ldarg.0 - IL_0032: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0037: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_003c: throw - IL_003d: ldnull - IL_003e: stloc.0 - .try { // 0 - IL_003f: nop - IL_0040: ldarg.0 - IL_0041: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() - IL_0046: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_004b: call class [mscorlib]System.Reflection.Assembly class [mscorlib]System.Reflection.Assembly::LoadFrom(string) - IL_0050: stloc.1 - IL_0051: ldloc.1 - IL_0052: ldarg.0 - IL_0053: call instance string class NAnt.Core.Types.XsltExtensionObject::get_TypeName() - IL_0058: callvirt instance object class [mscorlib]System.Reflection.Assembly::CreateInstance(string) - IL_005d: stloc.0 - IL_005e: ldloc.0 - IL_005f: brtrue IL_0096 - - IL_0064: nop - IL_0065: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_006a: ldstr "NA1168" - IL_006f: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_0074: ldarg.0 - IL_0075: call instance string class NAnt.Core.Types.XsltExtensionObject::get_TypeName() - IL_007a: ldarg.0 - IL_007b: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() - IL_0080: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0085: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_008a: ldarg.0 - IL_008b: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0090: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_0095: throw - IL_0096: nop - IL_0097: leave IL_00d0 - - } // end .try 0 - catch class [mscorlib]System.Exception { // 0 - IL_009c: stloc.2 - IL_009d: nop - IL_009e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() - IL_00a3: ldstr "NA1167" - IL_00a8: call string class NAnt.Core.Util.ResourceUtils::GetString(string) - IL_00ad: ldarg.0 - IL_00ae: call instance string class NAnt.Core.Types.XsltExtensionObject::get_TypeName() - IL_00b3: ldarg.0 - IL_00b4: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath() - IL_00b9: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_00be: call string string::Format(class [mscorlib]System.IFormatProvider, string, object, object) - IL_00c3: ldarg.0 - IL_00c4: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00c9: ldloc.2 - IL_00ca: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location, class [mscorlib]System.Exception) - IL_00cf: throw - } // end handler 0 - IL_00d0: ldloc.0 - IL_00d1: stloc.3 - IL_00d2: br IL_00d7 - - IL_00d7: ldloc.3 - IL_00d8: ret - } // end of method XsltExtensionObject::CreateInstance - - .property instance string NamespaceUri () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0C 6E 61 6D 65 73 70 61 63 65 75 72 69 00 // ...namespaceuri. - 00 ) // . - - .get instance default string NAnt.Core.Types.XsltExtensionObject::get_NamespaceUri () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_NamespaceUri (string 'value') - } - .property instance string TypeName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 74 79 70 65 6E 61 6D 65 01 00 54 02 08 // ...typename..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default string NAnt.Core.Types.XsltExtensionObject::get_TypeName () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_TypeName (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo AssemblyPath () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 61 73 73 65 6D 62 6C 79 01 00 54 02 08 // ...assembly..T.. - 52 65 71 75 69 72 65 64 01 ) // Required. - - .custom instance void class NAnt.Core.Attributes.StringValidatorAttribute::'.ctor'() = ( - 01 00 01 00 54 02 0A 41 6C 6C 6F 77 45 6D 70 74 // ....T..AllowEmpt - 79 00 ) // y. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.XsltExtensionObject::get_AssemblyPath () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_AssemblyPath (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + 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 - .get instance default bool NAnt.Core.Types.XsltExtensionObject::get_IfDefined () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_004a: ldloc.0 + IL_004b: ret + } // end of method PropertyFunctions::IsDynamic - .get instance default bool NAnt.Core.Types.XsltExtensionObject::get_UnlessDefined () - .set instance default void NAnt.Core.Types.XsltExtensionObject::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.Core.Types.XsltExtensionObject + } // end of class NAnt.Core.Functions.PropertyFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit Credential - extends NAnt.Core.DataTypeBase + .class public auto ansi beforefieldinit PlatformFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 63 72 65 64 65 6E 74 69 61 6C 00 00 ) // ...credential.. + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 70 6C 61 74 66 6F 72 6D 04 4E 41 6E 74 // ...platform.NAnt + 00 00 ) // .. - .field private string _domain - .field private string _password - .field private string _userName - .field private bool _ifDefined - .field private bool _unlessDefined - // method line 284 + // method line 218 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x75da - // Code size 15 (0xf) + // Method begins at RVA 0x6368 + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Credential::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method Credential::.ctor - - // method line 285 - .method public hidebysig specialname - instance default string get_Domain () cil managed - { - // Method begins at RVA 0x75ec - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Credential::_domain - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Credential::get_Domain + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method PlatformFunctions::.ctor - // method line 286 - .method public hidebysig specialname - instance default void set_Domain (string 'value') cil managed + // method line 219 + .method public hidebysig + instance default string GetName () cil managed { - // Method begins at RVA 0x7607 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Types.Credential::_domain - IL_000d: ret - } // end of method Credential::set_Domain + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. - // method line 287 - .method public hidebysig specialname - instance default string get_Password () cil managed - { - // Method begins at RVA 0x7618 - // Code size 15 (0xf) + // Method begins at RVA 0x6374 + // Code size 20 (0x14) .maxstack 1 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Credential::_password - IL_0007: stloc.0 - IL_0008: br IL_000d - - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Credential::get_Password + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: callvirt instance string class NAnt.Core.Project::get_PlatformName() + IL_000c: stloc.0 + IL_000d: br IL_0012 - // method line 288 - .method public hidebysig specialname - instance default void set_Password (string 'value') cil managed - { - // Method begins at RVA 0x7633 - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Types.Credential::_password - IL_000d: ret - } // end of method Credential::set_Password + IL_0012: ldloc.0 + IL_0013: ret + } // end of method PlatformFunctions::GetName - // method line 289 - .method public hidebysig specialname - instance default string get_UserName () cil managed + // method line 220 + .method public static hidebysig + default bool IsWin32 () cil managed { - // Method begins at RVA 0x7644 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - string V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Credential::_userName - IL_0007: stloc.0 - IL_0008: br IL_000d + .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.. - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Credential::get_UserName + .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 line 290 - .method public hidebysig specialname - instance default void set_UserName (string 'value') cil managed - { - // Method begins at RVA 0x765f + // Method begins at RVA 0x6394 // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Types.Credential::_userName - IL_000d: ret - } // end of method Credential::set_UserName - - // method line 291 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x7670 - // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Credential::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call bool class NAnt.Core.PlatformHelper::get_IsWindows() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Credential::get_IfDefined + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PlatformFunctions::IsWin32 - // method line 292 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 221 + .method public static hidebysig + default bool IsWindows () cil managed { - // Method begins at RVA 0x768b - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Credential::_ifDefined - IL_0008: ret - } // end of method Credential::set_IfDefined + .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 line 293 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x7698 - // Code size 15 (0xf) + // Method begins at RVA 0x63b0 + // Code size 14 (0xe) .maxstack 1 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Credential::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call bool class NAnt.Core.PlatformHelper::get_IsWindows() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Credential::get_UnlessDefined + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PlatformFunctions::IsWindows - // method line 294 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 222 + .method public static hidebysig + default bool IsUnix () cil managed { - // Method begins at RVA 0x76b3 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Credential::_unlessDefined - IL_0008: ret - } // end of method Credential::set_UnlessDefined + .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 line 295 - .method public hidebysig - instance default class [System]System.Net.ICredentials GetCredential () cil managed - { - // Method begins at RVA 0x76c0 - // Code size 60 (0x3c) - .maxstack 3 + // Method begins at RVA 0x63cc + // Code size 14 (0xe) + .maxstack 1 .locals init ( - class [System]System.Net.ICredentials V_0, - class [System]System.Net.ICredentials V_1) + bool V_0) IL_0000: nop - IL_0001: ldnull - IL_0002: stloc.0 - IL_0003: ldarg.0 - IL_0004: call instance bool class NAnt.Core.Types.Credential::get_IfDefined() - IL_0009: brfalse IL_0033 - - IL_000e: ldarg.0 - IL_000f: call instance bool class NAnt.Core.Types.Credential::get_UnlessDefined() - IL_0014: brtrue IL_0033 - - IL_0019: nop - IL_001a: ldarg.0 - IL_001b: call instance string class NAnt.Core.Types.Credential::get_UserName() - IL_0020: ldarg.0 - IL_0021: call instance string class NAnt.Core.Types.Credential::get_Password() - IL_0026: ldarg.0 - IL_0027: call instance string class NAnt.Core.Types.Credential::get_Domain() - IL_002c: newobj instance void class [System]System.Net.NetworkCredential::'.ctor'(string, string, string) - IL_0031: stloc.0 - IL_0032: nop - IL_0033: ldloc.0 - IL_0034: stloc.1 - IL_0035: br IL_003a - - IL_003a: ldloc.1 - IL_003b: ret - } // end of method Credential::GetCredential - - .property instance string Domain () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 64 6F 6D 61 69 6E 01 00 54 02 08 52 65 // ...domain..T..Re - 71 75 69 72 65 64 00 ) // quired. - - .get instance default string NAnt.Core.Types.Credential::get_Domain () - .set instance default void NAnt.Core.Types.Credential::set_Domain (string 'value') - } - .property instance string Password () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 70 61 73 73 77 6F 72 64 01 00 54 02 08 // ...password..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. - - .get instance default string NAnt.Core.Types.Credential::get_Password () - .set instance default void NAnt.Core.Types.Credential::set_Password (string 'value') - } - .property instance string UserName () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 08 75 73 65 72 6E 61 6D 65 01 00 54 02 08 // ...username..T.. - 52 65 71 75 69 72 65 64 00 ) // Required. - - .get instance default string NAnt.Core.Types.Credential::get_UserName () - .set instance default void NAnt.Core.Types.Credential::set_UserName (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.Credential::get_IfDefined () - .set instance default void NAnt.Core.Types.Credential::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + IL_0001: ldsfld bool NAnt.Core.PlatformHelper::IsUnix + IL_0006: stloc.0 + IL_0007: br IL_000c - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PlatformFunctions::IsUnix - .get instance default bool NAnt.Core.Types.Credential::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Credential::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.Core.Types.Credential + } // end of class NAnt.Core.Functions.PlatformFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi serializable beforefieldinit ArgumentCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit DirectoryFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 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.. - // method line 296 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x7708 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method ArgumentCollection::.ctor - // method line 297 + // method line 223 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.ArgumentCollection 'value') cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x7711 - // Code size 15 (0xf) + // Method begins at RVA 0x63e6 + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.ArgumentCollection) - IL_000e: ret - } // end of method ArgumentCollection::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method DirectoryFunctions::.ctor - // method line 298 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.Argument[] 'value') cil managed + // method line 224 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetCreationTime (string path) cil managed { - // Method begins at RVA 0x7721 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.Argument[]) - IL_000e: ret - } // end of method ArgumentCollection::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 63 72 65 61 74 69 6F 6E 2D // ...get-creation- + 74 69 6D 65 00 00 ) // time.. - // method line 299 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Argument get_Item (int32 index) cil managed - { - // Method begins at RVA 0x7734 - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x63f4 + // Code size 62 (0x3e) + .maxstack 3 .locals init ( - class NAnt.Core.Types.Argument V_0) + string V_0, + valuetype [mscorlib]System.DateTime V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.Argument - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_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_0018: ldloc.0 - IL_0019: ret - } // end of method ArgumentCollection::get_Item + IL_0019: nop + IL_001a: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_001f: ldstr "Could not find a part of the path \"{0}\"." + IL_0024: ldloc.0 + IL_0025: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_002a: newobj instance void class [mscorlib]System.IO.IOException::'.ctor'(string) + IL_002f: throw + IL_0030: ldloc.0 + IL_0031: call valuetype [mscorlib]System.DateTime class [mscorlib]System.IO.Directory::GetCreationTime(string) + IL_0036: stloc.1 + IL_0037: br IL_003c - // method line 300 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.Argument 'value') cil managed - { - // Method begins at RVA 0x775a - // 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 ArgumentCollection::set_Item + IL_003c: ldloc.1 + IL_003d: ret + } // end of method DirectoryFunctions::GetCreationTime - // method line 301 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Argument get_Item (string 'value') cil managed + // method line 225 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetLastWriteTime (string path) cil managed { - // Method begins at RVA 0x776c - // Code size 111 (0x6f) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 13 67 65 74 2D 6C 61 73 74 2D 77 72 69 74 // ...get-last-writ + 65 2D 74 69 6D 65 00 00 ) // e-time.. + + // Method begins at RVA 0x6440 + // Code size 62 (0x3e) + .maxstack 3 .locals init ( - class NAnt.Core.Types.Argument V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Types.Argument V_2, - class [mscorlib]System.IDisposable V_3) + string V_0, + valuetype [mscorlib]System.DateTime V_1) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 - - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 - - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.Types.Argument - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance string class NAnt.Core.Types.Argument::get_StringValue() - IL_002d: ldarg.1 - IL_002e: call bool string::op_Equality(string, string) - IL_0033: brfalse IL_0040 + IL_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_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d + 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_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a + IL_003c: ldloc.1 + IL_003d: ret + } // end of method DirectoryFunctions::GetLastWriteTime - IL_004c: leave IL_0065 + // method line 226 + .method public hidebysig + instance default valuetype [mscorlib]System.DateTime GetLastAccessTime (string path) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 14 67 65 74 2D 6C 61 73 74 2D 61 63 63 65 // ...get-last-acce + 73 73 2D 74 69 6D 65 00 00 ) // ss-time.. - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 + // Method begins at RVA 0x648c + // 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_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d + IL_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_006d: ldloc.2 - IL_006e: ret - } // end of method ArgumentCollection::get_Item + IL_003c: ldloc.1 + IL_003d: ret + } // end of method DirectoryFunctions::GetLastAccessTime - // method line 302 - .method public virtual hidebysig - instance default string ToString () cil managed + // method line 227 + .method public static hidebysig + default string GetCurrentDirectory () cil managed { - // Method begins at RVA 0x77f8 - // Code size 28 (0x1c) - .maxstack 2 + .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 0x64d8 + // Code size 14 (0xe) + .maxstack 1 .locals init ( - class [mscorlib]System.Text.StringBuilder V_0, - string V_1) + string V_0) IL_0000: nop - IL_0001: newobj instance void class [mscorlib]System.Text.StringBuilder::'.ctor'() + IL_0001: call string class [mscorlib]System.IO.Directory::GetCurrentDirectory() IL_0006: stloc.0 - IL_0007: ldarg.0 - IL_0008: ldloc.0 - IL_0009: call instance void class NAnt.Core.Types.ArgumentCollection::ToString(class [mscorlib]System.Text.StringBuilder) - IL_000e: ldloc.0 - IL_000f: callvirt instance string object::ToString() - IL_0014: stloc.1 - IL_0015: br IL_001a + IL_0007: br IL_000c - IL_001a: ldloc.1 - IL_001b: ret - } // end of method ArgumentCollection::ToString + IL_000c: ldloc.0 + IL_000d: ret + } // end of method DirectoryFunctions::GetCurrentDirectory - // method line 303 + // method line 228 .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.Argument item) cil managed + instance default string GetParentDirectory (string path) cil managed { - // Method begins at RVA 0x7820 - // Code size 21 (0x15) + .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 0x64f4 + // Code size 56 (0x38) .maxstack 2 .locals init ( - int32 V_0) + class [mscorlib]System.IO.DirectoryInfo V_0, + class [mscorlib]System.IO.DirectoryInfo V_1, + string V_2) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - + 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: ret - } // end of method ArgumentCollection::Add + 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 - // method line 304 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.Argument[] items) cil managed - { - // Method begins at RVA 0x7844 - // 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_0020: ldloc.1 + IL_0021: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_0026: br IL_0030 - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.ArgumentCollection::Add(class NAnt.Core.Types.Argument) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_002b: ldsfld string [mscorlib]System.String::Empty + IL_0030: stloc.2 + IL_0031: br IL_0036 - IL_0021: ret - } // end of method ArgumentCollection::AddRange + IL_0036: ldloc.2 + IL_0037: ret + } // end of method DirectoryFunctions::GetParentDirectory - // method line 305 + // method line 229 .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.ArgumentCollection items) cil managed + instance default string GetDirectoryRoot (string path) cil managed { - // Method begins at RVA 0x7874 - // Code size 41 (0x29) - .maxstack 3 - .locals init ( - int32 V_0) - IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.Argument class NAnt.Core.Types.ArgumentCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.ArgumentCollection::Add(class NAnt.Core.Types.Argument) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 - - IL_0028: ret - } // end of method ArgumentCollection::AddRange + .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 line 306 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.Argument item) cil managed - { - // Method begins at RVA 0x78ac - // Code size 21 (0x15) + // Method begins at RVA 0x6538 + // Code size 33 (0x21) .maxstack 2 .locals init ( - bool V_0) + string V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 - + 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: ret - } // end of method ArgumentCollection::Contains + IL_0014: call string class NAnt.Core.Util.StringUtils::ConvertNullToEmpty(string) + IL_0019: stloc.1 + IL_001a: br IL_001f - // method line 307 + IL_001f: ldloc.1 + IL_0020: ret + } // end of method DirectoryFunctions::GetDirectoryRoot + + // method line 230 .method public hidebysig - instance default bool Contains (string 'value') cil managed + instance default bool Exists (string path) cil managed { - // Method begins at RVA 0x78d0 - // Code size 22 (0x16) + .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 0x6568 + // Code size 26 (0x1a) .maxstack 2 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Types.Argument class NAnt.Core.Types.ArgumentCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_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_0014: ldloc.0 - IL_0015: ret - } // end of method ArgumentCollection::Contains + IL_0018: ldloc.0 + IL_0019: ret + } // end of method DirectoryFunctions::Exists - // method line 308 + // method line 231 .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.Argument[] 'array', int32 index) cil managed + instance default string GetName (string path) cil managed { - // Method begins at RVA 0x78f2 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method ArgumentCollection::CopyTo + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 6E 61 6D 65 00 00 ) // ...get-name.. - // method line 309 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.Argument item) cil managed - { - // Method begins at RVA 0x7904 - // Code size 21 (0x15) - .maxstack 2 + // Method begins at RVA 0x6590 + // Code size 20 (0x14) + .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_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_0013: ldloc.0 - IL_0014: ret - } // end of method ArgumentCollection::IndexOf + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DirectoryFunctions::GetName - // method line 310 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.Argument item) cil managed + } // end of class NAnt.Core.Functions.DirectoryFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit TimeSpanFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 74 69 6D 65 73 70 61 6E 09 44 61 74 65 // ...timespan.Date + 2F 54 69 6D 65 00 00 ) // /Time.. + + + // method line 232 + .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 0x7925 - // Code size 15 (0xf) + // Method begins at RVA 0x65b0 + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method ArgumentCollection::Insert + IL_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 311 - .method public hidebysig - instance default class NAnt.Core.Types.ArgumentEnumerator GetEnumerator () cil managed + // method line 233 + .method public static hidebysig + default float64 GetTotalDays (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x7938 - // Code size 15 (0xf) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0E 67 65 74 2D 74 6F 74 61 6C 2D 64 61 79 // ...get-total-day + 73 00 00 ) // s.. + + // Method begins at RVA 0x65bc + // Code size 16 (0x10) .maxstack 1 .locals init ( - class NAnt.Core.Types.ArgumentEnumerator V_0) + float64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.ArgumentEnumerator::'.ctor'(class NAnt.Core.Types.ArgumentCollection) - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: ldarga.s 0 + IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalDays() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method ArgumentCollection::GetEnumerator + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalDays - // method line 312 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.Argument item) cil managed + // method line 234 + .method public static hidebysig + default float64 GetTotalHours (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x7953 - // 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 ArgumentCollection::Remove + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 74 6F 74 61 6C 2D 68 6F 75 // ...get-total-hou + 72 73 00 00 ) // rs.. - // method line 313 - .method assembly hidebysig - instance default void ToString (class [mscorlib]System.Text.StringBuilder sb) cil managed - { - // Method begins at RVA 0x7964 - // Code size 120 (0x78) - .maxstack 2 + // Method begins at RVA 0x65d8 + // Code size 16 (0x10) + .maxstack 1 .locals init ( - class NAnt.Core.Types.Argument V_0, - class NAnt.Core.Types.ArgumentEnumerator V_1, - class [mscorlib]System.IDisposable V_2) + float64 V_0) IL_0000: nop - IL_0001: nop - IL_0002: ldarg.0 - IL_0003: call instance class NAnt.Core.Types.ArgumentEnumerator class NAnt.Core.Types.ArgumentCollection::GetEnumerator() - IL_0008: stloc.1 - .try { // 0 - IL_0009: br IL_0053 - - IL_000e: ldloc.1 - IL_000f: callvirt instance class NAnt.Core.Types.Argument class NAnt.Core.Types.ArgumentEnumerator::get_Current() - IL_0014: stloc.0 - IL_0015: nop - IL_0016: ldloc.0 - IL_0017: callvirt instance bool class NAnt.Core.Types.Argument::get_IfDefined() - IL_001c: brfalse IL_0052 - - IL_0021: ldloc.0 - IL_0022: callvirt instance bool class NAnt.Core.Types.Argument::get_UnlessDefined() - IL_0027: brtrue IL_0052 + IL_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_002c: nop - IL_002d: ldarg.1 - IL_002e: callvirt instance int32 class [mscorlib]System.Text.StringBuilder::get_Length() - IL_0033: ldc.i4.0 - IL_0034: ble IL_0044 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalHours - IL_0039: nop - IL_003a: ldarg.1 - IL_003b: ldc.i4.s 0x20 - IL_003d: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(char) - IL_0042: pop - IL_0043: nop - IL_0044: ldarg.1 - IL_0045: ldloc.0 - IL_0046: callvirt instance string object::ToString() - IL_004b: callvirt instance class [mscorlib]System.Text.StringBuilder class [mscorlib]System.Text.StringBuilder::Append(string) - IL_0050: pop - IL_0051: nop - IL_0052: nop - IL_0053: ldloc.1 - IL_0054: callvirt instance bool class NAnt.Core.Types.ArgumentEnumerator::MoveNext() - IL_0059: brtrue IL_000e + // method line 235 + .method public static hidebysig + default float64 GetTotalMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 74 6F 74 61 6C 2D 6D 69 6E // ...get-total-min + 75 74 65 73 00 00 ) // utes.. - IL_005e: leave IL_0077 + // Method begins at RVA 0x65f4 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + float64 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalMinutes() + IL_0008: stloc.0 + IL_0009: br IL_000e - } // end .try 0 - finally { // 0 - IL_0063: ldloc.1 - IL_0064: isinst [mscorlib]System.IDisposable - IL_0069: dup - IL_006a: stloc.2 - IL_006b: brfalse IL_0076 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalMinutes - IL_0070: ldloc.2 - IL_0071: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0076: endfinally - } // end handler 0 - IL_0077: ret - } // end of method ArgumentCollection::ToString + // method line 236 + .method public static hidebysig + default float64 GetTotalSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 74 6F 74 61 6C 2D 73 65 63 // ...get-total-sec + 6F 6E 64 73 00 00 ) // onds.. - .property instance class NAnt.Core.Types.Argument Item (int32) - { - .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.ArgumentCollection::set_Item (int32 index, class NAnt.Core.Types.Argument 'value') - } - .property instance class NAnt.Core.Types.Argument Item (string) - { - .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentCollection::get_Item (string 'value') - } - } // end of class NAnt.Core.Types.ArgumentCollection -} + // Method begins at RVA 0x6610 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + float64 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance float64 valuetype [mscorlib]System.TimeSpan::get_TotalSeconds() + IL_0008: stloc.0 + IL_0009: br IL_000e -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit ArgumentEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalSeconds - // method line 314 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.ArgumentCollection arguments) cil managed + // method line 237 + .method public static hidebysig + default float64 GetTotalMilliseconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x79f8 - // Code size 22 (0x16) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 16 67 65 74 2D 74 6F 74 61 6C 2D 6D 69 6C // ...get-total-mil + 6C 69 73 65 63 6F 6E 64 73 00 00 ) // liseconds.. + + // Method begins at RVA 0x662c + // Code size 16 (0x10) + .maxstack 1 .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 + 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: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0015: ret - } // end of method ArgumentEnumerator::.ctor + IL_0009: br IL_000e - // method line 315 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Argument get_Current () cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTotalMilliseconds + + // method line 238 + .method public static hidebysig + default int32 GetDays (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x7a1c - // Code size 25 (0x19) + .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 0x6648 + // Code size 16 (0x10) .maxstack 1 .locals init ( - class NAnt.Core.Types.Argument V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.Argument - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_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_0017: ldloc.0 - IL_0018: ret - } // end of method ArgumentEnumerator::get_Current + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetDays - // method line 316 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 239 + .method public static hidebysig + default int32 GetHours (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x7a44 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 20 (0x14) + .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 0x6664 + // Code size 16 (0x10) .maxstack 1 .locals init ( - object V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_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_0012: ldloc.0 - IL_0013: ret - } // end of method ArgumentEnumerator::System.Collections.IEnumerator.get_Current + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetHours - // method line 317 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 240 + .method public static hidebysig + default int32 GetMinutes (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x7a64 - // Code size 20 (0x14) + .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 0x6680 + // Code size 16 (0x10) .maxstack 1 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Minutes() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ArgumentEnumerator::MoveNext + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetMinutes - // method line 318 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed + // method line 241 + .method public static hidebysig + default int32 GetSeconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x7a84 - .override class [mscorlib]System.Collections.IEnumerator::MoveNext - // Code size 20 (0x14) + .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 0x669c + // Code size 16 (0x10) .maxstack 1 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.TimeSpan::get_Seconds() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0012: ldloc.0 - IL_0013: ret - } // end of method ArgumentEnumerator::System.Collections.IEnumerator.MoveNext + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetSeconds - // method line 319 - .method public hidebysig - instance default void Reset () cil managed + // method line 242 + .method public static hidebysig + default int32 GetMilliseconds (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x7aa4 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ArgumentEnumerator::Reset + .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.. - // method line 320 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x7ab2 - .override class [mscorlib]System.Collections.IEnumerator::Reset - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x66b8 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.ArgumentEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method ArgumentEnumerator::System.Collections.IEnumerator.Reset + 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 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.Types.ArgumentEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Core.Types.Argument Current () - { - .get instance default class NAnt.Core.Types.Argument NAnt.Core.Types.ArgumentEnumerator::get_Current () - } - } // end of class NAnt.Core.Types.ArgumentEnumerator -} + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetMilliseconds -.namespace NAnt.Core.Types -{ - .class public auto ansi beforefieldinit PatternSet - extends NAnt.Core.DataTypeBase - { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 0A 70 61 74 74 65 72 6E 73 65 74 00 00 ) // ...patternset.. + // method line 243 + .method public static hidebysig + default int64 GetTicks (valuetype [mscorlib]System.TimeSpan 'value') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 74 69 63 6B 73 00 00 ) // ...get-ticks.. - .field private initonly class NAnt.Core.Types.PatternCollection _include - .field private initonly class NAnt.Core.Types.PatternCollection _exclude - .field private initonly class NAnt.Core.Types.PatternCollection _includesFile - .field private initonly class NAnt.Core.Types.PatternCollection _excludesFile + // Method begins at RVA 0x66d4 + // 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 - // method line 321 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x7ac0 - // Code size 52 (0x34) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() - IL_000d: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_include - IL_0012: ldarg.0 - IL_0013: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() - IL_0018: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude - IL_001d: ldarg.0 - IL_001e: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() - IL_0023: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_includesFile - IL_0028: ldarg.0 - IL_0029: newobj instance void class NAnt.Core.Types.PatternCollection::'.ctor'() - IL_002e: stfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_excludesFile - IL_0033: ret - } // end of method PatternSet::.ctor + IL_000e: ldloc.0 + IL_000f: ret + } // end of method TimeSpanFunctions::GetTicks - // method line 322 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_Include () cil managed + // method line 244 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromDays (float64 'value') cil managed { - // Method begins at RVA 0x7af8 + .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 0x66f0 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_include + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromDays(float64) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternSet::get_Include + } // end of method TimeSpanFunctions::FromDays - // method line 323 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_IncludesFile () cil managed + // method line 245 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromHours (float64 'value') cil managed { - // Method begins at RVA 0x7b14 + .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 0x670c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_includesFile + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromHours(float64) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternSet::get_IncludesFile + } // end of method TimeSpanFunctions::FromHours - // method line 324 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_Exclude () cil managed + // method line 246 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromMinutes (float64 'value') cil managed { - // Method begins at RVA 0x7b30 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 66 72 6F 6D 2D 6D 69 6E 75 74 65 73 00 // ...from-minutes. + 00 ) // . + + // Method begins at RVA 0x6728 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMinutes(float64) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternSet::get_Exclude + } // end of method TimeSpanFunctions::FromMinutes - // method line 325 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PatternCollection get_ExcludesFile () cil managed + // method line 247 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromSeconds (float64 'value') cil managed { - // Method begins at RVA 0x7b4c + .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 0x6744 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternCollection V_0) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_excludesFile + IL_0002: call 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 PatternSet::get_ExcludesFile + } // end of method TimeSpanFunctions::FromSeconds - // method line 326 - .method public hidebysig - instance default void Append (class NAnt.Core.Types.PatternSet patternSet) cil managed + // method line 248 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromMilliseconds (float64 'value') cil managed { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 0A 70 61 74 74 65 72 6E 73 65 74 00 00 ) // ...patternset.. + .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 0x7b68 - // Code size 134 (0x86) - .maxstack 3 + // Method begins at RVA 0x6760 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - string[] V_0, - string V_1, - string[] V_2, - int32 V_3, - string[] V_4, - string V_5, - string[] V_6, - int32 V_7) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: callvirt instance string[] class NAnt.Core.Types.PatternSet::GetIncludePatterns() + IL_0001: ldarg.0 + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromMilliseconds(float64) IL_0007: stloc.0 - IL_0008: nop - IL_0009: ldloc.0 - IL_000a: stloc.2 - IL_000b: ldc.i4.0 - IL_000c: stloc.3 - IL_000d: br IL_0034 - - IL_0012: ldloc.2 - IL_0013: ldloc.3 - IL_0014: ldelem.ref - IL_0015: stloc.1 - IL_0016: nop - IL_0017: ldarg.0 - IL_0018: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_include - IL_001d: ldarg.0 - IL_001e: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0023: ldloc.1 - IL_0024: newobj instance void class NAnt.Core.Types.Pattern::'.ctor'(class NAnt.Core.Project, string) - IL_0029: callvirt instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) - IL_002e: pop - IL_002f: nop - IL_0030: ldloc.3 - IL_0031: ldc.i4.1 - IL_0032: add - IL_0033: stloc.3 - IL_0034: ldloc.3 - IL_0035: ldloc.2 - IL_0036: ldlen - IL_0037: conv.i4 - IL_0038: blt IL_0012 - - IL_003d: ldarg.1 - IL_003e: callvirt instance string[] class NAnt.Core.Types.PatternSet::GetExcludePatterns() - IL_0043: stloc.s 4 - IL_0045: nop - IL_0046: ldloc.s 4 - IL_0048: stloc.s 6 - IL_004a: ldc.i4.0 - IL_004b: stloc.s 7 - IL_004d: br IL_007a - - IL_0052: ldloc.s 6 - IL_0054: ldloc.s 7 - IL_0056: ldelem.ref - IL_0057: stloc.s 5 - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: ldfld class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::_exclude - IL_0060: ldarg.0 - IL_0061: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0066: ldloc.s 5 - IL_0068: newobj instance void class NAnt.Core.Types.Pattern::'.ctor'(class NAnt.Core.Project, string) - IL_006d: callvirt instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) - IL_0072: pop - IL_0073: nop - IL_0074: ldloc.s 7 - IL_0076: ldc.i4.1 - IL_0077: add - IL_0078: stloc.s 7 - IL_007a: ldloc.s 7 - IL_007c: ldloc.s 6 - IL_007e: ldlen - IL_007f: conv.i4 - IL_0080: blt IL_0052 + IL_0008: br IL_000d - IL_0085: ret - } // end of method PatternSet::Append + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TimeSpanFunctions::FromMilliseconds - // method line 327 - .method public hidebysig - instance default string[] GetIncludePatterns () cil managed + // method line 249 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan FromTicks (int64 'value') cil managed { - // Method begins at RVA 0x7bfc - // Code size 301 (0x12d) - .maxstack 3 + .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 0x677c + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0, - class NAnt.Core.Types.Pattern V_1, - class NAnt.Core.Types.PatternEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.Core.Types.Pattern V_4, - class NAnt.Core.Types.PatternEnumerator V_5, - string V_6, - class [mscorlib]System.IDisposable V_7, - string[] V_8) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Include() - IL_0007: callvirt instance int32 class NAnt.Core.Types.PatternCollection::get_Count() - IL_000c: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_0011: stloc.0 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Include() - IL_0019: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() - IL_001e: stloc.2 - .try { // 0 - IL_001f: br IL_004b - - IL_0024: ldloc.2 - IL_0025: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() - IL_002a: stloc.1 - IL_002b: nop - IL_002c: ldloc.1 - IL_002d: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() - IL_0032: brtrue IL_003d - - IL_0037: nop - IL_0038: leave IL_004b - - IL_003d: ldloc.0 - IL_003e: ldloc.1 - IL_003f: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() - IL_0044: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0049: pop - IL_004a: nop - IL_004b: ldloc.2 - IL_004c: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() - IL_0051: brtrue IL_0024 - - IL_0056: leave IL_006f - - } // end .try 0 - finally { // 0 - IL_005b: ldloc.2 - IL_005c: isinst [mscorlib]System.IDisposable - IL_0061: dup - IL_0062: stloc.3 - IL_0063: brfalse IL_006e - - IL_0068: ldloc.3 - IL_0069: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_006e: endfinally - } // end handler 0 - IL_006f: nop - IL_0070: ldarg.0 - IL_0071: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_IncludesFile() - IL_0076: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() - IL_007b: stloc.s 5 - .try { // 1 - IL_007d: br IL_00e6 - - IL_0082: ldloc.s 5 - IL_0084: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() - IL_0089: stloc.s 4 - IL_008b: nop - IL_008c: ldloc.s 4 - IL_008e: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() - IL_0093: brtrue IL_009e - - IL_0098: nop - IL_0099: leave IL_00e6 - - IL_009e: ldarg.0 - IL_009f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00a4: ldloc.s 4 - IL_00a6: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() - IL_00ab: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_00b0: stloc.s 6 - IL_00b2: ldloc.s 6 - IL_00b4: call bool class [mscorlib]System.IO.File::Exists(string) - IL_00b9: brtrue IL_00dc + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::FromTicks(int64) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_00be: nop - IL_00bf: ldstr "Includesfile '" - IL_00c4: ldloc.s 6 - IL_00c6: ldstr "' not found." - IL_00cb: call string string::Concat(string, string, string) - IL_00d0: ldarg.0 - IL_00d1: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00d6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00db: throw - IL_00dc: ldarg.0 - IL_00dd: ldloc.s 6 - IL_00df: ldloc.0 - IL_00e0: call instance void class NAnt.Core.Types.PatternSet::ReadPatterns(string, class [mscorlib]System.Collections.ArrayList) - IL_00e5: nop - IL_00e6: ldloc.s 5 - IL_00e8: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() - IL_00ed: brtrue IL_0082 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TimeSpanFunctions::FromTicks - IL_00f2: leave IL_010e + } // end of class NAnt.Core.Functions.TimeSpanFunctions +} - } // end .try 1 - finally { // 1 - IL_00f7: ldloc.s 5 - IL_00f9: isinst [mscorlib]System.IDisposable - IL_00fe: dup - IL_00ff: stloc.s 7 - IL_0101: brfalse IL_010d +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit TimeSpanConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 74 69 6D 65 73 70 61 6E 0A 43 6F 6E 76 // ...timespan.Conv + 65 72 73 69 6F 6E 00 00 ) // ersion.. - IL_0106: ldloc.s 7 - IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_010d: endfinally - } // end handler 1 - IL_010e: ldloc.0 - IL_010f: ldtoken [mscorlib]System.String - IL_0114: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0119: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_011e: castclass string[] - IL_0123: stloc.s 8 - IL_0125: br IL_012a - IL_012a: ldloc.s 8 - IL_012c: ret - } // end of method PatternSet::GetIncludePatterns + // method line 250 + .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 0x6797 + // 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 TimeSpanConversionFunctions::.ctor - // method line 328 - .method public hidebysig - instance default string[] GetExcludePatterns () cil managed + // method line 251 + .method public static hidebysig + default valuetype [mscorlib]System.TimeSpan Parse (string s) cil managed { - // Method begins at RVA 0x7d54 - // Code size 301 (0x12d) - .maxstack 3 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + + // Method begins at RVA 0x67a4 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0, - class NAnt.Core.Types.Pattern V_1, - class NAnt.Core.Types.PatternEnumerator V_2, - class [mscorlib]System.IDisposable V_3, - class NAnt.Core.Types.Pattern V_4, - class NAnt.Core.Types.PatternEnumerator V_5, - string V_6, - class [mscorlib]System.IDisposable V_7, - string[] V_8) + valuetype [mscorlib]System.TimeSpan V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Exclude() - IL_0007: callvirt instance int32 class NAnt.Core.Types.PatternCollection::get_Count() - IL_000c: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'(int32) - IL_0011: stloc.0 - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_Exclude() - IL_0019: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() - IL_001e: stloc.2 - .try { // 0 - IL_001f: br IL_004b - - IL_0024: ldloc.2 - IL_0025: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() - IL_002a: stloc.1 - IL_002b: nop - IL_002c: ldloc.1 - IL_002d: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() - IL_0032: brtrue IL_003d - - IL_0037: nop - IL_0038: leave IL_004b - - IL_003d: ldloc.0 - IL_003e: ldloc.1 - IL_003f: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() - IL_0044: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0049: pop - IL_004a: nop - IL_004b: ldloc.2 - IL_004c: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() - IL_0051: brtrue IL_0024 - - IL_0056: leave IL_006f - - } // end .try 0 - finally { // 0 - IL_005b: ldloc.2 - IL_005c: isinst [mscorlib]System.IDisposable - IL_0061: dup - IL_0062: stloc.3 - IL_0063: brfalse IL_006e - - IL_0068: ldloc.3 - IL_0069: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_006e: endfinally - } // end handler 0 - IL_006f: nop - IL_0070: ldarg.0 - IL_0071: call instance class NAnt.Core.Types.PatternCollection class NAnt.Core.Types.PatternSet::get_ExcludesFile() - IL_0076: callvirt instance class NAnt.Core.Types.PatternEnumerator class NAnt.Core.Types.PatternCollection::GetEnumerator() - IL_007b: stloc.s 5 - .try { // 1 - IL_007d: br IL_00e6 - - IL_0082: ldloc.s 5 - IL_0084: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternEnumerator::get_Current() - IL_0089: stloc.s 4 - IL_008b: nop - IL_008c: ldloc.s 4 - IL_008e: callvirt instance bool class NAnt.Core.Types.Pattern::get_Enabled() - IL_0093: brtrue IL_009e - - IL_0098: nop - IL_0099: leave IL_00e6 - - IL_009e: ldarg.0 - IL_009f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_00a4: ldloc.s 4 - IL_00a6: callvirt instance string class NAnt.Core.Types.Pattern::get_PatternName() - IL_00ab: callvirt instance string class NAnt.Core.Project::GetFullPath(string) - IL_00b0: stloc.s 6 - IL_00b2: ldloc.s 6 - IL_00b4: call bool class [mscorlib]System.IO.File::Exists(string) - IL_00b9: brtrue IL_00dc - - IL_00be: nop - IL_00bf: ldstr "Excludesfile '" - IL_00c4: ldloc.s 6 - IL_00c6: ldstr "' not found." - IL_00cb: call string string::Concat(string, string, string) - IL_00d0: ldarg.0 - IL_00d1: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_00d6: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_00db: throw - IL_00dc: ldarg.0 - IL_00dd: ldloc.s 6 - IL_00df: ldloc.0 - IL_00e0: call instance void class NAnt.Core.Types.PatternSet::ReadPatterns(string, class [mscorlib]System.Collections.ArrayList) - IL_00e5: nop - IL_00e6: ldloc.s 5 - IL_00e8: callvirt instance bool class NAnt.Core.Types.PatternEnumerator::MoveNext() - IL_00ed: brtrue IL_0082 - - IL_00f2: leave IL_010e - - } // end .try 1 - finally { // 1 - IL_00f7: ldloc.s 5 - IL_00f9: isinst [mscorlib]System.IDisposable - IL_00fe: dup - IL_00ff: stloc.s 7 - IL_0101: brfalse IL_010d - - IL_0106: ldloc.s 7 - IL_0108: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_010d: endfinally - } // end handler 1 - IL_010e: ldloc.0 - IL_010f: ldtoken [mscorlib]System.String - IL_0114: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0119: callvirt instance class [mscorlib]System.Array class [mscorlib]System.Collections.ArrayList::ToArray(class [mscorlib]System.Type) - IL_011e: castclass string[] - IL_0123: stloc.s 8 - IL_0125: br IL_012a + IL_0002: call valuetype [mscorlib]System.TimeSpan valuetype [mscorlib]System.TimeSpan::Parse(string) + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_012a: ldloc.s 8 - IL_012c: ret - } // end of method PatternSet::GetExcludePatterns + IL_000d: ldloc.0 + IL_000e: ret + } // end of method TimeSpanConversionFunctions::Parse - // method line 329 - .method private hidebysig - instance default void ReadPatterns (string fileName, class [mscorlib]System.Collections.ArrayList patterns) cil managed + // method line 252 + .method public static hidebysig + default string ToString (valuetype [mscorlib]System.TimeSpan 'value') cil managed { - // Method begins at RVA 0x7eac - // Code size 104 (0x68) - .maxstack 3 + .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 0x67c0 + // Code size 22 (0x16) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.StreamReader V_0, - string V_1) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: call class [mscorlib]System.Text.Encoding class [mscorlib]System.Text.Encoding::get_Default() - IL_0007: ldc.i4.1 - IL_0008: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(string, class [mscorlib]System.Text.Encoding, bool) - IL_000d: stloc.0 - .try { // 0 - IL_000e: nop - IL_000f: ldloc.0 - IL_0010: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_0015: stloc.1 - IL_0016: br IL_004e - - IL_001b: nop - IL_001c: ldloc.1 - IL_001d: callvirt instance string string::Trim() - IL_0022: stloc.1 - IL_0023: ldloc.1 - IL_0024: callvirt instance int32 string::get_Length() - IL_0029: brfalse IL_0046 - - IL_002e: ldloc.1 - IL_002f: ldc.i4.0 - IL_0030: callvirt instance char string::get_Chars(int32) - IL_0035: ldc.i4.s 0x23 - IL_0037: beq IL_0046 - - IL_003c: nop - IL_003d: ldarg.2 - IL_003e: ldloc.1 - IL_003f: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) - IL_0044: pop - IL_0045: nop - IL_0046: ldloc.0 - IL_0047: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() - IL_004c: stloc.1 - IL_004d: nop - IL_004e: ldloc.1 - IL_004f: brtrue IL_001b - - IL_0054: nop - IL_0055: leave IL_0067 - - } // end .try 0 - finally { // 0 - IL_005a: ldloc.0 - IL_005b: brfalse IL_0066 - - IL_0060: ldloc.0 - IL_0061: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0066: endfinally - } // end handler 0 - IL_0067: ret - } // end of method PatternSet::ReadPatterns - - .property instance class NAnt.Core.Types.PatternCollection Include () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 69 6E 63 6C 75 64 65 00 00 ) // ...include.. - - .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_Include () - } - .property instance class NAnt.Core.Types.PatternCollection IncludesFile () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( - 01 00 0C 69 6E 63 6C 75 64 65 73 66 69 6C 65 00 // ...includesfile. - 00 ) // . - - .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_IncludesFile () - } - .property instance class NAnt.Core.Types.PatternCollection Exclude () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 07 65 78 63 6C 75 64 65 00 00 ) // ...exclude.. + 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 - .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_Exclude () - } - .property instance class NAnt.Core.Types.PatternCollection ExcludesFile () - { - .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = ( - 01 00 0C 65 78 63 6C 75 64 65 73 66 69 6C 65 00 // ...excludesfile. - 00 ) // . + IL_0014: ldloc.0 + IL_0015: ret + } // end of method TimeSpanConversionFunctions::ToString - .get instance default class NAnt.Core.Types.PatternCollection NAnt.Core.Types.PatternSet::get_ExcludesFile () - } - } // end of class NAnt.Core.Types.PatternSet + } // end of class NAnt.Core.Functions.TimeSpanConversionFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi serializable beforefieldinit XmlNamespaceCollection - extends [mscorlib]System.Collections.CollectionBase + .class public auto ansi beforefieldinit DateTimeFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. - + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 64 61 74 65 74 69 6D 65 09 44 61 74 65 // ...datetime.Date + 2F 54 69 6D 65 00 00 ) // /Time.. - // method line 330 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x7f30 - // Code size 8 (0x8) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ret - } // end of method XmlNamespaceCollection::.ctor - // method line 331 + // method line 253 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XmlNamespaceCollection 'value') cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x7f39 - // Code size 15 (0xf) + // Method begins at RVA 0x67e2 + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.XmlNamespaceCollection::AddRange(class NAnt.Core.Types.XmlNamespaceCollection) - IL_000e: ret - } // end of method XmlNamespaceCollection::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method DateTimeFunctions::.ctor - // method line 332 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XmlNamespace[] 'value') cil managed + // method line 254 + .method public static hidebysig + default valuetype [mscorlib]System.DateTime Now () cil managed { - // Method begins at RVA 0x7f49 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: call instance void class [mscorlib]System.Collections.CollectionBase::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: ldarg.1 - IL_0009: call instance void class NAnt.Core.Types.XmlNamespaceCollection::AddRange(class NAnt.Core.Types.XmlNamespace[]) - IL_000e: ret - } // end of method XmlNamespaceCollection::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 03 6E 6F 77 00 00 ) // ...now.. - // method line 333 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespace get_Item (int32 index) cil managed - { - // Method begins at RVA 0x7f5c - // Code size 26 (0x1a) - .maxstack 2 + // Method begins at RVA 0x67f0 + // Code size 14 (0xe) + .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespace V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.IList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.XmlNamespace - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0001: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::get_Now() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0018: ldloc.0 - IL_0019: ret - } // end of method XmlNamespaceCollection::get_Item + IL_000c: ldloc.0 + IL_000d: ret + } // end of method DateTimeFunctions::Now - // method line 334 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.XmlNamespace 'value') cil managed + // method line 255 + .method public static hidebysig + default int32 GetYear (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x7f82 - // Code size 15 (0xf) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 79 65 61 72 00 00 ) // ...get-year.. + + // Method begins at RVA 0x680c + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::set_Item(int32, object) - IL_000e: ret - } // end of method XmlNamespaceCollection::set_Item + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Year() + IL_0008: stloc.0 + IL_0009: br IL_000e - // method line 335 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespace get_Item (string 'value') cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetYear + + // method line 256 + .method public static hidebysig + default int32 GetMonth (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x7f94 - // Code size 111 (0x6f) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 6D 6F 6E 74 68 00 00 ) // ...get-month.. + + // Method begins at RVA 0x6828 + // Code size 16 (0x10) + .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespace V_0, - class [mscorlib]System.Collections.IEnumerator V_1, - class NAnt.Core.Types.XmlNamespace V_2, - class [mscorlib]System.IDisposable V_3) + int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brfalse IL_0066 - - IL_0007: nop - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_000f: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0014: stloc.1 - .try { // 0 - IL_0015: br IL_0041 + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Month() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_001a: ldloc.1 - IL_001b: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_0020: castclass NAnt.Core.Types.XmlNamespace - IL_0025: stloc.0 - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance string class NAnt.Core.Types.XmlNamespace::get_Prefix() - IL_002d: ldarg.1 - IL_002e: call bool string::op_Equality(string, string) - IL_0033: brfalse IL_0040 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetMonth - IL_0038: nop - IL_0039: ldloc.0 - IL_003a: stloc.2 - IL_003b: leave IL_006d + // method line 257 + .method public static hidebysig + default int32 GetDay (valuetype [mscorlib]System.DateTime 'date') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 67 65 74 2D 64 61 79 00 00 ) // ...get-day.. - IL_0040: nop - IL_0041: ldloc.1 - IL_0042: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_0047: brtrue IL_001a + // Method begins at RVA 0x6844 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Day() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_004c: leave IL_0065 + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDay - } // end .try 0 - finally { // 0 - IL_0051: ldloc.1 - IL_0052: isinst [mscorlib]System.IDisposable - IL_0057: dup - IL_0058: stloc.3 - IL_0059: brfalse IL_0064 + // method line 258 + .method public static hidebysig + default int32 GetHour (valuetype [mscorlib]System.DateTime 'date') cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 67 65 74 2D 68 6F 75 72 00 00 ) // ...get-hour.. - IL_005e: ldloc.3 - IL_005f: callvirt instance void class [mscorlib]System.IDisposable::Dispose() - IL_0064: endfinally - } // end handler 0 - IL_0065: nop - IL_0066: ldnull - IL_0067: stloc.2 - IL_0068: br IL_006d + // Method begins at RVA 0x6860 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) + IL_0000: nop + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Hour() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_006d: ldloc.2 - IL_006e: ret - } // end of method XmlNamespaceCollection::get_Item + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetHour - // method line 336 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.XmlNamespace item) cil managed + // method line 259 + .method public static hidebysig + default int32 GetMinute (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x8020 - // Code size 21 (0x15) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 6D 69 6E 75 74 65 00 00 ) // ...get-minute.. + + // Method begins at RVA 0x687c + // Code size 16 (0x10) + .maxstack 1 .locals init ( int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::Add(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Minute() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XmlNamespaceCollection::Add + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetMinute - // method line 337 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XmlNamespace[] items) cil managed + // method line 260 + .method public static hidebysig + default int32 GetSecond (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x8044 - // Code size 34 (0x22) - .maxstack 3 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 0A 67 65 74 2D 73 65 63 6F 6E 64 00 00 ) // ...get-second.. + + // Method begins at RVA 0x6898 + // Code size 16 (0x10) + .maxstack 1 .locals init ( int32 V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.XmlNamespaceCollection::Add(class NAnt.Core.Types.XmlNamespace) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Second() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0021: ret - } // end of method XmlNamespaceCollection::AddRange + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetSecond - // method line 338 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.XmlNamespaceCollection items) cil managed + // method line 261 + .method public static hidebysig + default int32 GetMillisecond (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x8074 - // Code size 41 (0x29) - .maxstack 3 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 6D 69 6C 6C 69 73 65 63 6F // ...get-milliseco + 6E 64 00 00 ) // nd.. + + // Method begins at RVA 0x68b4 + // Code size 16 (0x10) + .maxstack 1 .locals init ( int32 V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_001c - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.XmlNamespace class NAnt.Core.Types.XmlNamespaceCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.XmlNamespaceCollection::Add(class NAnt.Core.Types.XmlNamespace) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class [mscorlib]System.Collections.CollectionBase::get_Count() - IL_0023: blt IL_0008 + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_Millisecond() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0028: ret - } // end of method XmlNamespaceCollection::AddRange + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetMillisecond - // method line 339 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.XmlNamespace item) cil managed + // method line 262 + .method public static hidebysig + default int64 GetTicks (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x80ac - // Code size 21 (0x15) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 67 65 74 2D 74 69 63 6B 73 00 00 ) // ...get-ticks.. + + // Method begins at RVA 0x68d0 + // Code size 16 (0x10) + .maxstack 1 .locals init ( - bool V_0) + int64 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.IList::Contains(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0001: ldarga.s 0 + IL_0003: call instance int64 valuetype [mscorlib]System.DateTime::get_Ticks() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XmlNamespaceCollection::Contains + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetTicks - // method line 340 - .method public hidebysig - instance default bool Contains (string 'value') cil managed + // method line 263 + .method public static hidebysig + default int32 GetDayOfWeek (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x80d0 - // Code size 22 (0x16) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 64 61 79 2D 6F 66 2D 77 65 // ...get-day-of-we + 65 6B 00 00 ) // ek.. + + // Method begins at RVA 0x68ec + // Code size 16 (0x10) + .maxstack 1 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Types.XmlNamespace class NAnt.Core.Types.XmlNamespaceCollection::get_Item(string) - IL_0008: ldnull - IL_0009: ceq - IL_000b: ldc.i4.0 - IL_000c: ceq - IL_000e: stloc.0 - IL_000f: br IL_0014 + IL_0001: ldarga.s 0 + IL_0003: call instance valuetype [mscorlib]System.DayOfWeek valuetype [mscorlib]System.DateTime::get_DayOfWeek() + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0014: ldloc.0 - IL_0015: ret - } // end of method XmlNamespaceCollection::Contains + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDayOfWeek - // method line 341 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.XmlNamespace[] 'array', int32 index) cil managed + // method line 264 + .method public static hidebysig + default int32 GetDayOfYear (valuetype [mscorlib]System.DateTime 'date') cil managed { - // Method begins at RVA 0x80f2 - // Code size 15 (0xf) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 64 61 79 2D 6F 66 2D 79 65 // ...get-day-of-ye + 61 72 00 00 ) // ar.. + + // Method begins at RVA 0x6908 + // Code size 16 (0x10) + .maxstack 1 + .locals init ( + int32 V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ICollection::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method XmlNamespaceCollection::CopyTo + IL_0001: ldarga.s 0 + IL_0003: call instance int32 valuetype [mscorlib]System.DateTime::get_DayOfYear() + IL_0008: stloc.0 + IL_0009: br IL_000e - // method line 342 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.XmlNamespace item) cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDayOfYear + + // method line 265 + .method public static hidebysig + default int32 GetDaysInMonth (int32 year, int32 month) cil managed { - // Method begins at RVA 0x8104 - // Code size 21 (0x15) + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 11 67 65 74 2D 64 61 79 73 2D 69 6E 2D 6D // ...get-days-in-m + 6F 6E 74 68 00 00 ) // onth.. + + // Method begins at RVA 0x6924 + // Code size 16 (0x10) .maxstack 2 .locals init ( int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.IList::IndexOf(object) - IL_000d: stloc.0 - IL_000e: br IL_0013 + IL_0002: ldarg.1 + IL_0003: call int32 valuetype [mscorlib]System.DateTime::DaysInMonth(int32, int32) + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_0013: ldloc.0 - IL_0014: ret - } // end of method XmlNamespaceCollection::IndexOf + IL_000e: ldloc.0 + IL_000f: ret + } // end of method DateTimeFunctions::GetDaysInMonth - // method line 343 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.XmlNamespace item) cil managed + // method line 266 + .method public static hidebysig + default bool IsLeapYear (int32 year) cil managed { - // Method begins at RVA 0x8125 - // Code size 15 (0xf) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.IList class [mscorlib]System.Collections.CollectionBase::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.IList::Insert(int32, object) - IL_000e: ret - } // end of method XmlNamespaceCollection::Insert + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 69 73 2D 6C 65 61 70 2D 79 65 61 72 00 // ...is-leap-year. + 00 ) // . - // method line 344 - .method public hidebysig - instance default class NAnt.Core.Types.XmlNamespaceEnumerator GetEnumerator () cil managed - { - // Method begins at RVA 0x8138 + // Method begins at RVA 0x6940 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.XmlNamespaceEnumerator V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.XmlNamespaceEnumerator::'.ctor'(class NAnt.Core.Types.XmlNamespaceCollection) + IL_0002: call bool valuetype [mscorlib]System.DateTime::IsLeapYear(int32) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method XmlNamespaceCollection::GetEnumerator - - // method line 345 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.XmlNamespace item) cil managed - { - // Method begins at RVA 0x8153 - // 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 XmlNamespaceCollection::Remove + } // end of method DateTimeFunctions::IsLeapYear - .property instance class NAnt.Core.Types.XmlNamespace Item (int32) - { - .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.XmlNamespaceCollection::set_Item (int32 index, class NAnt.Core.Types.XmlNamespace 'value') - } - .property instance class NAnt.Core.Types.XmlNamespace Item (string) - { - .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceCollection::get_Item (string 'value') - } - } // end of class NAnt.Core.Types.XmlNamespaceCollection + } // end of class NAnt.Core.Functions.DateTimeFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit XmlNamespaceEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + .class public auto ansi beforefieldinit DateTimeConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 08 64 61 74 65 74 69 6D 65 0A 43 6F 6E 76 // ...datetime.Conv + 65 72 73 69 6F 6E 00 00 ) // ersion.. - // method line 346 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.XmlNamespaceCollection arguments) cil managed + + // method line 267 + .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 0x8164 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) + // Method begins at RVA 0x695b + // Code size 10 (0xa) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0015: ret - } // end of method XmlNamespaceEnumerator::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method DateTimeConversionFunctions::.ctor - // method line 347 - .method public hidebysig specialname - instance default class NAnt.Core.Types.XmlNamespace get_Current () cil managed + // method line 268 + .method public static hidebysig + default valuetype [mscorlib]System.DateTime Parse (string s) cil managed { - // Method begins at RVA 0x8188 - // Code size 25 (0x19) - .maxstack 1 - .locals init ( - class NAnt.Core.Types.XmlNamespace V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.XmlNamespace - IL_0011: stloc.0 - IL_0012: br IL_0017 - - IL_0017: ldloc.0 - IL_0018: ret - } // end of method XmlNamespaceEnumerator::get_Current + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. - // method line 348 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed - { - // Method begins at RVA 0x81b0 - .override class [mscorlib]System.Collections.IEnumerator::get_Current + // Method begins at RVA 0x6968 // Code size 20 (0x14) - .maxstack 1 + .maxstack 2 .locals init ( - object V_0) + valuetype [mscorlib]System.DateTime V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: call valuetype [mscorlib]System.DateTime valuetype [mscorlib]System.DateTime::Parse(string, class [mscorlib]System.IFormatProvider) IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.get_Current + } // end of method DateTimeConversionFunctions::Parse - // method line 349 - .method public hidebysig - instance default bool MoveNext () cil managed + // method line 269 + .method public static hidebysig + default string ToString (valuetype [mscorlib]System.DateTime 'value') cil managed { - // Method begins at RVA 0x81d0 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XmlNamespaceEnumerator::MoveNext + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. - // method line 350 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IEnumerator.MoveNext () cil managed - { - // Method begins at RVA 0x81f0 - .override class [mscorlib]System.Collections.IEnumerator::MoveNext - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x6988 + // Code size 21 (0x15) + .maxstack 2 .locals init ( - bool V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: ldarga.s 0 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call instance string valuetype [mscorlib]System.DateTime::ToString(class [mscorlib]System.IFormatProvider) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.MoveNext + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DateTimeConversionFunctions::ToString - // method line 351 - .method public hidebysig - instance default void Reset () cil managed + // method line 270 + .method public static hidebysig + default string ToString (valuetype [mscorlib]System.DateTime 'value', string format) cil managed { - // Method begins at RVA 0x8210 - // Code size 13 (0xd) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method XmlNamespaceEnumerator::Reset + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 10 66 6F 72 6D 61 74 2D 74 6F 2D 73 74 72 // ...format-to-str + 69 6E 67 00 00 ) // ing.. - // method line 352 - .method private final virtual hidebysig newslot - instance default void System.Collections.IEnumerator.Reset () cil managed - { - // Method begins at RVA 0x821e - .override class [mscorlib]System.Collections.IEnumerator::Reset - // Code size 13 (0xd) - .maxstack 8 + // Method begins at RVA 0x69ac + // Code size 22 (0x16) + .maxstack 3 + .locals init ( + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.XmlNamespaceEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method XmlNamespaceEnumerator::System.Collections.IEnumerator.Reset + 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 - .property instance object System.Collections.IEnumerator.Current () - { - .get instance default object NAnt.Core.Types.XmlNamespaceEnumerator::System.Collections.IEnumerator.get_Current () - } - .property instance class NAnt.Core.Types.XmlNamespace Current () - { - .get instance default class NAnt.Core.Types.XmlNamespace NAnt.Core.Types.XmlNamespaceEnumerator::get_Current () - } - } // end of class NAnt.Core.Types.XmlNamespaceEnumerator + IL_0014: ldloc.0 + IL_0015: ret + } // end of method DateTimeConversionFunctions::ToString + + } // end of class NAnt.Core.Functions.DateTimeConversionFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi serializable beforefieldinit Argument - extends NAnt.Core.Element + .class public auto ansi beforefieldinit PathFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. - - .field private class [mscorlib]System.IO.FileInfo _file - .field private class [mscorlib]System.IO.DirectoryInfo _directory - .field private class NAnt.Core.Types.PathSet _path - .field private string _value - .field private string _line - .field private bool _ifDefined - .field private bool _unlessDefined - - // method line 353 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed - { - // Method begins at RVA 0x822c - // Code size 15 (0xf) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method Argument::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = (01 00 04 70 61 74 68 04 50 61 74 68 00 00 ) // ...path.Path.. - // method line 354 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (string 'value') cil managed - { - // Method begins at RVA 0x823c - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld string NAnt.Core.Types.Argument::_value - IL_0015: ret - } // end of method Argument::.ctor - // method line 355 + // method line 271 .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class [mscorlib]System.IO.FileInfo 'value') cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x8253 - // Code size 22 (0x16) + // Method begins at RVA 0x69ce + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::_file - IL_0015: ret - } // end of method Argument::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method PathFunctions::.ctor - // method line 356 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.PathSet 'value') cil managed + // method line 272 + .method public hidebysig + instance default string GetFullPath (string path) cil managed { - // Method begins at RVA 0x826a - // Code size 22 (0x16) - .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Argument::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.Element::'.ctor'() - IL_000d: nop - IL_000e: ldarg.0 - IL_000f: ldarg.1 - IL_0010: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0015: ret - } // end of method Argument::.ctor + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 66 75 6C 6C 2D 70 61 74 68 // ...get-full-path + 00 00 ) // .. - // method line 357 - .method public virtual hidebysig - instance default string ToString () cil managed - { - // Method begins at RVA 0x8284 - // Code size 170 (0xaa) - .maxstack 1 + // Method begins at RVA 0x69dc + // Code size 21 (0x15) + .maxstack 2 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() - IL_0007: brfalse IL_0023 - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() - IL_0013: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0018: call string class NAnt.Core.Types.Argument::QuoteArgument(string) - IL_001d: stloc.0 - IL_001e: br IL_00a8 - - IL_0023: ldarg.0 - IL_0024: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() - IL_0029: brfalse IL_0045 - - IL_002e: nop - IL_002f: ldarg.0 - IL_0030: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() - IL_0035: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_003a: call string class NAnt.Core.Types.Argument::QuoteArgument(string) - IL_003f: stloc.0 - IL_0040: br IL_00a8 - - IL_0045: ldarg.0 - IL_0046: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() - IL_004b: brfalse IL_0067 - - IL_0050: nop - IL_0051: ldarg.0 - IL_0052: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() - IL_0057: callvirt instance string object::ToString() - IL_005c: call string class NAnt.Core.Types.Argument::QuoteArgument(string) - IL_0061: stloc.0 - IL_0062: br IL_00a8 - - IL_0067: ldarg.0 - IL_0068: call instance string class NAnt.Core.Types.Argument::get_Value() - IL_006d: brfalse IL_0084 - - IL_0072: nop - IL_0073: ldarg.0 - IL_0074: call instance string class NAnt.Core.Types.Argument::get_Value() - IL_0079: call string class NAnt.Core.Types.Argument::QuoteArgument(string) - IL_007e: stloc.0 - IL_007f: br IL_00a8 - - IL_0084: ldarg.0 - IL_0085: call instance string class NAnt.Core.Types.Argument::get_Line() - IL_008a: brfalse IL_009c - - IL_008f: nop - IL_0090: ldarg.0 - IL_0091: call instance string class NAnt.Core.Types.Argument::get_Line() - IL_0096: stloc.0 - IL_0097: br IL_00a8 - - IL_009c: nop - IL_009d: ldsfld string [mscorlib]System.String::Empty - IL_00a2: stloc.0 - IL_00a3: br IL_00a8 + IL_0002: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_0007: ldarg.1 + IL_0008: callvirt instance string class NAnt.Core.Project::GetFullPath(string) + IL_000d: stloc.0 + IL_000e: br IL_0013 - IL_00a8: ldloc.0 - IL_00a9: ret - } // end of method Argument::ToString + IL_0013: ldloc.0 + IL_0014: ret + } // end of method PathFunctions::GetFullPath - // method line 358 - .method public hidebysig specialname - instance default string get_Value () cil managed + // method line 273 + .method public static hidebysig + default string Combine (string path1, string path2) cil managed { - // Method begins at RVA 0x833c - // Code size 15 (0xf) - .maxstack 1 + .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 0x6a00 + // Code size 16 (0x10) + .maxstack 2 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Argument::_value - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call string class [mscorlib]System.IO.Path::Combine(string, string) + IL_0008: stloc.0 + IL_0009: br IL_000e - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_Value + IL_000e: ldloc.0 + IL_000f: ret + } // end of method PathFunctions::Combine - // method line 359 - .method public hidebysig specialname - instance default void set_Value (string 'value') cil managed + // method line 274 + .method public static hidebysig + default string ChangeExtension (string path, string extension) cil managed { - // Method begins at RVA 0x8357 - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 10 63 68 61 6E 67 65 2D 65 78 74 65 6E 73 // ...change-extens + 69 6F 6E 00 00 ) // ion.. + + // Method begins at RVA 0x6a1c + // Code size 16 (0x10) + .maxstack 2 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Argument::_value - IL_0008: ret - } // end of method Argument::set_Value + IL_0003: call string class [mscorlib]System.IO.Path::ChangeExtension(string, string) + IL_0008: stloc.0 + IL_0009: br IL_000e - // method line 360 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.FileInfo get_File () cil managed + IL_000e: ldloc.0 + IL_000f: ret + } // end of method PathFunctions::ChangeExtension + + // method line 275 + .method public static hidebysig + default string GetDirectoryName (string path) cil managed { - // Method begins at RVA 0x8364 - // Code size 15 (0xf) + .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 0x6a38 + // Code size 22 (0x16) .maxstack 1 .locals init ( - class [mscorlib]System.IO.FileInfo V_0) + string V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::_file + IL_0002: call string class [mscorlib]System.IO.Path::GetDirectoryName(string) IL_0007: stloc.0 - IL_0008: br IL_000d + 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_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_File + IL_0014: ldloc.1 + IL_0015: ret + } // end of method PathFunctions::GetDirectoryName - // method line 361 - .method public hidebysig specialname - instance default void set_File (class [mscorlib]System.IO.FileInfo 'value') cil managed + // method line 276 + .method public static hidebysig + default string GetExtension (string path) cil managed { - // Method begins at RVA 0x837f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::_file - IL_0008: ret - } // end of method Argument::set_File + .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 line 362 - .method public hidebysig specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_Directory () cil managed - { - // Method begins at RVA 0x838c + // Method begins at RVA 0x6a5c // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.Argument::_directory + IL_0002: call string class [mscorlib]System.IO.Path::GetExtension(string) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Argument::get_Directory + } // end of method PathFunctions::GetExtension - // method line 363 - .method public hidebysig specialname - instance default void set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed + // method line 277 + .method public static hidebysig + default string GetFileName (string path) cil managed { - // Method begins at RVA 0x83a7 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.Argument::_directory - IL_0008: ret - } // end of method Argument::set_Directory + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 66 69 6C 65 2D 6E 61 6D 65 // ...get-file-name + 00 00 ) // .. - // method line 364 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_Path () cil managed - { - // Method begins at RVA 0x83b4 + // Method begins at RVA 0x6a78 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PathSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0002: call string class [mscorlib]System.IO.Path::GetFileName(string) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Argument::get_Path + } // end of method PathFunctions::GetFileName - // method line 365 - .method public hidebysig specialname - instance default void set_Path (class NAnt.Core.Types.PathSet 'value') cil managed + // method line 278 + .method public static hidebysig + default string GetFileNameWithoutExtension (string path) cil managed { - // Method begins at RVA 0x83cf - // Code size 38 (0x26) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0007: brfalse IL_001e - - IL_000c: nop - IL_000d: ldstr "Either set the path using the \"path\" attribute or the element. You cannot set both." - IL_0012: ldarg.0 - IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_001d: throw - IL_001e: ldarg.0 - IL_001f: ldarg.1 - IL_0020: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0025: ret - } // end of method Argument::set_Path + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 1F 67 65 74 2D 66 69 6C 65 2D 6E 61 6D 65 // ...get-file-name + 2D 77 69 74 68 6F 75 74 2D 65 78 74 65 6E 73 69 // -without-extensi + 6F 6E 00 00 ) // on.. - // method line 366 - .method public hidebysig specialname - instance default class NAnt.Core.Types.PathSet get_PathSet () cil managed - { - // Method begins at RVA 0x83f8 + // Method begins at RVA 0x6a94 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PathSet V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path + IL_0002: call string class [mscorlib]System.IO.Path::GetFileNameWithoutExtension(string) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Argument::get_PathSet + } // end of method PathFunctions::GetFileNameWithoutExtension - // method line 367 - .method public hidebysig specialname - instance default void set_PathSet (class NAnt.Core.Types.PathSet 'value') cil managed + // method line 279 + .method public static hidebysig + default string GetPathRoot (string path) cil managed { - // Method begins at RVA 0x8413 - // Code size 38 (0x26) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 67 65 74 2D 70 61 74 68 2D 72 6F 6F 74 // ...get-path-root + 00 00 ) // .. + + // Method begins at RVA 0x6ab0 + // Code size 22 (0x16) + .maxstack 1 + .locals init ( + string V_0, + string V_1) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0007: brfalse IL_001e + IL_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_000c: nop - IL_000d: ldstr "Either set the path using the \"path\" attribute or the element. You cannot set both." - IL_0012: ldarg.0 - IL_0013: callvirt instance class NAnt.Core.Location class NAnt.Core.Element::get_Location() - IL_0018: newobj instance void class NAnt.Core.BuildException::'.ctor'(string, class NAnt.Core.Location) - IL_001d: throw - IL_001e: ldarg.0 - IL_001f: ldarg.1 - IL_0020: stfld class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::_path - IL_0025: ret - } // end of method Argument::set_PathSet + IL_0014: ldloc.1 + IL_0015: ret + } // end of method PathFunctions::GetPathRoot - // method line 368 - .method public hidebysig specialname - instance default string get_Line () cil managed + // method line 280 + .method public static hidebysig + default string GetTempFileName () cil managed { - // Method begins at RVA 0x843c - // Code size 15 (0xf) + .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 0x6ad4 + // Code size 14 (0xe) .maxstack 1 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Argument::_line - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0001: call string class [mscorlib]System.IO.Path::GetTempFileName() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Argument::get_Line + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PathFunctions::GetTempFileName - // method line 369 - .method public hidebysig specialname - instance default void set_Line (string 'value') cil managed + // method line 281 + .method public static hidebysig + default string GetTempPath () cil managed { - // Method begins at RVA 0x8457 - // Code size 9 (0x9) - .maxstack 8 + .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 0x6af0 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld string NAnt.Core.Types.Argument::_line - IL_0008: ret - } // end of method Argument::set_Line + IL_0001: call string class [mscorlib]System.IO.Path::GetTempPath() + IL_0006: stloc.0 + IL_0007: br IL_000c - // method line 370 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed + IL_000c: ldloc.0 + IL_000d: ret + } // end of method PathFunctions::GetTempPath + + // method line 282 + .method public static hidebysig + default bool HasExtension (string path) cil managed { - // Method begins at RVA 0x8464 + .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 0x6b0c // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Argument::_ifDefined + IL_0002: call bool class [mscorlib]System.IO.Path::HasExtension(string) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Argument::get_IfDefined + } // end of method PathFunctions::HasExtension - // method line 371 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 283 + .method public static hidebysig + default bool IsPathRooted (string path) cil managed { - // Method begins at RVA 0x847f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Argument::_ifDefined - IL_0008: ret - } // end of method Argument::set_IfDefined + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0E 69 73 2D 70 61 74 68 2D 72 6F 6F 74 65 // ...is-path-roote + 64 00 00 ) // d.. - // method line 372 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x848c + // Method begins at RVA 0x6b28 // Code size 15 (0xf) .maxstack 1 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Argument::_unlessDefined + IL_0002: call bool class [mscorlib]System.IO.Path::IsPathRooted(string) IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method Argument::get_UnlessDefined + } // end of method PathFunctions::IsPathRooted - // method line 373 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + } // end of class NAnt.Core.Functions.PathFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit Int32ConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 03 69 6E 74 0A 43 6F 6E 76 65 72 73 69 6F // ...int.Conversio + 6E 00 00 ) // n.. + + + // method line 284 + .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 0x84a7 - // Code size 9 (0x9) + // Method begins at RVA 0x6b43 + // Code size 10 (0xa) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Argument::_unlessDefined - IL_0008: ret - } // end of method Argument::set_UnlessDefined + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method Int32ConversionFunctions::.ctor - // method line 374 - .method assembly hidebysig specialname - instance default string get_StringValue () cil managed + // method line 285 + .method public static hidebysig + default int32 Parse (string s) cil managed { - // Method begins at RVA 0x84b4 - // Code size 127 (0x7f) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + + // Method begins at RVA 0x6b50 + // Code size 20 (0x14) + .maxstack 2 .locals init ( - string V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() - IL_0007: brfalse IL_001e - - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Types.Argument::get_File() - IL_0013: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0018: stloc.0 - IL_0019: br IL_007d - - IL_001e: ldarg.0 - IL_001f: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() - IL_0024: brfalse IL_003b - - IL_0029: nop - IL_002a: ldarg.0 - IL_002b: call instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.Argument::get_Directory() - IL_0030: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() - IL_0035: stloc.0 - IL_0036: br IL_007d - - IL_003b: ldarg.0 - IL_003c: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() - IL_0041: brfalse IL_0058 - - IL_0046: nop - IL_0047: ldarg.0 - IL_0048: call instance class NAnt.Core.Types.PathSet class NAnt.Core.Types.Argument::get_Path() - IL_004d: callvirt instance string object::ToString() - IL_0052: stloc.0 - IL_0053: br IL_007d - - IL_0058: ldarg.0 - IL_0059: call instance string class NAnt.Core.Types.Argument::get_Line() - IL_005e: brfalse IL_0070 - - IL_0063: nop - IL_0064: ldarg.0 - IL_0065: call instance string class NAnt.Core.Types.Argument::get_Line() - IL_006a: stloc.0 - IL_006b: br IL_007d - - IL_0070: nop - IL_0071: ldarg.0 - IL_0072: call instance string class NAnt.Core.Types.Argument::get_Value() - IL_0077: stloc.0 - IL_0078: br IL_007d + IL_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_007d: ldloc.0 - IL_007e: ret - } // end of method Argument::get_StringValue + IL_0012: ldloc.0 + IL_0013: ret + } // end of method Int32ConversionFunctions::Parse - // method line 375 - .method private static hidebysig - default string QuoteArgument (string argument) cil managed + // method line 286 + .method public static hidebysig + default string ToString (int32 'value') cil managed { - // Method begins at RVA 0x8540 - // Code size 97 (0x61) - .maxstack 3 + .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 0x6b70 + // Code size 21 (0x15) + .maxstack 2 .locals init ( string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldstr "\"" - IL_0007: callvirt instance int32 string::IndexOf(string) - IL_000c: ldc.i4.m1 - IL_000d: ble IL_001a - - IL_0012: nop - IL_0013: ldarg.0 - IL_0014: stloc.0 - IL_0015: br IL_005f - - IL_001a: ldarg.0 - IL_001b: ldstr "'" - IL_0020: callvirt instance int32 string::IndexOf(string) - IL_0025: ldc.i4.m1 - IL_0026: bgt IL_003c - - IL_002b: ldarg.0 - IL_002c: ldstr " " - IL_0031: callvirt instance int32 string::IndexOf(string) - IL_0036: ldc.i4.m1 - IL_0037: ble IL_0057 - - IL_003c: nop - IL_003d: ldc.i4.s 0x22 - IL_003f: box [mscorlib]System.Char - IL_0044: ldarg.0 - IL_0045: ldc.i4.s 0x22 - IL_0047: box [mscorlib]System.Char - IL_004c: call string string::Concat(object, object, object) - IL_0051: stloc.0 - IL_0052: br IL_005f - - IL_0057: nop - IL_0058: ldarg.0 - IL_0059: stloc.0 - IL_005a: br IL_005f - - IL_005f: ldloc.0 - IL_0060: ret - } // end of method Argument::QuoteArgument - - .property instance string Value () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 05 76 61 6C 75 65 00 00 ) // ...value.. - - .get instance default string NAnt.Core.Types.Argument::get_Value () - .set instance default void NAnt.Core.Types.Argument::set_Value (string 'value') - } - .property instance class [mscorlib]System.IO.FileInfo File () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 66 69 6C 65 00 00 ) // ...file.. - - .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Types.Argument::get_File () - .set instance default void NAnt.Core.Types.Argument::set_File (class [mscorlib]System.IO.FileInfo 'value') - } - .property instance class [mscorlib]System.IO.DirectoryInfo Directory () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 03 64 69 72 00 00 ) // ...dir.. - - .get instance default class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.Argument::get_Directory () - .set instance default void NAnt.Core.Types.Argument::set_Directory (class [mscorlib]System.IO.DirectoryInfo 'value') - } - .property instance class NAnt.Core.Types.PathSet Path () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - - .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::get_Path () - .set instance default void NAnt.Core.Types.Argument::set_Path (class NAnt.Core.Types.PathSet 'value') - } - .property instance class NAnt.Core.Types.PathSet PathSet () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 70 61 74 68 00 00 ) // ...path.. - - .get instance default class NAnt.Core.Types.PathSet NAnt.Core.Types.Argument::get_PathSet () - .set instance default void NAnt.Core.Types.Argument::set_PathSet (class NAnt.Core.Types.PathSet 'value') - } - .property instance string Line () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 04 6C 69 6E 65 00 00 ) // ...line.. - - .get instance default string NAnt.Core.Types.Argument::get_Line () - .set instance default void NAnt.Core.Types.Argument::set_Line (string 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. - - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... - - .get instance default bool NAnt.Core.Types.Argument::get_IfDefined () - .set instance default void NAnt.Core.Types.Argument::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + IL_0001: ldarga.s 0 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call instance string int32::ToString(class [mscorlib]System.IFormatProvider) + IL_000d: stloc.0 + IL_000e: br IL_0013 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0013: ldloc.0 + IL_0014: ret + } // end of method Int32ConversionFunctions::ToString - .get instance default bool NAnt.Core.Types.Argument::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Argument::set_UnlessDefined (bool 'value') - } - .property instance string StringValue () - { - .get instance default string NAnt.Core.Types.Argument::get_StringValue () - } - } // end of class NAnt.Core.Types.Argument + } // end of class NAnt.Core.Functions.Int32ConversionFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi beforefieldinit Proxy - extends NAnt.Core.DataTypeBase + .class public auto ansi beforefieldinit PkgConfigFunctions + extends NAnt.Core.FunctionSetBase { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 05 70 72 6F 78 79 00 00 ) // ...proxy.. + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 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.. - .field private string _host - .field private int32 _port - .field private bool _bypassOnLocal - .field private class NAnt.Core.Types.Credential _credentials - .field private bool _ifDefined - .field private bool _unlessDefined - // method line 376 + // method line 287 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x85ad - // Code size 15 (0xf) + // Method begins at RVA 0x6b91 + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.Proxy::_ifDefined - IL_0007: ldarg.0 - IL_0008: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_000d: nop - IL_000e: ret - } // end of method Proxy::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method PkgConfigFunctions::.ctor - // method line 377 - .method public hidebysig specialname - instance default string get_Host () cil managed + // method line 288 + .method public hidebysig + instance default string GetVariable (string package, string name) cil managed { - // Method begins at RVA 0x85c0 - // Code size 15 (0xf) - .maxstack 1 + .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 0x6b9c + // Code size 94 (0x5e) + .maxstack 7 .locals init ( string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld string NAnt.Core.Types.Proxy::_host - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Proxy::get_Host + IL_000d: nop + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0013: ldstr "NA1100" + IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: ldarg.1 + IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: ldc.i4.2 + IL_002b: newarr NAnt.Core.Types.Argument + IL_0030: dup + IL_0031: ldc.i4.0 + IL_0032: ldstr "--variable=\"" + IL_0037: ldarg.2 + IL_0038: ldstr "\"" + IL_003d: call string string::Concat(string, string, string) + IL_0042: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0047: stelem.ref + IL_0048: dup + IL_0049: ldc.i4.1 + IL_004a: ldarg.1 + IL_004b: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0050: stelem.ref + IL_0051: call instance string class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigString(class NAnt.Core.Types.Argument[]) + IL_0056: stloc.0 + IL_0057: br IL_005c - // method line 378 - .method public hidebysig specialname - instance default void set_Host (string 'value') cil managed - { - // Method begins at RVA 0x85db - // Code size 14 (0xe) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call string class NAnt.Core.Util.StringUtils::ConvertEmptyToNull(string) - IL_0008: stfld string NAnt.Core.Types.Proxy::_host - IL_000d: ret - } // end of method Proxy::set_Host + IL_005c: ldloc.0 + IL_005d: ret + } // end of method PkgConfigFunctions::GetVariable - // method line 379 - .method public hidebysig specialname - instance default int32 get_Port () cil managed + // method line 289 + .method public hidebysig + instance default string GetLinkFlags (string package) cil managed { - // Method begins at RVA 0x85ec - // Code size 15 (0xf) - .maxstack 1 + .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 0x6c08 + // Code size 83 (0x53) + .maxstack 5 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld int32 NAnt.Core.Types.Proxy::_port - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldarg.1 + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Proxy::get_Port + IL_000d: nop + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0013: ldstr "NA1100" + IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: ldarg.1 + IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: ldc.i4.2 + IL_002b: newarr NAnt.Core.Types.Argument + IL_0030: dup + IL_0031: ldc.i4.0 + IL_0032: ldstr "--libs" + IL_0037: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_003c: stelem.ref + IL_003d: dup + IL_003e: ldc.i4.1 + IL_003f: ldarg.1 + IL_0040: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0045: stelem.ref + IL_0046: call instance string class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigString(class NAnt.Core.Types.Argument[]) + IL_004b: stloc.0 + IL_004c: br IL_0051 - // method line 380 - .method public hidebysig specialname - instance default void set_Port (int32 'value') cil managed + IL_0051: ldloc.0 + IL_0052: ret + } // end of method PkgConfigFunctions::GetLinkFlags + + // method line 290 + .method public hidebysig + instance default string GetCompileFlags (string package) cil managed { - // Method begins at RVA 0x8607 - // Code size 9 (0x9) - .maxstack 8 + .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 0x6c68 + // Code size 83 (0x53) + .maxstack 5 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld int32 NAnt.Core.Types.Proxy::_port - IL_0008: ret - } // end of method Proxy::set_Port + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - // method line 381 - .method public hidebysig specialname - instance default bool get_BypassOnLocal () cil managed - { - // Method begins at RVA 0x8614 - // Code size 15 (0xf) - .maxstack 1 - .locals init ( - bool V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Proxy::_bypassOnLocal - 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 "--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_000d: ldloc.0 - IL_000e: ret - } // end of method Proxy::get_BypassOnLocal + IL_0051: ldloc.0 + IL_0052: ret + } // end of method PkgConfigFunctions::GetCompileFlags - // method line 382 - .method public hidebysig specialname - instance default void set_BypassOnLocal (bool 'value') cil managed + // method line 291 + .method public hidebysig + instance default string GetModVersion (string package) cil managed { - // Method begins at RVA 0x862f - // Code size 9 (0x9) - .maxstack 8 + .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 0x6cc8 + // Code size 83 (0x53) + .maxstack 5 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Proxy::_bypassOnLocal - IL_0008: ret - } // end of method Proxy::set_BypassOnLocal + IL_0003: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::Exists(string) + IL_0008: brtrue IL_0029 - // method line 383 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Credential get_Credentials () cil managed + IL_000d: nop + IL_000e: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0013: ldstr "NA1100" + IL_0018: call string class NAnt.Core.Util.ResourceUtils::GetString(string) + IL_001d: ldarg.1 + IL_001e: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0023: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0028: throw + IL_0029: ldarg.0 + IL_002a: ldc.i4.2 + IL_002b: newarr NAnt.Core.Types.Argument + IL_0030: dup + IL_0031: ldc.i4.0 + IL_0032: ldstr "--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_0051: ldloc.0 + IL_0052: ret + } // end of method PkgConfigFunctions::GetModVersion + + // method line 292 + .method public hidebysig + instance default bool IsAtLeastVersion (string package, string version) cil managed { - // Method begins at RVA 0x863c - // Code size 15 (0xf) - .maxstack 1 + .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 0x6d28 + // Code size 54 (0x36) + .maxstack 7 .locals init ( - class NAnt.Core.Types.Credential V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::_credentials - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldc.i4.2 + IL_0003: newarr NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--atleast-version=\"" + IL_000f: ldarg.2 + IL_0010: ldstr "\"" + IL_0015: call string string::Concat(string, string, string) + IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_001f: stelem.ref + IL_0020: dup + IL_0021: ldc.i4.1 + IL_0022: ldarg.1 + IL_0023: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0028: stelem.ref + IL_0029: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) + IL_002e: stloc.0 + IL_002f: br IL_0034 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Proxy::get_Credentials + IL_0034: ldloc.0 + IL_0035: ret + } // end of method PkgConfigFunctions::IsAtLeastVersion - // method line 384 - .method public hidebysig specialname - instance default void set_Credentials (class NAnt.Core.Types.Credential 'value') cil managed + // method line 293 + .method public hidebysig + instance default bool IsExactVersion (string package, string version) cil managed { - // Method begins at RVA 0x8657 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::_credentials - IL_0008: ret - } // end of method Proxy::set_Credentials + .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 line 385 - .method public hidebysig specialname - instance default bool get_IfDefined () cil managed - { - // Method begins at RVA 0x8664 - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6d6c + // Code size 54 (0x36) + .maxstack 7 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Proxy::_ifDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: 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_000d: ldloc.0 - IL_000e: ret - } // end of method Proxy::get_IfDefined + IL_0034: ldloc.0 + IL_0035: ret + } // end of method PkgConfigFunctions::IsExactVersion - // method line 386 - .method public hidebysig specialname - instance default void set_IfDefined (bool 'value') cil managed + // method line 294 + .method public hidebysig + instance default bool IsMaxVersion (string package, string version) cil managed { - // Method begins at RVA 0x867f - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Proxy::_ifDefined - IL_0008: ret - } // end of method Proxy::set_IfDefined + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0E 69 73 2D 6D 61 78 2D 76 65 72 73 69 6F // ...is-max-versio + 6E 00 00 ) // n.. - // method line 387 - .method public hidebysig specialname - instance default bool get_UnlessDefined () cil managed - { - // Method begins at RVA 0x868c - // Code size 15 (0xf) - .maxstack 1 + // Method begins at RVA 0x6db0 + // Code size 54 (0x36) + .maxstack 7 .locals init ( bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.Proxy::_unlessDefined - IL_0007: stloc.0 - IL_0008: br IL_000d + IL_0002: ldc.i4.2 + IL_0003: newarr NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--max-version=\"" + IL_000f: ldarg.2 + IL_0010: ldstr "\"" + IL_0015: call string string::Concat(string, string, string) + IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_001f: stelem.ref + IL_0020: dup + IL_0021: ldc.i4.1 + IL_0022: ldarg.1 + IL_0023: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0028: stelem.ref + IL_0029: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) + IL_002e: stloc.0 + IL_002f: br IL_0034 - IL_000d: ldloc.0 - IL_000e: ret - } // end of method Proxy::get_UnlessDefined + IL_0034: ldloc.0 + IL_0035: ret + } // end of method PkgConfigFunctions::IsMaxVersion - // method line 388 - .method public hidebysig specialname - instance default void set_UnlessDefined (bool 'value') cil managed + // method line 295 + .method public hidebysig + instance default bool IsBetweenVersion (string package, string minVersion, string maxVersion) cil managed { - // Method begins at RVA 0x86a7 - // Code size 9 (0x9) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 12 69 73 2D 62 65 74 77 65 65 6E 2D 76 65 // ...is-between-ve + 72 73 69 6F 6E 00 00 ) // rsion.. + + // Method begins at RVA 0x6df4 + // Code size 78 (0x4e) + .maxstack 7 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.Proxy::_unlessDefined - IL_0008: ret - } // end of method Proxy::set_UnlessDefined + IL_0002: ldc.i4.3 + IL_0003: newarr NAnt.Core.Types.Argument + IL_0008: dup + IL_0009: ldc.i4.0 + IL_000a: ldstr "--atleast-version=\"" + IL_000f: ldarg.2 + IL_0010: ldstr "\"" + IL_0015: call string string::Concat(string, string, string) + IL_001a: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_001f: stelem.ref + IL_0020: dup + IL_0021: ldc.i4.1 + IL_0022: ldstr "--max-version=\"" + IL_0027: ldarg.3 + IL_0028: ldstr "\"" + IL_002d: call string string::Concat(string, string, string) + IL_0032: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0037: stelem.ref + IL_0038: dup + IL_0039: ldc.i4.2 + IL_003a: ldarg.1 + IL_003b: newobj instance void class NAnt.Core.Types.Argument::'.ctor'(string) + IL_0040: stelem.ref + IL_0041: call instance bool class NAnt.Core.Functions.PkgConfigFunctions::RunPkgConfigBool(class NAnt.Core.Types.Argument[]) + IL_0046: stloc.0 + IL_0047: br IL_004c - // method line 389 + IL_004c: ldloc.0 + IL_004d: ret + } // end of method PkgConfigFunctions::IsBetweenVersion + + // method line 296 .method public hidebysig - instance default class [System]System.Net.IWebProxy GetWebProxy () cil managed + instance default bool Exists (string package) cil managed { - // Method begins at RVA 0x86b4 - // Code size 105 (0x69) - .maxstack 2 + .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 0x6e50 + // Code size 43 (0x2b) + .maxstack 5 .locals init ( - class [System]System.Net.WebProxy V_0, - class [System]System.Net.IWebProxy V_1) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance bool class NAnt.Core.Types.Proxy::get_IfDefined() - IL_0007: brfalse IL_005b - - IL_000c: ldarg.0 - IL_000d: call instance bool class NAnt.Core.Types.Proxy::get_UnlessDefined() - IL_0012: brtrue IL_005b - - IL_0017: nop - IL_0018: ldarg.0 - IL_0019: call instance string class NAnt.Core.Types.Proxy::get_Host() - IL_001e: ldarg.0 - IL_001f: call instance int32 class NAnt.Core.Types.Proxy::get_Port() - IL_0024: newobj instance void class [System]System.Net.WebProxy::'.ctor'(string, int32) - IL_0029: stloc.0 - IL_002a: ldloc.0 - IL_002b: ldarg.0 - IL_002c: call instance bool class NAnt.Core.Types.Proxy::get_BypassOnLocal() - IL_0031: callvirt instance void class [System]System.Net.WebProxy::set_BypassProxyOnLocal(bool) - IL_0036: ldarg.0 - IL_0037: call instance class NAnt.Core.Types.Credential class NAnt.Core.Types.Proxy::get_Credentials() - IL_003c: brfalse IL_0054 - - IL_0041: nop - IL_0042: ldloc.0 - IL_0043: ldarg.0 - IL_0044: call instance class NAnt.Core.Types.Credential class NAnt.Core.Types.Proxy::get_Credentials() - IL_0049: callvirt instance class [System]System.Net.ICredentials class NAnt.Core.Types.Credential::GetCredential() - IL_004e: callvirt instance void class [System]System.Net.WebProxy::set_Credentials(class [System]System.Net.ICredentials) - IL_0053: nop - IL_0054: ldloc.0 - IL_0055: stloc.1 - IL_0056: br IL_0067 - - IL_005b: nop - IL_005c: call class [System]System.Net.IWebProxy class [System]System.Net.GlobalProxySelection::get_Select() - IL_0061: stloc.1 - IL_0062: br IL_0067 - - IL_0067: ldloc.1 - IL_0068: ret - } // end of method Proxy::GetWebProxy - - .property instance string Host () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 68 6F 73 74 01 00 54 02 08 52 65 71 75 // ...host..T..Requ - 69 72 65 64 01 ) // ired. + 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 - .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_0029: ldloc.0 + IL_002a: ret + } // end of method PkgConfigFunctions::Exists - .get instance default string NAnt.Core.Types.Proxy::get_Host () - .set instance default void NAnt.Core.Types.Proxy::set_Host (string 'value') - } - .property instance int32 Port () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 04 70 6F 72 74 01 00 54 02 08 52 65 71 75 // ...port..T..Requ - 69 72 65 64 01 ) // ired. + // method line 297 + .method private hidebysig + instance default bool RunPkgConfigBool (class NAnt.Core.Types.Argument[] args) cil managed + { + // Method begins at RVA 0x6e88 + // Code size 71 (0x47) + .maxstack 2 + .locals init ( + class [mscorlib]System.IO.MemoryStream V_0, + class NAnt.Core.Tasks.ExecTask V_1, + bool V_2) + IL_0000: nop + IL_0001: 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 - .custom instance void class NAnt.Core.Attributes.Int32ValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // 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 - .get instance default int32 NAnt.Core.Types.Proxy::get_Port () - .set instance default void NAnt.Core.Types.Proxy::set_Port (int32 'value') - } - .property instance bool BypassOnLocal () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 0D 62 79 70 61 73 73 6F 6E 6C 6F 63 61 6C // ...bypassonlocal - 01 00 54 02 08 52 65 71 75 69 72 65 64 00 ) // ..T..Required. + IL_003b: nop + IL_003c: rethrow + IL_003e: ldc.i4.0 + IL_003f: stloc.2 + IL_0040: leave IL_0045 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + } // end handler 0 + IL_0045: ldloc.2 + IL_0046: ret + } // end of method PkgConfigFunctions::RunPkgConfigBool - .get instance default bool NAnt.Core.Types.Proxy::get_BypassOnLocal () - .set instance default void NAnt.Core.Types.Proxy::set_BypassOnLocal (bool 'value') - } - .property instance class NAnt.Core.Types.Credential Credentials () - { - .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( - 01 00 0B 63 72 65 64 65 6E 74 69 61 6C 73 01 00 // ...credentials.. - 54 02 08 52 65 71 75 69 72 65 64 00 ) // T..Required. + // method line 298 + .method private hidebysig + instance default string RunPkgConfigString (class NAnt.Core.Types.Argument[] args) cil managed + { + // Method begins at RVA 0x6eec + // Code size 134 (0x86) + .maxstack 2 + .locals init ( + class [mscorlib]System.IO.MemoryStream V_0, + class NAnt.Core.Tasks.ExecTask V_1, + class [mscorlib]System.IO.StreamReader V_2, + string V_3, + string V_4, + class [mscorlib]System.Exception V_5, + class [mscorlib]System.IO.StreamReader V_6, + string V_7) + IL_0000: nop + IL_0001: newobj instance void class [mscorlib]System.IO.MemoryStream::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldarg.0 + IL_0008: ldloc.0 + IL_0009: call instance class NAnt.Core.Tasks.ExecTask class NAnt.Core.Functions.PkgConfigFunctions::GetTask(class [mscorlib]System.IO.Stream) + IL_000e: stloc.1 + IL_000f: ldloc.1 + IL_0010: callvirt instance class NAnt.Core.Types.ArgumentCollection class NAnt.Core.Tasks.ExternalProgramBase::get_Arguments() + IL_0015: ldarg.1 + IL_0016: callvirt instance void class NAnt.Core.Types.ArgumentCollection::AddRange(class NAnt.Core.Types.Argument[]) + .try { // 0 + IL_001b: nop + IL_001c: ldloc.1 + IL_001d: callvirt instance void class NAnt.Core.Task::Execute() + IL_0022: ldloc.0 + IL_0023: ldc.i4.0 + IL_0024: conv.i8 + IL_0025: callvirt instance void class [mscorlib]System.IO.Stream::set_Position(int64) + IL_002a: ldloc.0 + IL_002b: newobj instance void class [mscorlib]System.IO.StreamReader::'.ctor'(class [mscorlib]System.IO.Stream) + IL_0030: stloc.2 + IL_0031: ldloc.2 + IL_0032: callvirt instance string class [mscorlib]System.IO.TextReader::ReadLine() + IL_0037: stloc.3 + IL_0038: ldloc.2 + IL_0039: callvirt instance void class [mscorlib]System.IO.TextReader::Close() + IL_003e: ldloc.3 + IL_003f: stloc.s 4 + IL_0041: leave IL_0083 - .get instance default class NAnt.Core.Types.Credential NAnt.Core.Types.Proxy::get_Credentials () - .set instance default void NAnt.Core.Types.Proxy::set_Credentials (class NAnt.Core.Types.Credential 'value') - } - .property instance bool IfDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 02 69 66 01 00 54 02 08 52 65 71 75 69 72 // ...if..T..Requir - 65 64 00 ) // ed. + } // 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 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + 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 - .get instance default bool NAnt.Core.Types.Proxy::get_IfDefined () - .set instance default void NAnt.Core.Types.Proxy::set_IfDefined (bool 'value') - } - .property instance bool UnlessDefined () - { - .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( - 01 00 06 75 6E 6C 65 73 73 01 00 54 02 08 52 65 // ...unless..T..Re - 71 75 69 72 65 64 00 ) // quired. + // method line 299 + .method private hidebysig + instance default class NAnt.Core.Tasks.ExecTask GetTask (class [mscorlib]System.IO.Stream 'stream') cil managed + { + // Method begins at RVA 0x6f90 + // Code size 83 (0x53) + .maxstack 3 + .locals init ( + class NAnt.Core.Tasks.ExecTask V_0, + class [mscorlib]System.IO.TextWriter V_1, + class NAnt.Core.Tasks.ExecTask V_2) + IL_0000: nop + IL_0001: newobj instance void class NAnt.Core.Tasks.ExecTask::'.ctor'() + IL_0006: stloc.0 + IL_0007: ldloc.0 + IL_0008: ldarg.0 + IL_0009: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_000e: callvirt instance void class NAnt.Core.Element::set_Parent(object) + IL_0013: ldloc.0 + IL_0014: ldarg.0 + IL_0015: callvirt instance class NAnt.Core.Project class NAnt.Core.FunctionSetBase::get_Project() + IL_001a: callvirt instance void class NAnt.Core.Element::set_Project(class NAnt.Core.Project) + IL_001f: ldloc.0 + IL_0020: ldstr "pkg-config" + IL_0025: callvirt instance void class NAnt.Core.Tasks.ExecTask::set_FileName(string) + IL_002a: ldloc.0 + IL_002b: ldc.i4 9999 + IL_0030: callvirt instance void class NAnt.Core.Task::set_Threshold(valuetype NAnt.Core.Level) + IL_0035: ldloc.0 + IL_0036: ldarg.1 + IL_0037: newobj instance void class [mscorlib]System.IO.StreamWriter::'.ctor'(class [mscorlib]System.IO.Stream) + IL_003c: stloc.1 + IL_003d: ldloc.0 + IL_003e: ldloc.1 + IL_003f: callvirt instance void class NAnt.Core.Tasks.ExternalProgramBase::set_OutputWriter(class [mscorlib]System.IO.TextWriter) + IL_0044: ldloc.1 + IL_0045: callvirt instance void class NAnt.Core.Tasks.ExternalProgramBase::set_ErrorWriter(class [mscorlib]System.IO.TextWriter) + IL_004a: ldloc.0 + IL_004b: stloc.2 + IL_004c: br IL_0051 - .custom instance void class NAnt.Core.Attributes.BooleanValidatorAttribute::'.ctor'() = (01 00 00 00 ) // .... + IL_0051: ldloc.2 + IL_0052: ret + } // end of method PkgConfigFunctions::GetTask - .get instance default bool NAnt.Core.Types.Proxy::get_UnlessDefined () - .set instance default void NAnt.Core.Types.Proxy::set_UnlessDefined (bool 'value') - } - } // end of class NAnt.Core.Types.Proxy + } // end of class NAnt.Core.Functions.PkgConfigFunctions } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Functions { - .class public auto ansi serializable beforefieldinit PatternCollection - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IList, [mscorlib]System.Collections.ICollection, [mscorlib]System.Collections.IEnumerable { - .custom instance void class [mscorlib]System.Reflection.DefaultMemberAttribute::'.ctor'(string) = (01 00 04 49 74 65 6D 00 00 ) // ...Item.. + .class public auto ansi beforefieldinit 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.. - .field private initonly class [mscorlib]System.Collections.ArrayList _list - // method line 390 + // method line 300 .method public hidebysig specialname rtspecialname - instance default void '.ctor' () cil managed + instance default void '.ctor' (class NAnt.Core.Project project, class NAnt.Core.PropertyDictionary properties) cil managed { - // Method begins at RVA 0x8729 - // Code size 19 (0x13) + // Method begins at RVA 0x6fef + // Code size 10 (0xa) .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.0 - IL_0008: newobj instance void class [mscorlib]System.Collections.ArrayList::'.ctor'() - IL_000d: stfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PatternCollection::_list - IL_0012: ret - } // end of method PatternCollection::.ctor + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method DoubleConversionFunctions::.ctor - // method line 391 - .method public hidebysig specialname - instance default class NAnt.Core.Types.Pattern get_Item (int32 index) cil managed + // method line 301 + .method public static hidebysig + default float64 Parse (string s) cil managed { - // Method begins at RVA 0x8740 - // Code size 26 (0x1a) + .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 0x6ffc + // Code size 20 (0x14) .maxstack 2 .locals init ( - class NAnt.Core.Types.Pattern V_0) + float64 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_Item(int32) - IL_000d: castclass NAnt.Core.Types.Pattern - IL_0012: stloc.0 - IL_0013: br IL_0018 + IL_0002: 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_0018: ldloc.0 - IL_0019: ret - } // end of method PatternCollection::get_Item + IL_0012: ldloc.0 + IL_0013: ret + } // end of method DoubleConversionFunctions::Parse - // method line 392 - .method public hidebysig specialname - instance default void set_Item (int32 index, class NAnt.Core.Types.Pattern 'value') cil managed + // method line 302 + .method public static hidebysig + default string ToString (float64 'value') cil managed { - // Method begins at RVA 0x8766 - // Code size 15 (0xf) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 74 6F 2D 73 74 72 69 6E 67 00 00 ) // ...to-string.. + + // Method begins at RVA 0x701c + // Code size 21 (0x15) + .maxstack 2 + .locals init ( + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::set_Item(int32, object) - IL_000e: ret - } // end of method PatternCollection::set_Item + IL_0001: ldarga.s 0 + IL_0003: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0008: call instance string float64::ToString(class [mscorlib]System.IFormatProvider) + IL_000d: stloc.0 + IL_000e: br IL_0013 - // method line 393 - .method private hidebysig specialname - instance default class [mscorlib]System.Collections.ArrayList get_List () cil managed + IL_0013: ldloc.0 + IL_0014: ret + } // end of method DoubleConversionFunctions::ToString + + } // end of class NAnt.Core.Functions.DoubleConversionFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit StringFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 06 73 74 72 69 6E 67 06 53 74 72 69 6E 67 // ...string.String + 00 00 ) // .. + + + // method line 303 + .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 0x703d + // 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 StringFunctions::.ctor + + // method line 304 + .method public static hidebysig + default int32 GetLength (string s) cil managed { - // Method begins at RVA 0x8778 + .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 0x7048 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [mscorlib]System.Collections.ArrayList V_0) + int32 V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PatternCollection::_list + IL_0002: callvirt instance int32 string::get_Length() IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternCollection::get_List + } // end of method StringFunctions::GetLength - // method line 394 - .method public final virtual hidebysig newslot specialname - instance default int32 get_Count () cil managed + // method line 305 + .method public static hidebysig + default string Substring (string str, int32 startIndex, int32 length) cil managed { - // Method begins at RVA 0x8794 - // Code size 20 (0x14) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 73 75 62 73 74 72 69 6E 67 00 00 ) // ...substring.. + + // Method begins at RVA 0x7064 + // Code size 17 (0x11) + .maxstack 3 .locals init ( - int32 V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::get_Count() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: callvirt instance string string::Substring(int32, int32) + IL_0009: stloc.0 + IL_000a: br IL_000f - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PatternCollection::get_Count + IL_000f: ldloc.0 + IL_0010: ret + } // end of method StringFunctions::Substring - // method line 395 - .method private final virtual hidebysig newslot - instance default void System.Collections.ICollection.CopyTo (class [mscorlib]System.Array 'array', int32 index) cil managed + // method line 306 + .method public static hidebysig + default bool StartsWith (string s1, string s2) cil managed { - // Method begins at RVA 0x87b4 - .override class [mscorlib]System.Collections.ICollection::CopyTo - // Code size 15 (0xf) - .maxstack 8 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0B 73 74 61 72 74 73 2D 77 69 74 68 00 00 ) // ...starts-with.. + + // Method begins at RVA 0x7084 + // Code size 26 (0x1a) + .maxstack 3 + .locals init ( + bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array, int32) - IL_000e: ret - } // end of method PatternCollection::System.Collections.ICollection.CopyTo + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsPrefix(string, string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - // method line 396 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.ICollection.get_IsSynchronized () cil managed + IL_0018: ldloc.0 + IL_0019: ret + } // end of method StringFunctions::StartsWith + + // method line 307 + .method public static hidebysig + default bool EndsWith (string s1, string s2) cil managed { - // Method begins at RVA 0x87c4 - .override class [mscorlib]System.Collections.ICollection::get_IsSynchronized - // Code size 20 (0x14) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 65 6E 64 73 2D 77 69 74 68 00 00 ) // ...ends-with.. + + // Method begins at RVA 0x70ac + // Code size 26 (0x1a) + .maxstack 3 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: callvirt instance bool class [mscorlib]System.Collections.ArrayList::get_IsSynchronized() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: callvirt instance bool class [mscorlib]System.Globalization.CompareInfo::IsSuffix(string, string) + IL_0012: stloc.0 + IL_0013: br IL_0018 - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PatternCollection::System.Collections.ICollection.get_IsSynchronized + IL_0018: ldloc.0 + IL_0019: ret + } // end of method StringFunctions::EndsWith - // method line 397 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.ICollection.get_SyncRoot () cil managed + // method line 308 + .method public static hidebysig + default string ToLower (string s) cil managed { - // Method begins at RVA 0x87e4 - .override class [mscorlib]System.Collections.ICollection::get_SyncRoot + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 74 6F 2D 6C 6F 77 65 72 00 00 ) // ...to-lower.. + + // Method begins at RVA 0x70d4 // Code size 20 (0x14) - .maxstack 1 + .maxstack 2 .locals init ( - object V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: callvirt instance object class [mscorlib]System.Collections.ArrayList::get_SyncRoot() + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToLower(class [mscorlib]System.Globalization.CultureInfo) IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method PatternCollection::System.Collections.ICollection.get_SyncRoot + } // end of method StringFunctions::ToLower - // method line 398 - .method private final virtual hidebysig newslot - instance default class [mscorlib]System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator () cil managed + // method line 309 + .method public static hidebysig + default string ToUpper (string s) cil managed { - // Method begins at RVA 0x8804 - .override class [mscorlib]System.Collections.IEnumerable::GetEnumerator + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 74 6F 2D 75 70 70 65 72 00 00 ) // ...to-upper.. + + // Method begins at RVA 0x70f4 // Code size 20 (0x14) - .maxstack 1 + .maxstack 2 .locals init ( - class [mscorlib]System.Collections.IEnumerator V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.ArrayList::GetEnumerator() + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: callvirt instance string string::ToUpper(class [mscorlib]System.Globalization.CultureInfo) IL_000c: stloc.0 IL_000d: br IL_0012 IL_0012: ldloc.0 IL_0013: ret - } // end of method PatternCollection::System.Collections.IEnumerable.GetEnumerator + } // end of method StringFunctions::ToUpper - // method line 399 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IList.get_Item (int32 index) cil managed + // method line 310 + .method public static hidebysig + default string Replace (string str, string oldValue, string newValue) cil managed { - // Method begins at RVA 0x8824 - .override class [mscorlib]System.Collections.IList::get_Item - // Code size 16 (0x10) - .maxstack 2 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 72 65 70 6C 61 63 65 00 00 ) // ...replace.. + + // Method begins at RVA 0x7114 + // Code size 17 (0x11) + .maxstack 3 .locals init ( - object V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: call instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternCollection::get_Item(int32) - IL_0008: stloc.0 - IL_0009: br IL_000e + IL_0003: ldarg.2 + IL_0004: callvirt instance string string::Replace(string, string) + IL_0009: stloc.0 + IL_000a: br IL_000f - IL_000e: ldloc.0 - IL_000f: ret - } // end of method PatternCollection::System.Collections.IList.get_Item + IL_000f: ldloc.0 + IL_0010: ret + } // end of method StringFunctions::Replace - // method line 400 - .method private final virtual hidebysig newslot specialname - instance default void System.Collections.IList.set_Item (int32 index, object 'value') cil managed + // method line 311 + .method public static hidebysig + default bool Contains (string source, string 'value') cil managed { - // Method begins at RVA 0x8840 - .override class [mscorlib]System.Collections.IList::set_Item - // Code size 81 (0x51) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: brtrue IL_0013 - - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 - - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: ldarg.2 - IL_0046: castclass NAnt.Core.Types.Pattern - IL_004b: call instance void class NAnt.Core.Types.PatternCollection::set_Item(int32, class NAnt.Core.Types.Pattern) - IL_0050: ret - } // end of method PatternCollection::System.Collections.IList.set_Item + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 63 6F 6E 74 61 69 6E 73 00 00 ) // ...contains.. - // method line 401 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.IList.get_IsFixedSize () cil managed - { - // Method begins at RVA 0x88a0 - .override class [mscorlib]System.Collections.IList::get_IsFixedSize - // Code size 10 (0xa) - .maxstack 1 + // Method begins at RVA 0x7134 + // Code size 33 (0x21) + .maxstack 4 .locals init ( bool V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: ldc.i4.0 + IL_000e: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::IndexOf(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_0013: ldc.i4.0 + IL_0014: clt + IL_0016: ldc.i4.0 + IL_0017: ceq + IL_0019: stloc.0 + IL_001a: br IL_001f - IL_0008: ldloc.0 - IL_0009: ret - } // end of method PatternCollection::System.Collections.IList.get_IsFixedSize + IL_001f: ldloc.0 + IL_0020: ret + } // end of method StringFunctions::Contains - // method line 402 - .method private final virtual hidebysig newslot specialname - instance default bool System.Collections.IList.get_IsReadOnly () cil managed + // method line 312 + .method public static hidebysig + default int32 IndexOf (string source, string 'value') cil managed { - // Method begins at RVA 0x88b8 - .override class [mscorlib]System.Collections.IList::get_IsReadOnly - // Code size 10 (0xa) - .maxstack 1 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 69 6E 64 65 78 2D 6F 66 00 00 ) // ...index-of.. + + // Method begins at RVA 0x7164 + // Code size 27 (0x1b) + .maxstack 4 .locals init ( - bool V_0) + int32 V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0008 + IL_0001: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0006: callvirt instance class [mscorlib]System.Globalization.CompareInfo class [mscorlib]System.Globalization.CultureInfo::get_CompareInfo() + IL_000b: ldarg.0 + IL_000c: ldarg.1 + IL_000d: ldc.i4.0 + IL_000e: callvirt instance int32 class [mscorlib]System.Globalization.CompareInfo::IndexOf(string, string, valuetype [mscorlib]System.Globalization.CompareOptions) + IL_0013: stloc.0 + IL_0014: br IL_0019 - IL_0008: ldloc.0 - IL_0009: ret - } // end of method PatternCollection::System.Collections.IList.get_IsReadOnly + IL_0019: ldloc.0 + IL_001a: ret + } // end of method StringFunctions::IndexOf - // method line 403 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.Add (object 'value') cil managed + // method line 313 + .method public static hidebysig + default int32 LastIndexOf (string source, string 'value') cil managed { - // Method begins at RVA 0x88d0 - .override class [mscorlib]System.Collections.IList::Add - // Code size 87 (0x57) - .maxstack 3 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0D 6C 61 73 74 2D 69 6E 64 65 78 2D 6F 66 // ...last-index-of + 00 00 ) // .. + + // Method begins at RVA 0x718c + // Code size 27 (0x1b) + .maxstack 4 .locals init ( int32 V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + 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_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + IL_0019: ldloc.0 + IL_001a: ret + } // end of method StringFunctions::LastIndexOf - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: castclass NAnt.Core.Types.Pattern - IL_004a: call instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) - IL_004f: stloc.0 - IL_0050: br IL_0055 + // method line 314 + .method public static hidebysig + default string PadLeft (string s, int32 totalWidth, string paddingChar) 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.. - IL_0055: ldloc.0 - IL_0056: ret - } // end of method PatternCollection::System.Collections.IList.Add + // Method begins at RVA 0x71b4 + // Code size 23 (0x17) + .maxstack 4 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: ldarg.2 + IL_0004: ldc.i4.0 + IL_0005: callvirt instance char string::get_Chars(int32) + IL_000a: callvirt instance string string::PadLeft(int32, char) + IL_000f: stloc.0 + IL_0010: br IL_0015 - // method line 404 - .method private final virtual hidebysig newslot - instance default bool System.Collections.IList.Contains (object 'value') cil managed + IL_0015: ldloc.0 + IL_0016: ret + } // end of method StringFunctions::PadLeft + + // method line 315 + .method public static hidebysig + default string PadRight (string s, int32 totalWidth, string paddingChar) cil managed { - // Method begins at RVA 0x8934 - .override class [mscorlib]System.Collections.IList::Contains - // Code size 87 (0x57) - .maxstack 3 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 09 70 61 64 2D 72 69 67 68 74 00 00 ) // ...pad-right.. + + // Method begins at RVA 0x71d8 + // Code size 23 (0x17) + .maxstack 4 .locals init ( - bool V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_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_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + IL_0015: ldloc.0 + IL_0016: ret + } // end of method StringFunctions::PadRight - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: castclass NAnt.Core.Types.Pattern - IL_004a: call instance bool class NAnt.Core.Types.PatternCollection::Contains(class NAnt.Core.Types.Pattern) - IL_004f: stloc.0 - IL_0050: br IL_0055 + // method line 316 + .method public static hidebysig + default string Trim (string s) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 04 74 72 69 6D 00 00 ) // ...trim.. - IL_0055: ldloc.0 - IL_0056: ret - } // end of method PatternCollection::System.Collections.IList.Contains + // Method begins at RVA 0x71fc + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: callvirt instance string string::Trim() + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 405 - .method public final virtual hidebysig newslot - instance default void Clear () cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method StringFunctions::Trim + + // method line 317 + .method public static hidebysig + default string TrimStart (string s) cil managed { - // Method begins at RVA 0x8997 - // Code size 13 (0xd) - .maxstack 8 + .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 0x7218 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: callvirt instance void class [mscorlib]System.Collections.ArrayList::Clear() - IL_000c: ret - } // end of method PatternCollection::Clear + IL_0002: callvirt instance string string::TrimStart() + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 406 - .method private final virtual hidebysig newslot - instance default int32 System.Collections.IList.IndexOf (object 'value') cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method StringFunctions::TrimStart + + // method line 318 + .method public static hidebysig + default string TrimEnd (string s) cil managed { - // Method begins at RVA 0x89a8 - .override class [mscorlib]System.Collections.IList::IndexOf - // Code size 87 (0x57) - .maxstack 3 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 08 74 72 69 6D 2D 65 6E 64 00 00 ) // ...trim-end.. + + // Method begins at RVA 0x7234 + // Code size 15 (0xf) + .maxstack 1 .locals init ( - int32 V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0001: ldarg.0 + IL_0002: callvirt instance string string::TrimEnd() + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + IL_000d: ldloc.0 + IL_000e: ret + } // end of method StringFunctions::TrimEnd - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: castclass NAnt.Core.Types.Pattern - IL_004a: call instance int32 class NAnt.Core.Types.PatternCollection::IndexOf(class NAnt.Core.Types.Pattern) - IL_004f: stloc.0 - IL_0050: br IL_0055 + } // end of class NAnt.Core.Functions.StringFunctions +} - IL_0055: ldloc.0 - IL_0056: ret - } // end of method PatternCollection::System.Collections.IList.IndexOf +.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 407 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Insert (int32 index, object 'value') cil managed + + // method line 319 + .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 0x8a0c - .override class [mscorlib]System.Collections.IList::Insert - // Code size 81 (0x51) - .maxstack 3 - IL_0000: nop - IL_0001: ldarg.2 - IL_0002: brtrue IL_0013 + // Method begins at RVA 0x724f + // Code size 10 (0xa) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method EnvironmentFunctions::.ctor - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.2 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + // method line 320 + .method public static hidebysig + default string GetFolderPath (valuetype [mscorlib]System.Environment/SpecialFolder folder) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0F 67 65 74 2D 66 6F 6C 64 65 72 2D 70 61 // ...get-folder-pa + 74 68 00 00 ) // th.. - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: ldarg.2 - IL_0046: castclass NAnt.Core.Types.Pattern - IL_004b: call instance void class NAnt.Core.Types.PatternCollection::Insert(int32, class NAnt.Core.Types.Pattern) - IL_0050: ret - } // end of method PatternCollection::System.Collections.IList.Insert + // Method begins at RVA 0x725c + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + string V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call string class [mscorlib]System.Environment::GetFolderPath(valuetype [mscorlib]System.Environment/SpecialFolder) + IL_0007: stloc.0 + IL_0008: br IL_000d - // method line 408 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.Remove (object 'value') cil managed + IL_000d: ldloc.0 + IL_000e: ret + } // end of method EnvironmentFunctions::GetFolderPath + + // method line 321 + .method public static hidebysig + default string GetMachineName () cil managed { - // Method begins at RVA 0x8a6c - .override class [mscorlib]System.Collections.IList::Remove - // Code size 80 (0x50) - .maxstack 3 + .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 0x7278 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop - IL_0001: ldarg.1 - IL_0002: brtrue IL_0013 + IL_0001: call string class [mscorlib]System.Environment::get_MachineName() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0007: nop - IL_0008: ldstr "value" - IL_000d: newobj instance void class [mscorlib]System.ArgumentNullException::'.ctor'(string) - IL_0012: throw - IL_0013: ldarg.1 - IL_0014: isinst NAnt.Core.Types.Pattern - IL_0019: brtrue IL_0043 + IL_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetMachineName - IL_001e: nop - IL_001f: ldstr "Specified value is not an instance of " - IL_0024: ldtoken NAnt.Core.Types.Pattern - IL_0029: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_002e: callvirt instance string class [mscorlib]System.Type::get_FullName() - IL_0033: ldstr "." - IL_0038: call string string::Concat(string, string, string) - IL_003d: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) - IL_0042: throw - IL_0043: ldarg.0 - IL_0044: ldarg.1 - IL_0045: castclass NAnt.Core.Types.Pattern - IL_004a: call instance void class NAnt.Core.Types.PatternCollection::Remove(class NAnt.Core.Types.Pattern) - IL_004f: ret - } // end of method PatternCollection::System.Collections.IList.Remove + // method line 322 + .method public static hidebysig + default class [mscorlib]System.OperatingSystem GetOperatingSystem () 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 line 409 - .method private final virtual hidebysig newslot - instance default void System.Collections.IList.RemoveAt (int32 index) cil managed + // Method begins at RVA 0x7294 + // Code size 14 (0xe) + .maxstack 1 + .locals init ( + class [mscorlib]System.OperatingSystem 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_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetOperatingSystem + + // method line 323 + .method public static hidebysig + default string GetUserName () cil managed { - // Method begins at RVA 0x8ac8 - .override class [mscorlib]System.Collections.IList::RemoveAt + .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 0x72b0 // Code size 14 (0xe) - .maxstack 8 + .maxstack 1 + .locals init ( + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::RemoveAt(int32) + IL_0001: call string class [mscorlib]System.Environment::get_UserName() + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 IL_000d: ret - } // end of method PatternCollection::System.Collections.IList.RemoveAt + } // end of method EnvironmentFunctions::GetUserName - // method line 410 - .method public hidebysig - instance default int32 Add (class NAnt.Core.Types.Pattern item) cil managed + // method line 324 + .method public static hidebysig + default string GetVariable (string name) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = ( + 01 00 0C 67 65 74 2D 76 61 72 69 61 62 6C 65 00 // ...get-variable. + 00 ) // . + + // Method begins at RVA 0x72cc + // Code size 54 (0x36) + .maxstack 3 + .locals init ( + string 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_0034: ldloc.0 + IL_0035: ret + } // end of method EnvironmentFunctions::GetVariable + + // method line 325 + .method public static hidebysig + default bool VariableExists (string name) cil managed { - // Method begins at RVA 0x8ad8 + .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 0x7310 // Code size 21 (0x15) .maxstack 2 .locals init ( - int32 V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::Add(object) + IL_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_0013: ldloc.0 IL_0014: ret - } // end of method PatternCollection::Add + } // end of method EnvironmentFunctions::VariableExists - // method line 411 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.Pattern[] items) cil managed + // method line 326 + .method public static hidebysig + default class [mscorlib]System.Version GetVersion () cil managed { - // Method begins at RVA 0x8afc - // Code size 34 (0x22) - .maxstack 3 + .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 0x7334 + // Code size 14 (0xe) + .maxstack 1 .locals init ( - int32 V_0) + class [mscorlib]System.Version V_0) IL_0000: nop - IL_0001: ldc.i4.0 - IL_0002: stloc.0 - IL_0003: br IL_0018 - - IL_0008: nop - IL_0009: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: ldelem.ref - IL_000d: call instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) - IL_0012: pop - IL_0013: nop - IL_0014: ldloc.0 - IL_0015: ldc.i4.1 - IL_0016: add - IL_0017: stloc.0 - IL_0018: ldloc.0 - IL_0019: ldarg.1 - IL_001a: ldlen - IL_001b: conv.i4 - IL_001c: blt IL_0008 + IL_0001: call class [mscorlib]System.Version class [mscorlib]System.Environment::get_Version() + IL_0006: stloc.0 + IL_0007: br IL_000c - IL_0021: ret - } // end of method PatternCollection::AddRange + IL_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::GetVersion - // method line 412 - .method public hidebysig - instance default void AddRange (class NAnt.Core.Types.PatternCollection items) cil managed + // method line 327 + .method public static hidebysig + default string NewLine () cil managed { - // Method begins at RVA 0x8b2c - // Code size 41 (0x29) - .maxstack 3 + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 07 6E 65 77 6C 69 6E 65 00 00 ) // ...newline.. + + // Method begins at RVA 0x7350 + // Code size 14 (0xe) + .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_0001: call string class [mscorlib]System.Environment::get_NewLine() + IL_0006: stloc.0 + IL_0007: br IL_000c + + IL_000c: ldloc.0 + IL_000d: ret + } // end of method EnvironmentFunctions::NewLine + + } // end of class NAnt.Core.Functions.EnvironmentFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit Int64ConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 04 6C 6F 6E 67 0A 43 6F 6E 76 65 72 73 69 // ...long.Conversi + 6F 6E 00 00 ) // on.. + + // method line 328 + .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 0x736a + // 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: ldarg.0 - IL_000a: ldarg.1 - IL_000b: ldloc.0 - IL_000c: callvirt instance class NAnt.Core.Types.Pattern class NAnt.Core.Types.PatternCollection::get_Item(int32) - IL_0011: call instance int32 class NAnt.Core.Types.PatternCollection::Add(class NAnt.Core.Types.Pattern) - IL_0016: pop - IL_0017: nop - IL_0018: ldloc.0 - IL_0019: ldc.i4.1 - IL_001a: add - IL_001b: stloc.0 - IL_001c: ldloc.0 - IL_001d: ldarg.1 - IL_001e: callvirt instance int32 class NAnt.Core.Types.PatternCollection::get_Count() - IL_0023: blt IL_0008 + IL_0009: ret + } // end of method Int64ConversionFunctions::.ctor - IL_0028: ret - } // end of method PatternCollection::AddRange + // method line 329 + .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.. - // method line 413 - .method public hidebysig - instance default bool Contains (class NAnt.Core.Types.Pattern item) cil managed + // Method begins at RVA 0x7378 + // Code size 20 (0x14) + .maxstack 2 + .locals init ( + int64 V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_0007: call int64 int64::Parse(string, class [mscorlib]System.IFormatProvider) + IL_000c: stloc.0 + IL_000d: br IL_0012 + + IL_0012: ldloc.0 + IL_0013: ret + } // end of method Int64ConversionFunctions::Parse + + // method line 330 + .method public static hidebysig + default string ToString (int64 'value') cil managed { - // Method begins at RVA 0x8b64 + .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 0x7398 // Code size 21 (0x15) .maxstack 2 .locals init ( - bool V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance bool class [mscorlib]System.Collections.ArrayList::Contains(object) + 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_0013: ldloc.0 IL_0014: ret - } // end of method PatternCollection::Contains + } // end of method Int64ConversionFunctions::ToString - // method line 414 - .method public hidebysig - instance default void CopyTo (class NAnt.Core.Types.Pattern[] 'array', int32 index) cil managed + } // end of class NAnt.Core.Functions.Int64ConversionFunctions +} + +.namespace NAnt.Core.Functions +{ + .class public auto ansi beforefieldinit BooleanConversionFunctions + extends NAnt.Core.FunctionSetBase + { + .custom instance void class NAnt.Core.Attributes.FunctionSetAttribute::'.ctor'(string, string) = ( + 01 00 04 62 6F 6F 6C 0A 43 6F 6E 76 65 72 73 69 // ...bool.Conversi + 6F 6E 00 00 ) // on.. + + + // method line 331 + .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 0x8b85 - // Code size 15 (0xf) + // Method begins at RVA 0x73b9 + // Code size 10 (0xa) .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldarg.1 + IL_0002: ldarg.2 + IL_0003: call instance void class NAnt.Core.FunctionSetBase::'.ctor'(class NAnt.Core.Project, class NAnt.Core.PropertyDictionary) + IL_0008: nop + IL_0009: ret + } // end of method BooleanConversionFunctions::.ctor + + // method line 332 + .method public static hidebysig + default bool Parse (string s) cil managed + { + .custom instance void class NAnt.Core.Attributes.FunctionAttribute::'.ctor'(string) = (01 00 05 70 61 72 73 65 00 00 ) // ...parse.. + + // Method begins at RVA 0x73c4 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::CopyTo(class [mscorlib]System.Array, int32) + IL_0002: call bool bool::Parse(string) + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternCollection::CopyTo + } // end of method BooleanConversionFunctions::Parse - // method line 415 - .method public hidebysig - instance default int32 IndexOf (class NAnt.Core.Types.Pattern item) cil managed + // method line 333 + .method public static hidebysig + default string ToString (bool 'value') cil managed { - // Method begins at RVA 0x8b98 + .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 0x73e0 // Code size 21 (0x15) .maxstack 2 .locals init ( - int32 V_0) + string V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance int32 class [mscorlib]System.Collections.ArrayList::IndexOf(object) + IL_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_0013: ldloc.0 IL_0014: ret - } // end of method PatternCollection::IndexOf + } // end of method BooleanConversionFunctions::ToString - // method line 416 - .method public hidebysig - instance default void Insert (int32 index, class NAnt.Core.Types.Pattern item) cil managed + } // end of class NAnt.Core.Functions.BooleanConversionFunctions +} + +.namespace NAnt.Core.Configuration +{ + .class private auto ansi serializable beforefieldinit DirectoryName + extends NAnt.Core.Configuration.ConditionalElement + { + .field private string _name + + // method line 334 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8bb9 - // Code size 15 (0xf) + // Method begins at RVA 0x9e73 + // Code size 7 (0x7) .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: ldarg.2 - IL_0009: callvirt instance void class [mscorlib]System.Collections.ArrayList::Insert(int32, object) - IL_000e: ret - } // end of method PatternCollection::Insert + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Configuration.ConditionalElement::'.ctor'() + IL_0006: ret + } // end of method DirectoryName::.ctor - // method line 417 - .method public hidebysig - instance default class NAnt.Core.Types.PatternEnumerator GetEnumerator () cil managed + // method line 335 + .method public hidebysig specialname + instance default string get_DirName () cil managed { - // Method begins at RVA 0x8bcc + // Method begins at RVA 0x9e7c // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.PatternEnumerator V_0) + string V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: newobj instance void class NAnt.Core.Types.PatternEnumerator::'.ctor'(class NAnt.Core.Types.PatternCollection) + IL_0002: ldfld string NAnt.Core.Configuration.DirectoryName::_name IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method PatternCollection::GetEnumerator + } // end of method DirectoryName::get_DirName - // method line 418 - .method public hidebysig - instance default void Remove (class NAnt.Core.Types.Pattern item) cil managed + // method line 336 + .method public hidebysig specialname + instance default void set_DirName (string 'value') cil managed { - // Method begins at RVA 0x8be7 - // Code size 14 (0xe) + // Method begins at RVA 0x9e97 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: call instance class [mscorlib]System.Collections.ArrayList class NAnt.Core.Types.PatternCollection::get_List() - IL_0007: ldarg.1 - IL_0008: callvirt instance void class [mscorlib]System.Collections.ArrayList::Remove(object) - IL_000d: ret - } // end of method PatternCollection::Remove + IL_0002: ldarg.1 + IL_0003: stfld string NAnt.Core.Configuration.DirectoryName::_name + IL_0008: ret + } // end of method DirectoryName::set_DirName - .property instance bool System.Collections.ICollection.IsSynchronized () - { - .get instance default bool NAnt.Core.Types.PatternCollection::System.Collections.ICollection.get_IsSynchronized () - } - .property instance object System.Collections.ICollection.SyncRoot () - { - .get instance default object NAnt.Core.Types.PatternCollection::System.Collections.ICollection.get_SyncRoot () - } - .property instance object System.Collections.IList.Item (int32) - { - .get instance default object NAnt.Core.Types.PatternCollection::System.Collections.IList.get_Item (int32 index) - .set instance default void NAnt.Core.Types.PatternCollection::System.Collections.IList.set_Item (int32 index, object 'value') - } - .property instance bool System.Collections.IList.IsFixedSize () - { - .get instance default bool NAnt.Core.Types.PatternCollection::System.Collections.IList.get_IsFixedSize () - } - .property instance bool System.Collections.IList.IsReadOnly () - { - .get instance default bool NAnt.Core.Types.PatternCollection::System.Collections.IList.get_IsReadOnly () - } - .property instance class NAnt.Core.Types.Pattern Item (int32) - { - .get instance default class NAnt.Core.Types.Pattern NAnt.Core.Types.PatternCollection::get_Item (int32 index) - .set instance default void NAnt.Core.Types.PatternCollection::set_Item (int32 index, class NAnt.Core.Types.Pattern 'value') - } - .property instance class [mscorlib]System.Collections.ArrayList List () - { - .get instance default class [mscorlib]System.Collections.ArrayList NAnt.Core.Types.PatternCollection::get_List () - } - .property instance int32 Count () + .property instance string DirName () { - .get instance default int32 NAnt.Core.Types.PatternCollection::get_Count () + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 04 6E 61 6D 65 01 00 54 02 08 52 65 71 75 // ...name..T..Requ + 69 72 65 64 01 ) // ired. + + .get instance default string NAnt.Core.Configuration.DirectoryName::get_DirName () + .set instance default void NAnt.Core.Configuration.DirectoryName::set_DirName (string 'value') } - } // end of class NAnt.Core.Types.PatternCollection + } // end of class NAnt.Core.Configuration.DirectoryName } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Configuration { - .class public auto ansi beforefieldinit PatternEnumerator - extends [mscorlib]System.Object - implements [mscorlib]System.Collections.IEnumerator { - .field private class [mscorlib]System.Collections.IEnumerator _baseEnumerator + .class private auto ansi serializable beforefieldinit Runtime + extends NAnt.Core.Element + { + .field private class NAnt.Core.Configuration.ManagedExecutionModes _modes + .field private class NAnt.Core.Configuration.DirList _probingPaths - // method line 419 - .method assembly hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.PatternCollection arguments) cil managed + // method line 337 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8bf8 - // Code size 22 (0x16) - .maxstack 2 - .locals init ( - class [mscorlib]System.Collections.IEnumerable V_0) + // Method begins at RVA 0x9ea1 + // Code size 29 (0x1d) + .maxstack 8 IL_0000: ldarg.0 - IL_0001: call instance void object::'.ctor'() - IL_0006: nop - IL_0007: ldarg.1 - IL_0008: stloc.0 - IL_0009: ldarg.0 - IL_000a: ldloc.0 - IL_000b: callvirt instance class [mscorlib]System.Collections.IEnumerator class [mscorlib]System.Collections.IEnumerable::GetEnumerator() - IL_0010: stfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator - IL_0015: ret - } // end of method PatternEnumerator::.ctor + IL_0001: newobj instance void class NAnt.Core.Configuration.ManagedExecutionModes::'.ctor'() + IL_0006: stfld class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::_modes + IL_000b: ldarg.0 + IL_000c: newobj instance void class NAnt.Core.Configuration.DirList::'.ctor'() + IL_0011: stfld class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::_probingPaths + IL_0016: ldarg.0 + IL_0017: call instance void class NAnt.Core.Element::'.ctor'() + IL_001c: ret + } // end of method Runtime::.ctor - // method line 420 + // method line 338 .method public hidebysig specialname - instance default class NAnt.Core.Types.Pattern get_Current () cil managed + instance default class NAnt.Core.Configuration.DirList get_ProbingPaths () cil managed { - // Method begins at RVA 0x8c1c - // Code size 25 (0x19) + // Method begins at RVA 0x9ec0 + // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.Types.Pattern V_0) + class NAnt.Core.Configuration.DirList V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: castclass NAnt.Core.Types.Pattern - IL_0011: stloc.0 - IL_0012: br IL_0017 + IL_0002: ldfld class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::_probingPaths + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0017: ldloc.0 - IL_0018: ret - } // end of method PatternEnumerator::get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Runtime::get_ProbingPaths - // method line 421 - .method private final virtual hidebysig newslot specialname - instance default object System.Collections.IEnumerator.get_Current () cil managed + // method line 339 + .method public hidebysig specialname + instance default class NAnt.Core.Configuration.ManagedExecutionModes get_Modes () cil managed { - // Method begins at RVA 0x8c44 - .override class [mscorlib]System.Collections.IEnumerator::get_Current - // Code size 20 (0x14) + // Method begins at RVA 0x9edc + // Code size 15 (0xf) .maxstack 1 .locals init ( - object V_0) + class NAnt.Core.Configuration.ManagedExecutionModes V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator - IL_0007: callvirt instance object class [mscorlib]System.Collections.IEnumerator::get_Current() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::_modes + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PatternEnumerator::System.Collections.IEnumerator.get_Current + IL_000d: ldloc.0 + IL_000e: ret + } // end of method Runtime::get_Modes - // method line 422 - .method public final virtual hidebysig newslot - instance default bool MoveNext () cil managed + .property instance class NAnt.Core.Configuration.DirList ProbingPaths () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0D 70 72 6F 62 69 6E 67 2D 70 61 74 68 73 // ...probing-paths + 00 00 ) // .. + + .get instance default class NAnt.Core.Configuration.DirList NAnt.Core.Configuration.Runtime::get_ProbingPaths () + } + .property instance class NAnt.Core.Configuration.ManagedExecutionModes Modes () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 05 6D 6F 64 65 73 00 00 ) // ...modes.. + + .get instance default class NAnt.Core.Configuration.ManagedExecutionModes NAnt.Core.Configuration.Runtime::get_Modes () + } + } // end of class NAnt.Core.Configuration.Runtime +} + +.namespace NAnt.Core.Configuration +{ + .class private auto ansi serializable beforefieldinit ManagedExecutionMode + extends NAnt.Core.Element + { + .field private class NAnt.Core.Configuration.RuntimeEngine _engine + .field private class NAnt.Core.Types.EnvironmentSet _environmentSet + + // method line 340 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8c64 - // Code size 20 (0x14) + // Method begins at RVA 0x9ef7 + // Code size 18 (0x12) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: newobj instance void class NAnt.Core.Types.EnvironmentSet::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::_environmentSet + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Element::'.ctor'() + IL_0011: ret + } // end of method ManagedExecutionMode::.ctor + + // method line 341 + .method public hidebysig specialname + instance default class NAnt.Core.Configuration.RuntimeEngine get_Engine () cil managed + { + // Method begins at RVA 0x9f0c + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Configuration.RuntimeEngine V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator - IL_0007: callvirt instance bool class [mscorlib]System.Collections.IEnumerator::MoveNext() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::_engine + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method PatternEnumerator::MoveNext + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedExecutionMode::get_Engine - // method line 423 - .method public final virtual hidebysig newslot - instance default void Reset () cil managed + // method line 342 + .method public hidebysig specialname + instance default void set_Engine (class NAnt.Core.Configuration.RuntimeEngine 'value') cil managed { - // Method begins at RVA 0x8c84 - // Code size 13 (0xd) + // Method begins at RVA 0x9f27 + // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.Collections.IEnumerator NAnt.Core.Types.PatternEnumerator::_baseEnumerator - IL_0007: callvirt instance void class [mscorlib]System.Collections.IEnumerator::Reset() - IL_000c: ret - } // end of method PatternEnumerator::Reset + IL_0002: ldarg.1 + IL_0003: stfld class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::_engine + IL_0008: ret + } // end of method ManagedExecutionMode::set_Engine - .property instance object System.Collections.IEnumerator.Current () + // method line 343 + .method public hidebysig specialname + instance default class NAnt.Core.Types.EnvironmentSet get_Environment () cil managed + { + // Method begins at RVA 0x9f34 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class NAnt.Core.Types.EnvironmentSet V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::_environmentSet + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method ManagedExecutionMode::get_Environment + + .property instance class NAnt.Core.Configuration.RuntimeEngine Engine () { - .get instance default object NAnt.Core.Types.PatternEnumerator::System.Collections.IEnumerator.get_Current () + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 06 65 6E 67 69 6E 65 00 00 ) // ...engine.. + + .get instance default class NAnt.Core.Configuration.RuntimeEngine NAnt.Core.Configuration.ManagedExecutionMode::get_Engine () + .set instance default void NAnt.Core.Configuration.ManagedExecutionMode::set_Engine (class NAnt.Core.Configuration.RuntimeEngine 'value') } - .property instance class NAnt.Core.Types.Pattern Current () + .property instance class NAnt.Core.Types.EnvironmentSet Environment () { - .get instance default class NAnt.Core.Types.Pattern NAnt.Core.Types.PatternEnumerator::get_Current () + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = ( + 01 00 0B 65 6E 76 69 72 6F 6E 6D 65 6E 74 00 00 ) // ...environment.. + + .get instance default class NAnt.Core.Types.EnvironmentSet NAnt.Core.Configuration.ManagedExecutionMode::get_Environment () } - } // end of class NAnt.Core.Types.PatternEnumerator + } // end of class NAnt.Core.Configuration.ManagedExecutionMode } -.namespace NAnt.Core.Types +.namespace NAnt.Core.Configuration { - .class public auto ansi serializable beforefieldinit FileSet - extends NAnt.Core.DataTypeBase + .class private auto ansi serializable beforefieldinit RuntimeEngine + extends NAnt.Core.Element { - .custom instance void class NAnt.Core.Attributes.ElementNameAttribute::'.ctor'(string) = (01 00 07 66 69 6C 65 73 65 74 00 00 ) // ...fileset.. - - .field private bool _hasScanned - .field private bool _defaultExcludes - .field private bool _failOnEmpty - .field private class [mscorlib]System.IO.DirectoryInfo _baseDirectory - .field private class NAnt.Core.DirectoryScanner _scanner - .field private class [System]System.Collections.Specialized.StringCollection _asis - .field private class NAnt.Core.PathScanner _pathFiles - .field private static initonly class [log4net]log4net.ILog logger + .field private class [mscorlib]System.IO.FileInfo _program + .field private class NAnt.Core.Types.ArgumentCollection _arguments - // method line 424 + // method line 344 .method public hidebysig specialname rtspecialname instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8c92 - // Code size 48 (0x30) + // Method begins at RVA 0x9f4f + // Code size 18 (0x12) .maxstack 8 IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes - IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() - IL_000d: stfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0012: ldarg.0 - IL_0013: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0018: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis - IL_001d: ldarg.0 - IL_001e: newobj instance void class NAnt.Core.PathScanner::'.ctor'() - IL_0023: stfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles - IL_0028: ldarg.0 - IL_0029: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_002e: nop - IL_002f: ret - } // end of method FileSet::.ctor + IL_0001: newobj instance void class NAnt.Core.Types.ArgumentCollection::'.ctor'() + IL_0006: stfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::_arguments + IL_000b: ldarg.0 + IL_000c: call instance void class NAnt.Core.Element::'.ctor'() + IL_0011: ret + } // end of method RuntimeEngine::.ctor - // method line 425 - .method public hidebysig specialname rtspecialname - instance default void '.ctor' (class NAnt.Core.Types.FileSet fs) cil managed + // method line 345 + .method public hidebysig specialname + instance default class [mscorlib]System.IO.FileInfo get_Program () cil managed { - // Method begins at RVA 0x8cc3 - // Code size 55 (0x37) + // Method begins at RVA 0x9f64 + // Code size 15 (0xf) + .maxstack 1 + .locals init ( + class [mscorlib]System.IO.FileInfo V_0) + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldfld class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::_program + IL_0007: stloc.0 + IL_0008: br IL_000d + + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RuntimeEngine::get_Program + + // method line 346 + .method public hidebysig specialname + instance default void set_Program (class [mscorlib]System.IO.FileInfo 'value') cil managed + { + // Method begins at RVA 0x9f7f + // Code size 9 (0x9) .maxstack 8 - IL_0000: ldarg.0 - IL_0001: ldc.i4.1 - IL_0002: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes - IL_0007: ldarg.0 - IL_0008: newobj instance void class NAnt.Core.DirectoryScanner::'.ctor'() - IL_000d: stfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0012: ldarg.0 - IL_0013: newobj instance void class [System]System.Collections.Specialized.StringCollection::'.ctor'() - IL_0018: stfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis - IL_001d: ldarg.0 - IL_001e: newobj instance void class NAnt.Core.PathScanner::'.ctor'() - IL_0023: stfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles - IL_0028: ldarg.0 - IL_0029: call instance void class NAnt.Core.DataTypeBase::'.ctor'() - IL_002e: nop - IL_002f: ldarg.1 - IL_0030: ldarg.0 - IL_0031: callvirt instance void class NAnt.Core.Types.FileSet::CopyTo(class NAnt.Core.Types.FileSet) - IL_0036: ret - } // end of method FileSet::.ctor + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::_program + IL_0008: ret + } // end of method RuntimeEngine::set_Program - // method line 426 + // method line 347 .method public hidebysig specialname - instance default bool get_CaseSensitive () cil managed + instance default class NAnt.Core.Types.ArgumentCollection get_Arguments () cil managed { - // Method begins at RVA 0x8cfc - // Code size 20 (0x14) + // Method begins at RVA 0x9f8c + // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Types.ArgumentCollection V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0007: callvirt instance bool class NAnt.Core.DirectoryScanner::get_CaseSensitive() - IL_000c: stloc.0 - IL_000d: br IL_0012 + IL_0002: ldfld class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::_arguments + IL_0007: stloc.0 + IL_0008: br IL_000d - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileSet::get_CaseSensitive + IL_000d: ldloc.0 + IL_000e: ret + } // end of method RuntimeEngine::get_Arguments - // method line 427 - .method public hidebysig specialname - instance default void set_CaseSensitive (bool 'value') cil managed + // method line 348 + .method family virtual hidebysig + instance default void Initialize () cil managed { - // Method begins at RVA 0x8d1c - // Code size 14 (0xe) - .maxstack 8 + // Method begins at RVA 0x9fa8 + // Code size 73 (0x49) + .maxstack 3 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0007: ldarg.1 - IL_0008: callvirt instance void class NAnt.Core.DirectoryScanner::set_CaseSensitive(bool) - IL_000d: ret - } // end of method FileSet::set_CaseSensitive + IL_0002: call instance void class NAnt.Core.Element::Initialize() + IL_0007: ldarg.0 + IL_0008: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() + IL_000d: ldnull + IL_000e: ceq + IL_0010: ldc.i4.0 + IL_0011: ceq + IL_0013: ldarg.0 + IL_0014: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() + IL_0019: callvirt instance bool class [mscorlib]System.IO.FileSystemInfo::get_Exists() + IL_001e: ldc.i4.0 + IL_001f: ceq + IL_0021: and + IL_0022: brfalse IL_0048 - // method line 428 + IL_0027: nop + IL_0028: call class [mscorlib]System.Globalization.CultureInfo class [mscorlib]System.Globalization.CultureInfo::get_InvariantCulture() + IL_002d: ldstr "Runtime engine '{0}' does not exist." + IL_0032: ldarg.0 + IL_0033: call instance class [mscorlib]System.IO.FileInfo class NAnt.Core.Configuration.RuntimeEngine::get_Program() + IL_0038: callvirt instance string class [mscorlib]System.IO.FileSystemInfo::get_FullName() + IL_003d: call string string::Format(class [mscorlib]System.IFormatProvider, string, object) + IL_0042: newobj instance void class [mscorlib]System.ArgumentException::'.ctor'(string) + IL_0047: throw + IL_0048: ret + } // end of method RuntimeEngine::Initialize + + .property instance class [mscorlib]System.IO.FileInfo Program () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = ( + 01 00 07 70 72 6F 67 72 61 6D 01 00 54 02 08 52 // ...program..T..R + 65 71 75 69 72 65 64 01 ) // equired. + + .get instance default class [mscorlib]System.IO.FileInfo NAnt.Core.Configuration.RuntimeEngine::get_Program () + .set instance default void NAnt.Core.Configuration.RuntimeEngine::set_Program (class [mscorlib]System.IO.FileInfo 'value') + } + .property instance class NAnt.Core.Types.ArgumentCollection Arguments () + { + .custom instance void class NAnt.Core.Attributes.BuildElementArrayAttribute::'.ctor'(string) = (01 00 03 61 72 67 00 00 ) // ...arg.. + + .get instance default class NAnt.Core.Types.ArgumentCollection NAnt.Core.Configuration.RuntimeEngine::get_Arguments () + } + } // end of class NAnt.Core.Configuration.RuntimeEngine +} + +.namespace NAnt.Core.Configuration +{ + .class private auto ansi serializable beforefieldinit ManagedExecutionModes + extends NAnt.Core.Element + { + .field private class NAnt.Core.Configuration.ManagedExecutionMode _autoMode + .field private class NAnt.Core.Configuration.ManagedExecutionMode _strictMode + + // method line 349 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed + { + // Method begins at RVA 0x9ffd + // Code size 7 (0x7) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: call instance void class NAnt.Core.Element::'.ctor'() + IL_0006: ret + } // end of method ManagedExecutionModes::.ctor + + // method line 350 .method public hidebysig specialname - instance default bool get_FailOnEmpty () cil managed + instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Auto () cil managed { - // Method begins at RVA 0x8d2c + // Method begins at RVA 0xa008 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Configuration.ManagedExecutionMode V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_failOnEmpty + IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_autoMode IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileSet::get_FailOnEmpty + } // end of method ManagedExecutionModes::get_Auto - // method line 429 + // method line 351 .method public hidebysig specialname - instance default void set_FailOnEmpty (bool 'value') cil managed + instance default void set_Auto (class NAnt.Core.Configuration.ManagedExecutionMode 'value') cil managed { - // Method begins at RVA 0x8d47 + // Method begins at RVA 0xa023 // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet::_failOnEmpty + IL_0003: stfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_autoMode IL_0008: ret - } // end of method FileSet::set_FailOnEmpty + } // end of method ManagedExecutionModes::set_Auto - // method line 430 + // method line 352 .method public hidebysig specialname - instance default bool get_DefaultExcludes () cil managed + instance default class NAnt.Core.Configuration.ManagedExecutionMode get_Strict () cil managed { - // Method begins at RVA 0x8d54 + // Method begins at RVA 0xa030 // Code size 15 (0xf) .maxstack 1 .locals init ( - bool V_0) + class NAnt.Core.Configuration.ManagedExecutionMode V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_defaultExcludes + IL_0002: ldfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_strictMode IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileSet::get_DefaultExcludes + } // end of method ManagedExecutionModes::get_Strict - // method line 431 + // method line 353 .method public hidebysig specialname - instance default void set_DefaultExcludes (bool 'value') cil managed + instance default void set_Strict (class NAnt.Core.Configuration.ManagedExecutionMode 'value') cil managed { - // Method begins at RVA 0x8d6f + // Method begins at RVA 0xa04b // Code size 9 (0x9) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 IL_0002: ldarg.1 - IL_0003: stfld bool NAnt.Core.Types.FileSet::_defaultExcludes + IL_0003: stfld class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::_strictMode IL_0008: ret - } // end of method FileSet::set_DefaultExcludes + } // end of method ManagedExecutionModes::set_Strict - // method line 432 - .method public virtual hidebysig newslot specialname - instance default class [mscorlib]System.IO.DirectoryInfo get_BaseDirectory () cil managed + // method line 354 + .method public hidebysig + instance default class NAnt.Core.Configuration.ManagedExecutionMode GetExecutionMode (valuetype NAnt.Core.Types.ManagedExecution 'managed') cil managed { - // Method begins at RVA 0x8d7c - // Code size 127 (0x7f) - .maxstack 2 + // Method begins at RVA 0xa058 + // Code size 86 (0x56) + .maxstack 1 .locals init ( - class [mscorlib]System.IO.DirectoryInfo V_0) + class NAnt.Core.Configuration.ManagedExecutionMode V_0) IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory - IL_0007: brtrue IL_0071 + IL_0001: ldarg.1 + IL_0002: switch ( + IL_0018, + IL_001f, + IL_002b) + IL_0013: br IL_004e - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: call instance object class NAnt.Core.Element::get_Parent() - IL_0013: brfalse IL_004e + IL_0018: ldnull + IL_0019: stloc.0 + IL_001a: br IL_0054 - IL_0018: ldtoken NAnt.Core.Types.FileSet - IL_001d: call class [mscorlib]System.Type class [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle) - IL_0022: ldarg.0 - IL_0023: call instance object class NAnt.Core.Element::get_Parent() - IL_0028: callvirt instance class [mscorlib]System.Type object::GetType() - IL_002d: callvirt instance bool class [mscorlib]System.Type::IsAssignableFrom(class [mscorlib]System.Type) - IL_0032: brfalse IL_004e + IL_001f: ldarg.0 + IL_0020: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Auto() + IL_0025: stloc.0 + IL_0026: br IL_0054 - IL_0037: nop - IL_0038: ldarg.0 - IL_0039: call instance object class NAnt.Core.Element::get_Parent() - IL_003e: castclass NAnt.Core.Types.FileSet - IL_0043: callvirt instance class [mscorlib]System.IO.DirectoryInfo class NAnt.Core.Types.FileSet::get_BaseDirectory() + IL_002b: ldarg.0 + IL_002c: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Strict() + IL_0031: brfalse IL_0042 + + IL_0036: ldarg.0 + IL_0037: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Strict() + IL_003c: stloc.0 + IL_003d: br IL_0054 + + IL_0042: ldarg.0 + IL_0043: call instance class NAnt.Core.Configuration.ManagedExecutionMode class NAnt.Core.Configuration.ManagedExecutionModes::get_Auto() IL_0048: stloc.0 - IL_0049: br IL_007d + IL_0049: br IL_0054 - IL_004e: ldarg.0 - IL_004f: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0054: brfalse IL_0070 + IL_004e: newobj instance void class [mscorlib]System.NotImplementedException::'.ctor'() + IL_0053: throw + IL_0054: ldloc.0 + IL_0055: ret + } // end of method ManagedExecutionModes::GetExecutionMode - IL_0059: nop - IL_005a: ldarg.0 - IL_005b: callvirt instance class NAnt.Core.Project class NAnt.Core.Element::get_Project() - IL_0060: callvirt instance string class NAnt.Core.Project::get_BaseDirectory() - IL_0065: newobj instance void class [mscorlib]System.IO.DirectoryInfo::'.ctor'(string) - IL_006a: stloc.0 - IL_006b: br IL_007d + .property instance class NAnt.Core.Configuration.ManagedExecutionMode Auto () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 04 61 75 74 6F 00 00 ) // ...auto.. - IL_0070: nop - IL_0071: ldarg.0 - IL_0072: ldfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory - IL_0077: stloc.0 - IL_0078: br IL_007d + .get instance default class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::get_Auto () + .set instance default void NAnt.Core.Configuration.ManagedExecutionModes::set_Auto (class NAnt.Core.Configuration.ManagedExecutionMode 'value') + } + .property instance class NAnt.Core.Configuration.ManagedExecutionMode Strict () + { + .custom instance void class NAnt.Core.Attributes.BuildElementAttribute::'.ctor'(string) = (01 00 06 73 74 72 69 63 74 00 00 ) // ...strict.. - IL_007d: ldloc.0 - IL_007e: ret - } // end of method FileSet::get_BaseDirectory + .get instance default class NAnt.Core.Configuration.ManagedExecutionMode NAnt.Core.Configuration.ManagedExecutionModes::get_Strict () + .set instance default void NAnt.Core.Configuration.ManagedExecutionModes::set_Strict (class NAnt.Core.Configuration.ManagedExecutionMode 'value') + } + } // end of class NAnt.Core.Configuration.ManagedExecutionModes +} - // method line 433 - .method public virtual hidebysig newslot specialname - instance default void set_BaseDirectory (class [mscorlib]System.IO.DirectoryInfo 'value') cil managed - { - // Method begins at RVA 0x8e07 - // Code size 9 (0x9) - .maxstack 8 - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: stfld class [mscorlib]System.IO.DirectoryInfo NAnt.Core.Types.FileSet::_baseDirectory - IL_0008: ret - } // end of method FileSet::set_BaseDirectory +.namespace NAnt.Core.Configuration +{ + .class private auto ansi serializable beforefieldinit ConditionalElement + extends NAnt.Core.Element + { + .field private bool _ifDefined + .field private bool _unlessDefined - // method line 434 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Includes () cil managed + // method line 355 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' () cil managed { - // Method begins at RVA 0x8e14 - // Code size 20 (0x14) - .maxstack 1 - .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Includes() - IL_000c: stloc.0 - IL_000d: br IL_0012 - - IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileSet::get_Includes + // Method begins at RVA 0x9cd8 + // Code size 14 (0xe) + .maxstack 8 + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined + IL_0007: ldarg.0 + IL_0008: call instance void class NAnt.Core.Element::'.ctor'() + IL_000d: ret + } // end of method ConditionalElement::.ctor - // method line 435 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_Excludes () cil managed + // method line 356 + .method family virtual hidebysig + instance default void InitializeXml (class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo framework) cil managed { - // Method begins at RVA 0x8e34 - // Code size 20 (0x14) - .maxstack 1 + // Method begins at RVA 0x9ce8 + // Code size 25 (0x19) + .maxstack 4 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + class NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_0007: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_Excludes() - IL_000c: stloc.0 - IL_000d: br IL_0012 - + IL_0002: ldarg.1 + IL_0003: callvirt instance void class NAnt.Core.Element::set_XmlNode(class [System.Xml]System.Xml.XmlNode) + IL_0008: ldarg.0 + IL_0009: ldarg.1 + IL_000a: ldarg.2 + IL_000b: ldarg.3 + IL_000c: newobj instance void class NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::'.ctor'(class NAnt.Core.Configuration.ConditionalElement, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_0011: stloc.0 IL_0012: ldloc.0 - IL_0013: ret - } // end of method FileSet::get_Excludes + IL_0013: callvirt instance void class NAnt.Core.Element/AttributeConfigurator::Initialize() + IL_0018: ret + } // end of method ConditionalElement::InitializeXml - // method line 436 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_AsIs () cil managed + // method line 357 + .method family hidebysig specialname + instance default bool get_IfDefined () cil managed { - // Method begins at RVA 0x8e54 + // Method begins at RVA 0x9d10 // Code size 15 (0xf) .maxstack 1 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class [System]System.Collections.Specialized.StringCollection NAnt.Core.Types.FileSet::_asis + IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileSet::get_AsIs + } // end of method ConditionalElement::get_IfDefined - // method line 437 - .method public hidebysig specialname - instance default class NAnt.Core.PathScanner get_PathFiles () cil managed + // method line 358 + .method family hidebysig specialname + instance default void set_IfDefined (bool 'value') cil managed + { + // Method begins at RVA 0x9d2b + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Configuration.ConditionalElement::_ifDefined + IL_0008: ret + } // end of method ConditionalElement::set_IfDefined + + // method line 359 + .method family hidebysig specialname + instance default bool get_UnlessDefined () cil managed { - // Method begins at RVA 0x8e70 + // Method begins at RVA 0x9d38 // Code size 15 (0xf) .maxstack 1 .locals init ( - class NAnt.Core.PathScanner V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld class NAnt.Core.PathScanner NAnt.Core.Types.FileSet::_pathFiles + IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement::_unlessDefined IL_0007: stloc.0 IL_0008: br IL_000d IL_000d: ldloc.0 IL_000e: ret - } // end of method FileSet::get_PathFiles + } // end of method ConditionalElement::get_UnlessDefined - // method line 438 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_FileNames () cil managed + // method line 360 + .method family hidebysig specialname + instance default void set_UnlessDefined (bool 'value') cil managed { - // Method begins at RVA 0x8e8c - // Code size 39 (0x27) - .maxstack 1 + // Method begins at RVA 0x9d53 + // Code size 9 (0x9) + .maxstack 8 + IL_0000: nop + IL_0001: ldarg.0 + IL_0002: ldarg.1 + IL_0003: stfld bool NAnt.Core.Configuration.ConditionalElement::_unlessDefined + IL_0008: ret + } // end of method ConditionalElement::set_UnlessDefined + + // method line 361 + .method assembly hidebysig specialname + instance default bool get_Enabled () cil managed + { + // Method begins at RVA 0x9d60 + // Code size 32 (0x20) + .maxstack 2 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_0007: brtrue IL_0014 + IL_0002: call instance bool class NAnt.Core.Configuration.ConditionalElement::get_IfDefined() + IL_0007: brfalse IL_0017 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_001a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_FileNames() - IL_001f: stloc.0 - IL_0020: br IL_0025 + IL_000c: ldarg.0 + IL_000d: call instance bool class NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined() + IL_0012: ldc.i4.0 + IL_0013: ceq + IL_0015: br.s IL_0018 - IL_0025: ldloc.0 - IL_0026: ret - } // end of method FileSet::get_FileNames + IL_0017: ldc.i4.0 + IL_0018: stloc.0 + IL_0019: br IL_001e - // method line 439 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_DirectoryNames () cil managed + IL_001e: ldloc.0 + IL_001f: ret + } // end of method ConditionalElement::get_Enabled + + .property instance bool IfDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 02 69 66 00 00 ) // ...if.. + + .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_IfDefined () + .set instance default void NAnt.Core.Configuration.ConditionalElement::set_IfDefined (bool 'value') + } + .property instance bool UnlessDefined () + { + .custom instance void class NAnt.Core.Attributes.TaskAttributeAttribute::'.ctor'(string) = (01 00 06 75 6E 6C 65 73 73 00 00 ) // ...unless.. + + .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined () + .set instance default void NAnt.Core.Configuration.ConditionalElement::set_UnlessDefined (bool 'value') + } + .property instance bool Enabled () + { + .get instance default bool NAnt.Core.Configuration.ConditionalElement::get_Enabled () + } + .class nested private auto ansi beforefieldinit ConditionalConfigurator + extends NAnt.Core.Element/AttributeConfigurator + { + .field private initonly bool _enabled + + // method line 362 + .method public hidebysig specialname rtspecialname + instance default void '.ctor' (class NAnt.Core.Configuration.ConditionalElement element, class [System.Xml]System.Xml.XmlNode elementNode, class NAnt.Core.PropertyDictionary properties, class NAnt.Core.FrameworkInfo targetFramework) cil managed { - // Method begins at RVA 0x8ec0 - // Code size 39 (0x27) - .maxstack 1 + // Method begins at RVA 0x9d8c + // Code size 148 (0x94) + .maxstack 5 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) - IL_0000: nop - IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_0007: brtrue IL_0014 + class [mscorlib]System.Type V_0, + class [mscorlib]System.Reflection.PropertyInfo V_1, + class [mscorlib]System.Reflection.PropertyInfo V_2) + IL_0000: ldarg.0 + IL_0001: ldc.i4.1 + IL_0002: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0007: ldarg.0 + IL_0008: ldarg.1 + IL_0009: ldarg.2 + IL_000a: ldarg.3 + IL_000b: ldarg.s 4 + IL_000d: call instance void class NAnt.Core.Element/AttributeConfigurator::'.ctor'(class NAnt.Core.Element, class [System.Xml]System.Xml.XmlNode, class NAnt.Core.PropertyDictionary, class NAnt.Core.FrameworkInfo) + IL_0012: nop + IL_0013: ldarg.1 + IL_0014: callvirt instance class [mscorlib]System.Type object::GetType() + IL_0019: stloc.0 + IL_001a: ldloc.0 + IL_001b: ldstr "IfDefined" + IL_0020: ldc.i4.s 0x24 + IL_0022: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class [mscorlib]System.Type::GetProperty(string, valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0027: stloc.1 + IL_0028: ldarg.0 + IL_0029: ldloc.1 + IL_002a: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) + IL_002f: pop + IL_0030: ldarg.1 + IL_0031: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_IfDefined() + IL_0036: brtrue IL_0049 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_001a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_DirectoryNames() - IL_001f: stloc.0 - IL_0020: br IL_0025 + IL_003b: nop + IL_003c: ldarg.0 + IL_003d: ldc.i4.0 + IL_003e: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0043: nop + IL_0044: br IL_0070 - IL_0025: ldloc.0 - IL_0026: ret - } // end of method FileSet::get_DirectoryNames + IL_0049: nop + IL_004a: ldloc.0 + IL_004b: ldstr "UnlessDefined" + IL_0050: ldc.i4.s 0x24 + IL_0052: callvirt instance class [mscorlib]System.Reflection.PropertyInfo class [mscorlib]System.Type::GetProperty(string, valuetype [mscorlib]System.Reflection.BindingFlags) + IL_0057: stloc.2 + IL_0058: ldarg.0 + IL_0059: ldloc.2 + IL_005a: callvirt instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) + IL_005f: pop + IL_0060: ldarg.0 + IL_0061: ldarg.1 + IL_0062: callvirt instance bool class NAnt.Core.Configuration.ConditionalElement::get_UnlessDefined() + IL_0067: ldc.i4.0 + IL_0068: ceq + IL_006a: stfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_006f: nop + IL_0070: ldarg.0 + IL_0071: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0076: brtrue IL_0093 - // method line 440 - .method public hidebysig specialname - instance default class [System]System.Collections.Specialized.StringCollection get_ScannedDirectories () cil managed + IL_007b: nop + IL_007c: ldarg.0 + IL_007d: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedAttributes() + IL_0082: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0087: ldarg.0 + IL_0088: call instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.Element/AttributeConfigurator::get_UnprocessedChildNodes() + IL_008d: callvirt instance void class [System]System.Collections.Specialized.StringCollection::Clear() + IL_0092: nop + IL_0093: ret + } // end of method ConditionalConfigurator::.ctor + + // method line 363 + .method family virtual hidebysig + instance default bool InitializeAttribute (class [mscorlib]System.Reflection.PropertyInfo propertyInfo) cil managed { - // Method begins at RVA 0x8ef4 - // Code size 39 (0x27) - .maxstack 1 + // Method begins at RVA 0x9e2c + // Code size 34 (0x22) + .maxstack 2 .locals init ( - class [System]System.Collections.Specialized.StringCollection V_0) + bool V_0) IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldfld bool NAnt.Core.Types.FileSet::_hasScanned - IL_0007: brtrue IL_0014 + IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0007: brtrue IL_0013 - IL_000c: nop - IL_000d: ldarg.0 - IL_000e: callvirt instance void class NAnt.Core.Types.FileSet::Scan() - IL_0013: nop - IL_0014: ldarg.0 - IL_0015: ldfld class NAnt.Core.DirectoryScanner NAnt.Core.Types.FileSet::_scanner - IL_001a: callvirt instance class [System]System.Collections.Specialized.StringCollection class NAnt.Core.DirectoryScanner::get_ScannedDirectories() - IL_001f: stloc.0 - IL_0020: br IL_0025 + IL_000c: ldc.i4.1 + IL_000d: stloc.0 + IL_000e: br IL_0020 - IL_0025: ldloc.0 - IL_0026: ret - } // end of method FileSet::get_ScannedDirectories + IL_0013: ldarg.0 + IL_0014: ldarg.1 + IL_0015: call instance bool class NAnt.Core.Element/AttributeConfigurator::InitializeAttribute(class [mscorlib]System.Reflection.PropertyInfo) + IL_001a: stloc.0 + IL_001b: br IL_0020 - // method line 441 - .method public hidebysig specialname - instance default void set_SetIncludes (class NAnt.Core.Types.FileSet/Include[] 'value') cil managed + IL_0020: ldloc.0 + IL_0021: ret + } // end of method ConditionalConfigurator::InitializeAttribute + + // method line 364 + .method family virtual hidebysig + instance default void InitializeOrderedChildElements () cil managed { - // Method begins at RVA 0x8f27 - // Code size 9 (0x9) + // Method begins at RVA 0x9e5a + // Code size 24 (0x18) .maxstack 8 IL_0000: nop IL_0001: ldarg.0 - IL_0002: ldarg.1 - IL_0003: call instance void class NAnt.Core.Types.FileSet::set_IncludeElements(class NAnt.Core.Types.FileSet/Include[]) - IL_0008: ret - } // end of method FileSet::set_SetIncludes + IL_0002: ldfld bool NAnt.Core.Configuration.ConditionalElement/ConditionalConfigurator::_enabled + IL_0007: brtrue IL_0011 - // method line 442 - .method public hidebysig specialname - instance default void set_IncludeElements (class NAnt.Core.Types.FileSet/Include[] 'value') cil managed - { - // Method begins at RVA 0x8f34 - // Code size 239 (0xef) - .maxstack 4 - .locals init ( - class NAnt.Core.Types.FileSet/Include V_0, - class NAnt.Core.Types.FileSet/Include[] V_1, - int32 V_2) - IL_0000: nop - IL_0001: nop - IL_0002: ldarg.1 - IL_0003: stloc.1 - IL_0004: ldc.i4.0 - IL_0005: stloc.2 - IL_0006: br IL_00e5 + IL_000c: br IL_0017 - IL_000b: ldloc.1 - IL_000c: ldloc.2 - IL_000d: ldelem.ref - IL_000e: stloc.0 - IL_000f: nop - IL_0010: ldloc.0 - IL_0011: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_IfDefined() - IL_0016: brfalse IL_00e0 + IL_0011: ldarg.0 + IL_0012: call instance void class NAnt.Core.Element/AttributeConfigurator::InitializeOrderedChildElements() + IL_0017: ret + } // end of method ConditionalConfigurator::InitializeOrderedChildElements - IL_001b: ldloc.0 - IL_001c: callvirt instance bool class NAnt.Core.Types.FileSet/Exclude::get_UnlessDefined() - IL_0021: brtrue IL_00e0 + } // end of class ConditionalConfigurator - IL_0026: nop - IL_0027: ldloc.0 - IL_0028: callvirt instance bool class NAnt.Core.Types.FileSet/Include::get_AsIs() - IL_002d: brfalse IL_006a + } // end of class NAnt.Core.Configuration.ConditionalElement +} - IL_0032: nop - IL_0033: ldsfld class [log4net]log4net.ILog NAnt.Core.Types.FileSet::logger - IL_0038: call clas