30 references to If
Microsoft.CodeAnalysis.CSharp (30)
Compiler\MethodBodySynthesizer.Lowered.cs (3)
84F.If( 111F.If( 200F.If(
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
403_F.If( 431_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)
381F.If( 555F.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)
454BoundStatement 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 (6)
928leftBuilder.AddStatement(_F.If( 1056_F.If(condition, 1068_F.If(condition, 1155leftBuilder.AddStatement(_F.If( 1238receiverBuilder.AddStatement(_F.If(condition, whenNotNullStatement)); 1252_F.If(condition,
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
866F.If(
Lowering\StateMachineRewriter\ResumableStateMachineStateAllocator.cs (1)
83return f.If(
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
438makeIterator = F.If(
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
177block.Add(F.If(basePrintCall, makeAppendString(F, builder, ", ")));
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
75block.Add(F.If(F.Call(F.This(), _printMethod, builderLocal), makeAppendChar(F, builderLocal, ' ')));
Symbols\Synthesized\SynthesizedThrowIfNullMethod.cs (1)
43F.If(