78 references to Arguments
System.Activities (8)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (1)
592ReadOnlyCollection<Expression> ctorArguments = newExpression.Arguments;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (3)
1027Fx.Assert(newExpression.Arguments.Count == 0, "NewExpression with null Constructor but some arguments"); 1031tmpArguments = newExpression.Arguments; 1291return FindParameter(newExpression.Arguments);
System\Activities\Expressions\ExpressionServices.cs (2)
1411if (newExpression.Arguments.Count != parameterInfoArray.Length)//no optional argument call for LINQ expression 1424string error = TryConvertArguments(newExpression.Arguments, newActivity.Arguments, newExpression.GetType(), 0, parameterInfoArray, throwOnError);
System\Activities\ExpressionUtilities.cs (2)
1106Fx.Assert(objectCreationExpression.Arguments.Count == 0, "NewExpression with null Constructor but some arguments"); 1110hasChanged |= TryRewriteLambdaExpressionCollection(objectCreationExpression.Arguments, out expressionList, publicAccessor);
System.Core (12)
Microsoft\Scripting\Ast\DebugViewWriter.cs (1)
802VisitExpressions('(', node.Arguments);
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
337public ReadOnlyCollection<Expression> Arguments { get { return _node.Arguments; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (3)
440if (node.NewExpression.Arguments.Count == 0 && 581for (int i = 0; i < node.Arguments.Count; i++) { 599Visit(node.Arguments[i]);
Microsoft\Scripting\Ast\ExpressionVisitor.cs (1)
441return node.Update(Visit(node.Arguments));
Microsoft\Scripting\Ast\NewExpression.cs (2)
110/// <param name="arguments">The <see cref="Arguments" /> property of the result.</param> 113if (arguments == Arguments) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
522Debug.Assert(node.Arguments.Count == 0, "Node with arguments must have a constructor.");
Microsoft\Scripting\Compiler\StackSpiller.cs (1)
507ChildRewriter cr = new ChildRewriter(this, stack, node.Arguments.Count);
System\Linq\Expressions\ExpressionVisitor.cs (2)
271IEnumerable<Expression> args = this.VisitExpressionList(nex.Arguments); 272if (args != nex.Arguments) {
System.Data.Entity (9)
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
342var arguments = nex.Arguments;
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (2)
318IEnumerable<Expression> args = this.VisitExpressionList(nex.Arguments); 319if (args != nex.Arguments)
System\Data\Objects\ELinq\InitializerFacet.cs (1)
315return _newExpression.Arguments.Select(arg => arg.Type);
System\Data\Objects\ELinq\MethodCallTranslator.cs (3)
295if (newExpression.Arguments.Count != 2) 300if (newExpression.Arguments[0] != selectorLambda.Parameters[0] || 301newExpression.Arguments[1] != selectorLambda.Parameters[1])
System\Data\Objects\ELinq\Translator.cs (2)
714linq.Arguments.Count != memberCount) 730DbExpression memberValue = parent.TranslateExpression(linq.Arguments[i]);
System.Data.Linq (17)
SqlClient\Query\Funcletizer.cs (2)
393IEnumerable<Expression> args = this.VisitExpressionList(nex.Arguments); 394if (args != nex.Arguments) {
SqlClient\Query\QueryConverter.cs (15)
822if (TypeSystem.IsNullableType(qn.Type) && qn.Arguments.Count == 1 && 823TypeSystem.GetNonNullableType(qn.Type) == qn.Arguments[0].Type) { 824return this.VisitCast(Expression.Convert(qn.Arguments[0], qn.Type)) as SqlExpression; 826else if (qn.Type == typeof(decimal) && qn.Arguments.Count == 1) { 827return this.VisitCast(Expression.Convert(qn.Arguments[0], typeof(decimal))) as SqlExpression; 838if (qn.Arguments.Count > 0) { 839args = new SqlExpression[qn.Arguments.Count]; 840for (int i = 0, n = qn.Arguments.Count; i < n; i++) { 841args[i] = this.VisitExpression(qn.Arguments[i]); 858if (qn.Type == typeof(decimal) && qn.Arguments.Count == 1) { 859return this.VisitCast(Expression.Convert(qn.Arguments[0], typeof(decimal))) as SqlExpression; 862if (qn.Arguments.Count > 0) { 863args = new SqlExpression[qn.Arguments.Count]; 865args[i] = this.VisitExpression(qn.Arguments[i]); 2691if (null != list.NewExpression.Constructor && 0 != list.NewExpression.Arguments.Count) {
System.Data.Services (2)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
521IEnumerable<Expression> args = this.VisitExpressionList(nex.Arguments); 522if (args != nex.Arguments)
System.Data.Services.Client (30)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (2)
521IEnumerable<Expression> args = this.VisitExpressionList(nex.Arguments); 522if (args != nex.Arguments)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (1)
474foreach (Expression e in nex.Arguments)
System\Data\Services\Client\ALinq\ResourceBinder.cs (4)
1716if (ne.Arguments.Count < 2) 1746for (int i = 0; i < ne.Arguments.Count; i++) 1748Expression argument = ne.Arguments[i]; 1880return MatchResource(source, out resource) && (mie != null) && (mie.NewExpression.Arguments.Count == 0);
System\Data\Services\Client\ProjectionPlanCompiler.cs (23)
850if (result.Arguments.Count == 1 && result.Constructor == nex.Type.GetConstructor(new[] { enumerable }) && 851this.annotations.TryGetValue(result.Arguments[0], out annotation)) 861result.Arguments[0], 867else if (result.Arguments.Count == 2 && 868this.annotations.TryGetValue(result.Arguments[0], out annotation)) 879result.Arguments[0], // items 880result.Arguments[1], // TrackingMode 885else if (result.Arguments.Count == 5 && 886this.annotations.TryGetValue(result.Arguments[0], out annotation)) 901result.Arguments[0], // items 902result.Arguments[1], // TrackingMode 903result.Arguments[2], // entityset name 904result.Arguments[3], // entity changed cb 905result.Arguments[4]); // collection changed cb 907else if (result.Arguments.Count == 6 && 908typeof(DataServiceContext).IsAssignableFrom(result.Arguments[0].Type) && 909this.annotations.TryGetValue(result.Arguments[1], out annotation)) 924result.Arguments[0], // context 925result.Arguments[1], // items 926result.Arguments[2], // trackingMode 927result.Arguments[3], // entityset name 928result.Arguments[4], // entity changed cb 929result.Arguments[5]); // collection changed cb