1 write to Arguments
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6552this.Arguments = arguments;
59 references to Arguments
Microsoft.CodeAnalysis.CSharp (59)
Binder\Binder.ValueChecks.cs (3)
4020foreach (var element in expr.Arguments) 4092return GetTupleValEscape(tupleLiteral.Arguments, scopeOfTheContainingExpression); 4780return 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)
2336targetElementTypes.Length == tuple.Arguments.Length) 2338GenerateImplicitConversionErrorsForTupleLiteralArguments(diagnostics, tuple.Arguments, targetElementTypes); 2345Error(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)
8422var arguments = node.Arguments; 10353var arguments = tuple.Arguments; 10385return ((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)
6579if (arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || inferredNamesOpt != this.InferredNamesOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 6609if (sourceTuple != this.SourceTuple || wasTargetTyped != this.WasTargetTyped || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || inferredNamesOpt != this.InferredNamesOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10505this.VisitList(node.Arguments); 10510this.VisitList(node.Arguments); 11805ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments); 11812ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments); 14077ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments); 14095ImmutableArray<BoundExpression> arguments = this.VisitList(node.Arguments); 16505new TreeDumperNode("arguments", null, from x in node.Arguments select Visit(x, null)), 16517new 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);