IMethodSymbol.GetTypeInferredDuringReduction(ITypeParameterSymbol) Metodo

Definizione

Se questo metodo è un metodo di estensione ridotto, restituisce un tipo dedotto durante il processo di riduzione per il parametro di tipo.

public:
 Microsoft::CodeAnalysis::ITypeSymbol ^ GetTypeInferredDuringReduction(Microsoft::CodeAnalysis::ITypeParameterSymbol ^ reducedFromTypeParameter);
public Microsoft.CodeAnalysis.ITypeSymbol GetTypeInferredDuringReduction (Microsoft.CodeAnalysis.ITypeParameterSymbol reducedFromTypeParameter);
public Microsoft.CodeAnalysis.ITypeSymbol? GetTypeInferredDuringReduction (Microsoft.CodeAnalysis.ITypeParameterSymbol reducedFromTypeParameter);
abstract member GetTypeInferredDuringReduction : Microsoft.CodeAnalysis.ITypeParameterSymbol -> Microsoft.CodeAnalysis.ITypeSymbol
Public Function GetTypeInferredDuringReduction (reducedFromTypeParameter As ITypeParameterSymbol) As ITypeSymbol

Parametri

reducedFromTypeParameter
ITypeParameterSymbol

Parametro type del metodo corrispondente ReducedFrom .

Restituisce

Tipo dedotto o Nothing se non è stato dedotto nulla.

Eccezioni

Se non si tratta di un metodo di estensione ridotto.

Se reducedFromTypeParameter è Null.

Se reducedFromTypeParameter non appartiene al metodo corrispondente ReducedFrom .

Si applica a