AdderDecl Properties |
The AdderDecl 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.) | |
Body |
The Block body.
(Inherited from BlockStatement.) | |
Category |
The descriptive category of the code object.
(Inherited from MethodDeclBase.) | |
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.) | |
DeclaringProperty |
Get the declaring PropertyDeclBase.
(Inherited from AccessorDecl.) | |
DeclaringType |
Get the declaring TypeDecl of the parent PropertyDeclBase.
(Inherited from AccessorDecl.) | |
DocComment |
The documentation comment for the code object (if any).
(Inherited from CodeObject.) | |
EOLComment |
The End-Of-Line comment for the code object (if any).
(Inherited from CodeObject.) | |
ExplicitInterfaceExpression |
Get the explicit interface expression (if any).
(Inherited from MethodDeclBase.) | |
HasAnnotations |
True if the code object has any annotations.
(Inherited from CodeObject.) | |
HasArgument |
True if the Statement has an argument.
(Inherited from AccessorDecl.) | |
HasArgumentParens |
True if the Statement has parens around its argument.
(Inherited from Statement.) | |
HasAttributes |
True if the code object has any attributes.
(Inherited from CodeObject.) | |
HasBraces |
True if the BlockStatement has braces.
(Inherited from BlockStatement.) | |
HasBracesAlways |
True if the BlockStatement always requires braces.
(Inherited from BlockStatement.) | |
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.) | |
HasHeader | (Inherited from BlockStatement.) | |
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 method has parameters.
(Inherited from MethodDeclBase.) | |
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.) | |
HasTerminatorDefault |
True if the Statement has a terminator character by default.
(Inherited from BlockStatement.) | |
HiddenRef |
Any hidden reference to another CodeObject.
(Inherited from CodeObject.) | |
InfixComment |
The infix comment for the code object (if any).
(Inherited from CodeObject.) | |
IsAbstract |
Determines if the method is abstract.
(Inherited from MethodDeclBase.) | |
IsAsync |
True if the method is async.
(Inherited from MethodDeclBase.) | |
IsComImport |
True if the method is a COM Import.
(Inherited from MethodDeclBase.) | |
IsCompactIfEmptyDefault |
True if the BlockStatement has compact empty braces by default.
(Inherited from MethodDeclBase.) | |
IsEndFirstOnLine |
True if the closing paren or bracket is on a new line.
(Inherited from Statement.) | |
IsExplicitInterfaceImplementation |
True if this is an explicit interface implementation.
(Inherited from MethodDeclBase.) | |
IsExpressionFormat |
True if the body of the property is represented with lambda expression syntax, otherwise false.
(Inherited from MethodDeclBase.) | |
IsExtensionMethod |
True if the method is an extension method.
(Inherited from MethodDeclBase.) | |
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 CodeObject.) | |
IsGenerated |
Determines if the code object is generated.
(Inherited from CodeObject.) | |
IsGenericMethod |
True if the method is generic.
(Inherited from MethodDeclBase.) | |
IsGroupingSet |
Determines if the 'grouping' (has parens or braces) status has been set.
(Inherited from CodeObject.) | |
IsImplementationPart |
True if this is the implementation part of a partial method.
(Inherited from MethodDeclBase.) | |
IsInternal |
True if the method has internal access.
(Inherited from AccessorDecl.) | |
IsLocalFunction |
True if the method is a local function (C# 7 nested method).
(Inherited from MethodDeclBase.) | |
IsMethodBodyLevel |
True if a BlockStatement is at a method body level (contains general code statements).
For example, anything at a MethodDeclBase level or lower in the code tree. Specifically, NOT
a NamespaceDecl, TypeDecl, or PropertyDeclBase.
(Inherited from BlockStatement.) | |
IsMultiPart |
True for multi-part statements, such as try/catch/finally or if/else.
(Inherited from BlockStatement.) | |
IsNewLinesSet |
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.) | |
IsOverride |
True if the method is an override.
(Inherited from MethodDeclBase.) | |
IsPartial |
True if the method is a partial method.
(Inherited from MethodDeclBase.) | |
IsPrivate |
True if the method has private access.
(Inherited from AccessorDecl.) | |
IsProtected |
True if the method has protected access.
(Inherited from AccessorDecl.) | |
IsPublic |
True if the method has public access.
(Inherited from AccessorDecl.) | |
IsReadOnly |
True if the method has a 'readonly' return type.
(Inherited from MethodDeclBase.) | |
IsRef |
True if the method has a 'ref' return type.
(Inherited from MethodDeclBase.) | |
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 MethodDeclBase.) | |
IsSingleLineDefault |
True if the code object only requires a single line for display by default.
(Inherited from AccessorDecl.) | |
IsStatic |
True if the method is static.
(Inherited from MethodDeclBase.) | |
IsTopLevel |
True if a BlockStatement is at the top level (those that have no header and no indent).
For example, a CodeUnit, a BlockDecl with no parent or a DocComment
or Project parent.
(Inherited from BlockStatement.) | |
IsVirtual |
True if the method is virtual.
(Inherited from MethodDeclBase.) | |
Keyword |
The keyword associated with the Statement.
(Overrides StatementKeyword.) | |
LineNumber |
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.) | |
Modifiers |
Optional Modifiers for the method.
(Inherited from MethodDeclBase.) | |
Name |
The name of the method.
(Inherited from MethodDeclBase.) | |
NewLines |
The number of newlines preceding the object (0 to N).
(Inherited from MethodDeclBase.) | |
ParameterCount |
The number of parameters the method has.
(Inherited from MethodDeclBase.) | |
Parameters |
A collection of ParameterDecls for the parameters of the method.
(Inherited from MethodDeclBase.) | |
Parent |
The parent CodeObject.
(Inherited from CodeObject.) | |
PostfixComment |
The postfix comment for the code object (if any).
(Inherited from CodeObject.) | |
RequiresEmptyStatement |
True if the BlockStatement requires an empty statement if it has an empty block with no braces.
(Inherited from BlockStatement.) | |
ReturnType |
The return type of the method (never null - will be type 'void' instead).
(Inherited from MethodDeclBase.) | |
Terminator |
The terminator character for the Statement.
(Inherited from Statement.) | |
ValueParameter |
The 'value' parameter.
(Inherited from AccessorDeclWithValue.) |