diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/Reflection/TypeUsedViaReflectionAssemblyDoesntExist.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/Reflection/TypeUsedViaReflectionAssemblyDoesntExist.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/Reflection/TypeUsedViaReflectionAssemblyDoesntExist.cs b/test/Mono.Linker.Tests.Cases/Reflection/TypeUsedViaReflectionAssemblyDoesntExist.cs new file mode 100644 index 000000000..1311ac46f --- /dev/null +++ b/test/Mono.Linker.Tests.Cases/Reflection/TypeUsedViaReflectionAssemblyDoesntExist.cs @@ -0,0 +1,13 @@ +using System; + +namespace Mono.Linker.Tests.Cases.Reflection { + public class TypeUsedViaReflectionAssemblyDoesntExist { + public static void Main () + { + var typeName = "Mono.Linker.Tests.Cases.Reflection.TypeUsedViaReflectionAssemblyDoesntExist+DoesntExist, test"; + var typeKept = Type.GetType (typeName, false); + } + + public class Full { } + } +}
\ No newline at end of file |