1 write to ContainsKeyInvocation
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\CSharpPreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (1)
363
ContainsKeyInvocation
= containsKeyInvocation;
5 references to ContainsKeyInvocation
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (5)
Microsoft.NetCore.Analyzers\Performance\CSharpPreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (5)
208
: generator.FirstUnusedIdentifierName(model, fix.
ContainsKeyInvocation
.SpanStart, Value,
209
reservedNames: state.GetReservedNames(model, fix.
ContainsKeyInvocation
.SpanStart, cancellationToken)));
210
state.RecordIntroducedName(model, fix.
ContainsKeyInvocation
.SpanStart, identifierName.Identifier.ValueText, cancellationToken);
219
var tryGetValueInvocation = fix.
ContainsKeyInvocation
222
editor.ReplaceNode(fix.
ContainsKeyInvocation
, tryGetValueInvocation);