1 type derived from TestAttribute
Microsoft.AspNetCore.Http.Extensions.Tests (1)
PropertyAsParameterInfoTests.cs (1)
222
private class DerivedTestAttribute :
TestAttribute
2 instantiations of TestAttribute
Microsoft.AspNetCore.Http.Extensions.Tests (2)
PropertyAsParameterInfoTests.cs (2)
190
[
Test
]
198
[
Test
] int withTestAttribute,
7 references to TestAttribute
Microsoft.AspNetCore.Http.Extensions.Tests (7)
PropertyAsParameterInfoTests.cs (7)
43
Assert.Single(parameterInfo.GetCustomAttributes(typeof(
TestAttribute
)));
55
Assert.Single(parameterInfo.GetCustomAttributes(typeof(
TestAttribute
)));
67
Assert.Single(parameterInfo.GetCustomAttributes(typeof(
TestAttribute
)));
83
a => typeof(
TestAttribute
).IsAssignableFrom(a.AttributeType));
100
a => typeof(
TestAttribute
).IsAssignableFrom(a.AttributeType));
120
a => typeof(
TestAttribute
).IsAssignableFrom(a.GetType()));
134
Assert.Single(parameterInfo.GetCustomAttributes(typeof(
TestAttribute
), true));