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

Function getCSharpSchemaTypeName

scripts/codegen/csharp.ts:1454–1457  ·  view source on GitHub ↗
(schema: JSONSchema7 | null | undefined, fallback: string)

Source from the content-addressed store, hash-verified

1452}
1453
1454function getCSharpSchemaTypeName(schema: JSONSchema7 | null | undefined, fallback: string): string {
1455 if (schema?.$ref) return typeToClassName(refTypeName(schema.$ref, rpcDefinitions));
1456 return getRpcSchemaTypeName(schema, fallback);
1457}
1458
1459/** Returns the C# type for a method's result, accounting for nullable anyOf wrappers and opaque JSON. */
1460function resolvedResultTypeName(method: RpcMethod): string {

Callers 2

resultTypeNameFunction · 0.85
paramsTypeNameFunction · 0.85

Calls 3

typeToClassNameFunction · 0.85
refTypeNameFunction · 0.85
getRpcSchemaTypeNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…