MetalamaAPI documentationAdvanced APIMetalama.​Framework.​Engine.​FormattingFormatting­AnnotationsSource­Code­Annotation
Open sandboxFocus

FormattingAnnotations.SourceCodeAnnotation Property

SourceCodeAnnotation

Gets an annotation that means that the syntax stems from source code. This can be added to a child node of a node annotated with the WithGeneratedCodeAnnotation method. This is a synonym for SourceCodeAnnotation.

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