Skip to main content

SymbolExtensions.ReducedFromOrSelf(IMethodSymbol) Method

Containing Type: SymbolExtensions

Assembly: Roslynator.Core.dll

If this method is a reduced extension method, returns the definition of extension method from which this was reduced. Otherwise, returns this symbol.

public static Microsoft.CodeAnalysis.IMethodSymbol? ReducedFromOrSelf(this Microsoft.CodeAnalysis.IMethodSymbol? methodSymbol)

Parameters

methodSymbol IMethodSymbol

Returns

IMethodSymbol