Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/TypeForwarding/UsedForwarderWithAssemblyCopyUsedAndFacadesKept.cs')
-rw-r--r--test/Mono.Linker.Tests.Cases/TypeForwarding/UsedForwarderWithAssemblyCopyUsedAndFacadesKept.cs31
1 files changed, 0 insertions, 31 deletions
diff --git a/test/Mono.Linker.Tests.Cases/TypeForwarding/UsedForwarderWithAssemblyCopyUsedAndFacadesKept.cs b/test/Mono.Linker.Tests.Cases/TypeForwarding/UsedForwarderWithAssemblyCopyUsedAndFacadesKept.cs
deleted file mode 100644
index 6aa2e75bf..000000000
--- a/test/Mono.Linker.Tests.Cases/TypeForwarding/UsedForwarderWithAssemblyCopyUsedAndFacadesKept.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using Mono.Linker.Tests.Cases.Expectations.Assertions;
-using Mono.Linker.Tests.Cases.Expectations.Metadata;
-using Mono.Linker.Tests.Cases.TypeForwarding.Dependencies;
-
-namespace Mono.Linker.Tests.Cases.TypeForwarding
-{
- // Actions:
- // link - This assembly
- // copyused - Forwarder.dll and Implementation.dll
- // --keep-facades
- [SetupLinkerAction ("link", "test")]
- [SetupLinkerDefaultAction ("copyused")]
- [KeepTypeForwarderOnlyAssemblies ("true")]
-
- [SetupCompileBefore ("Forwarder.dll", new[] { "Dependencies/ReferenceImplementationLibrary.cs" }, defines: new[] { "INCLUDE_REFERENCE_IMPL" })]
-
- // After compiling the test case we then replace the reference impl with implementation + type forwarder
- [SetupCompileAfter ("Implementation.dll", new[] { "Dependencies/ImplementationLibrary.cs" })]
- [SetupCompileAfter ("Forwarder.dll", new[] { "Dependencies/ForwarderLibrary.cs" }, references: new[] { "Implementation.dll" })]
-
- [KeptTypeInAssembly ("Forwarder.dll", typeof (ImplementationLibrary))]
- [KeptMemberInAssembly ("Implementation.dll", typeof (ImplementationLibrary), "GetSomeValue()")]
- [RemovedAssemblyReference ("test", "Forwarder")]
- class UsedForwarderWithAssemblyCopyUsedAndFacadesKept
- {
- static void Main ()
- {
- new ImplementationLibrary ().GetSomeValue ();
- }
- }
-}