'宣言 Public Function New( _ ByVal relativeSpan As TextSpan, _ ByVal message As String, _ Optional ByVal severity As DiagnosticSeverity _ )
public Diagnostic( TextSpan relativeSpan, string message, DiagnosticSeverity severity )
| 例外 | 解説 |
|---|---|
| System.ArgumentNullException | message が null の場合に発生します。 |
| System.ArgumentException | severity が DiagnosticSeverity 列挙体で定義されていない場合に発生します。 |