13 references to FormatStringForCode
Microsoft.AspNetCore.OpenApi.SourceGenerators (13)
XmlCommentGenerator.Emitter.cs (13)
696codeWriter.WriteLine($"cache.Add({FormatStringForCode(memberKey)}, {EmitSourceGeneratedXmlComment(comment)});"); 720codeWriter.Write(FormatStringForCode(comment.Summary) + ", "); 721codeWriter.Write(FormatStringForCode(comment.Description) + ", "); 722codeWriter.Write(FormatStringForCode(comment.Remarks) + ", "); 723codeWriter.Write(FormatStringForCode(comment.Returns) + ", "); 724codeWriter.Write(FormatStringForCode(comment.Value) + ", "); 736codeWriter.Write(FormatStringForCode(example)); 757: FormatStringForCode(parameter.Example!); 759codeWriter.Write(FormatStringForCode(parameter.Name) + ", "); 760codeWriter.Write(FormatStringForCode(parameter.Description) + ", "); 783codeWriter.Write(FormatStringForCode(response.Code) + ", "); 784codeWriter.Write(FormatStringForCode(response.Description) + ", "); 785codeWriter.Write(response.Example is null ? "null)" : FormatStringForCode(response.Example) + ")");