C# Class ErrorProne.NET.Extensions.NamedSymbolExtensions

Afficher le fichier Open project: SergeyTeplyakov/ErrorProne.NET

Méthodes publiques

Méthode Description
GetSortedEnumFieldsAndValues ( this enumType ) : long>>.List
GetTypeQualifiedAssemblyName ( this namedType ) : string
HasAttribute ( this symbol, Type attributeType ) : bool
IsArgumentExceptionType ( this symbol, Microsoft.CodeAnalysis.SemanticModel model ) : bool
IsDerivedFromInterface ( this namedType, Type type ) : bool
IsExceptionType ( this symbol, Microsoft.CodeAnalysis.SemanticModel model ) : bool
IsType ( this namedType, Type type ) : bool
TraverseTypeAndItsBaseTypes ( this symbol ) : IEnumerable

Private Methods

Méthode Description
BuildQualifiedAssemblyName ( string nameSpace, string typeName, IAssemblySymbol assemblySymbol ) : string
ConvertEnumUnderlyingTypeToUInt64 ( object value, SpecialType specialType ) : ulong

Method Details

GetSortedEnumFieldsAndValues() public static méthode

public static GetSortedEnumFieldsAndValues ( this enumType ) : long>>.List
enumType this
Résultat long>>.List

GetTypeQualifiedAssemblyName() public static méthode

public static GetTypeQualifiedAssemblyName ( this namedType ) : string
namedType this
Résultat string

HasAttribute() public static méthode

public static HasAttribute ( this symbol, Type attributeType ) : bool
symbol this
attributeType System.Type
Résultat bool

IsArgumentExceptionType() public static méthode

public static IsArgumentExceptionType ( this symbol, Microsoft.CodeAnalysis.SemanticModel model ) : bool
symbol this
model Microsoft.CodeAnalysis.SemanticModel
Résultat bool

IsDerivedFromInterface() public static méthode

public static IsDerivedFromInterface ( this namedType, Type type ) : bool
namedType this
type System.Type
Résultat bool

IsExceptionType() public static méthode

public static IsExceptionType ( this symbol, Microsoft.CodeAnalysis.SemanticModel model ) : bool
symbol this
model Microsoft.CodeAnalysis.SemanticModel
Résultat bool

IsType() public static méthode

public static IsType ( this namedType, Type type ) : bool
namedType this
type System.Type
Résultat bool

TraverseTypeAndItsBaseTypes() public static méthode

public static TraverseTypeAndItsBaseTypes ( this symbol ) : IEnumerable
symbol this
Résultat IEnumerable