@@ -19,16 +19,16 @@ public void Write_Assembly_IL_For_NetFramework45()
19
19
20
20
outputWriter . Received ( 1 ) . WriteLine ( ".assembly 'dotnet-ildasm.Sample'" ) ;
21
21
outputWriter . Received ( 1 ) . WriteLine ( "{" ) ;
22
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 )" ) ;
23
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Reflection.AssemblyCompanyAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 )" ) ;
22
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ....T..WrapNonExceptionThrows. " ) ;
23
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Reflection.AssemblyCompanyAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 ) // ...dotnet.ildasm.Sample.. " ) ;
24
24
25
25
//TODO: Investigate: In netcore 2.1 the line below seems to no longer be exported.
26
26
// outputWriter.Received(1).WriteLine(".custom instance void [System.Runtime]System.Reflection.AssemblyDescriptionAttribute::.ctor(string) = ( 01 00 13 50 61 63 6B 61 67 65 20 44 65 73 63 72 69 70 74 69 6F 6E 00 00 )");
27
27
28
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 07 31 2E 30 2E 30 2E 30 00 00 )" ) ;
29
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Reflection.AssemblyInformationalVersionAttribute::.ctor(string) = ( 01 00 05 31 2E 30 2E 30 00 00 )" ) ;
30
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Reflection.AssemblyProductAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 )" ) ;
31
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 )" ) ;
28
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 07 31 2E 30 2E 30 2E 30 00 00 ) // ...1.0.0.0.. " ) ;
29
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Reflection.AssemblyInformationalVersionAttribute::.ctor(string) = ( 01 00 05 31 2E 30 2E 30 00 00 ) // ...1.0.0.. " ) ;
30
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Reflection.AssemblyProductAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 ) // ...dotnet.ildasm.Sample.. " ) ;
31
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [System.Runtime]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 ) // ...dotnet.ildasm.Sample.. " ) ;
32
32
outputWriter . Received ( 1 ) . WriteLine ( ".hash algorithm 0x00008004" ) ;
33
33
outputWriter . Received ( 1 ) . WriteLine ( ".ver 1:0:0:0" ) ;
34
34
outputWriter . Received ( 1 ) . WriteLine ( "}" ) ;
@@ -45,16 +45,16 @@ public void Write_Assembly_IL_For_NetLibrary20()
45
45
46
46
outputWriter . Received ( 1 ) . WriteLine ( ".assembly 'dotnet-ildasm.Sample'" ) ;
47
47
outputWriter . Received ( 1 ) . WriteLine ( "{" ) ;
48
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 )" ) ;
49
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Reflection.AssemblyCompanyAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 )" ) ;
48
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::.ctor() = ( 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ....T..WrapNonExceptionThrows. " ) ;
49
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Reflection.AssemblyCompanyAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 ) // ...dotnet.ildasm.Sample.. " ) ;
50
50
51
51
//TODO: Investigate: In netcore 2.1 the line below seems to no longer be exported.
52
52
// outputWriter.Received(1).WriteLine(".custom instance void [System.Runtime]System.Reflection.AssemblyDescriptionAttribute::.ctor(string) = ( 01 00 13 50 61 63 6B 61 67 65 20 44 65 73 63 72 69 70 74 69 6F 6E 00 00 )");
53
53
54
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 07 31 2E 30 2E 30 2E 30 00 00 )" ) ;
55
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Reflection.AssemblyInformationalVersionAttribute::.ctor(string) = ( 01 00 05 31 2E 30 2E 30 00 00 )" ) ;
56
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Reflection.AssemblyProductAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 )" ) ;
57
- outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 )" ) ;
54
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( 01 00 07 31 2E 30 2E 30 2E 30 00 00 ) // ...1.0.0.0.. " ) ;
55
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Reflection.AssemblyInformationalVersionAttribute::.ctor(string) = ( 01 00 05 31 2E 30 2E 30 00 00 ) // ...1.0.0.. " ) ;
56
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Reflection.AssemblyProductAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 ) // ...dotnet.ildasm.Sample.. " ) ;
57
+ outputWriter . Received ( 1 ) . WriteLine ( ".custom instance void class [netstandard]System.Reflection.AssemblyTitleAttribute::.ctor(string) = ( 01 00 14 64 6F 74 6E 65 74 2D 69 6C 64 61 73 6D 2E 53 61 6D 70 6C 65 00 00 ) // ...dotnet.ildasm.Sample.. " ) ;
58
58
outputWriter . Received ( 1 ) . WriteLine ( ".hash algorithm 0x00008004" ) ;
59
59
outputWriter . Received ( 1 ) . WriteLine ( ".ver 1:0:0:0" ) ;
60
60
outputWriter . Received ( 1 ) . WriteLine ( "}" ) ;
0 commit comments