Click or drag to resize

AdderDecl Properties

The AdderDecl type exposes the following members.

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 propertyBody
The Block body.
(Inherited from BlockStatement.)
Public propertyCategory
The descriptive category of the code object.
(Inherited from MethodDeclBase.)
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 propertyDeclaringProperty
Get the declaring PropertyDeclBase.
(Inherited from AccessorDecl.)
Public propertyDeclaringType
Get the declaring TypeDecl of the parent PropertyDeclBase.
(Inherited from AccessorDecl.)
Public propertyDocComment
The documentation comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyEOLComment
The End-Of-Line comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyExplicitInterfaceExpression
Get the explicit interface expression (if any).
(Inherited from MethodDeclBase.)
Public propertyHasAnnotations
True if the code object has any annotations.
(Inherited from CodeObject.)
Public propertyHasArgument
True if the Statement has an argument.
(Inherited from AccessorDecl.)
Public propertyHasArgumentParens
True if the Statement has parens around its argument.
(Inherited from Statement.)
Public propertyHasAttributes
True if the code object has any attributes.
(Inherited from CodeObject.)
Public propertyHasBraces
True if the BlockStatement has braces.
(Inherited from BlockStatement.)
Public propertyHasBracesAlways
True if the BlockStatement always requires braces.
(Inherited from BlockStatement.)
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 propertyHasHeader
True for all BlockStatements that have a header (all except CodeUnit and BlockDecl).
(Inherited from BlockStatement.)
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 propertyHasParameters
True if the method has parameters.
(Inherited from MethodDeclBase.)
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 propertyHasTerminatorDefault
True if the Statement has a terminator character by default.
(Inherited from BlockStatement.)
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 propertyIsAbstract
Determines if the method is abstract.
(Inherited from MethodDeclBase.)
Public propertyIsAsync
True if the method is async.
(Inherited from MethodDeclBase.)
Public propertyIsComImport
True if the method is a COM Import.
(Inherited from MethodDeclBase.)
Public propertyIsCompactIfEmptyDefault
True if the BlockStatement has compact empty braces by default.
(Inherited from MethodDeclBase.)
Public propertyIsEndFirstOnLine
True if the closing paren or bracket is on a new line.
(Inherited from Statement.)
Public propertyIsExplicitInterfaceImplementation
True if this is an explicit interface implementation.
(Inherited from MethodDeclBase.)
Public propertyIsExpressionFormat
True if the body of the property is represented with lambda expression syntax, otherwise false.
(Inherited from MethodDeclBase.)
Public propertyIsExtensionMethod
True if the method is an extension method.
(Inherited from MethodDeclBase.)
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 CodeObject.)
Public propertyIsGenerated
Determines if the code object is generated.
(Inherited from CodeObject.)
Public propertyIsGenericMethod
True if the method is generic.
(Inherited from MethodDeclBase.)
Public propertyIsGroupingSet
Determines if the 'grouping' (has parens or braces) status has been set.
(Inherited from CodeObject.)
Public propertyIsImplementationPart
True if this is the implementation part of a partial method.
(Inherited from MethodDeclBase.)
Public propertyIsInternal
True if the method has internal access.
(Inherited from AccessorDecl.)
Public propertyIsLocalFunction
True if the method is a local function (C# 7 nested method).
(Inherited from MethodDeclBase.)
Public propertyIsMethodBodyLevel
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.)
Public propertyIsMultiPart
True for multi-part statements, such as try/catch/finally or if/else.
(Inherited from BlockStatement.)
Public propertyIsNewLinesSet
Determines if the newline count has been set on the code object.
(Inherited from CodeObject.)
Public propertyIsOverride
True if the method is an override.
(Inherited from MethodDeclBase.)
Public propertyIsPartial
True if the method is a partial method.
(Inherited from MethodDeclBase.)
Public propertyIsPrivate
True if the method has private access.
(Inherited from AccessorDecl.)
Public propertyIsProtected
True if the method has protected access.
(Inherited from AccessorDecl.)
Public propertyIsPublic
True if the method has public access.
(Inherited from AccessorDecl.)
Public propertyIsReadOnly
True if the method has a 'readonly' return type.
(Inherited from MethodDeclBase.)
Public propertyIsRef
True if the method has a 'ref' return type.
(Inherited from MethodDeclBase.)
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.
(Inherited from MethodDeclBase.)
Public propertyIsSingleLineDefault
True if the code object only requires a single line for display by default.
(Inherited from AccessorDecl.)
Public propertyIsStatic
True if the method is static.
(Inherited from MethodDeclBase.)
Public propertyIsTopLevel
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.)
Public propertyIsVirtual
True if the method is virtual.
(Inherited from MethodDeclBase.)
Public propertyKeyword
The keyword associated with the Statement.
(Overrides StatementKeyword.)
Public propertyLineNumber
The line number associated with the CodeObject (if any, 0 if none).
(Inherited from CodeObject.)
Public propertyModifiers
Optional Modifiers for the method.
(Inherited from MethodDeclBase.)
Public propertyName
The name of the method.
(Inherited from MethodDeclBase.)
Public propertyNewLines
The number of newlines preceding the object (0 to N).
(Inherited from MethodDeclBase.)
Public propertyParameterCount
The number of parameters the method has.
(Inherited from MethodDeclBase.)
Public propertyParameters
A collection of ParameterDecls for the parameters of the method.
(Inherited from MethodDeclBase.)
Public propertyParent
The parent CodeObject.
(Inherited from CodeObject.)
Public propertyPostfixComment
The postfix comment for the code object (if any).
(Inherited from CodeObject.)
Public propertyRequiresEmptyStatement
True if the BlockStatement requires an empty statement if it has an empty block with no braces.
(Inherited from BlockStatement.)
Public propertyReturnType
The return type of the method (never null - will be type 'void' instead).
(Inherited from MethodDeclBase.)
Public propertyTerminator
The terminator character for the Statement.
(Inherited from Statement.)
Public propertyValueParameter
The 'value' parameter.
(Inherited from AccessorDeclWithValue.)
Top
See Also