C# Class Microsoft.CSharp.RuntimeBinder.Semantics.CType

Inheritance: ITypeOrNamespace
显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
AsAggregateType ( ) : AggregateType
AsArrayType ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.ArrayType
AsErrorType ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.ErrorType
AsNamespace ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.AssemblyQualifiedNamespaceSymbol
AsNullableType ( ) : NullableType
AsParameterModifierType ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.ParameterModifierType
AsPointerType ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.PointerType
AsType ( ) : CType
AsTypeParameterType ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
GetBaseOrParameterOrElementType ( ) : CType
GetDelegateTypeOfPossibleExpression ( ) : CType
GetNakedAgg ( ) : AggregateSymbol
GetNakedAgg ( bool fStripNub ) : AggregateSymbol
GetNakedType ( bool fStripNub ) : CType
GetName ( ) : Name
GetTypeKind ( ) : TypeKind
HasErrors ( ) : bool
InitFromParent ( ) : void
IsAggregateType ( ) : bool
IsArrayType ( ) : bool
IsBoundLambdaType ( ) : bool
IsCollectionType ( ) : bool
IsErrorType ( ) : bool
IsMethodGroupType ( ) : bool
IsNamespace ( ) : bool
IsNeverSameType ( ) : bool
IsNonNubValType ( ) : bool
IsNullType ( ) : bool
IsNullableType ( ) : bool
IsOpenTypePlaceholderType ( ) : bool
IsParameterModifierType ( ) : bool
IsPointerType ( ) : bool
IsRefType ( ) : bool
IsType ( ) : bool
IsTypeParameterType ( ) : bool
IsUnresolved ( ) : bool
IsValType ( ) : bool
IsVoidType ( ) : bool
IsWindowsRuntimeType ( ) : bool
SetErrors ( bool fHasErrors ) : void
SetName ( Name pName ) : void
SetTypeKind ( TypeKind kind ) : void
SetUnresolved ( bool fUnres ) : void
StripNubs ( ) : CType
StripNubs ( int &pcnub ) : CType
checkBogus ( ) : bool
computeCurrentBogusState ( ) : bool
computeManagedType ( SymbolLoader symbolLoader ) : bool
constValKind ( ) : ConstValKind
fundType ( ) : FUNDTYPE
getAggregate ( ) : AggregateSymbol
getBogus ( ) : bool
getPredefType ( ) : PredefinedType
hasBogus ( ) : bool
isClassType ( ) : bool
isDelegateType ( ) : bool
isEnumType ( ) : bool
isInterfaceType ( ) : bool
isNumericType ( ) : bool
isPointerLike ( ) : bool
isPredefType ( PredefinedType pt ) : bool
isPredefined ( ) : bool
isSimpleOrEnum ( ) : bool
isSimpleOrEnumOrString ( ) : bool
isSimpleType ( ) : bool
isSpecialByRefType ( ) : bool
isStaticClass ( ) : bool
isStructOrEnum ( ) : bool
isStructType ( ) : bool
isUnsafe ( ) : bool
isUnsigned ( ) : bool
setBogus ( bool isBogus ) : void
underlyingEnumType ( ) : AggregateType
underlyingType ( ) : CType

Private Methods

Method Description
CalculateAssociatedSystemType ( CType src ) : Type
CalculateAssociatedSystemTypeForAggregate ( AggregateType aggtype ) : Type

Method Details

AsAggregateType() public method

public AsAggregateType ( ) : AggregateType
return AggregateType

AsArrayType() public method

public AsArrayType ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.ArrayType
return Microsoft.CSharp.RuntimeBinder.Semantics.ArrayType

AsErrorType() public method

public AsErrorType ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.ErrorType
return Microsoft.CSharp.RuntimeBinder.Semantics.ErrorType

AsNamespace() public method

public AsNamespace ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.AssemblyQualifiedNamespaceSymbol
return Microsoft.CSharp.RuntimeBinder.Semantics.AssemblyQualifiedNamespaceSymbol

AsNullableType() public method

public AsNullableType ( ) : NullableType
return NullableType

AsParameterModifierType() public method

public AsParameterModifierType ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.ParameterModifierType
return Microsoft.CSharp.RuntimeBinder.Semantics.ParameterModifierType

AsPointerType() public method

public AsPointerType ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.PointerType
return Microsoft.CSharp.RuntimeBinder.Semantics.PointerType

AsType() public method

public AsType ( ) : CType
return CType

AsTypeParameterType() public method

public AsTypeParameterType ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
return Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType

GetBaseOrParameterOrElementType() public method

public GetBaseOrParameterOrElementType ( ) : CType
return CType

GetDelegateTypeOfPossibleExpression() public method

public GetDelegateTypeOfPossibleExpression ( ) : CType
return CType

GetNakedAgg() public method

public GetNakedAgg ( ) : AggregateSymbol
return AggregateSymbol

GetNakedAgg() public method

public GetNakedAgg ( bool fStripNub ) : AggregateSymbol
fStripNub bool
return AggregateSymbol

GetNakedType() public method

