Diagnostics Methods

Methods

AddChild Add a child diagnostics to the diagnostics tree. Sets the parent of the child.
Append Append errors, warnings and hints from input diagnostics to this diagnostics, and add stack items
Clear Clear diagnostics, as well errors as warnings as hints as stack.
ClearIssuesRecursive Remove all issues from this Diagnostics and all child Diagnostics
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Error Add an error DiagnosticItem
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Hint Add a hint DiagnosticItem
Info(IDiagnosticItem) Add an information DiagnosticItem
Info(String) Add an information DiagnosticItem
IsParent Return true if diagnostics is the parent of this diagnostics. It checks the parent recursively to the root.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RuntimeError(IDiagnosticItem) Create an error DiagnosticItem and throw an exception
RuntimeError(IDiagnosticItem, Exception) Create an error DiagnosticItem and throw an exception
ToStringReturns a string that represents the current object.
(Inherited from Object)
Warning Add a warning DiagnosticItem

Extension Methods

Error Add an error to the diagnostics item.
(Defined by GenericExtensions)
ExceptionToError Add an error DiagnosticItem, and throw an exception
(Defined by GenericExtensions)
RuntimeError Add an error DiagnosticItem, and throw an exception
(Defined by GenericExtensions)
Warning Add a warning message
(Defined by GenericExtensions)

See Also