Click or drag to resize

TypeRefBase Class

Handles references to generic and/or array types, and is the common base class of TypeRef, MethodRef (because it can be treated as a delegate type, and can have generic parameters), and UnresolvedRef (because unresolved symbols can have generic parameters and array ranks).
Inheritance Hierarchy

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public abstract class TypeRefBase : SymbolicRef

The TypeRefBase type exposes the following members.

Constructors
  NameDescription
Protected methodTypeRefBase(Object)
Initializes a new instance of the TypeRefBase class
Protected methodTypeRefBase(MethodBase, Boolean)
Initializes a new instance of the TypeRefBase class
Protected methodTypeRefBase(String, Boolean)
Initializes a new instance of the TypeRefBase class
Protected methodTypeRefBase(Type, Boolean)
Initializes a new instance of the TypeRefBase class
Protected methodTypeRefBase(AnonymousMethodBase, Boolean)
Initializes a new instance of the TypeRefBase class
Protected methodTypeRefBase(GenericParameter, Boolean)
Initializes a new instance of the TypeRefBase class
Protected methodTypeRefBase(ITypeDecl, Boolean)
Initializes a new instance of the TypeRefBase class
Protected methodTypeRefBase(MethodDeclBase, Boolean)
Initializes a new instance of the TypeRefBase class
Protected methodTypeRefBase(MethodDefinition, Boolean)
Initializes a new instance of the TypeRefBase class
Protected methodTypeRefBase(Parser, CodeObject)
Initializes a new instance of the TypeRefBase class
Protected methodTypeRefBase(TypeDefinition, Boolean)
Initializes a new instance of the TypeRefBase class
Top
Properties
  NameDescription
