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