C# Class Pchp.CodeAnalysis.Symbols.SpecialTypeExtensions

显示文件 Open project: iolevel/peachpie

Public Methods

Method Description
CanBeConst ( this specialType ) : bool
FixedBufferElementSizeInBytes ( this specialType ) : int
IsIntegralType ( this specialType ) : bool

Checks if a type is considered a "built-in integral" by CLR.

IsIntrinsicType ( this specialType ) : bool

The type is one of the simple types defined in Dev10 C#, see "predeftype.h"/simple

IsSignedIntegralType ( this specialType ) : bool
IsValidVolatileFieldType ( this specialType ) : bool

Method Details

CanBeConst() public static method

public static CanBeConst ( this specialType ) : bool
specialType this
return bool

FixedBufferElementSizeInBytes() public static method

public static FixedBufferElementSizeInBytes ( this specialType ) : int
specialType this
return int

IsIntegralType() public static method

Checks if a type is considered a "built-in integral" by CLR.
public static IsIntegralType ( this specialType ) : bool
specialType this
return bool

IsIntrinsicType() public static method

The type is one of the simple types defined in Dev10 C#, see "predeftype.h"/simple
public static IsIntrinsicType ( this specialType ) : bool
specialType this
return bool

IsSignedIntegralType() public static method

public static IsSignedIntegralType ( this specialType ) : bool
specialType this
return bool

IsValidVolatileFieldType() public static method

public static IsValidVolatileFieldType ( this specialType ) : bool
specialType this
return bool