Udostępnij za pośrednictwem


SyntaxNodeOrToken.Implicit Operator

Definition

Overloads

Implicit(SyntaxNode to SyntaxNodeOrToken)

Returns a new SyntaxNodeOrToken that wraps the supplied node.

Implicit(SyntaxToken to SyntaxNodeOrToken)

Returns a new SyntaxNodeOrToken that wraps the supplied token.

Implicit(SyntaxNode to SyntaxNodeOrToken)

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 a new SyntaxNodeOrToken that wraps the supplied node.

public:
 static operator Microsoft::CodeAnalysis::SyntaxNodeOrToken(Microsoft::CodeAnalysis::SyntaxNode ^ node);
public static implicit operator Microsoft.CodeAnalysis.SyntaxNodeOrToken (Microsoft.CodeAnalysis.SyntaxNode node);
public static implicit operator Microsoft.CodeAnalysis.SyntaxNodeOrToken (Microsoft.CodeAnalysis.SyntaxNode? node);
static member op_Implicit : Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Shared Widening Operator CType (node As SyntaxNode) As SyntaxNodeOrToken

Parameters

node
SyntaxNode

The input node.

Returns

A SyntaxNodeOrToken that wraps the supplied node.

Applies to

Implicit(SyntaxToken to SyntaxNodeOrToken)

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 a new SyntaxNodeOrToken that wraps the supplied token.

public:
 static operator Microsoft::CodeAnalysis::SyntaxNodeOrToken(Microsoft::CodeAnalysis::SyntaxToken token);
public static implicit operator Microsoft.CodeAnalysis.SyntaxNodeOrToken (Microsoft.CodeAnalysis.SyntaxToken token);
static member op_Implicit : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Shared Widening Operator CType (token As SyntaxToken) As SyntaxNodeOrToken

Parameters

token
SyntaxToken

The input token.

Returns

A SyntaxNodeOrToken that wraps the supplied token.

Applies to