Delen via


SyntaxNode.GetRed<T>(T, Int32) Method

Definition

protected:
generic <typename T>
 where T : Microsoft::CodeAnalysis::SyntaxNode T GetRed(T % field, int slot);
protected T GetRed<T> (ref T field, int slot) where T : Microsoft.CodeAnalysis.SyntaxNode;
protected T? GetRed<T> (ref T? field, int slot) where T : Microsoft.CodeAnalysis.SyntaxNode;
member this.GetRed : 'T * int -> 'T (requires 'T :> Microsoft.CodeAnalysis.SyntaxNode)
Protected Function GetRed(Of T As SyntaxNode) (ByRef field As T, slot As Integer) As T

Type Parameters

T

Parameters

field
T
slot
Int32

Returns

T

Applies to