32 references to ThrowNull
Microsoft.CodeAnalysis.CSharp (32)
Compiler\MethodBodySynthesizer.Lowered.cs (4)
125F.CloseMethod(F.ThrowNull()); 218F.CloseMethod(F.ThrowNull()); 257F.CloseMethod(F.ThrowNull()); 290F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordBaseEquals.cs (2)
70F.CloseMethod(F.ThrowNull()); 84F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (2)
121F.CloseMethod(F.ThrowNull()); 142F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordDeconstruct.cs (2)
66F.CloseMethod(F.ThrowNull()); 87F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordEqualityContractProperty.cs (1)
178F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (2)
57F.CloseMethod(F.ThrowNull()); 82F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (4)
79F.CloseMethod(F.ThrowNull()); 86F.CloseMethod(F.ThrowNull()); 117F.CloseMethod(F.ThrowNull()); 183F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordGetHashCode.cs (4)
62F.CloseMethod(F.ThrowNull()); 68F.CloseMethod(F.ThrowNull()); 86F.CloseMethod(F.ThrowNull()); 125F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (1)
52F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordObjEquals.cs (2)
52F.CloseMethod(F.ThrowNull()); 79F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (3)
127F.CloseMethod(F.ThrowNull()); 161F.CloseMethod(F.ThrowNull()); // an error was reported in base checks already 233F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
88F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\SynthesizedParameterlessThrowMethod.cs (1)
41F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\SynthesizedThrowIfNullMethod.cs (1)
56F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\SynthesizedThrowMethod.cs (1)
40F.CloseMethod(F.ThrowNull());
Symbols\Synthesized\SynthesizedThrowSwitchExpressionExceptionMethod.cs (1)
42F.CloseMethod(F.ThrowNull());