8 references to FormatStringForCode
Microsoft.AspNetCore.OpenApi.SourceGenerators (8)
XmlCommentGenerator.Emitter.cs (8)
477
codeWriter.Write(
FormatStringForCode
(comment.Summary) + ", ");
478
codeWriter.Write(
FormatStringForCode
(comment.Description) + ", ");
479
codeWriter.Write(
FormatStringForCode
(comment.Remarks) + ", ");
480
codeWriter.Write(
FormatStringForCode
(comment.Returns) + ", ");
481
codeWriter.Write(
FormatStringForCode
(comment.Value) + ", ");
493
codeWriter.Write(
FormatStringForCode
(example));
514
:
FormatStringForCode
(parameter.Example!);
534
codeWriter.Write($"new XmlResponseComment(@\"{response.Code}\", @\"{response.Description}\", {(response.Example is null ? "null" :
FormatStringForCode
(response.Example))})");