blob: e5f4575be0ae7de2a14405dde8ef07ebcf4f449a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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 { }
}
}
|