C# 클래스 ErrorProne.NET.Extensions.NamedSymbolExtensions

파일 보기 프로젝트 열기: SergeyTeplyakov/ErrorProne.NET

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
BuildQualifiedAssemblyName ( string nameSpace, string typeName, IAssemblySymbol assemblySymbol ) : string
ConvertEnumUnderlyingTypeToUInt64 ( object value, SpecialType specialType ) : ulong

메소드 상세

GetSortedEnumFieldsAndValues() 공개 정적인 메소드

public static GetSortedEnumFieldsAndValues ( this enumType ) : long>>.List
enumType this
리턴 long>>.List

GetTypeQualifiedAssemblyName() 공개 정적인 메소드

public static GetTypeQualifiedAssemblyName ( this namedType ) : string
namedType this
리턴 string

HasAttribute() 공개 정적인 메소드

public static HasAttribute ( this symbol, Type attributeType ) : bool
symbol this
attributeType System.Type
리턴 bool

IsArgumentExceptionType() 공개 정적인 메소드

public static IsArgumentExceptionType ( this symbol, Microsoft.CodeAnalysis.SemanticModel model ) : bool
symbol this
model Microsoft.CodeAnalysis.SemanticModel
리턴 bool

IsDerivedFromInterface() 공개 정적인 메소드

public static IsDerivedFromInterface ( this namedType, Type type ) : bool
namedType this
type System.Type
리턴 bool

IsExceptionType() 공개 정적인 메소드

public static IsExceptionType ( this symbol, Microsoft.CodeAnalysis.SemanticModel model ) : bool
symbol this
model Microsoft.CodeAnalysis.SemanticModel
리턴 bool

IsType() 공개 정적인 메소드

public static IsType ( this namedType, Type type ) : bool
namedType this
type System.Type
리턴 bool

TraverseTypeAndItsBaseTypes() 공개 정적인 메소드

public static TraverseTypeAndItsBaseTypes ( this symbol ) : IEnumerable
symbol this
리턴 IEnumerable