MethodRef Properties |
The MethodRef type exposes the following members.
Name | Description | |
---|---|---|
_AsString |
This property is just to make debugging easier.
(Inherited from CodeObject.) | |
Annotations |
Annotations (comments, attributes, directives, messages) associated with the current code object.
(Inherited from CodeObject.) | |
ArrayRanks |
The array ranks of the type reference (if any).
(Inherited from TypeRefBase.) | |
Category |
The descriptive category of the SymbolicRef.
(Inherited from SymbolicRef.) | |
ColumnNumber |
The column number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) | |
Comment |
The comment for the code object (if any).
(Inherited from CodeObject.) | |
DocComment |
The documentation comment for the code object (if any).
(Inherited from CodeObject.) | |
DontUseKeyword |
True if the referenced type should display as a type name instead of a keyword if it's a primitive type.
(Inherited from TypeRefBase.) | |
EOLComment |
The End-Of-Line comment for the code object (if any).
(Inherited from CodeObject.) | |
HasAnnotations |
True if the code object has any annotations.
(Inherited from CodeObject.) | |
HasArrayRanks |
True if the type reference has any array ranks.
(Inherited from TypeRefBase.) | |
HasAttributes |
True if the code object has any attributes.
(Inherited from CodeObject.) | |
HasComments |
True if the code object has any comments of any kind.
(Inherited from CodeObject.) | |
HasCompilerDirectives |
True if the code object has any compiler directive annotations.
(Inherited from CodeObject.) | |
HasDocComments |
True if the code object has any documentation comments.
(Inherited from CodeObject.) | |
HasEOLComments |
True if the code object has any EOL comments.
(Inherited from CodeObject.) | |
HasEOLOrPostAnnotations |
True if the code object has any EOL or Postfix annotations.
(Inherited from CodeObject.) | |
HasErrors |
True if the code object has any error messages.
(Inherited from CodeObject.) | |
HasFirstOnLineAnnotations |
True if the code object has any annotations on separate lines.
(Inherited from CodeObject.) | |
HasInfixComments |
True if the code object has any Infix comments.
(Inherited from CodeObject.) | |
HasMessages |
True if the code object has any generated messages.
(Inherited from CodeObject.) | |
HasNoIndentation |
Determines if the code object has no indentation.
(Inherited from CodeObject.) | |
HasNonEOLComments |
True if the code object has any regular (non-doc) preceding (non-EOL, non-Infix, non-Postfix) comments.
(Inherited from CodeObject.) | |
HasParameters |
True if the referenced method has parameters.
| |
HasParens |
True if the expression is surrounded by parens.
(Inherited from Expression.) | |
HasParensDefault |
True if the expression should have parens by default.
(Inherited from Expression.) | |
HasPostAnnotations |
True if the code object has any postfix annotations.
(Inherited from CodeObject.) | |
HasTerminator |
Determines if the code object has a terminator character.
(Inherited from CodeObject.) | |
HasTypeArguments |
True if there are any type arguments.
(Inherited from TypeRefBase.) | |
HiddenRef |
Any hidden reference to another CodeObject.
(Inherited from CodeObject.) | |
InfixComment |
The infix comment for the code object (if any).
(Inherited from CodeObject.) | |
IsAbstract |
True if the referenced method is abstract.
| |
IsArray |
True if the type reference is an array.
(Inherited from TypeRefBase.) | |
IsBuiltInType |
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
(Inherited from TypeRefBase.) | |
IsConst |
True if the expression is const.
(Inherited from Expression.) | |
IsDelegateType |
True if the referenced type is a delegate type.
(Inherited from TypeRefBase.) | |
IsDocCodeReference |
Returns true if the TypeRefBase is a DocCodeRefBase reference to a code object, otherwise false.
(Inherited from TypeRefBase.) | |
IsEndFirstOnLine |
True if the closing paren or bracket is on a new line.
(Inherited from Expression.) | |
IsExtension |
True if the referenced method is an extension method.
| |
IsFirstOnLine |
Determines if the code object appears as the first item on a line.
(Inherited from CodeObject.) | |
IsFirstOnLineDefault |
True if the code object defaults to starting on a new line.
(Inherited from Expression.) | |
IsFixedBufferType |
True if the referenced type is a fixed buffer type.
(Inherited from TypeRefBase.) | |
IsGenerated |
Determines if the code object is generated.
(Inherited from CodeObject.) | |
IsGenericMethod |
True if the referenced method is generic.
| |
IsGroupingSet |
Determines if the 'grouping' (has parens or braces) status has been set.
(Inherited from CodeObject.) | |
IsInterface |
True if the referenced type is an interface.
(Inherited from TypeRefBase.) | |
IsInternal |
True if the referenced method has internal access.
(Overrides TypeRefBaseIsInternal.) | |
IsNewLinesSet |
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.) | |
IsNullableType |
True if the referenced type is a nullable type.
(Inherited from TypeRefBase.) | |
IsOverride |
True if the referenced method is an override.
| |
IsPointer |
True if the type reference is a pointer.
(Inherited from TypeRefBase.) | |
IsPossibleDelegateType |
True if the expression evaluates to a delegate, unresolved, or dynamic type or a TypeParameterRef.
(Inherited from Expression.) | |
IsPrimitive |
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
(Inherited from TypeRefBase.) | |
IsPrivate |
True if the referenced method has private access.
(Overrides TypeRefBaseIsPrivate.) | |
IsProtected |
True if the referenced method has protected access.
(Overrides TypeRefBaseIsProtected.) | |
IsPublic |
True if the referenced method has public access.
(Overrides TypeRefBaseIsPublic.) | |
IsRenderable |
True if the CodeObject is renderable.
(Inherited from CodeObject.) | |
IsSingleLine |
Determines if the code object only requires a single line for display.
(Inherited from TypeRefBase.) | |
IsSingleLineDefault |
True if the code object only requires a single line for display by default.
(Inherited from CodeObject.) | |
IsStatic |
True if the referenced method is static.
(Overrides TypeRefBaseIsStatic.) | |
IsVirtual |
True if the referenced method is virtual.
| |
LineNumber |
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) | |
Name |
The name of the MethodRef.
(Overrides SymbolicRefName.) | |
NewLines |
The number of newlines preceding the object (0 to N).
(Inherited from CodeObject.) | |
ParameterCount |
The number of parameters the referenced method has.
| |
Parameters |
Get the parameters of the referenced method object (as either a ChildListT or a ParameterInfo[].
| |
Parent |
The parent CodeObject.
(Inherited from TypeRefBase.) | |
PointerCount |
The number of pointer dereferences.
(Inherited from TypeRefBase.) | |
PostfixComment |
The postfix comment for the code object (if any).
(Inherited from CodeObject.) | |
Reference |
The code object to which the SymbolicRef refers.
(Inherited from SymbolicRef.) | |
TypeArgumentCount |
The number of type arguments.
(Inherited from TypeRefBase.) | |
TypeArguments |
The type argument Expressions of the reference (if any).
(Inherited from TypeRefBase.) |