Compartilhar via


QueryClauseInfo.CastInfo Property

Definition

The .Cast<T>() operation generated from the query range variable's type restriction, or null if the type restriction isn't specified.

public:
 property Microsoft::CodeAnalysis::SymbolInfo CastInfo { Microsoft::CodeAnalysis::SymbolInfo get(); };
public Microsoft.CodeAnalysis.SymbolInfo CastInfo { get; }
member this.CastInfo : Microsoft.CodeAnalysis.SymbolInfo
Public ReadOnly Property CastInfo As SymbolInfo

Property Value

Remarks

The operation, when present is implemented via IMethodSymbol. To access the type, when this is non-null use TypeArguments[0]. If it is an extension method, it is returned in reduced form.

Applies to