1 type derived from TestAttribute
Microsoft.AspNetCore.Http.Extensions.Tests (1)
PropertyAsParameterInfoTests.cs (1)
222private 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)
43Assert.Single(parameterInfo.GetCustomAttributes(typeof(TestAttribute))); 55Assert.Single(parameterInfo.GetCustomAttributes(typeof(TestAttribute))); 67Assert.Single(parameterInfo.GetCustomAttributes(typeof(TestAttribute))); 83a => typeof(TestAttribute).IsAssignableFrom(a.AttributeType)); 100a => typeof(TestAttribute).IsAssignableFrom(a.AttributeType)); 120a => typeof(TestAttribute).IsAssignableFrom(a.GetType())); 134Assert.Single(parameterInfo.GetCustomAttributes(typeof(TestAttribute), true));