CsElement
Describes a single element in a C# code file.
Gets the element's access modifier.
Gets the actual visibility of this element outside of the current class, taking into account the
access of the element's parent.
Gets or sets the analyzer tag.
Gets the list of attributes attached to the element.
Gets the collection of child elements beneath this element.
Gets the collection of child elements one level under this element, if any.
Gets the element declaration.
Gets the document that contains this element.
Gets the collection of tokens in the element.
Gets the type of the element.
Gets the full name of the element.
Gets the fully qualified name of the element.
Gets a value indicating whether the element resides within a block of generated code.
Gets the Xml header for the element.
Gets the name of the element.
Gets or sets the fully qualified name of the element.
Gets a value indicating whether the element resides within a block of unsafe code,
or whether the element declares itself as unsafe.
Gets the violations found in this element.
Adds one violation to this element.
Clears the analyzer tags for this element.
public void WalkElement<T>(CodeWalkerElementVisitor<T> elementCallback, CodeWalkerStatementVisitor<T> statementCallback, CodeWalkerExpressionVisitor<T> expressionCallback, CodeWalkerQueryClauseVisitor<T> queryClauseCallback, T context)
Walks through the code units in the element.
public void WalkElement<T>(CodeWalkerElementVisitor<T> elementCallback, CodeWalkerStatementVisitor<T> statementCallback, CodeWalkerExpressionVisitor<T> expressionCallback, T context)
Walks through the code units in the element.
public void WalkElement<T>(CodeWalkerElementVisitor<T> elementCallback, CodeWalkerStatementVisitor<T> statementCallback, T context)
Walks through the code units in the element.
Walks through the code units in the element.
public void WalkElement(CodeWalkerElementVisitor<object> elementCallback, CodeWalkerStatementVisitor<object> statementCallback, CodeWalkerExpressionVisitor<object> expressionCallback, CodeWalkerQueryClauseVisitor<object> queryClauseCallback)
Walks through the code units in the element.
public void WalkElement(CodeWalkerElementVisitor<object> elementCallback, CodeWalkerStatementVisitor<object> statementCallback, CodeWalkerExpressionVisitor<object> expressionCallback)
Walks through the code units in the element.
public void WalkElement(CodeWalkerElementVisitor<object> elementCallback, CodeWalkerStatementVisitor<object> statementCallback)
Walks through the code units in the element.
Walks through the code units in the element.