ContractsCheckNameofFixProvider.cs (7)
29public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(Id);
36var diagnostic = context.Diagnostics.FirstOrDefault(d => d.Id == Id);
65c => StringReplaceAsync(context.Document, nameArgValue, nameArg, c), Id), diagnostic);
102c => ExpressionReplaceAsync(context.Document, bestSymbol, nameArg, c), Id), diagnostic);
121c => StringReplaceAsync(context.Document, nameArgValue, nameArg, c), Id), diagnostic);
149c => StringReplaceAsync(context.Document, argName + "." + s.Name, nameArg, c), Id), diagnostic);
159c => StringReplaceAsync(context.Document, argName + "." + s.Name, nameArg, c), Id), diagnostic);