9 references to Throw
Microsoft.CodeAnalysis.CSharp (9)
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
426BoundStatement rethrow = _F.Throw(_F.Local(obj));
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (1)
443thenClause: F.Throw(F.New(F.WellKnownType(WellKnownType.System_NotSupportedException))));
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
241F.CloseMethod(F.Throw(F.New(F.WellKnownType(WellKnownType.System_NotSupportedException))));
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (1)
95f.Throw(
Lowering\SyntheticBoundNodeFactory.cs (1)
1209return Throw(Null(Binder.GetWellKnownType(Compilation, Microsoft.CodeAnalysis.WellKnownType.System_Exception, Diagnostics, Syntax.Location)));
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (2)
663f.Throw(f.New(constructor))), 725return f.Throw(f.New(constructor));
Symbols\Synthesized\SynthesizedParameterlessThrowMethod.cs (1)
33var body = F.Throw(F.New(_exceptionConstructor, ImmutableArray<BoundExpression>.Empty));
Symbols\Synthesized\SynthesizedThrowSwitchExpressionExceptionMethod.cs (1)
34var body = F.Throw(F.New(F.WellKnownMethod(WellKnownMember.System_Runtime_CompilerServices_SwitchExpressionException__ctorObject), ImmutableArray.Create<BoundExpression>(F.Parameter(unmatchedValue))));