Skip to content

Use diagnostichelper and properly pass along severity.#36090

Merged
mavasani merged 2 commits intodotnet:masterfrom
CyrusNajmabadi:diagnosticHelper
May 31, 2019
Merged

Use diagnostichelper and properly pass along severity.#36090
mavasani merged 2 commits intodotnet:masterfrom
CyrusNajmabadi:diagnosticHelper

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

No description provided.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner May 31, 2019 18:16
@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

Tagging @mavasani

Copy link
Copy Markdown
Contributor

@mavasani mavasani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return;
}

var optionSet = options.GetDocumentOptionSetAsync(syntaxTree, cancellationToken).GetAwaiter().GetResult();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this proves definite benefit of having a special analyzer in Roslyn.Diagnostics.Analyzers (roslyn-analyzers repo) which is dedicated analyzer package for Roslyn.sln. Let me file an issue.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

Thanks!

@CyrusNajmabadi CyrusNajmabadi deleted the diagnosticHelper branch May 31, 2019 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants