Skip to content

Commit

Permalink
Clean up tests under src/tests/reflection (dotnet#58673)
Browse files Browse the repository at this point in the history
  • Loading branch information
elinor-fung authored Sep 7, 2021
1 parent 95327f0 commit 3fd30b0
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 244 deletions.
3 changes: 3 additions & 0 deletions src/libraries/System.Runtime/tests/System/ActivatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ public static void CreateInstance()
Assert.Equal(4, c.I);

Activator.CreateInstance(typeof(StructTypeWithoutReflectionMetadata));

StructWithPublicDefaultConstructor s = (StructWithPublicDefaultConstructor)Activator.CreateInstance(typeof(StructWithPublicDefaultConstructor));
Assert.True(s.ConstructorInvoked);
}

[Fact]
Expand Down
110 changes: 0 additions & 110 deletions src/tests/reflection/ActivateStructDefCtor/ActivateStructDefCtor.il

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions src/tests/reflection/regression/dev10bugs/Dev10_629953.csproj

This file was deleted.

73 changes: 0 additions & 73 deletions src/tests/reflection/regression/dev10bugs/dev10_629953.cs

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 3fd30b0

Please sign in to comment.