14 references to IsDefined
Microsoft.AspNetCore.Identity.EntityFrameworkCore (4)
IdentityUserContext.cs (4)
185prop => Attribute.IsDefined(prop, typeof(ProtectedPersonalDataAttribute))); 233prop => Attribute.IsDefined(prop, typeof(ProtectedPersonalDataAttribute))); 278prop => Attribute.IsDefined(prop, typeof(ProtectedPersonalDataAttribute))); 326prop => Attribute.IsDefined(prop, typeof(ProtectedPersonalDataAttribute)));
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (1)
63prop => Attribute.IsDefined(prop, typeof(PersonalDataAttribute)));
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (1)
63prop => Attribute.IsDefined(prop, typeof(PersonalDataAttribute)));
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
src\Shared\RoslynUtils\TypeHelper.cs (2)
26return Attribute.IsDefined(type, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(type.DeclaringType); 38return Attribute.IsDefined(method, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(method.DeclaringType);
Microsoft.AspNetCore.OpenApi (2)
src\Shared\RoslynUtils\TypeHelper.cs (2)
26return Attribute.IsDefined(type, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(type.DeclaringType); 38return Attribute.IsDefined(method, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(method.DeclaringType);
Microsoft.AspNetCore.Routing (2)
src\Shared\RoslynUtils\TypeHelper.cs (2)
26return Attribute.IsDefined(type, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(type.DeclaringType); 38return Attribute.IsDefined(method, typeof(CompilerGeneratedAttribute)) || IsCompilerGeneratedType(method.DeclaringType);
Microsoft.ML.Benchmarks.Tests (1)
BenchmarksTest.cs (1)
41where Attribute.IsDefined(type, typeof(CIBenchmark))
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeExtensions.cs (1)
157return Attribute.IsDefined(element, attributeType);