1 write to ContainsKeyInvocation
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\CSharpPreferDictionaryTryMethodsOverContainsKeyGuardFixer.cs (1)
363ContainsKeyInvocation = 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, 209reservedNames: state.GetReservedNames(model, fix.ContainsKeyInvocation.SpanStart, cancellationToken))); 210state.RecordIntroducedName(model, fix.ContainsKeyInvocation.SpanStart, identifierName.Identifier.ValueText, cancellationToken); 219var tryGetValueInvocation = fix.ContainsKeyInvocation 222editor.ReplaceNode(fix.ContainsKeyInvocation, tryGetValueInvocation);