C# Класс Microsoft.CSharp.RuntimeBinder.Semantics.MethodTypeInferrer

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CanObjectOfExtensionBeInferred ( ExpressionBinder binder, SymbolLoader symbolLoader, MethodSymbol pMethod, TypeArray pClassTypeArguments, TypeArray pMethodFormalParameterTypes, ArgInfos pMethodArguments ) : bool
Infer ( ExpressionBinder binder, SymbolLoader symbolLoader, MethodSymbol pMethod, TypeArray pClassTypeArguments, TypeArray pMethodFormalParameterTypes, ArgInfos pMethodArguments, TypeArray &ppInferredTypeArguments ) : bool

Приватные методы

Метод Описание
AddExactBound ( Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType pParam, CType pBound ) : void
AddLowerBound ( Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType pParam, CType pBound ) : void
AddUpperBound ( Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType pParam, CType pBound ) : void
AllFixed ( ) : bool
AnyDependsOn ( int iParam ) : bool
CanInferExtensionObject ( ) : bool
DeduceAllDependencies ( ) : void
DeduceDependencies ( ) : bool
DependsDirectlyOn ( int iParam, int jParam ) : bool
DependsOn ( int iParam, int jParam ) : bool
DependsOnAny ( int iParam ) : bool
DependsTransitivelyOn ( int iParam, int jParam ) : bool
DoSecondPhase ( ) : NewInferenceResult
DoesInputTypeContain ( EXPR pSource, CType pDest, Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType pParam ) : bool
DoesOutputTypeContain ( EXPR pSource, CType pDest, Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType pParam ) : bool
ExactArrayInference ( CType pSource, CType pDest ) : bool
ExactConstructedInference ( CType pSource, CType pDest ) : bool
ExactInference ( CType pSource, CType pDest ) : void
ExactNullableInference ( CType pSource, CType pDest ) : bool
ExactTypeArgumentInference ( AggregateType pSource, AggregateType pDest ) : void
ExactTypeParameterInference ( CType pSource, CType pDest ) : bool
Fix ( int iParam ) : bool
FixDependentParameters ( ) : NewInferenceResult
FixNondependentParameters ( ) : NewInferenceResult
GetFixedDelegateParameters ( AggregateType pDelegateType ) : TypeArray
GetGlobalSymbols ( ) : BSYMMGR
GetResults ( ) : TypeArray
GetSymbolLoader ( ) : SymbolLoader
GetTypeManager ( ) : TypeManager
HasBound ( int iParam ) : bool
HasUnfixedParamInInputType ( EXPR pSource, CType pDest ) : bool
HasUnfixedParamInOutputType ( EXPR pSource, CType pDest ) : bool
InferForMethodGroupConversion ( ) : bool
InferTypeArgs ( ) : bool
InferTypeArgsFirstPhase ( ) : void
InferTypeArgsSecondPhase ( ) : bool
InitializeDependencies ( ) : void
IsReallyAType ( CType pType ) : bool
IsUnfixed ( Microsoft.CSharp.RuntimeBinder.Semantics.TypeParameterType pParam ) : bool
IsUnfixed ( int iParam ) : bool
LowerBoundArrayInference ( CType pSource, CType pDest ) : bool
LowerBoundClassInference ( CType pSource, AggregateType pDest ) : bool
LowerBoundConstructedInference ( CType pSource, CType pDest ) : bool
LowerBoundInference ( CType pSource, CType pDest ) : void
LowerBoundInterfaceInference ( CType pSource, AggregateType pDest ) : bool
LowerBoundTypeArgumentInference ( AggregateType pSource, AggregateType pDest ) : void
LowerBoundTypeParameterInference ( CType pSource, CType pDest ) : bool
MakeOutputTypeInferences ( ) : void
MethodGroupReturnTypeInference ( EXPR pSource, CType pType ) : bool
MethodTypeInferrer ( ExpressionBinder exprBinder, SymbolLoader symLoader, TypeArray pMethodFormalParameterTypes, ArgInfos pMethodArguments, TypeArray pMethodTypeParameters, TypeArray pClassTypeArguments ) : System.Collections.Generic
OutputTypeInference ( EXPR pExpr, CType pSource, CType pDest ) : void
SetIndirectsToUnknown ( ) : void
SetUnknownsToNotDependent ( ) : void
UpdateDependenciesAfterFix ( int iParam ) : void
UpperBoundArrayInference ( CType pSource, CType pDest ) : bool
UpperBoundClassInference ( AggregateType pSource, CType pDest ) : bool
UpperBoundConstructedInference ( CType pSource, CType pDest ) : bool
UpperBoundInference ( CType pSource, CType pDest ) : void
UpperBoundInterfaceInference ( AggregateType pSource, CType pDest ) : bool
UpperBoundTypeArgumentInference ( AggregateType pSource, AggregateType pDest ) : void
UpperBoundTypeParameterInference ( CType pSource, CType pDest ) : bool

Описание методов

CanObjectOfExtensionBeInferred() публичный статический Метод

public static CanObjectOfExtensionBeInferred ( ExpressionBinder binder, SymbolLoader symbolLoader, MethodSymbol pMethod, TypeArray pClassTypeArguments, TypeArray pMethodFormalParameterTypes, ArgInfos pMethodArguments ) : bool
binder ExpressionBinder
symbolLoader SymbolLoader
pMethod MethodSymbol
pClassTypeArguments TypeArray
pMethodFormalParameterTypes TypeArray
pMethodArguments ArgInfos
Результат bool

Infer() публичный статический Метод

public static Infer ( ExpressionBinder binder, SymbolLoader symbolLoader, MethodSymbol pMethod, TypeArray pClassTypeArguments, TypeArray pMethodFormalParameterTypes, ArgInfos pMethodArguments, TypeArray &ppInferredTypeArguments ) : bool
binder ExpressionBinder
symbolLoader SymbolLoader
pMethod MethodSymbol
pClassTypeArguments TypeArray
pMethodFormalParameterTypes TypeArray
pMethodArguments ArgInfos
ppInferredTypeArguments TypeArray
Результат bool