DiagnosticTools Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static class DiagnosticTools
type DiagnosticTools = class
Public Module DiagnosticTools
- Inheritance
-
DiagnosticTools
Methods
| Copy(Diagnostic) |
Returns a new Diagnostic, making a deep copy of |
| ErrorType(ErrorCode[]) |
Returns a function that returns true if the ErrorType(ErrorCode[]) of the
given Diagnostic exists in |
| Filter(IEnumerable<Diagnostic>, Func<Diagnostic,Boolean>, Int32) |
Extracts all elements satisfying |
| Filter(IEnumerable<Diagnostic>, Func<Diagnostic,Boolean>, Int32, Int32) |
Extracts all elements satisfying |
| Filter(IEnumerable<Diagnostic>, Int32) |
Extracts all elements which start at a line that is larger or equal to |
| Filter(IEnumerable<Diagnostic>, Int32, Int32) |
Extracts all elements which start at a line that is larger or equal to
|
| IsError(Diagnostic) |
Returns true if |
| IsInformation(Diagnostic) |
Returns true if |
| IsWarning(Diagnostic) |
Returns true if |
| SymbolPosition(QsLocation, QsNullable<Position>, Range) |
Returns the zero-based line and character index indicating the position of a symbol in the file. |
| WarningType(WarningCode[]) |
Returns a function that returns true if the WarningType(WarningCode[]) of the
given Diagnostic exists in |
| WithLineNumOffset(Diagnostic, Int32) |
Returns a copy of |