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. |
Metalama.Framework.Code.Collections
Metalama.Framework.Code.Comparers
Metalama.Framework.Code.DeclarationBuilders
Metalama.Framework.Code.Invokers
Metalama.Framework.Code.SyntaxBuilders
Metalama.Framework.Code.Types
Metalama.Framework.CodeFixes
Metalama.Framework.Diagnostics
Metalama.Framework.Eligibility
Metalama.Framework.Serialization
Gets the text representation (i.e. the source code) of the current syntax node or token.
public string GetText()
Type | Description |
---|---|
string | The source code of the current syntax node. |