Public property_AsString
This property is just to make debugging easier.
(Inherited from CodeObject.)
Public propertyAnnotations
Annotations (comments, attributes, directives, messages) associated with the current code object.
(Inherited from CodeObject.)
Public propertyArrayRanks
The array ranks of the type reference (if any).
Public propertyCategory
The descriptive category of the SymbolicRef.
(Inherited from SymbolicRef.)
Public propertyColumnNumber
The column number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.)
Public propertyComment
The comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyDocComment
The documentation comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyDontUseKeyword
True if the referenced type should display as a type name instead of a keyword if it's a primitive type.
Public propertyEOLComment
The End-Of-Line comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyHasAnnotations
True if the code object has any annotations.
(Inherited from CodeObject.)
Public propertyHasArrayRanks
True if the type reference has any array ranks.
Public propertyHasAttributes
True if the code object has any attributes.
(Inherited from CodeObject.)
Public propertyHasComments
True if the code object has any comments of any kind.
(Inherited from CodeObject.)
Public propertyHasCompilerDirectives
True if the code object has any compiler directive annotations.
(Inherited from CodeObject.)
Public propertyHasDocComments
True if the code object has any documentation comments.
(Inherited from CodeObject.)
Public propertyHasEOLComments
True if the code object has any EOL comments.
(Inherited from CodeObject.)
Public propertyHasEOLOrPostAnnotations
True if the code object has any EOL or Postfix annotations.
(Inherited from CodeObject.)
Public propertyHasErrors
True if the code object has any error messages.
(Inherited from CodeObject.)
Public propertyHasFirstOnLineAnnotations
True if the code object has any annotations on separate lines.
(Inherited from CodeObject.)
Public propertyHasInfixComments
True if the code object has any Infix comments.
(Inherited from CodeObject.)
Public propertyHasMessages
True if the code object has any generated messages.
(Inherited from CodeObject.)
Public propertyHasNoIndentation
Determines if the code object has no indentation.
(Inherited from CodeObject.)
Public propertyHasNonEOLComments
True if the code object has any regular (non-doc) preceding (non-EOL, non-Infix, non-Postfix) comments.
(Inherited from CodeObject.)
Public propertyHasParens
True if the expression is surrounded by parens.
(Inherited from Expression.)
Public propertyHasParensDefault
True if the expression should have parens by default.
(Inherited from Expression.)
Public propertyHasPostAnnotations
True if the code object has any postfix annotations.
(Inherited from CodeObject.)
Public propertyHasTerminator
Determines if the code object has a terminator character.
(Inherited from CodeObject.)
Public propertyHasTypeArguments
True if there are any type arguments.
Public propertyHiddenRef
Any hidden reference to another CodeObject.
(Inherited from CodeObject.)
Public propertyInfixComment
The infix comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyIsArray
True if the type reference is an array.
Public propertyIsBuiltInType
True if the referenced type is a built-in type (has a keyword). The built-in types are: object, void, sbyte, byte, short, ushort, int, uint, long, ulong, char, bool, string, float, double, decimal
Public propertyIsConst
True if the expression is const.
(Inherited from Expression.)
Public propertyIsDelegateType
True if the referenced type is a delegate type.
(Overrides ExpressionIsDelegateType.)
Public propertyIsDocCodeReference
Returns true if the TypeRefBase is a DocCodeRefBase reference to a code object, otherwise false.
Public propertyIsEndFirstOnLine
True if the closing paren or bracket is on a new line.
(Inherited from Expression.)
Public propertyIsFirstOnLine
Determines if the code object appears as the first item on a line.
(Inherited from CodeObject.)
Public propertyIsFirstOnLineDefault
True if the code object defaults to starting on a new line.
(Inherited from Expression.)
Public propertyIsFixedBufferType
True if the referenced type is a fixed buffer type.
Public propertyIsGenerated
Determines if the code object is generated.
(Inherited from CodeObject.)
Public propertyIsGroupingSet
Determines if the 'grouping' (has parens or braces) status has been set.
(Inherited from CodeObject.)
Public propertyIsInterface
True if the referenced type is an interface.
Public propertyIsInternal
True if the referenced type or method has internal access.
Public propertyIsNewLinesSet
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.)
Public propertyIsNullableType
True if the referenced type is a nullable type.
Public propertyIsPointer
True if the type reference is a pointer.
Public propertyIsPossibleDelegateType
True if the expression evaluates to a delegate, unresolved, or dynamic type or a TypeParameterRef.
(Inherited from Expression.)
Public propertyIsPrimitive
True if the type is Primitive. The Primitive Types are: sbyte, byte, short, ushort, int, uint, long, ulong, IntPtr, UIntPtr, char, bool, float, double. The following are NOT primitive types: object, void, string, decimal
Public propertyIsPrivate
True if the referenced type or method has private access.
Public propertyIsProtected
True if the referenced type or method has protected access.
Public propertyIsPublic
True if the referenced type or method has public access.
Public propertyIsRenderable
True if the CodeObject is renderable.
(Inherited from CodeObject.)
Public propertyIsSingleLine
Determines if the code object only requires a single line for display.
(Overrides ExpressionIsSingleLine.)
Public propertyIsSingleLineDefault
True if the code object only requires a single line for display by default.
(Inherited from CodeObject.)
Public propertyIsStatic
True if the referenced type or method is static.
Public propertyLineNumber
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.)
Public propertyName
The name of the SymbolicRef.
(Inherited from SymbolicRef.)
Public propertyNewLines
The number of newlines preceding the object (0 to N).
(Inherited from CodeObject.)
Public propertyParent
The parent CodeObject.
(Overrides CodeObjectParent.)
Public propertyPointerCount
The number of pointer dereferences.
Public propertyPostfixComment
The postfix comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyReference
The code object to which the SymbolicRef refers.
(Inherited from SymbolicRef.)
Public propertyTypeArgumentCount
The number of type arguments.
Public propertyTypeArguments
The type argument Expressions of the reference (if any).
Top
Methods
  NameDescription
