MetalamaAPI documentationAdvanced APIMetalama.​Framework.​Engine.​FormattingFormatting­AnnotationsWith­Source­Code­Annotation­If­Not­Generated
Open sandboxFocus

FormattingAnnotations.WithSourceCodeAnnotationIfNotGenerated Method

WithSourceCodeAnnotationIfNotGenerated<T>(T)

Declaration
public static T WithSourceCodeAnnotationIfNotGenerated<T>(this T node)
where T : SyntaxNode
Parameters
Type Name Description
T node
Returns
Type Description
T
Type Parameters
Name Description
T