61 references to Parameter
Microsoft.CodeAnalysis.CSharp (61)
Binder\Binder.ValueChecks.cs (5)
809case BoundKind.Parameter: 3368case BoundKind.Parameter: 3688case BoundKind.Parameter: 4058case BoundKind.Parameter: 4750case BoundKind.Parameter:
Binder\Binder_Invocation.cs (1)
2090case BoundKind.Parameter:
Binder\Binder_Operators.cs (1)
2638case BoundKind.Parameter:
Binder\Binder_Statements.cs (2)
1570else if (op1.Kind is BoundKind.Local or BoundKind.Parameter) 1583Debug.Assert(op1.Kind != BoundKind.Parameter); // If the assert fails, add a corresponding test.
Binder\LockOrUsingBinder.cs (1)
64case BoundKind.Parameter:
BoundTree\BoundExpression.cs (2)
56if ((Kind != BoundKind.Local && Kind != BoundKind.Parameter) || this.WasConverted) 93case BoundKind.Parameter when !WasConverted:
BoundTree\BoundExpressionExtensions.cs (1)
27case BoundKind.Parameter:
BoundTree\BoundTreeVisitors.cs (1)
103case BoundKind.Parameter:
CodeGen\CodeGenerator_HasHome.cs (1)
86case BoundKind.Parameter:
CodeGen\EmitAddress.cs (1)
49case BoundKind.Parameter:
CodeGen\EmitExpression.cs (8)
142case BoundKind.Parameter: 1286case BoundKind.Parameter: 2133case BoundKind.Parameter: 2216case BoundKind.Parameter: 2756case BoundKind.Parameter: 2797case BoundKind.Parameter: 3004Debug.Assert(lhs.Kind != BoundKind.Parameter || exprTempsAfter <= exprTempsBefore); 3105case BoundKind.Parameter:
CodeGen\EmitStatement.cs (1)
1290case BoundKind.Parameter:
CodeGen\Optimizer.cs (2)
1031(lhs.Kind is BoundKind.Local or BoundKind.Parameter or BoundKind.FieldAccess && lhs.GetRefKind() != RefKind.None), 1040case BoundKind.Parameter:
FlowAnalysis\AbstractFlowPass.cs (1)
556case BoundKind.Parameter:
FlowAnalysis\DataFlowsOutWalker.cs (2)
154case BoundKind.Parameter: 241case BoundKind.Parameter: return ((BoundParameter)node).ParameterSymbol;
FlowAnalysis\DefiniteAssignment.cs (6)
832case BoundKind.Parameter: 1019case BoundKind.Parameter: 1455case BoundKind.Parameter: 1502case BoundKind.Parameter: 1616case BoundKind.Parameter: 2599case BoundKind.Parameter:
FlowAnalysis\LocalDataFlowPass.cs (1)
220case BoundKind.Parameter:
FlowAnalysis\ReadWriteWalker.cs (2)
203case BoundKind.Parameter: 301case BoundKind.Parameter:
Generated\BoundNodes.xml.Generated.cs (3)
4634: base(BoundKind.Parameter, syntax, type, hasErrors) 4644: base(BoundKind.Parameter, syntax, type) 9073case BoundKind.Parameter:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
226case BoundKind.Parameter:
Lowering\DiagnosticsPass_Warnings.cs (1)
217case BoundKind.Parameter:
Lowering\LocalRewriter\LocalRewriter.cs (1)
1020case BoundKind.Parameter:
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
519if ((loweredInput.Kind == BoundKind.Local || loweredInput.Kind == BoundKind.Parameter) 644if (canShareInputs && (expr.Kind == BoundKind.Parameter || expr.Kind == BoundKind.Local) && _tempAllocator.TrySetTemp(temp, expr))
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.cs (1)
219case BoundKind.Parameter:
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (3)
284if (loweredRight.Kind == BoundKind.Local || loweredRight.Kind == BoundKind.Parameter) 296if (loweredRight.Kind == BoundKind.Local || loweredRight.Kind == BoundKind.Parameter) 652if (constantLeft == null && loweredLeft.Kind != BoundKind.Local && loweredLeft.Kind != BoundKind.Parameter)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
554case BoundKind.Parameter:
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (3)
688case BoundKind.Parameter: 852case BoundKind.Parameter: 884case BoundKind.Parameter:
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (2)
497if (node.LengthOrCountAccess.Kind is not BoundKind.Local || receiver.Kind is not (BoundKind.Local or BoundKind.Parameter)) 799if (node.LengthOrCountAccess.Kind is not BoundKind.Local || receiver.Kind is not (BoundKind.Local or BoundKind.Parameter))
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
491case BoundKind.Parameter:
Lowering\SpillSequenceSpiller.cs (2)
387case BoundKind.Parameter: 875case BoundKind.Parameter:
Operations\CSharpOperationFactory.cs (1)
55case BoundKind.Parameter: