Table of Contents

Class CSUtils

Namespace
Alternet.Editor.Roslyn
Assembly
Alternet.Editor.Roslyn.v10.dll

Represents extended functionality to explore code in the project.

public class CSUtils
Inheritance
CSUtils

Fields

CSharpImage
ClassImage
ConstImage
DelegateImage
DotImage
EnumFieldImage
EnumImage
EventImage
FieldImage
ImageDelta
ImagePublicDelta
InterfaceImage
MethodImage
NameSpaceImage
PropImage
StructImage
UseAccessModifierImages

Methods

GetClassNode(SyntaxNode)

Finds parent node of given SyntaxNode that is a class or structure node.

GetFormattedText(SyntaxNode)

Formats content of specified SyntaxNode accordingly to language rules of the document.

GetIdentifierName(NameSyntax)

Gets formatted text describes identifier node.

GetMethodName(SyntaxNode)

Gets formatted text describes name of the method node.

GetNodeList(IList<SyntaxNode>, SyntaxNode, SyntaxKind[])

Fills given list of SyntaxNode obtained from specified document at the given position.

GetNodeName(SyntaxNode)

Gets formatted text describes name of the node.

IsValidNode(SyntaxNode, out int)

Indicates whether this node is valid for explorer purposes.

ProcessMethodParams(SyntaxNode, IList<string>, IList<string>)

Receives parameter data from given method node.