MetalamaAPI documentationAdvanced APIMetalama.​Framework.​Engine.​FormattingFormatting­AnnotationsWith­Formatting­Annotations­From
Open sandboxFocus

FormattingAnnotations.WithFormattingAnnotationsFrom Method

WithFormattingAnnotationsFrom<T>(T, SyntaxNode)

Declaration
public static T WithFormattingAnnotationsFrom<T>(this T node, SyntaxNode source)
where T : SyntaxNode
Parameters
Type Name Description
T node
Microsoft.CodeAnalysis.SyntaxNode source
Returns
Type Description
T
Type Parameters
Name Description
T