31 references to If
Microsoft.CodeAnalysis.CSharp (31)
Compiler\MethodBodySynthesizer.Lowered.cs (3)
84F.If( 111F.If( 200F.If(
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
416_F.If( 444_F.If(_F.ObjectEqual(_F.Local(ex), _F.Null(ex.Type)), rethrow),
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (2)
161F.If(F.ObjectNotEqual(combinedTokens, F.Null(combinedTokensType)), 193return F.If(
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
374F.If( 558F.If(
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (6)
234result = F.If( 239elseClauseOpt: F.If( 329BoundStatement ifFinished = F.If( 340var ifPromiseReady = F.If( 439BoundStatement ifInvalidState = F.If( 445BoundStatement ifFinished = F.If(
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
296BoundStatement payloadIf = _methodBodyFactory.If(payloadNullTest, createPayloadCall);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
487BoundStatement conditionalAdd = factory.If(notNullCheck, factory.Assignment(factory.Local(localSymbol), addition));
Lowering\LocalRewriter\LocalRewriter_StringInterpolation.cs (1)
175var resultIf = _factory.If(appendShouldProceedLocal, _factory.StatementList(appendCallsStatements));
Lowering\SpillSequenceSpiller.cs (7)
999leftBuilder.AddStatement(_F.If( 1127_F.If(condition, 1139_F.If(condition, 1161_F.If(condition, 1253leftBuilder.AddStatement(_F.If( 1330receiverBuilder.AddStatement(_F.If(condition, whenNotNullStatement)); 1344_F.If(condition,
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
884F.If(
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (1)
83return f.If(
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
448makeIterator = F.If(
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
661f.If(
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
176block.Add(F.If(basePrintCall, makeAppendString(F, builder, ", ")));
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
72block.Add(F.If(F.Call(F.This(), _printMethod, builderLocal), makeAppendChar(F, builderLocal, ' ')));