Metalama 1.0 / / Metalama Documentation / Advanced API / Metalama.​Framework.​Engine.​Formatting / Formatting­Annotations / Source­Code­Annotation

Property SourceCodeAnnotation

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
SyntaxAnnotation