SyntaxFactory.ExpressionColon(ExpressionSyntax, SyntaxToken) Method
Definition
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.
Creates a new ExpressionColonSyntax instance.
public static Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionColonSyntax ExpressionColon (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.SyntaxToken colonToken);
static member ExpressionColon : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionColonSyntax
Public Shared Function ExpressionColon (expression As ExpressionSyntax, colonToken As SyntaxToken) As ExpressionColonSyntax
Parameters
- expression
- ExpressionSyntax
- colonToken
- SyntaxToken