16 references to NoOpStatementFlavor
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Statements.cs (1)
466
return new BoundNoOpStatement(node,
NoOpStatementFlavor
.Default);
CodeGen\EmitStatement.cs (3)
137
case
NoOpStatementFlavor
.Default:
144
case
NoOpStatementFlavor
.AwaitYieldPoint:
155
case
NoOpStatementFlavor
.AwaitResumePoint:
Generated\BoundNodes.xml.Generated.cs (4)
3539
public BoundNoOpStatement(SyntaxNode syntax,
NoOpStatementFlavor
flavor, bool hasErrors)
3545
public BoundNoOpStatement(SyntaxNode syntax,
NoOpStatementFlavor
flavor)
3551
public
NoOpStatementFlavor
Flavor { get; }
3556
public BoundNoOpStatement Update(
NoOpStatementFlavor
flavor)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
480
F.NoOp(
NoOpStatementFlavor
.AwaitYieldPoint));
511
F.NoOp(
NoOpStatementFlavor
.AwaitResumePoint));
Lowering\ClosureConversion\ClosureConversion.cs (1)
1436
return new BoundNoOpStatement(node.Syntax,
NoOpStatementFlavor
.Default);
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (2)
345
_factory.Assignment(_factory.Local(_scope.ContextVariable), _factory.Call(receiver: null, entryLogger, entryArgs)) : _factory.NoOp(
NoOpStatementFlavor
.Default);
349
_factory.ExpressionStatement(_factory.Call(receiver: _factory.Local(_scope.ContextVariable), returnLogger)) : _factory.NoOp(
NoOpStatementFlavor
.Default);
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
365
new BoundNoOpStatement(syntax,
NoOpStatementFlavor
.Default);
Lowering\LocalRewriter\LocalRewriter_PatternSwitchStatement.cs (1)
109
result.Add(_factory.NoOp(
NoOpStatementFlavor
.Default));
Lowering\SyntheticBoundNodeFactory.cs (1)
1705
internal BoundStatement NoOp(
NoOpStatementFlavor
noOpStatementFlavor)