3 references to GenerateThrow
Microsoft.CodeAnalysis.CSharp (3)
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (2)
213
throwStmt = SynthesizedParameterlessThrowMethod.
GenerateThrow
(_factory, _factory.WellKnownMethod(WellKnownMember.System_Runtime_CompilerServices_SwitchExpressionException__ctor));
217
throwStmt = SynthesizedParameterlessThrowMethod.
GenerateThrow
(_factory, _factory.WellKnownMethod(WellKnownMember.System_InvalidOperationException__ctor));
Symbols\Synthesized\SynthesizedParameterlessThrowMethod.cs (1)
33
var body =
GenerateThrow
(F, _exceptionConstructor);