MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIDeclaration­OriginIs­Compiler­Generated
Open sandboxFocus

Property IsCompilerGenerated


Gets a value indicating whether the declaration or its parent has an CompilerGeneratedAttribute regardless of the origin Kind. This property is currently false for declarations introduced by aspects because Metalama does not add the CompilerGeneratedAttribute to introduced declarations. Check the Kind property to skip declarations added by aspects.

bool IsCompilerGenerated { get; }
Property Value
Type Description