C# Class ErrorProne.NET.Extensions.SymbolExtensions

显示文件 Open project: SergeyTeplyakov/ErrorProne.NET

Public Methods

Method Description
ExceptionFromCatchBlock ( this symbol ) : bool
GetBaseMethodsChain ( this method ) : IEnumerable

Returns all base methods for the method.

GetBaseMostOverridenMethod ( this method ) : IMethodSymbol

Returns the very first virtual/abstract method in the inheritance chain.

GetImplementedInterfaceMethods ( this method ) : IEnumerable
MethodAndFullInheritanceChain ( this method ) : ImmutableArray

Method Details

ExceptionFromCatchBlock() public static method

public static ExceptionFromCatchBlock ( this symbol ) : bool
symbol this
return bool

GetBaseMethodsChain() public static method

Returns all base methods for the method.
public static GetBaseMethodsChain ( this method ) : IEnumerable
method this
return IEnumerable

GetBaseMostOverridenMethod() public static method

Returns the very first virtual/abstract method in the inheritance chain.
public static GetBaseMostOverridenMethod ( this method ) : IMethodSymbol
method this
return IMethodSymbol

GetImplementedInterfaceMethods() public static method

public static GetImplementedInterfaceMethods ( this method ) : IEnumerable
method this
return IEnumerable

MethodAndFullInheritanceChain() public static method

public static MethodAndFullInheritanceChain ( this method ) : ImmutableArray
method this
return ImmutableArray