MCPcopy Index your code
hub / github.com/github/copilot-sdk / rawXmlDocSummary

Function rawXmlDocSummary

scripts/codegen/csharp.ts:185–188  ·  view source on GitHub ↗

Like xmlDocComment but skips XML escaping — use only for codegen-controlled strings that already contain valid XML tags.

(text: string, indent: string)

Source from the content-addressed store, hash-verified

183
184/** Like xmlDocComment but skips XML escaping — use only for codegen-controlled strings that already contain valid XML tags. */
185function rawXmlDocSummary(text: string, indent: string): string[] {
186 const line = ensureTrailingPunctuation(text.trim());
187 return [`${indent}/// <summary>${line}</summary>`];
188}
189
190/** Emits a summary (from description or fallback) and, when a real description exists, a remarks line with the fallback. */
191function xmlDocCommentWithFallback(description: string | undefined, fallback: string, indent: string): string[] {

Callers 5

xmlDocPropertyCommentFunction · 0.85
xmlDocEnumCommentFunction · 0.85
xmlDocEnumMemberCommentFunction · 0.85
generateDataClassFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…