IMethodSymbol.ReduceExtensionMethod(ITypeSymbol) 方法

定义

如果这是可应用于给定类型的接收器的扩展方法,则返回因此形成的缩减扩展方法符号。 否则,返回 null。

public:
 Microsoft::CodeAnalysis::IMethodSymbol ^ ReduceExtensionMethod(Microsoft::CodeAnalysis::ITypeSymbol ^ receiverType);
public Microsoft.CodeAnalysis.IMethodSymbol ReduceExtensionMethod (Microsoft.CodeAnalysis.ITypeSymbol receiverType);
public Microsoft.CodeAnalysis.IMethodSymbol? ReduceExtensionMethod (Microsoft.CodeAnalysis.ITypeSymbol receiverType);
abstract member ReduceExtensionMethod : Microsoft.CodeAnalysis.ITypeSymbol -> Microsoft.CodeAnalysis.IMethodSymbol
Public Function ReduceExtensionMethod (receiverType As ITypeSymbol) As IMethodSymbol

参数

receiverType
ITypeSymbol

返回

适用于