MetalamaAPI documentationAdvanced APIMetalama.​Framework.​Engine.​Aspect­WeaversAspect­Weaver­ContextGenerated­Code­Annotation
Open sandboxFocus

AspectWeaverContext.GeneratedCodeAnnotation Property

GeneratedCodeAnnotation

Gets the annotation with which code generated by the aspect must be annotated. To mark a node, the WithGeneratedCodeAnnotation(SyntaxToken, SyntaxAnnotation) method must be called.

Declaration
public SyntaxAnnotation GeneratedCodeAnnotation { get; }
Property Value
Type Description
Microsoft.CodeAnalysis.SyntaxAnnotation