public GetNakedType ( bool fStripNub ) : CType
fStripNub bool
return CType

GetName() public method

public GetName ( ) : Name
return Microsoft.CSharp.RuntimeBinder.Syntax.Name

GetTypeKind() public method

public GetTypeKind ( ) : TypeKind
return TypeKind

HasErrors() public method

public HasErrors ( ) : bool
return bool

InitFromParent() public method

public InitFromParent ( ) : void
return void

IsAggregateType() public method

public IsAggregateType ( ) : bool
return bool

IsArrayType() public method

public IsArrayType ( ) : bool
return bool

IsBoundLambdaType() public method

public IsBoundLambdaType ( ) : bool
return bool

IsCollectionType() public method

public IsCollectionType ( ) : bool
return bool

IsErrorType() public method

public IsErrorType ( ) : bool
return bool

IsMethodGroupType() public method

public IsMethodGroupType ( ) : bool
return bool

IsNamespace() public method

public IsNamespace ( ) : bool
return bool

IsNeverSameType() public method

public IsNeverSameType ( ) : bool
return bool

IsNonNubValType() public method

public IsNonNubValType ( ) : bool
return bool

IsNullType() public method

public IsNullType ( ) : bool
return bool

IsNullableType() public method

public IsNullableType ( ) : bool
return bool

IsOpenTypePlaceholderType() public method

public IsOpenTypePlaceholderType ( ) : bool
return bool

IsParameterModifierType() public method

public IsParameterModifierType ( ) : bool
return bool

IsPointerType() public method

public IsPointerType ( ) : bool
return bool

IsRefType() public method

public IsRefType ( ) : bool
return bool

IsType() public method

public IsType ( ) : bool
return bool

IsTypeParameterType() public method

public IsTypeParameterType ( ) : bool
return bool

IsUnresolved() public method

public IsUnresolved ( ) : bool
return bool

IsValType() public method

public IsValType ( ) : bool
return bool

IsVoidType() public method

public IsVoidType ( ) : bool
return bool

IsWindowsRuntimeType() public method

public IsWindowsRuntimeType ( ) : bool
return bool

SetErrors() public method

public SetErrors ( bool fHasErrors ) : void
fHasErrors bool
return void

SetName() public method

public SetName ( Name pName ) : void
pName Microsoft.CSharp.RuntimeBinder.Syntax.Name
return void

SetTypeKind() public method

public SetTypeKind ( TypeKind kind ) : void
kind TypeKind
return void

SetUnresolved() public method

public SetUnresolved ( bool fUnres ) : void
fUnres bool
return void

StripNubs() public method

public StripNubs ( ) : CType
return CType

StripNubs() public method

public StripNubs ( int &pcnub ) : CType
pcnub int
return CType

checkBogus() public method

public checkBogus ( ) : bool
return bool

computeCurrentBogusState() public method

public computeCurrentBogusState ( ) : bool
return bool

computeManagedType() public method

public computeManagedType ( SymbolLoader symbolLoader ) : bool
symbolLoader SymbolLoader
return bool

constValKind() public method

public constValKind ( ) : ConstValKind
return ConstValKind

fundType() public method

public fundType ( ) : FUNDTYPE
return FUNDTYPE

getAggregate() public method

public getAggregate ( ) : AggregateSymbol
return AggregateSymbol

getBogus() public method

public getBogus ( ) : bool
return bool

getPredefType() public method

public getPredefType ( ) : PredefinedType
return PredefinedType

hasBogus() public method

public hasBogus ( ) : bool
return bool

isClassType() public method

public isClassType ( ) : bool
return bool

isDelegateType() public method

public isDelegateType ( ) : bool
return bool

isEnumType() public method

public isEnumType ( ) : bool
return bool

isInterfaceType() public method

public isInterfaceType ( ) : bool
return bool

isNumericType() public method

public isNumericType ( ) : bool
return bool

isPointerLike() public method

public isPointerLike ( ) : bool
return bool

isPredefType() public method

public isPredefType ( PredefinedType pt ) : bool
pt PredefinedType
return bool

isPredefined() public method

public isPredefined ( ) : bool
return bool

isSimpleOrEnum() public method

public isSimpleOrEnum ( ) : bool
return bool

isSimpleOrEnumOrString() public method

public isSimpleOrEnumOrString ( ) : bool
return bool

isSimpleType() public method

public isSimpleType ( ) : bool
return bool

isSpecialByRefType() public method

public isSpecialByRefType ( ) : bool
return bool

isStaticClass() public method

public isStaticClass ( ) : bool
return bool

isStructOrEnum() public method

public isStructOrEnum ( ) : bool
return bool

isStructType() public method

public isStructType ( ) : bool
return bool

isUnsafe() public method

public isUnsafe ( ) : bool
return bool

isUnsigned() public method

public isUnsigned ( ) : bool
return bool

setBogus() public method

public setBogus ( bool isBogus ) : void
isBogus bool
return void

underlyingEnumType() public method

public underlyingEnumType ( ) : AggregateType
return AggregateType

underlyingType() public method

public underlyingType ( ) : CType
return CType