40 references to ThrowNull
Microsoft.CodeAnalysis.CSharp (40)
Compiler\MethodBodySynthesizer.Lowered.cs (4)
125F.CloseMethod(F.ThrowNull()); 218F.CloseMethod(F.ThrowNull()); 257F.CloseMethod(F.ThrowNull()); 290F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListConstructor.cs (1)
45f.CloseMethod(f.ThrowNull());
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorConstructor.cs (1)
45f.CloseMethod(f.ThrowNull());
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListMethod.cs (1)
34f.CloseMethod(f.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordBaseEquals.cs (2)
61F.CloseMethod(F.ThrowNull()); 81F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (2)
116F.CloseMethod(F.ThrowNull()); 137F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordDeconstruct.cs (2)
56F.CloseMethod(F.ThrowNull()); 77F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
185F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (2)
57F.CloseMethod(F.ThrowNull()); 82F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (4)
73F.CloseMethod(F.ThrowNull()); 80F.CloseMethod(F.ThrowNull()); 111F.CloseMethod(F.ThrowNull()); 176F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordGetHashCode.cs (4)
60F.CloseMethod(F.ThrowNull()); 66F.CloseMethod(F.ThrowNull()); 84F.CloseMethod(F.ThrowNull()); 123F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (1)
47F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordObjEquals.cs (2)
51F.CloseMethod(F.ThrowNull()); 81F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (3)
126F.CloseMethod(F.ThrowNull()); 160F.CloseMethod(F.ThrowNull()); // an error was reported in base checks already 237F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
85F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\SynthesizedEmbeddedExtensionMarkerNameAttributeSymbol.cs (1)
155F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\SynthesizedInlineArrayAsReadOnlySpanMethod.cs (1)
45f.CloseMethod(f.ThrowNull());
Symbols\Synthesized\SynthesizedInlineArrayAsSpanMethod.cs (1)
43f.CloseMethod(f.ThrowNull());
Symbols\Synthesized\SynthesizedInlineArrayElementRefMethod.cs (1)
45f.CloseMethod(f.ThrowNull());
Symbols\Synthesized\SynthesizedInlineArrayElementRefReadOnlyMethod.cs (1)
47f.CloseMethod(f.ThrowNull());
Symbols\Synthesized\SynthesizedInlineArrayFirstElementRefMethod.cs (1)
41f.CloseMethod(f.ThrowNull());
Symbols\Synthesized\SynthesizedInlineArrayFirstElementRefReadOnlyMethod.cs (1)
43f.CloseMethod(f.ThrowNull());
Symbols\Synthesized\SynthesizedParameterlessThrowMethod.cs (1)
41F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\SynthesizedThrowSwitchExpressionExceptionMethod.cs (1)
42F.CloseMethod(F.ThrowNull());