MetalamaAPI documentationAdvanced APIMetalama.​CompilerMetalama­Compiler­AnnotationsSource­Code­Annotation
Open sandboxFocus

MetalamaCompilerAnnotations.SourceCodeAnnotation Property

SourceCodeAnnotation

Gets an annotation that means that the target syntax nodes and its children are source code, even if there is an annotation of kind GeneratedCodeAnnotationKind in a parent node.

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