Simplifier.Expand Method

Definition

Overloads

Expand(SyntaxToken, SemanticModel, Workspace, Func<SyntaxNode,Boolean>, CancellationToken)

Expand qualifying parts of the specified subtree, annotating the parts using the Annotation annotation.

Expand<TNode>(TNode, SemanticModel, Workspace, Func<SyntaxNode,Boolean>, Boolean, CancellationToken)

Expand qualifying parts of the specified subtree, annotating the parts using the Annotation annotation.

Expand(SyntaxToken, SemanticModel, Workspace, Func<SyntaxNode,Boolean>, CancellationToken)

Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs

Expand qualifying parts of the specified subtree, annotating the parts using the Annotation annotation.

public static Microsoft.CodeAnalysis.SyntaxToken Expand (Microsoft.CodeAnalysis.SyntaxToken token, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Workspace workspace, Func<Microsoft.CodeAnalysis.SyntaxNode,bool> expandInsideNode = default, System.Threading.CancellationToken cancellationToken = default);
public static Microsoft.CodeAnalysis.SyntaxToken Expand (Microsoft.CodeAnalysis.SyntaxToken token, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Workspace workspace, Func<Microsoft.CodeAnalysis.SyntaxNode,bool>? expandInsideNode = default, System.Threading.CancellationToken cancellationToken = default);

Parameters

token
SyntaxToken
semanticModel
SemanticModel
workspace
Workspace
expandInsideNode
Func<SyntaxNode,Boolean>
cancellationToken
CancellationToken

Returns

Applies to

Expand<TNode>(TNode, SemanticModel, Workspace, Func<SyntaxNode,Boolean>, Boolean, CancellationToken)

Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs

Expand qualifying parts of the specified subtree, annotating the parts using the Annotation annotation.

public static TNode Expand<TNode> (TNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Workspace workspace, Func<Microsoft.CodeAnalysis.SyntaxNode,bool> expandInsideNode = default, bool expandParameter = false, System.Threading.CancellationToken cancellationToken = default) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
public static TNode Expand<TNode> (TNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Workspace workspace, Func<Microsoft.CodeAnalysis.SyntaxNode,bool>? expandInsideNode = default, bool expandParameter = false, System.Threading.CancellationToken cancellationToken = default) where TNode : Microsoft.CodeAnalysis.SyntaxNode;

Type Parameters

TNode

Parameters

node
TNode
semanticModel
SemanticModel
workspace
Workspace
expandInsideNode
Func<SyntaxNode,Boolean>
expandParameter
Boolean
cancellationToken
CancellationToken

Returns

TNode

Applies to