Exemplo n.º 1
0
 public static ValueTask <ImmutableArray <DiagnosticData> > GetPushDiagnosticsAsync(
     this IDiagnosticService service,
     DiagnosticBucket bucket,
     bool includeSuppressedDiagnostics,
     Option2 <DiagnosticMode> diagnosticMode,
     CancellationToken cancellationToken
     ) =>
 service.GetPushDiagnosticsAsync(
     bucket.Workspace,
     bucket.ProjectId,
     bucket.DocumentId,
     bucket.Id,
     includeSuppressedDiagnostics,
     diagnosticMode,
     cancellationToken
     );
Exemplo n.º 2
0
 public static ImmutableArray <DiagnosticData> GetDiagnostics(this IDiagnosticService service, DiagnosticBucket bucket, bool includeSuppressedDiagnostics, CancellationToken cancellationToken)
 => service.GetDiagnostics(bucket.Workspace, bucket.ProjectId, bucket.DocumentId, bucket.Id, includeSuppressedDiagnostics, cancellationToken);