MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeSource­SpanGet­Text
Open sandboxFocus

SourceSpan.GetText Method

GetText()

Gets the text representation (i.e. the source code) of the current syntax node or token.

Declaration
public string GetText()
Returns
Type Description
String

The source code of the current syntax node.