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

Function escapeCSharpStringLiteral

scripts/codegen/csharp.ts:718–720  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

716}
717
718function escapeCSharpStringLiteral(value: string): string {
719 return value.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
720}
721
722function generateDiscriminatedUnionClass(
723 baseClassName: string,

Callers 5

emitDataAnnotationsFunction · 0.85
getOrCreateEnumFunction · 0.85
generateJsonUnionClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…