1 write to RefKind
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
3573this.RefKind = refKind;
13 references to RefKind
Microsoft.CodeAnalysis.CSharp (13)
Binder\RefSafetyAnalysis.cs (1)
523ValidateEscape(expr, SafeContext.ReturnOnly, node.RefKind != RefKind.None, _diagnostics);
BoundTree\UnboundLambda.cs (1)
1571statements[0] is BoundReturnStatement { RefKind: Microsoft.CodeAnalysis.RefKind.None, ExpressionOpt: BoundExpression expr })
CodeGen\EmitStatement.cs (1)
865if (boundReturnStatement.RefKind == RefKind.None)
CodeGen\Optimizer.cs (1)
1802return node.Update(node.RefKind, expressionOpt, @checked: node.Checked);
FlowAnalysis\AbstractFlowPass.cs (3)
2026VisitRvalue(node.ExpressionOpt, isKnownToBeAnLvalue: node.RefKind != RefKind.None); 2029if (node.RefKind != RefKind.None) 2031WriteArgument(node.ExpressionOpt, node.RefKind, method: null);
FlowAnalysis\NullableWalker.cs (2)
2895if (node.RefKind == RefKind.None && 2904if (node.RefKind == RefKind.None)
Generated\BoundNodes.xml.Generated.cs (3)
3587if (refKind != this.RefKind || expressionOpt != this.ExpressionOpt || @checked != this.Checked) 11328return node.Update(node.RefKind, expressionOpt, node.Checked); 15771new TreeDumperNode("refKind", node.RefKind, null),
Lowering\SpillSequenceSpiller.cs (1)
697return UpdateStatement(builder, node.Update(node.RefKind, expression, @checked: node.Checked));