Public methodAccept
Accept the specified visitor object for the current code object and it's children.
(Overrides SymbolicRefAccept(IVisitor).)
Public methodAcceptAnnotations(IVisitor)
Accept the specified visitor object for all regular (non-EOL, non-Infix, non-Postfix) annotations (comments, attributes, compiler directives).
(Inherited from CodeObject.)
Public methodAcceptAnnotations(IVisitor, AnnotationFlags)
Accept the specified visitor object for all specified Infix or Postfix annotations (comments, compiler directives).
(Inherited from CodeObject.)
Public methodAcceptEOLComments
Accept the specified visitor object for all EOL comments.
(Inherited from CodeObject.)
Public methodAcceptInfixComments
Accept the specified visitor object for all Infix comments.
(Inherited from CodeObject.)
Public methodAcceptInfixEOLComments
Accept the specified visitor object for all Infix EOL comments.
(Inherited from CodeObject.)
Public methodStatic memberArrayRankToString
Format an array rank as a string.
Public methodAssociateCommentWhenParsing
Determine if the specified comment should be associated with the current code object during parsing.
(Inherited from Expression.)
Public methodAsString
Render the entire code object as a string, using LFs for newlines.
(Inherited from CodeObject.)
Public methodAsText
Convert the code object to text with a trailing newline, and using CR/LF pairs for newlines (file format).
(Inherited from CodeObject.)
Public methodAsText(CodeWriter, CodeObjectRenderFlags) (Inherited from Expression.)
Public methodAsText(CodeObjectRenderFlags, Boolean, StackCodeWriterAlignmentState)
Convert the code object to text using the specified flags and format (file or string).
(Inherited from CodeObject.)
Protected methodAsTextAfter (Inherited from CodeObject.)
Public methodAsTextAnnotations(CodeWriter, CodeObjectRenderFlags)
Render all regular (non-EOL, non-Infix, non-Postfix, non-Message) annotations (comments, attributes, compiler directives).
(Inherited from CodeObject.)
Public methodAsTextAnnotations(CodeWriter, AnnotationFlags, CodeObjectRenderFlags)
Render all specified Infix or Postfix annotations (comments, compiler directives).
(Inherited from CodeObject.)
Public methodAsTextArrayRanks
Render array rank brackets (if any) as text.
Protected methodAsTextBefore (Inherited from CodeObject.)
Public methodStatic memberAsTextConstraints(CodeWriter, IEnumerableGenericParameter)
Render type constraints as text.
Public methodStatic memberAsTextConstraints(CodeWriter, Type)
Render type constraints as text.
Public methodAsTextEOLComments
Render all EOL comments.
(Inherited from CodeObject.)
Protected methodAsTextEvaluatedType (Inherited from CodeObject.)
Public methodAsTextExpression (Inherited from SymbolicRef.)
Public methodStatic memberAsTextGenericMember(CodeWriter, String, IEnumerableTypeReference, CodeObjectRenderFlags)
Render a generic member as text.
Public methodStatic memberAsTextGenericMember(CodeWriter, String, Type, CodeObjectRenderFlags)
Render a generic member as text.
Public methodAsTextInfixComments
Render all Infix comments with the specified mask.
(Inherited from CodeObject.)
Public methodAsTextInfixEOLComments
Render all Infix EOL comments.
(Inherited from CodeObject.)
Public methodAsTextLeftMostAnnotations
Render all regular annotations on the current object, or the left most binary operator.
(Inherited from CodeObject.)
Public methodAsTextLength
Determine the length of the code object if converted to a string using the specified flags.
(Inherited from CodeObject.)
Public methodAsTextPointers
Render pointers (if any) as text.
Public methodStatic memberAsTextType
Render a Type as text.
Public methodAsTextTypeArguments
Render type arguments (if any) as text.
Public methodStatic memberAsTextTypeReference
Render a TypeReference as text.
Public methodAttachAnnotation(Annotation, Boolean) (Inherited from CodeObject.)
Public methodAttachAnnotation(Annotation, AnnotationFlags, Boolean)
Attach an Annotation to the CodeObject at the specified position.
(Inherited from CodeObject.)
Public methodAttachComment
Create a comment object and attach it to the code object.
(Inherited from CodeObject.)
Public methodAttachEOLComment
Create an EOL comment object and attach it to the code object.
(Inherited from CodeObject.)
Public methodAttachMessage
Create a message and attach it to the code object.
(Inherited from CodeObject.)
Public methodCalculateMetrics
Calculate metrics for this code object and its children.
(Inherited from CodeObject.)
Protected methodCheckForAlignment
Check for alignment of any EOL comments.
(Inherited from CodeObject.)
Public methodClone
Deep-clone the code object.
(Overrides CodeObjectClone.)
Protected methodCloneField(Object, Object)
Clone a field of a code object, including setting the parent.
(Inherited from CodeObject.)
Protected methodCloneFieldT(T, T)
Clone a field of a code object, including setting the parent.
(Inherited from CodeObject.)
Public methodConvertOpenTypeParameters
Convert all OpenTypeParameterRef type arguments to TypeParameterRefs.
Public methodCopyFormatting
Copy formatting from another code object.
(Inherited from CodeObject.)
Public methodCreateAnnotations
Create the list of child Annotations, or return the existing one.
(Inherited from CodeObject.)
Public methodCreateArrayRanks
Create the child list of array ranks, or return the existing one.
Public methodCreateRef
Create a reference to the CodeObject.
(Inherited from CodeObject.)
Public methodCreateTypeArguments
Create the child list of type argument Expressions, or return the existing one.
Protected methodDefaultFormat
Default format the code object.
(Inherited from Expression.)
Protected methodDefaultFormatField
Default format the specified child field code object.
(Inherited from CodeObject.)
Public methodDefaultNewLines
Determine a default of 1 or 2 newlines when adding items to a Block.
(Inherited from CodeObject.)
Protected methodStatic memberDefaultTypeArguments(Type, ChildListExpression)
Protected methodStatic memberDefaultTypeArguments(GenericInstanceType, ChildListExpression)
Protected methodStatic memberDefaultTypeArguments(TypeDecl, ChildListExpression)
Protected methodStatic memberDefaultTypeArguments(TypeDefinition, ChildListExpression)
Public methodDispose
Dispose the CodeObject.
(Inherited from CodeObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluateType
Evaluate the type of the Expression.
(Inherited from Expression.)
Public methodEvaluateTypeArgumentTypes
Evaluate the types of any type arguments of the TypeRef by searching for matching type arguments in the specified parent code object tree.
Public methodEvaluateTypeOrNamespace
Evaluate the Expression to a type or namespace.
(Inherited from Expression.)
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 methodFindNestedTypeArgument
Public methodFindParentT
Find the parent object of the specified type.
(Inherited from CodeObject.)
Public methodFindParentMethod
Find the parent method (or anonymous method or lambda) of the current code object.
(Inherited from CodeObject.)
Public methodFindParentMethodOrType
Find the parent method (or anonymous method or lambda) or type of the current code object.
(Inherited from CodeObject.)
Public methodFindTypeArgument
Find a type argument for the specified type parameter.
(Inherited from Expression.)
Public methodFindTypeArgumentInTypeArguments
Find a type argument for the specified type parameter in the type arguments of the type.
Public methodFirstPrefix
Get the expression on the left of the left-most Dot operator.
(Inherited from Expression.)
Public methodFormatAsArgument
Format an expression assigned as an argument to another code object (turns off any parentheses).
(Inherited from Expression.)
Public methodGetAllChildrenT
Get an enumerator for all children objects of type T in the CodeObject and in any child CodeObjects (recursively).
(Inherited from CodeObject.)
Public methodGetAttribute
Returns the first attribute expression (Call or ConstructorRef) with the specified name on the CodeObject.
(Inherited from CodeObject.)
Public methodGetComment
Get the comment that satisfies the specified predicate.
(Inherited from CodeObject.)
Public methodGetConstantValue
Get the value of any represented constant. For enums, an EnumConstant object will be returned, which has both the Enum type and a constant value of its underlying type.
Public methodGetDeclaringType
Get the declaring type of the referenced object (returns null if none).
(Inherited from SymbolicRef.)
Public methodGetDelegateParameters
Get the delegate parameters if the expression evaluates to a delegate type.
(Overrides ExpressionGetDelegateParameters.)
Public methodGetDelegateParameterType
Get the type (or null if none) of the delegate parameter with the specified index.
Public methodGetDelegateReturnType
Get the delegate return type if the expression evaluates to a delegate type.
(Overrides ExpressionGetDelegateReturnType.)
Public methodGetDescription
Get a short text description of the CodeObject. This is generally the shortest text representation that uniquely identifies objects, even if they have the same name, for example: type or return type, name, type parameters, parameters.
(Inherited from CodeObject.)
Public methodGetDocSummary
Returns the DocSummary documentation comment, or null if none exists.
(Inherited from SymbolicRef.)
Public methodGetElementType
Get the element type of the type reference (if it's an array or pointer, otherwise null).
Public methodGetFullName
Get the full name of the object, including the namespace name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIndentLevel
Get the indent level of this object.
(Inherited from CodeObject.)
Public methodGetIndentSpaceCount
Get the current indent in spaces.
(Inherited from CodeObject.)
Public methodGetInferredType
Determine the type of an inferred ('var') type.
(Inherited from CodeObject.)
Public methodGetIsSameRefHashCode
Calculate a hash code for the referenced object which is the same for all references where IsSameRef() is true.
(Inherited from SymbolicRef.)
Public methodGetNamespace
Get the Namespace for this CodeObject.
(Inherited from CodeObject.)
Public methodGetReferencedType
Get the actual type reference (ITypeDecl or Type), retrieving them from any constant values if necessary.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeArgumentVariance
Get the variance state of the type argument with the specified index;
Public methodStatic memberGetTypeModifiers(Type)
Get any modifiers from the specified Type.
Public methodStatic memberGetTypeModifiers(TypeDefinition)
Get any modifiers from the specified TypeDefinition.
Public methodGetTypeRef
Get a TypeRef for the type with the specified full name, with caching (generally used for System types).
(Inherited from CodeObject.)
Public methodGetTypeWithoutConstant
Get the actual type, excluding any constant values.
Public methodGetWorstMessageType
Get the type of the worst attached message.
(Inherited from CodeObject.)
Protected methodHasAnnotationT (Inherited from CodeObject.)
Public methodHasAttribute
Returns true if the attribute with the specified name exists on the object, otherwise false.
(Inherited from CodeObject.)
Public methodHasImplicitConversion
Check if an implicit conversion will take place between the expression and its parent code object (Operator or VariableDecl). Conversions to type 'object' are not included, since there is no actual data conversion. The 'from' and 'to' types are returned whether an implicit conversion is available or not. Any applicable user-defined conversion method is returned.
(Inherited from Expression.)
Protected methodStatic memberHasTypeParameterArgument
Recursively scan the type arguments to determine if we have a TypeParameterRef anywhere.
Public methodHasUnresolvedRef
Returns true if the code object is an UnresolvedRef or has any UnresolvedRef children.
(Overrides CodeObjectHasUnresolvedRef.)
Public methodImplicitIdentityConversionExists
Determine if an implicit identity conversion exists to the specified type.
Public methodImplicitReferenceConversionExists
Determine if an implicit reference conversion exists to the specified type.
Protected methodIsChildIndented
Returns true if the specified child object is indented from the parent.
(Inherited from CodeObject.)
Protected methodIsChildPrefix
Returns true if the specified child object is prefixed to the current object.
(Inherited from CodeObject.)
Public methodIsEnumerableType
Determine if the type reference is an enumerable type (is compatible with an array). Includes:
Public methodIsImplicitlyConvertibleFrom
Determine if the reference is implicitly convertible *from* the specified reference.
Public methodIsImplicitlyConvertibleTo
Determine if the TypeRefBase is implicitly convertible to the specified TypeRefBase.
Public methodIsSameGenericType
Determine if the specified TypeRefBase refers to the same generic type, regardless of actual type arguments.
Public methodIsSameRef
Determine if the current reference refers to the same code object as the specified reference.
(Inherited from SymbolicRef.)
Public methodMakeArrayRef
Make an array reference from the current type reference.
Public methodMakeGenericRef
Make a generic type reference from the current type reference.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveAllComments
Move all (regular or EOL) comments from the specified token to the current code object, converting any EOL comments to regular comments (which will be rendered inline if necessary).
(Inherited from CodeObject.)
Public methodMoveAnnotations
Move any annotations from the specified location to the specified destination location.
(Inherited from CodeObject.)
Public methodMoveComments(Token)
Move any non-EOL comments from the specified token to the current code object.
(Inherited from CodeObject.)
Public methodMoveComments(Token, Boolean)
Move any non-EOL comments from the specified token to the current code object.
(Inherited from CodeObject.)
Public methodMoveCommentsAsPost
Move any non-EOL comments from the specified token to the current code object as Post comments.
(Inherited from CodeObject.)
Public methodMoveCommentsToLeftMost
Move any comments from the specified Token to the left-most sub-expression.
(Inherited from Expression.)
Public methodMoveEOLAndPostAnnotations
Move any EOL or Postfix annotations from the specified code object to the current code object.
(Inherited from CodeObject.)
Public methodMoveEOLComment(CodeObject)
Move any EOL comment from the specified code object to the current code object.
(Inherited from CodeObject.)
Public methodMoveEOLComment(Token)
Move any EOL comment from the specified token to the current code object.
(Inherited from CodeObject.)
Public methodMoveEOLComment(Token, Boolean, Boolean)
Move any EOL comment from the specified token to the current code object.
(Inherited from CodeObject.)
Public methodMoveEOLCommentAsInfix
Move any EOL comment from the specified token to the current code object as an Infix EOL comment.
(Inherited from CodeObject.)
Public methodMoveFormatting(CodeObject)
Move formatting from the specified code object to the current object.
(Inherited from CodeObject.)
Public methodMoveFormatting(Token)
Move formatting from the specified token to the current object.
(Inherited from CodeObject.)
Public methodMovePrefixAnnotationsAs
Move any prefix annotations on the specified code object to the current code object as the specified type of annotation.
(Inherited from CodeObject.)
Protected methodNotifyListedAnnotationAdded
Propagate the listed annotation to the parent CodeUnit and above.
(Inherited from CodeObject.)
Protected methodNotifyListedAnnotationRemoved
Remove the listed annotation from the parent CodeUnit and above.
(Inherited from CodeObject.)
Public methodOccursIn
Determine if the current type is the same as or occurs in the (potentially nested) type arguments of the specified type.
Protected methodParseAnnotations(Parser, CodeObject)
Parse annotations - specifically, compiler directives around things such as TypeParameters or ParameterDecls.
(Inherited from CodeObject.)
Protected methodParseAnnotations(Parser, CodeObject, Boolean, Boolean)
Parse any comments, attributes, compiler directives.
(Inherited from CodeObject.)
Public methodParseArrayRanks
Parse multiple array ranks.
Protected methodParseExpectedToken
Parse the specified expected token, attaching a parse error to the current object if it doesn't exist.
(Inherited from CodeObject.)
Public methodStatic memberParseTypeArgumentList
Parse a list of type arguments.
Protected methodParseUnusedAnnotations
Parse annotations from the Unused list.
(Inherited from CodeObject.)
Public methodStatic memberPeekArrayRanks
Peek ahead at the input tokens to determine if they look like valid array rank specifiers.
Public methodStatic memberPeekType
Peek ahead at the input tokens to determine if they look like a valid type.
Public methodStatic memberPeekTypeArguments
Peek ahead at the input tokens to determine if they look like a valid type argument list.
Public methodRemoveAllAnnotationsT
Remove all annotations of the specified type from this object.
(Inherited from CodeObject.)
Public methodRemoveAllAnnotationsWhereT
Remove all annotations from this object where the specified predicate is true.
(Inherited from CodeObject.)
Public methodRemoveAllMessages
Remove all messages from this object, or optionally only from the specified source.
(Inherited from CodeObject.)
Public methodRemoveAttribute
Remove the attribute expression with the specified name.
(Inherited from CodeObject.)
Public methodReplaceType
Replace all occurrences of one type reference with another, including in (potentially nested) type arguments.
Public methodResolve(ResolveFlags)
Resolve all child symbolic references.
(Inherited from CodeObject.)
Public methodResolve(ResolveCategory, ResolveFlags)
Resolve all child symbolic references, using the specified ResolveCategory and ResolveFlags.
(Overrides SymbolicRefResolve(ResolveCategory, ResolveFlags).)
Public methodResolveAttributes
Resolve any attached attributes.
(Inherited from CodeObject.)
Public methodResolveDocComments
Resolve any references in attached documentation comments.
(Inherited from CodeObject.)
Public methodResolveGotoTargetUp
Resolve child code objects that match the specified name are valid goto targets, moving up the tree until a complete match is found.
(Inherited from CodeObject.)
Public methodResolveIndexerRef
Resolve indexers.
(Inherited from SymbolicRef.)
Public methodResolveLocalDeclExprRef
Resolve any LocalDeclExpr in the Expression or its children that match the specified name.
(Inherited from Expression.)
Public methodResolveRef
Resolve child code objects that match the specified name.
(Inherited from Expression.)
Public methodResolveRefUp
Resolve child code objects that match the specified name, moving up the tree until a complete match is found.
(Inherited from CodeObject.)
Public methodResolveRefUpSkipMethodBody
Similar to ResolveRefUp(String, Resolver), but skips trying to resolve the symbol in the body or parameters of a method (used for resolving parameter types).
(Inherited from CodeObject.)
Protected methodSetField(Object, Object, Boolean)
Set a field of a code object, including setting the parent, and optional formatting.
(Inherited from CodeObject.)
Protected methodSetFieldT(ChildListT, ChildListT)
Set a ChildList collection field of a code object, including setting the parent.
(Inherited from CodeObject.)
Protected methodSetFieldT(T, T, Boolean)
Set a field of a code object, including setting the parent, and optional formatting.
(Inherited from CodeObject.)
Protected methodSetFormatFlag (Inherited from CodeObject.)
Protected methodSetLineCol(CodeObject)
Set the line and column numbers to those in the specified CodeObject.
(Inherited from CodeObject.)
Protected methodSetLineCol(Token)
Set the line and column numbers to those in the specified token.
(Inherited from CodeObject.)
Public methodSetNewLines
Special method to set the newline count without setting the NewLinesSet flag.
(Inherited from CodeObject.)
Protected methodSetStartLineCol
Set the starting line and column numbers to those in the specified token (used by some code objects with prefixes such as modifiers).
(Inherited from CodeObject.)
Public methodSkipPrefixes
Get the expression on the right of the right-most Lookup or Dot operator (bypass any '::' and '.' prefixes).
(Inherited from Expression.)
Public methodToString
Render the type of the code object and its description as a string.
(Inherited from CodeObject.)
Public methodUpdateAllDeclExpressions
Recursively update the dictionary of names in the specified Block by either adding or removing (as specified by the 2nd parameter) all appropriate nested INamedCodeObjects expressions in the current CodeObject tree (specifically implemented for LocalDeclExpr expression objects).
(Inherited from CodeObject.)
Protected methodUpdateLineCol
Update the line and column numbers according to the current positions in the CodeWriter, if the UpdateLineCol flag is set.
(Inherited from CodeObject.)
Top
Operators
Fields
  NameDescription
Protected field_annotations
Any Annotations (Comments, DocComments, Attributes, or Messages) associated with the CodeObject (null if none).
(Inherited from CodeObject.)
Protected field_arrayRanks
Optional array ranks (for array types only).
Protected field_columnNumber
The starting column number associated with the CodeObject if parsed from or written to text form.
(Inherited from CodeObject.)
Protected field_formatFlags
Formatting flags - for line feeds, braces, etc.
(Inherited from CodeObject.)
Protected field_lineNumber
The starting line number associated with the CodeObject if parsed from or written to text form.
(Inherited from CodeObject.)
Protected field_parent
The parent CodeObject.
(Inherited from CodeObject.)
Protected field_reference (Inherited from SymbolicRef.)
Protected field_typeArguments
Optional type arguments (for generic types only).
Protected field_typeFlags
Optional flags, including pointer count, const state, formatting.
Public fieldStatic memberParseTokenAltArgumentEnd
The alternate token used to parse the end of type arguments inside documentation comments.
Public fieldStatic memberParseTokenAltArgumentStart
The alternate token used to parse the start of type arguments inside documentation comments.
Public fieldStatic memberParseTokenArgumentEnd
The token used to parse the end of type arguments.
Public fieldStatic memberParseTokenArgumentStart
The token used to parse the start of type arguments.
Public fieldStatic memberParseTokenArrayEnd
The token used to parse the end of array ranks.
Public fieldStatic memberParseTokenArrayStart
The token used to parse the start of array ranks.
Public fieldStatic memberParseTokenNullable
The token used to parse nullable types.
Public fieldStatic memberParseTokenPointer
The token used to parse pointer types.
Protected fieldStatic memberTypeArgumentTerminators
Public fieldStatic memberTypeNameToKeywordMap
A map of built-in type names to keywords (the "System" namespace prefix is NOT included on the names).
Top
See Also