Exemplo n.º 1
0
        public IEnumerable <DiagnosticData> GetDiagnostics(Workspace workspace, ProjectId projectId, DocumentId documentId, object id,
                                                           bool includeSuppressedDiagnostics, CancellationToken cancellationToken)
        {
            // TODO: migrate to diagnostics push/pull model
#pragma warning disable CS0618 // Type or member is obsolete
            return(_inner.GetDiagnostics(workspace, projectId, documentId, id, includeSuppressedDiagnostics,
                                         cancellationToken).Select(x => new DiagnosticData(x)));

#pragma warning restore CS0618 // Type or member is obsolete
        }
Exemplo n.º 2
0
 public IEnumerable <DiagnosticData> GetDiagnostics(Workspace workspace, ProjectId projectId, DocumentId documentId, object id,
                                                    bool includeSuppressedDiagnostics, CancellationToken cancellationToken)
 {
     return(_inner.GetDiagnostics(workspace, projectId, documentId, id, includeSuppressedDiagnostics,
                                  cancellationToken).Select(x => new DiagnosticData(x)));
 }