Skip to content

Commit

Permalink
Merge pull request #49238 from dotnet/merges/master-to-master-vs-deps
Browse files Browse the repository at this point in the history
Merge master to master-vs-deps
  • Loading branch information
msftbot[bot] authored Nov 9, 2020
2 parents 2d0cd2a + 931a86a commit 5894b99
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/VisualStudio/CSharp/Test/F1Help/F1HelpTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1165,5 +1165,22 @@ static class C
sta[||]tic void Method() {}
}", "static");
}

[Fact, Trait(Traits.Feature, Traits.Features.F1Help)]
public async Task TestWithKeyword()
{
await Test_KeywordAsync(
@"
public record Point(int X, int Y);
public static class Program
{
public static void Main()
{
var p1 = new Point(0, 0);
var p2 = p1 w[||]ith { X = 5 };
}
}", "with");
}
}
}

0 comments on commit 5894b99

Please sign in to comment.