Show not keyword (and all other stuff) after and & or when they are treated as identifiers#61306
Show not keyword (and all other stuff) after and & or when they are treated as identifiers#61306CyrusNajmabadi merged 5 commits intodotnet:mainfrom DoctorKrolic:not-after-identifiers
Conversation
…reated as identifiers
...haredUtilitiesAndExtensions/Workspace/CSharp/Extensions/ContextQuery/SyntaxTreeExtensions.cs
Outdated
Show resolved
Hide resolved
|
Can you add tests for
|
|
@CyrusNajmabadi Test with |
...haredUtilitiesAndExtensions/Workspace/CSharp/Extensions/ContextQuery/SyntaxTreeExtensions.cs
Show resolved
Hide resolved
src/EditorFeatures/CSharpTest2/Recommendations/NotKeywordRecommenderTests.cs
Outdated
Show resolved
Hide resolved
...haredUtilitiesAndExtensions/Workspace/CSharp/Extensions/ContextQuery/SyntaxTreeExtensions.cs
Outdated
Show resolved
Hide resolved
Are you ok if I push to this branch @DoctorKrolic ? |
|
@CyrusNajmabadi Ok. Still don't understand, why you want it to be fixed here anyway... |
|
I'd prefer to take care of these issues all in one go since we're looking in this space anyways. It's more efficient that way vs having to come back at some random point in the future and page all this code in. Thanks! |
| expr is (not []) $$"); | ||
| } | ||
|
|
||
| [WorkItem(51431, "https://github.com/dotnet/roslyn/issues/51431")] |
There was a problem hiding this comment.
@CyrusNajmabadi Is this WorkItem right? I am not sure. The same in the test above
Fixes: #61184