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