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 keyword recommending in record parameter attributes #75520

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Recommendations;

[Trait(Traits.Feature, Traits.Features.KeywordRecommending)]
public class DelegateKeywordRecommenderTests : KeywordRecommenderTests
public sealed class DelegateKeywordRecommenderTests : KeywordRecommenderTests
{
[Fact]
public async Task TestAtRoot_Interactive()
Expand Down Expand Up @@ -515,6 +515,15 @@ void M()
""");
}

[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/68399")]
public async Task TestNotInRecordParameterAttribute()
{
await VerifyAbsenceAsync(
"""
record R([$$] int i) { }
""");
}

#region Collection expressions

[Fact, WorkItem("https://github.com/dotnet/roslyn/issues/70677")]
Expand Down
Loading
Loading