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")] [RemovedAssembly ("LibraryWithPortablePdbSymbols.dll")] [RemovedSymbols ("LibraryWithPortablePdbSymbols.dll")] public class ReferenceWithPortablePdbDeleteAction { static void Main () { } /// /// By not using this method we will cause the linker to delete the reference /// static void UnusedCodePath () { LibraryWithPortablePdbSymbols.SomeMethod (); } } }