5 references to IsNull
Microsoft.CodeAnalysis.CSharp (5)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
163
Debug.Assert(refKinds.
IsNull
|| parameterCount == refKinds.Capacity - (returnsVoid ? 0 : 1));
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (3)
40
Debug.Assert(refKinds.
IsNull
|| parameterCount == refKinds.Capacity - (voidReturnTypeOpt is { } ? 0 : 1));
60
new SynthesizedDelegateInvokeMethod.ParameterDescription(TypeWithAnnotations.Create(typeParams[i]), refKinds.
IsNull
? RefKind.None : refKinds[i], ScopedKind.None, defaultValue: null, isParams: false, hasUnscopedRefAttribute: false));
65
var returnRefKind = (refKinds.
IsNull
|| voidReturnTypeOpt is { }) ? RefKind.None : refKinds[parameterCount];
Symbols\Synthesized\GeneratedNames.cs (1)
383
if (!byRefs.
IsNull
)