1 write to Arguments
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6553this.Arguments = arguments;
59 references to Arguments
Microsoft.CodeAnalysis.CSharp (59)
Binder\Binder.ValueChecks.cs (3)
3997foreach (var element in expr.Arguments) 4069return GetTupleValEscape(tupleLiteral.Arguments, scopeOfTheContainingExpression); 4756return CheckTupleValEscape(tupleLiteral.Arguments, escapeFrom, escapeTo, diagnostics);
Binder\Binder_Deconstruct.cs (2)
474int rightLength = rhsLiteral.Arguments.Length; 480BoundExpression element = rhsLiteral.Arguments[i];
Binder\Binder_Expressions.cs (5)
332var boundArgs = ArrayBuilder<BoundExpression>.GetInstance(sourceTuple.Arguments.Length); 333foreach (var arg in sourceTuple.Arguments) 2791targetElementTypesWithAnnotations.Length == tuple.Arguments.Length) 2793GenerateExplicitConversionErrorsForTupleLiteralArguments(diagnostics, tuple.Arguments, targetElementTypesWithAnnotations); 2800Error(diagnostics, ErrorCode.ERR_ConversionNotTupleCompatible, syntax, tuple.Arguments.Length, targetType);
Binder\Binder_Statements.cs (3)
2339targetElementTypes.Length == tuple.Arguments.Length) 2341GenerateImplicitConversionErrorsForTupleLiteralArguments(diagnostics, tuple.Arguments, targetElementTypes); 2348Error(diagnostics, ErrorCode.ERR_ConversionNotTupleCompatible, syntax, tuple.Arguments.Length, targetType);
Binder\Binder_TupleOperators.cs (4)
54ImmutableArray<BoundExpression> arguments = tuple.Arguments; 318Location location = ((BoundTupleExpression)(useRight ? right : left)).Arguments[i].Syntax.Parent.Location; 353return tuple.Arguments.Length; 379return (tuple.Arguments, tuple.ArgumentNamesOpt);
Binder\RefSafetyAnalysis.cs (2)
1007var arguments = tuple.Arguments; 1028return tuple.Arguments;
Binder\Semantics\Conversions\ConversionsBase.cs (1)
2331var arguments = source.Arguments;
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
706var sourceArguments = argument.Arguments; 904var sourceArguments = argument.Arguments;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3330var sourceArguments = tupleSource.Arguments;
BoundTree\BoundExpression.cs (1)
729foreach (var argument in this.Arguments)
BoundTree\Formatting.cs (1)
83var arguments = this.Arguments;
FlowAnalysis\AbstractFlowPass.cs (1)
1132VisitArguments(node.Arguments, default(ImmutableArray<RefKind>), null);
FlowAnalysis\NullableWalker.cs (3)
8419var arguments = node.Arguments; 10350var arguments = tuple.Arguments; 10382return ((BoundTupleExpression)expr).Arguments;
FlowAnalysis\NullableWalker_Patterns.cs (3)
403? tuple.Arguments.SelectAsArray(static (a, w) => w.GetSlotForSwitchInputValue(a), this) 514((BoundTupleExpression)expression).Arguments[originalTupleElement.TupleElementIndex]); 518Debug.Assert(originalInputMap[outputSlot] == ((BoundTupleExpression)expression).Arguments[originalTupleElement.TupleElementIndex]);
Generated\BoundNodes.xml.Generated.cs (10)
6580if (arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || inferredNamesOpt != this.InferredNamesOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 6610if (sourceTuple != this.SourceTuple || wasTargetTyped != this.WasTargetTyped || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || inferredNamesOpt != this.InferredNamesOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10506this.VisitList(node.Arguments); 10511this.VisitList(node.Arguments); 11806ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments); 11813ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments); 14078ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments); 14096ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments); 16506new TreeDumperNode("arguments", null, from x in node.Arguments select Visit(x, null)), 16518new TreeDumperNode("arguments", null, from x in node.Arguments select Visit(x, null)),
Lowering\DiagnosticsPass_Warnings.cs (3)
910var leftArguments = leftTuple.Arguments; 912Debug.Assert(length == rightTuple.Arguments.Length); 917var rightArgument = rightTuple.Arguments[i];
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (4)
298return ((BoundTupleExpression)right).Arguments; 310return ((BoundTupleExpression)tupleConversion.Operand).Arguments; 445var assignmentTargets = ArrayBuilder<Binder.DeconstructionVariable>.GetInstance(variables.Arguments.Length); 447foreach (var variable in variables.Arguments)
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (7)
64var builder = ArrayBuilder<BoundExpression>.GetInstance(tuple.Arguments.Length); 65for (int i = 0; i < tuple.Arguments.Length; i++) 67var element = tuple.Arguments[i]; 152var builder = ArrayBuilder<BoundExpression>.GetInstance(tuple.Arguments.Length); 153for (int i = 0; i < tuple.Arguments.Length; i++) 155var argument = tuple.Arguments[i]; 521return tupleExpression.Arguments[i];
Lowering\LocalRewriter\LocalRewriter_TupleCreationExpression.cs (1)
27ImmutableArray<BoundExpression> rewrittenArguments = VisitList(node.Arguments);
Operations\CSharpOperationFactory.cs (1)
2250ImmutableArray<IOperation> elements = CreateFromArray<BoundExpression, IOperation>(boundTupleExpression.Arguments);
Symbols\Tuples\TupleTypeSymbol.cs (1)
300diagnostics.Add(ErrorCode.WRN_TupleLiteralNameMismatch, literal.Arguments[i].Syntax.Parent!.Location, sourceName, destination);