Click or drag to resize

Diagnostics Methods

The Diagnostics type exposes the following members.

Methods
  NameDescription
Public methodAddChild
Add a child diagnostics to the diagnostics tree. Sets the parent of the child.
Public methodAppend
Append errors, warnings and hints from input diagnostics to this diagnostics, and add stack items
Public methodClear
Clear diagnostics, as well errors as warnings as hints as stack.
Public methodClearIssuesRecursive
Remove all issues from this Diagnostics and all child Diagnostics
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodError
Add an error DiagnosticItem
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.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHint
Add a hint DiagnosticItem
Public methodInfo(String)
Add an information DiagnosticItem
Public methodInfo(IDiagnosticItem)
Add an information DiagnosticItem
Public methodIsParent
Return true if diagnostics is the parent of this diagnostics. It checks the parent recursively to the root.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRuntimeError(IDiagnosticItem)
Create an error DiagnosticItem and throw an exception
Public methodRuntimeError(IDiagnosticItem, Exception)
Create an error DiagnosticItem and throw an exception
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWarning
Add a warning DiagnosticItem
Top
Extension Methods
  NameDescription
Public Extension MethodError
Add an error to the diagnostics item.
(Defined by GenericExtensions.)
Public Extension MethodExceptionToError
Add an error DiagnosticItem, and throw an exception
(Defined by GenericExtensions.)
Public Extension MethodRuntimeError
Add an error DiagnosticItem, and throw an exception
(Defined by GenericExtensions.)
Public Extension MethodWarning
Add a warning message
(Defined by GenericExtensions.)
Top
See Also