blob: 2a53a2454d6a0f813b73d3a4b05cf595412ef1b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
using System;
using Mono.Linker.Tests.Cases.Expectations.Assertions;
namespace Mono.Linker.Tests.Cases.Reflection
{
public class TypeUsedViaReflectionLdstrValidButChanged
{
public static void Main ()
{
var replace = "Mono.Linker";
var with = "Blah.Blah";
var typeName = "Mono.Linker.Tests.Cases.Reflection.TypeUsedViaReflectionLdstrValidButChanged+Full, test";
var typeKept = Type.GetType (typeName.Replace (replace, with), false);
}
public class Full { }
}
}
|