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

Function requiresArgumentNullCheck

scripts/codegen/csharp.ts:307–309  ·  view source on GitHub ↗
(typeName: string, isRequired: boolean)

Source from the content-addressed store, hash-verified

305}
306
307function requiresArgumentNullCheck(typeName: string, isRequired: boolean): boolean {
308 return isRequired && !typeName.endsWith("?") && !isNonNullableCSharpValueType(typeName);
309}
310
311async function formatCSharpFile(filePath: string): Promise<void> {
312 try {

Callers 2

emitServerInstanceMethodFunction · 0.85
emitSessionMethodFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…