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

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
ConcatenateTypeArrays ( TypeArray pTypeArray1, TypeArray pTypeArray2 ) : TypeArray
CreateArrayOfUnitTypes ( int cSize ) : TypeArray
GetAggregate ( AggregateSymbol agg, AggregateType atsOuter, TypeArray typeArgs ) : AggregateType
GetAggregate ( AggregateSymbol agg, TypeArray typeArgsAll ) : AggregateType
GetAnonMethType ( ) : BoundLambdaType
GetArgListType ( ) : ArgumentListType
GetArray ( CType elementType, int args ) : Microsoft.CSharp.RuntimeBinder.Semantics.ArrayType
GetErrorSym ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.ErrorType
GetErrorType ( CType pParentType, Microsoft.CSharp.RuntimeBinder.Semantics.AssemblyQualifiedNamespaceSymbol pParentNS, Name nameText, TypeArray typeArgs ) : Microsoft.CSharp.RuntimeBinder.Semantics.ErrorType
GetMethGrpType ( ) : MethodGroupType
GetNubFromNullable ( AggregateType ats ) : NullableType
GetNullType ( ) : NullType
GetNullable ( ) : AggregateSymbol
GetNullable ( CType pUnderlyingType ) : NullableType
GetOptPredefAgg ( PredefinedType pt ) : AggregateSymbol
GetParameterModifier ( CType paramType, bool isOut ) : Microsoft.CSharp.RuntimeBinder.Semantics.ParameterModifierType
GetPointer ( CType baseType ) : Microsoft.CSharp.RuntimeBinder.Semantics.PointerType
GetReqPredefAgg ( PredefinedType pt ) : AggregateSymbol
GetStdClsTypeVar ( int iv ) : Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
GetStdMethTyVarArray ( int cTyVars ) : TypeArray
GetStdMethTypeVar ( int iv ) : Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
GetTypeParameter ( Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterSymbol pSymbol ) : Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
GetUnitType ( ) : OpenTypePlaceholderType
GetVoid ( ) : VoidType
InitTypeFactory ( SymbolTable table ) : void
ParametersContainTyVar ( TypeArray @params, Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType typeFind ) : bool
ReportMissingPredefTypeError ( ErrorHandling errorContext, PredefinedType pt ) : void
SubstEqualTypeArrays ( TypeArray taDst, TypeArray taSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth, SubstTypeFlags grfst ) : bool
SubstEqualTypes ( CType typeDst, CType typeSrc, CType typeCls ) : bool
SubstEqualTypes ( CType typeDst, CType typeSrc, CType typeCls, TypeArray typeArgsMeth ) : bool
SubstEqualTypes ( CType typeDst, CType typeSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth, SubstTypeFlags grfst ) : bool
SubstEqualTypesCore ( CType typeDst, CType typeSrc, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : bool
SubstType ( CType typeSrc, AggregateType atsCls ) : CType
SubstType ( CType typeSrc, AggregateType atsCls, TypeArray typeArgsMeth ) : CType
SubstType ( CType typeSrc, CType typeCls, TypeArray typeArgsMeth ) : CType
SubstType ( CType typeSrc, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : CType
SubstType ( CType typeSrc, TypeArray typeArgsCls ) : CType
SubstType ( CType typeSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth ) : CType
SubstType ( CType typeSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth, SubstTypeFlags grfst ) : CType
SubstTypeArray ( TypeArray taSrc, AggregateType atsCls ) : TypeArray
SubstTypeArray ( TypeArray taSrc, AggregateType atsCls, TypeArray typeArgsMeth ) : TypeArray
SubstTypeArray ( TypeArray taSrc, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : TypeArray
SubstTypeArray ( TypeArray taSrc, TypeArray typeArgsCls ) : TypeArray
SubstTypeArray ( TypeArray taSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth ) : TypeArray
SubstTypeArray ( TypeArray taSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth, SubstTypeFlags grfst ) : TypeArray
TypeContainsAnonymousTypes ( CType type ) : bool
TypeContainsTyVars ( CType type, TypeArray typeVars ) : bool
TypeContainsType ( CType type, CType typeFind ) : bool
TypeManager ( ) : System

Private Methods

Méthode Description
GetBestAccessibleType ( Microsoft.CSharp.RuntimeBinder.Semantics.CSemanticChecker semanticChecker, BindingContext bindingContext, CType typeSrc, CType &typeDst ) : bool
Init ( BSYMMGR bsymmgr, PredefinedTypes predefTypes ) : void
InitType ( CType at ) : void
InternalsVisibleTo ( Assembly assemblyThatDefinesAttribute, Assembly assemblyToCheck ) : bool
SubstTypeCore ( CType type, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : CType
TryArrayVarianceAdjustmentToGetAccessibleType ( Microsoft.CSharp.RuntimeBinder.Semantics.CSemanticChecker semanticChecker, BindingContext bindingContext, Microsoft.CSharp.RuntimeBinder.Semantics.ArrayType typeSrc, CType &typeDst ) : bool
TryVarianceAdjustmentToGetAccessibleType ( Microsoft.CSharp.RuntimeBinder.Semantics.CSemanticChecker semanticChecker, BindingContext bindingContext, AggregateType typeSrc, CType &typeDst ) : bool

Method Details

ConcatenateTypeArrays() public méthode

public ConcatenateTypeArrays ( TypeArray pTypeArray1, TypeArray pTypeArray2 ) : TypeArray
pTypeArray1 TypeArray
pTypeArray2 TypeArray
Résultat TypeArray

CreateArrayOfUnitTypes() public méthode

public CreateArrayOfUnitTypes ( int cSize ) : TypeArray
cSize int
Résultat TypeArray

GetAggregate() public méthode

public GetAggregate ( AggregateSymbol agg, AggregateType atsOuter, TypeArray typeArgs ) : AggregateType
agg AggregateSymbol
atsOuter AggregateType
typeArgs TypeArray
Résultat AggregateType

GetAggregate() public méthode

public GetAggregate ( AggregateSymbol agg, TypeArray typeArgsAll ) : AggregateType
agg AggregateSymbol
typeArgsAll TypeArray
Résultat AggregateType

GetAnonMethType() public méthode

public GetAnonMethType ( ) : BoundLambdaType
Résultat BoundLambdaType

GetArgListType() public méthode

public GetArgListType ( ) : ArgumentListType
Résultat ArgumentListType

GetArray() public méthode

public GetArray ( CType elementType, int args ) : Microsoft.CSharp.RuntimeBinder.Semantics.ArrayType
elementType CType
args int
Résultat Microsoft.CSharp.RuntimeBinder.Semantics.ArrayType

GetErrorSym() public méthode

public GetErrorSym ( ) : Microsoft.CSharp.RuntimeBinder.Semantics.ErrorType
Résultat Microsoft.CSharp.RuntimeBinder.Semantics.ErrorType

GetErrorType() public méthode

public GetErrorType ( CType pParentType, Microsoft.CSharp.RuntimeBinder.Semantics.AssemblyQualifiedNamespaceSymbol pParentNS, Name nameText, TypeArray typeArgs ) : Microsoft.CSharp.RuntimeBinder.Semantics.ErrorType
pParentType CType
pParentNS Microsoft.CSharp.RuntimeBinder.Semantics.AssemblyQualifiedNamespaceSymbol
nameText Microsoft.CSharp.RuntimeBinder.Syntax.Name
typeArgs TypeArray
Résultat Microsoft.CSharp.RuntimeBinder.Semantics.ErrorType

GetMethGrpType() public méthode

public GetMethGrpType ( ) : MethodGroupType
Résultat MethodGroupType

GetNubFromNullable() public méthode

public GetNubFromNullable ( AggregateType ats ) : NullableType
ats AggregateType
Résultat NullableType

GetNullType() public méthode

public GetNullType ( ) : NullType
Résultat NullType

GetNullable() public méthode

public GetNullable ( ) : AggregateSymbol
Résultat AggregateSymbol

GetNullable() public méthode

public GetNullable ( CType pUnderlyingType ) : NullableType
pUnderlyingType CType
Résultat NullableType

GetOptPredefAgg() public méthode

public GetOptPredefAgg ( PredefinedType pt ) : AggregateSymbol
pt PredefinedType
Résultat AggregateSymbol

GetParameterModifier() public méthode

public GetParameterModifier ( CType paramType, bool isOut ) : Microsoft.CSharp.RuntimeBinder.Semantics.ParameterModifierType
paramType CType
isOut bool
Résultat Microsoft.CSharp.RuntimeBinder.Semantics.ParameterModifierType

GetPointer() public méthode

public GetPointer ( CType baseType ) : Microsoft.CSharp.RuntimeBinder.Semantics.PointerType
baseType CType
Résultat Microsoft.CSharp.RuntimeBinder.Semantics.PointerType

GetReqPredefAgg() public méthode

public GetReqPredefAgg ( PredefinedType pt ) : AggregateSymbol
pt PredefinedType
Résultat AggregateSymbol

GetStdClsTypeVar() public méthode

public GetStdClsTypeVar ( int iv ) : Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
iv int
Résultat Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType

GetStdMethTyVarArray() public méthode

public GetStdMethTyVarArray ( int cTyVars ) : TypeArray
cTyVars int
Résultat TypeArray

GetStdMethTypeVar() public méthode

public GetStdMethTypeVar ( int iv ) : Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
iv int
Résultat Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType

GetTypeParameter() public méthode

public GetTypeParameter ( Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterSymbol pSymbol ) : Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
pSymbol Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterSymbol
Résultat Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType

GetUnitType() public méthode

public GetUnitType ( ) : OpenTypePlaceholderType
Résultat OpenTypePlaceholderType

GetVoid() public méthode

public GetVoid ( ) : VoidType
Résultat VoidType

InitTypeFactory() public méthode

public InitTypeFactory ( SymbolTable table ) : void
table Microsoft.CSharp.RuntimeBinder.SymbolTable
Résultat void

ParametersContainTyVar() public static méthode

public static ParametersContainTyVar ( TypeArray @params, Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType typeFind ) : bool
@params TypeArray
typeFind Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType
Résultat bool

ReportMissingPredefTypeError() public méthode

public ReportMissingPredefTypeError ( ErrorHandling errorContext, PredefinedType pt ) : void
errorContext Microsoft.CSharp.RuntimeBinder.Errors.ErrorHandling
pt PredefinedType
Résultat void

SubstEqualTypeArrays() public méthode

public SubstEqualTypeArrays ( TypeArray taDst, TypeArray taSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth, SubstTypeFlags grfst ) : bool
taDst TypeArray
taSrc TypeArray
typeArgsCls TypeArray
typeArgsMeth TypeArray
grfst SubstTypeFlags
Résultat bool

SubstEqualTypes() public méthode

public SubstEqualTypes ( CType typeDst, CType typeSrc, CType typeCls ) : bool
typeDst CType
typeSrc CType
typeCls CType
Résultat bool

SubstEqualTypes() public méthode

public SubstEqualTypes ( CType typeDst, CType typeSrc, CType typeCls, TypeArray typeArgsMeth ) : bool
typeDst CType
typeSrc CType
typeCls CType
typeArgsMeth TypeArray
Résultat bool

SubstEqualTypes() public méthode

public SubstEqualTypes ( CType typeDst, CType typeSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth, SubstTypeFlags grfst ) : bool
typeDst CType
typeSrc CType
typeArgsCls TypeArray
typeArgsMeth TypeArray
grfst SubstTypeFlags
Résultat bool

SubstEqualTypesCore() public méthode

public SubstEqualTypesCore ( CType typeDst, CType typeSrc, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : bool
typeDst CType
typeSrc CType
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
Résultat bool

SubstType() public méthode

public SubstType ( CType typeSrc, AggregateType atsCls ) : CType
typeSrc CType
atsCls AggregateType
Résultat CType

SubstType() public méthode

public SubstType ( CType typeSrc, AggregateType atsCls, TypeArray typeArgsMeth ) : CType
typeSrc CType
atsCls AggregateType
typeArgsMeth TypeArray
Résultat CType

SubstType() public méthode

public SubstType ( CType typeSrc, CType typeCls, TypeArray typeArgsMeth ) : CType
typeSrc CType
typeCls CType
typeArgsMeth TypeArray
Résultat CType

SubstType() public méthode

public SubstType ( CType typeSrc, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : CType
typeSrc CType
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
Résultat CType

SubstType() public méthode

public SubstType ( CType typeSrc, TypeArray typeArgsCls ) : CType
typeSrc CType
typeArgsCls TypeArray
Résultat CType

SubstType() public méthode

public SubstType ( CType typeSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth ) : CType
typeSrc CType
typeArgsCls TypeArray
typeArgsMeth TypeArray
Résultat CType

SubstType() public méthode

public SubstType ( CType typeSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth, SubstTypeFlags grfst ) : CType
typeSrc CType
typeArgsCls TypeArray
typeArgsMeth TypeArray
grfst SubstTypeFlags
Résultat CType

SubstTypeArray() public méthode

public SubstTypeArray ( TypeArray taSrc, AggregateType atsCls ) : TypeArray
taSrc TypeArray
atsCls AggregateType
Résultat TypeArray

SubstTypeArray() public méthode

public SubstTypeArray ( TypeArray taSrc, AggregateType atsCls, TypeArray typeArgsMeth ) : TypeArray
taSrc TypeArray
atsCls AggregateType
typeArgsMeth TypeArray
Résultat TypeArray

SubstTypeArray() public méthode

public SubstTypeArray ( TypeArray taSrc, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : TypeArray
taSrc TypeArray
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
Résultat TypeArray

SubstTypeArray() public méthode

public SubstTypeArray ( TypeArray taSrc, TypeArray typeArgsCls ) : TypeArray
taSrc TypeArray
typeArgsCls TypeArray
Résultat TypeArray

SubstTypeArray() public méthode

public SubstTypeArray ( TypeArray taSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth ) : TypeArray
taSrc TypeArray
typeArgsCls TypeArray
typeArgsMeth TypeArray
Résultat TypeArray

SubstTypeArray() public méthode

public SubstTypeArray ( TypeArray taSrc, TypeArray typeArgsCls, TypeArray typeArgsMeth, SubstTypeFlags grfst ) : TypeArray
taSrc TypeArray
typeArgsCls TypeArray
typeArgsMeth TypeArray
grfst SubstTypeFlags
Résultat TypeArray

TypeContainsAnonymousTypes() public static méthode

public static TypeContainsAnonymousTypes ( CType type ) : bool
type CType
Résultat bool

TypeContainsTyVars() public static méthode

public static TypeContainsTyVars ( CType type, TypeArray typeVars ) : bool
type CType
typeVars TypeArray
Résultat bool

TypeContainsType() public static méthode

public static TypeContainsType ( CType type, CType typeFind ) : bool
type CType
typeFind CType
Résultat bool

TypeManager() public méthode

public TypeManager ( ) : System
Résultat System