CSharpExtensions.VarianceKindFromToken(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.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::CodeAnalysis::VarianceKind VarianceKindFromToken(Microsoft::CodeAnalysis::SyntaxToken node);
public static Microsoft.CodeAnalysis.VarianceKind VarianceKindFromToken (this Microsoft.CodeAnalysis.SyntaxToken node);
static member VarianceKindFromToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VarianceKind
<Extension()>
Public Function VarianceKindFromToken (node As SyntaxToken) As VarianceKind
Parameters
- node
- SyntaxToken