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