SyntaxNodeOrToken.Explicit Operator

Definition

Overloads

Explicit(SyntaxNodeOrToken to SyntaxNode)

Returns the underlying node wrapped by the supplied SyntaxNodeOrToken.

Explicit(SyntaxNodeOrToken to SyntaxToken)

Returns the underlying token wrapped by the supplied SyntaxNodeOrToken.

Explicit(SyntaxNodeOrToken to SyntaxNode)

Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs

Returns the underlying node wrapped by the supplied SyntaxNodeOrToken.

public:
 static explicit operator Microsoft::CodeAnalysis::SyntaxNode ^(Microsoft::CodeAnalysis::SyntaxNodeOrToken nodeOrToken);
public static explicit operator Microsoft.CodeAnalysis.SyntaxNode (Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken);
public static explicit operator Microsoft.CodeAnalysis.SyntaxNode? (Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken);
static member op_Explicit : Microsoft.CodeAnalysis.SyntaxNodeOrToken -> Microsoft.CodeAnalysis.SyntaxNode
Public Shared Narrowing Operator CType (nodeOrToken As SyntaxNodeOrToken) As SyntaxNode

Parameters

nodeOrToken
SyntaxNodeOrToken

The input SyntaxNodeOrToken.

Returns

The underlying node wrapped by the supplied SyntaxNodeOrToken.

Applies to

Explicit(SyntaxNodeOrToken to SyntaxToken)

Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs
Source:
SyntaxNodeOrToken.cs

Returns the underlying token wrapped by the supplied SyntaxNodeOrToken.

public:
 static explicit operator Microsoft::CodeAnalysis::SyntaxToken(Microsoft::CodeAnalysis::SyntaxNodeOrToken nodeOrToken);
public static explicit operator Microsoft.CodeAnalysis.SyntaxToken (Microsoft.CodeAnalysis.SyntaxNodeOrToken nodeOrToken);
static member op_Explicit : Microsoft.CodeAnalysis.SyntaxNodeOrToken -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Narrowing Operator CType (nodeOrToken As SyntaxNodeOrToken) As SyntaxToken

Parameters

nodeOrToken
SyntaxNodeOrToken

The input SyntaxNodeOrToken.

Returns

The underlying token wrapped by the supplied SyntaxNodeOrToken.

Applies to