Click or drag to resize

MatchCandidate Class

Represents a possible match for an UnresolvedRef.
Inheritance Hierarchy
SystemObject
  Nova.ResolvingMatchCandidate

Namespace:  Nova.Resolving
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public class MatchCandidate

The MatchCandidate type exposes the following members.

Constructors
  NameDescription
Public methodMatchCandidate
Construct a new MatchCandidate object.
Top
Properties
  NameDescription
Public propertyIsCompleteMatch
True if the candidate is a complete match.
Public propertyIsInterface
True if the object is an interface.
Public propertyIsMethod
True if the object is a method (does NOT include constructors or destructors).
Public propertyIsType
True if the object is a type.
Public propertyTypeArgumentInferenceFailed
True if type inference is needed for the candidate, but has not succeeded yet.
Top
Methods
  NameDescription
Protected methodCompareVtoU
Public methodCopyInferredTypeArguments
Copy the inferred type arguments to the specified MethodRef or TypeRef (pseudo-inferred type arguments are used for references to type definitions in doc comments).
Protected methodDependsDirectlyOn
Protected methodDependsOn
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodExactInference
Protected methodExplicitParameterTypeInference
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFindUniqueInterface
Protected methodFix
Protected methodFixTypeArgument
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMismatchDescription
Get a description of why the candidate doesn't match.
Protected methodGetParameterTypes
Get the types of the specified collection of parameters, and also the ref/out and params status of each.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHasStrongBounds
Determine if bounds other than a lower bound to a 'null' object type exist.
Protected methodHasUnfixedInputType
Determine if T has any unfixed input types.
Public methodInferTypeArguments(Object, TypeRefBase, UnresolvedRef)
Perform Type Inference for omitted type arguments on a generic method in a method group [C# 4.0 section 7.5.2.13].
Public methodInferTypeArguments(ICollection, ListExpression, UnresolvedRef, Boolean)
Perform Type Inference for omitted type arguments on a generic method invocation [C# 4.0 section 7.5.2].
Public methodIsMismatchDueToAccessibilityOnly
Determine if a mismatch is due to inaccessibility only.
Public methodIsMismatchDueToUnresolvedOnly
Determine if a mismatch is due to unresolved references only (as far as we can tell).
Protected methodLowerBoundInference
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOutputTypeInference
Public methodToString
Render as a string (mainly for display in the debugger).
(Overrides ObjectToString.)
Protected methodUpperBoundInference
Top
Fields
  NameDescription
Public fieldArgumentsMismatchDueToUnresolvedOnly
True if the method arguments only failed to match because of UnresolvedRefs.
Public fieldBaseInterfacePaths
Records the base interface paths of a match (for use in finding type arguments).
Public fieldHasDynamicallyTypedParameters
True if the UnresolvedRef being matched is a method invocation and at least one argument has a dynamic type.
Public fieldInferredTypeArguments
Any inferred type arguments.
Public fieldIsAccessible
True if the candidate is accessible.
Public fieldIsCategoryMatch
True if the ResolveCategory matches.
Public fieldIsDocCodeReference
True if the reference is inside a DocCode documentation comment.
Public fieldIsMethodArgumentsMatch
True if the method arguments match.
Public fieldIsPendingOverride
True if this is an override method that is pending the finding of the corresponding abstract/virtual method declaration (override methods are not complete matches until the corresponding abstract/virtual method is found).
Public fieldIsStaticModeMatch
True if the static modifiers match.
Public fieldIsTypeArgumentFixed
An array of flags indicating if each inferred type argument has been fixed.
Public fieldIsTypeArgumentsMatch
True if the type arguments match.
Public fieldIsTypeInferenceFailure
True if type inference failed.
Public fieldMethodArgumentMismatchIndex
The index of the first non-matching method argument.
Public fieldObject
The candidate CodeObject or MemberInfo.
Public fieldResolveFlags
The associated ResolveFlags.
Public fieldUniqueId
Used for type equivalence for COM types in interop assemblies.
Top
See Also