Simplifier.Expand Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
- 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);
static member Expand : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.Workspace * Func<Microsoft.CodeAnalysis.SyntaxNode, bool> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Expand (token As SyntaxToken, semanticModel As SemanticModel, workspace As Workspace, Optional expandInsideNode As Func(Of SyntaxNode, Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As SyntaxToken
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;
static member Expand : 'Node * Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.Workspace * Func<Microsoft.CodeAnalysis.SyntaxNode, bool> * bool * System.Threading.CancellationToken -> 'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
Public Shared Function Expand(Of TNode As SyntaxNode) (node As TNode, semanticModel As SemanticModel, workspace As Workspace, Optional expandInsideNode As Func(Of SyntaxNode, Boolean) = Nothing, Optional expandParameter As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As TNode
Type Parameters
- TNode
Parameters
- node
- TNode
- semanticModel
- SemanticModel
- workspace
- Workspace
- expandInsideNode
- Func<SyntaxNode,Boolean>
- expandParameter
- Boolean
- cancellationToken
- CancellationToken
Returns
Applies to
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: