Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix that SA1028 CF throws ArgumentOutOfRangeException #1321

Merged
merged 3 commits into from
Aug 29, 2015

Conversation

pdelvo
Copy link
Member

@pdelvo pdelvo commented Aug 29, 2015

if the trailing whitespace is in a seperate text token in XmlText.

Fixes #1313

.AppendLine("/// </summary>")
.ToString();

DiagnosticResult[] expected =
Copy link
Member

Choose a reason for hiding this comment

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

💡 The single-diagnostic short form can be used here.

DiagnosticResult expected = this.CSharpDiagnostic().WithLocation(2, 10);

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

@sharwell sharwell added this to the 1.0.0 Beta 9 milestone Aug 29, 2015
@sharwell sharwell self-assigned this Aug 29, 2015
sharwell added a commit that referenced this pull request Aug 29, 2015
Fix that SA1028 CF throws ArgumentOutOfRangeException
@sharwell sharwell merged commit 05e4ceb into DotNetAnalyzers:master Aug 29, 2015
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