-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Fixed CA1854: Prefer IDictionary.TryGetValue(TKey, out TValue) occurrences #66515
Conversation
src/Compilers/Core/CodeAnalysisTest/Collections/List/IEnumerable.Generic.Tests.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/FlowAnalysis/NullableWalker_Patterns.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dotnet/roslyn-compiler for a second review.
src/Workspaces/Core/Portable/Rename/ConflictEngine/RenamedSpansTracker.cs
Outdated
Show resolved
Hide resolved
…sTracker.cs Co-authored-by: Jan Jones <jan.jones.cz@gmail.com>
@Miizukii Is it reasonable to expect that everyone knows what CA1854 is about? |
not sure, would |
Much better, I think. |
@dotnet/roslyn-ide for review of IDE portions. Thanks |
src/Features/CSharp/Portable/ExtractMethod/CSharpMethodExtractor.TriviaResult.cs
Outdated
Show resolved
Hide resolved
src/Features/Core/Portable/ExtractMethod/AbstractSyntaxTriviaService.Result.cs
Outdated
Show resolved
Hide resolved
Addressed all feedback, failure looks unrelated to my change |
src/EditorFeatures/Core/InlineRename/InlineRenameSession.OpenTextBufferManager.cs
Outdated
Show resolved
Hide resolved
src/Workspaces/Core/Portable/Rename/ConflictEngine/RenamedSpansTracker.cs
Outdated
Show resolved
Hide resolved
src/Workspaces/Core/Portable/Rename/ConflictEngine/RenamedSpansTracker.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with teh requested IDE changes.
Co-authored-by: CyrusNajmabadi <cyrus.najmabadi@gmail.com>
# Conflicts: # src/Features/Core/Portable/SyncNamespaces/AbstractSyncNamespacesService.cs # src/Features/LanguageServer/Protocol/Workspaces/LspWorkspaceManager.cs
/azp run |
Azure Pipelines successfully started running 4 pipeline(s). |
Rerunning CI since it's been a while, then we'll get this merged. Sorry for the delay @Miizukii. |
as part of dotnet/roslyn-analyzers#6387