Exemple #1
0
 public static DiagnosticBuilderAssertions Should(this DiagnosticBuilder.DiagnosticBuilderDelegate diagnosticBuilder) => new(diagnosticBuilder);
Exemple #2
0
 public static void Write(this IDiagnosticWriter diagnosticWriter, IPositionable positionable, DiagnosticBuilder.DiagnosticBuilderDelegate buildDiagnosticFunc)
 => diagnosticWriter.Write(buildDiagnosticFunc(DiagnosticBuilder.ForPosition(positionable)));