IMethodSymbol.ReduceExtensionMethod(ITypeSymbol) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果这是可应用于给定类型的接收器的扩展方法,则返回因此形成的缩减扩展方法符号。 否则,返回 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