3 references to IsCompilerGeneratedType
Microsoft.AspNetCore.OpenApi (3)
Services\OpenApiGenerator.cs (1)
350
if (methodInfo.DeclaringType is not null && !TypeHelper.
IsCompilerGeneratedType
(methodInfo.DeclaringType))
src\Shared\RoslynUtils\TypeHelper.cs (2)
26
return Attribute.IsDefined(type, typeof(CompilerGeneratedAttribute)) ||
IsCompilerGeneratedType
(type.DeclaringType);
38
return Attribute.IsDefined(method, typeof(CompilerGeneratedAttribute)) ||
IsCompilerGeneratedType
(method.DeclaringType);