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

Function isNonNullableCSharpValueType

scripts/codegen/csharp.ts:273–285  ·  view source on GitHub ↗
(typeName: string)

Source from the content-addressed store, hash-verified

271}
272
273function isNonNullableCSharpValueType(typeName: string): boolean {
274 return [
275 "bool",
276 "double",
277 "float",
278 "Guid",
279 "int",
280 "long",
281 "DateTimeOffset",
282 "TimeSpan",
283 "JsonElement",
284 ].includes(typeName) || generatedEnums.has(typeName) || emittedRpcEnumResultTypes.has(typeName) || externalRpcValueTypes.has(typeName);
285}
286
287/**
288 * Schemas marked `.asOpaqueJson()` on the runtime side carry

Callers 2

emitRpcClassFunction · 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…