Skip to content

Commit

Permalink
<seealso> does not belong inside <summary>
Browse files Browse the repository at this point in the history
  • Loading branch information
jnm2 committed Mar 31, 2022
1 parent 4da16ee commit 0896aa6
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -545,15 +545,15 @@ public interface ITest
}

[Theory]
[InlineData("a")]
[InlineData("see")]
[InlineData("seealso")]
public async Task TestFullSentenceLinkAsync(string tag)
[InlineData("a", true)]
[InlineData("see", true)]
[InlineData("seealso", false)]
public async Task TestFullSentenceLinkAsync(string tag, bool insideSummary)
{
var surrounding = insideSummary ? (Start: "<summary>", End: "<summary>") : (Start: string.Empty, End: string.Empty);

var testCode = $@"
/// <summary>
/// <{tag} href=""someurl"">Periods aren't required to glow white at the end of a full-sentence link.</{tag}>
/// </summary>
/// {surrounding.Start}<{tag} href=""someurl"">Periods aren't required to glow white at the end of a full-sentence link.</{tag}>{surrounding.End}
public interface ITest
{{
}}
Expand Down

0 comments on commit 0896aa6

Please sign in to comment.