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/Symbols/ReferenceWithPortablePdbCopyAction.cs')
-rw-r--r--test/Mono.Linker.Tests.Cases/Symbols/ReferenceWithPortablePdbCopyAction.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/Symbols/ReferenceWithPortablePdbCopyAction.cs b/test/Mono.Linker.Tests.Cases/Symbols/ReferenceWithPortablePdbCopyAction.cs
new file mode 100644
index 000000000..2f4e428f2
--- /dev/null
+++ b/test/Mono.Linker.Tests.Cases/Symbols/ReferenceWithPortablePdbCopyAction.cs
@@ -0,0 +1,17 @@
+using Mono.Linker.Tests.Cases.Expectations.Assertions;
+using Mono.Linker.Tests.Cases.Expectations.Metadata;
+using Mono.Linker.Tests.Cases.Symbols.Dependencies;
+
+namespace Mono.Linker.Tests.Cases.Symbols {
+ [SetupCompileBefore ("LibraryWithPortablePdbSymbols.dll", new[] { "Dependencies/LibraryWithPortablePdbSymbols.cs" }, additionalArguments: "/debug:portable", compilerToUse: "csc")]
+ [SetupLinkerLinkSymbols ("false")]
+ [SetupLinkerAction ("copy", "LibraryWithPortablePdbSymbols")]
+
+ [RemovedSymbols ("LibraryWithPortablePdbSymbols.dll")]
+ public class ReferenceWithPortablePdbCopyAction {
+ static void Main ()
+ {
+ LibraryWithPortablePdbSymbols.SomeMethod ();
+ }
+ }
+} \ No newline at end of file