예제 #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
     );
예제 #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);