QueryClauseInfo.CastInfo Property
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.