6 references to ClassWithParameterlessCtor
Microsoft.AspNetCore.DataProtection.Tests (6)
TypeForwardingActivatorTests.cs (6)
24
Assert.IsType<
ClassWithParameterlessCtor
>(instance);
44
[InlineData(typeof(GenericType<GenericType<
ClassWithParameterlessCtor
>>))]
45
[InlineData(typeof(GenericType<
ClassWithParameterlessCtor
>))]
50
[InlineData(typeof(List<
ClassWithParameterlessCtor
>))]
109
var type = typeof(
ClassWithParameterlessCtor
);
117
Assert.IsType<
ClassWithParameterlessCtor
>(activator.CreateInstance(typeof(object), newName, out var forwarded));