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

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

공개 메소드들

메소드 설명
Defaultvalue ( this symbol ) : string
FullName ( this symbol ) : string
GetEnumUnderlyingType ( this enumType ) : ITypeSymbol
IsEnum ( this type ) : bool
IsNullableEnum ( this type, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : bool
IsNullablePrimitiveType ( this type, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : bool
IsPrimitiveType ( this type ) : bool
TryGetPrimitiveSize ( this type, int &size ) : bool
UnwrapFromNullableType ( this type, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : ITypeSymbol
UnwrapGenericIfNeeded ( this type ) : ITypeSymbol

메소드 상세

Defaultvalue() 공개 정적인 메소드

public static Defaultvalue ( this symbol ) : string
symbol this
리턴 string

FullName() 공개 정적인 메소드

public static FullName ( this symbol ) : string
symbol this
리턴 string

GetEnumUnderlyingType() 공개 정적인 메소드

public static GetEnumUnderlyingType ( this enumType ) : ITypeSymbol
enumType this
리턴 ITypeSymbol

IsEnum() 공개 정적인 메소드

public static IsEnum ( this type ) : bool
type this
리턴 bool

IsNullableEnum() 공개 정적인 메소드

public static IsNullableEnum ( this type, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : bool
type this
semanticModel Microsoft.CodeAnalysis.SemanticModel
리턴 bool

IsNullablePrimitiveType() 공개 정적인 메소드

public static IsNullablePrimitiveType ( this type, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : bool
type this
semanticModel Microsoft.CodeAnalysis.SemanticModel
리턴 bool

IsPrimitiveType() 공개 정적인 메소드

public static IsPrimitiveType ( this type ) : bool
type this
리턴 bool

TryGetPrimitiveSize() 공개 정적인 메소드

public static TryGetPrimitiveSize ( this type, int &size ) : bool
type this
size int
리턴 bool

UnwrapFromNullableType() 공개 정적인 메소드

public static UnwrapFromNullableType ( this type, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : ITypeSymbol
type this
semanticModel Microsoft.CodeAnalysis.SemanticModel
리턴 ITypeSymbol

UnwrapGenericIfNeeded() 공개 정적인 메소드

public static UnwrapGenericIfNeeded ( this type ) : ITypeSymbol
type this
리턴 ITypeSymbol