Skip to content

Add [Fact] attributes to all remaining ilproj tests #61625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions src/tests/JIT/BBT/Scenario4/Not-Int32.il
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

// NOT Int32 Example in IL
.assembly extern legacy library mscorlib {}
.assembly extern xunit.core {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
Expand All @@ -15,6 +16,9 @@
{
.method public static int32 Main()
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
.locals init (int32 ReturnValue)
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/Convert/implicitConv.il
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly extern xunit.core {}

.assembly ILGEN_0xc60e022c {}
.assembly extern mscorlib{auto}
Expand All @@ -22,6 +23,9 @@
ret
}
.method static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 15

Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/Convert/ldind_conv.il
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@


.assembly extern mscorlib { auto }
.assembly extern xunit.core {}
.assembly extern System.Console { auto }
.assembly extern System.Runtime { auto }

Expand All @@ -20,6 +21,9 @@

.method private hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 8

Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/Convert/minopts_convu1.il
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly extern xunit.core {}

.assembly ILGEN_0xb0847955 {}
.assembly extern mscorlib{auto}
Expand All @@ -24,6 +25,9 @@
}

.method static int32 Main() {
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 23

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

.assembly extern System.Console { auto }
.assembly extern xunit.core {}
.assembly extern System.Runtime { auto }
.assembly SignedOverflowConversionsAreNotTreatedAsUnsigned { }

Expand All @@ -16,6 +17,9 @@

.method private hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.locals init
(
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/ExcepFilters/excepobj/excepobj.il
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

.assembly extern legacy library mscorlib {}
.assembly extern xunit.core {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
Expand All @@ -18,6 +19,9 @@
{
.method public static int32 Main(class [mscorlib]System.String[] args) il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
.locals (int32 V_0)
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/ExcepFilters/fault/fault.il
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

.assembly extern legacy library mscorlib {}
.assembly extern xunit.core {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
Expand All @@ -16,6 +17,9 @@
{
.method public static int32 Main(class [mscorlib]System.String[] args) il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
// Code size 63 (0x3f)
.maxstack 3
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/ExcepFilters/mixed/mixed.il
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

.assembly extern legacy library mscorlib {}
.assembly extern xunit.core {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
Expand Down Expand Up @@ -51,6 +52,9 @@
{
.method public static int32 Main(class [mscorlib]System.String[] args) il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
// Code size 63 (0x3f)
.maxstack 3
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/ExcepFilters/mixed3/mixed3.il
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly extern xunit.core {}

.assembly extern legacy library mscorlib {}
.assembly mixed3
Expand All @@ -19,6 +20,9 @@
.field public static int32 exitcode
.method public static int32 Main(string[] args) il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2

Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/FaultHandlers/CallOrder/CallOrder.il
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

.assembly extern legacy library mscorlib {}
.assembly extern xunit.core {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
Expand Down Expand Up @@ -110,6 +111,9 @@

.method public static int32 Main(class [mscorlib]System.String[]) il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.locals (int32)

Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/FaultHandlers/Nesting/Nesting.il
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

.assembly extern legacy library mscorlib {}
.assembly extern xunit.core {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
Expand All @@ -25,6 +26,9 @@
{
.method public static int32 Main(class [mscorlib]System.String[]) il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
//-------- BEGIN AUTO GENERATED CODE ----------//
try_0:
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/FaultHandlers/Simple/simple.il
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

.assembly extern legacy library mscorlib {}
.assembly extern xunit.core {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
Expand Down Expand Up @@ -88,6 +89,9 @@

.method public static int32 Main(class [mscorlib]System.String[]) il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.locals (int32)

Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/IL/Tailcall/ExplicitTailCallNoSO.il
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....:
.ver 4:2:1:0
}
.assembly extern xunit.core {}
.assembly ExplicitTailCallNoSO
{
}
Expand All @@ -15,6 +16,9 @@
.method private hidebysig static int32
Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
// Code size 44 (0x2c)
.maxstack 2
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/IL/Tailcall/Jittailcall2.il
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

.module 'aaa.exe'
.assembly extern legacy library mscorlib {}
.assembly extern xunit.core {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
Expand Down Expand Up @@ -169,6 +170,9 @@

.method public static int32 Main(class [mscorlib]System.String[] Args) il managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
// Code size 117 (0x75)
.maxstack 4
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/RVAInit/extended.il
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly extern xunit.core {}
.assembly extern mscorlib
{
}
Expand Down Expand Up @@ -122,6 +123,9 @@
.method private hidebysig static int32
Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 2
.locals (int32 V_0)
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/RVAInit/gcref1.il
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly extern xunit.core {}

.assembly extern mscorlib
{
Expand Down Expand Up @@ -290,6 +291,9 @@

.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 1
.locals (int32 V_0)
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/RVAInit/gcref2.il
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly extern xunit.core {}

.assembly extern mscorlib
{
Expand Down Expand Up @@ -290,6 +291,9 @@

.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 1
.locals (int32 V_0)
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/RVAInit/nested.il
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly extern xunit.core {}

.assembly extern mscorlib
{
Expand Down Expand Up @@ -231,6 +232,9 @@

.method public hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 1
.locals (int32 V_0)
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/RVAInit/oddsize.il
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

.assembly extern mscorlib { }
.assembly extern xunit.core {}
.assembly extern System.Console
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
Expand Down Expand Up @@ -34,6 +35,9 @@
}
.method private hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 1
.locals (int32 V_0)
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/RVAInit/overlap.il
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly extern xunit.core {}
.assembly extern mscorlib
{
}
Expand Down Expand Up @@ -225,6 +226,9 @@

.method private hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 1
.locals (int32 V_0)
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/RVAInit/simple.il
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 4:0:0:0
}
.assembly extern xunit.core {}

.assembly extern mscorlib { }
.assembly simple
Expand Down Expand Up @@ -215,6 +216,9 @@

.method private hidebysig static int32 Main() cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
.maxstack 1
.locals (int32 V_0)
Expand Down
4 changes: 4 additions & 0 deletions src/tests/JIT/Directed/RVAInit/simplearg.il
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.ver 4:0:0:0
}
.assembly extern xunit.core {}
.assembly repro2
{
.custom instance void [mscorlib]System.Runtime.CompilerServices.CompilationRelaxationsAttribute::.ctor(int32) = ( 01 00 08 00 00 00 00 00 )
Expand Down Expand Up @@ -103,6 +104,9 @@
.method private hidebysig static int32
Main(string[] args) cil managed
{
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
.entrypoint
// Code size 59 (0x3b)
.maxstack 2
Expand Down
Loading