30 overrides of NodeType
System.Core (29)
Microsoft\Scripting\Ast\BinaryExpression.cs (4)
469
public sealed override ExpressionType
NodeType
{
484
public sealed override ExpressionType
NodeType
{
504
public sealed override ExpressionType
NodeType
{
541
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\BlockExpression.cs (1)
80
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\ConditionalExpression.cs (1)
60
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\ConstantExpression.cs (1)
71
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\DebugInfoExpression.cs (1)
58
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\DefaultExpression.cs (1)
50
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\DynamicExpression.cs (1)
105
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\GotoExpression.cs (1)
82
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\IndexExpression.cs (1)
64
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\InvocationExpression.cs (1)
62
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\LabelExpression.cs (1)
54
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\LambdaExpression.cs (1)
83
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\ListInitExpression.cs (1)
56
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\LoopExpression.cs (1)
59
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\MemberExpression.cs (1)
74
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\MemberInitExpression.cs (1)
65
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\MethodCallExpression.cs (1)
55
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\NewArrayExpression.cs (2)
106
public sealed override ExpressionType
NodeType
{
120
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\NewExpression.cs (1)
63
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\ParameterExpression.cs (1)
96
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\RuntimeVariablesExpression.cs (1)
56
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\SwitchExpression.cs (1)
66
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\TryExpression.cs (1)
71
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\TypeBinaryExpression.cs (1)
59
public sealed override ExpressionType
NodeType
{
Microsoft\Scripting\Ast\UnaryExpression.cs (1)
63
public sealed override ExpressionType
NodeType
{
System.Data.Entity (1)
System\Data\Objects\ELinq\Funcletizer.cs (1)
681
public override ExpressionType
NodeType
319 references to NodeType
System.Activities (37)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
396
switch (expression.
NodeType
)
646
Fx.Assert("Don't understand expression type " + expression.
NodeType
);
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (5)
676
switch (expression.
NodeType
)
722
binaryExpression.
NodeType
,
1131
Fx.Assert("Don't understand expression type " + expression.
NodeType
);
1215
switch (expression.
NodeType
)
1338
Fx.Assert("Don't understand expression type " + expression.
NodeType
);
System\Activities\Expressions\ExpressionServices.cs (16)
67
if (binaryExpressionBody.
NodeType
== ExpressionType.ArrayIndex)
126
if (newArrayExpression != null && newArrayExpression.
NodeType
!= ExpressionType.NewArrayInit)
139
throw FxTrace.Exception.AsError(new NotSupportedException(SR.UnsupportedExpressionType(body.
NodeType
)));
143
return SR.UnsupportedExpressionType(body.
NodeType
);
187
if (binaryExpressionBody.
NodeType
== ExpressionType.ArrayIndex)
230
throw FxTrace.Exception.AsError(new NotSupportedException(SR.UnsupportedReferenceExpressionType(body.
NodeType
)));
234
return SR.UnsupportedReferenceExpressionType(body.
NodeType
);
875
switch (binaryExpressionBody.
NodeType
)
945
throw FxTrace.Exception.AsError(new NotSupportedException(SR.UnsupportedExpressionType(binaryExpressionBody.
NodeType
)));
949
return SR.UnsupportedExpressionType(binaryExpressionBody.
NodeType
);
1489
if (expression.
NodeType
!= ExpressionType.Constant)
1494
SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.
NodeType
.ToString())));
1498
return SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.
NodeType
.ToString());
1547
if (expression.
NodeType
!= ExpressionType.Constant)
1552
SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.
NodeType
.ToString())));
1556
return SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.
NodeType
.ToString());
System\Activities\ExpressionUtilities.cs (13)
85
switch (body.
NodeType
)
161
switch (body.
NodeType
)
214
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidExpressionForLocation(body.
NodeType
)));
217
throw FxTrace.Exception.AsError(new InvalidOperationException(SR.InvalidExpressionForLocation(body.
NodeType
)));
280
Fx.Assert(expression.Body.
NodeType
== ExpressionType.ArrayIndex, "ArrayIndex expression required");
342
Fx.Assert(expression.Body.
NodeType
== ExpressionType.MemberAccess, "field expression required");
495
Fx.Assert(expression.Body.
NodeType
== ExpressionType.Call, "Call expression required.");
662
Fx.Assert(expression.Body.
NodeType
== ExpressionType.Call, "Call expression required.");
737
Fx.Assert(expression.Body.
NodeType
== ExpressionType.MemberAccess, "member access expression required");
898
switch (expression.
NodeType
)
932
binaryExpression.
NodeType
,
1411
if (argumentExpression.
NodeType
== ExpressionType.MemberAccess)
1566
switch (expression.
NodeType
)
System\Activities\XamlIntegration\ExpressionTreeRewriter.cs (1)
28
if (node.Expression != null && node.Expression.
NodeType
== ExpressionType.Constant)
System.Core (113)
Microsoft\Scripting\Actions\DynamicMetaObjectBinder.cs (1)
143
if (body.
NodeType
!= ExpressionType.Goto) {
Microsoft\Scripting\Ast\BinaryExpression.cs (17)
54
return IsOpAssignment(
NodeType
);
123
if (
NodeType
== ExpressionType.Equal) {
129
return Expression.MakeBinary(
NodeType
, left, right, IsLiftedToNull, Method, conversion);
141
if (IsOpAssignment(
NodeType
)) {
142
switch (_left.
NodeType
) {
199
ExpressionType op = GetBinaryOpFromAssignmentOp(
NodeType
);
227
ExpressionType op = GetBinaryOpFromAssignmentOp(
NodeType
);
281
ExpressionType binaryOp = GetBinaryOpFromAssignmentOp(
NodeType
);
313
if (
NodeType
== ExpressionType.Coalesce ||
NodeType
== ExpressionType.Assign) {
363
ExpressionType kind =
NodeType
;
379
ExpressionType kind =
NodeType
;
420
string opName =
NodeType
== ExpressionType.AndAlso ? "op_False" : "op_True";
649
ValidateOpAssignConversionLambda(conversion, b.Left, b.Method, b.
NodeType
);
650
b = new OpAssignMethodConversionBinaryExpression(b.
NodeType
, b.Left, b.Right, b.Left.Type, b.Method, conversion);
676
ValidateOpAssignConversionLambda(conversion, b.Left, b.Method, b.
NodeType
);
677
b = new OpAssignMethodConversionBinaryExpression(b.
NodeType
, b.Left, b.Right, b.Left.Type, b.Method, conversion);
Microsoft\Scripting\Ast\DebugViewWriter.cs (11)
329
if (node.
NodeType
== ExpressionType.ArrayIndex) {
341
switch (node.
NodeType
) {
578
switch (parent.
NodeType
) {
602
switch (parent.
NodeType
) {
610
Debug.Assert(child.
NodeType
== parent.
NodeType
);
632
if (child != null && child.
NodeType
== ExpressionType.Constant &&
633
(parent.
NodeType
== ExpressionType.Negate || parent.
NodeType
== ExpressionType.NegateChecked)) {
648
switch (node.
NodeType
) {
788
if (node.
NodeType
== ExpressionType.NewArrayBounds) {
Microsoft\Scripting\Ast\DynamicExpression.cs (12)
680
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
697
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
723
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
752
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
784
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
819
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
860
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
880
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
917
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
959
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
1006
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
1054
/// A <see cref="DynamicExpression" /> that has <see cref="
NodeType
" /> equal to
Microsoft\Scripting\Ast\Expression.cs (3)
212
while (node.
NodeType
== ExpressionType.Extension) {
344
switch (expression.
NodeType
) {
386
switch (expression.
NodeType
) {
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (2)
47
public ExpressionType NodeType { get { return _node.
NodeType
; } }
326
public ExpressionType NodeType { get { return _node.
NodeType
; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (5)
226
if (node.
NodeType
== ExpressionType.ArrayIndex) {
233
switch (node.
NodeType
) {
542
switch (node.
NodeType
) {
789
if (node.
NodeType
== ExpressionType.Extension) {
792
Out(node.
NodeType
.ToString());
Microsoft\Scripting\Ast\InvocationExpression.cs (1)
122
return (_lambda.
NodeType
== ExpressionType.Quote)
Microsoft\Scripting\Ast\NewArrayExpression.cs (1)
89
if (
NodeType
== ExpressionType.NewArrayInit) {
Microsoft\Scripting\Ast\NewExpression.cs (6)
142
/// <returns>A <see cref="NewExpression"/> that has the <see cref="
NodeType
"/> property equal to <see cref="P:New"/> and the <see cref="P:Constructor"/> property set to the specified value.</returns>
153
/// <returns>A <see cref="NewExpression"/> that has the <see cref="
NodeType
"/> property equal to <see cref="P:New"/> and the <see cref="P:Constructor"/> and <see cref="P:Arguments"/> properties set to the specified value.</returns>
164
/// <returns>A <see cref="NewExpression"/> that has the <see cref="
NodeType
"/> property equal to <see cref="P:New"/> and the <see cref="P:Constructor"/> and <see cref="P:Arguments"/> properties set to the specified value.</returns>
182
/// <returns>A <see cref="NewExpression"/> that has the <see cref="
NodeType
"/> property equal to <see cref="P:New"/> and the <see cref="P:Constructor"/>, <see cref="P:Arguments"/> and <see cref="P:Members"/> properties set to the specified value.</returns>
198
/// <returns>A <see cref="NewExpression"/> that has the <see cref="
NodeType
"/> property equal to <see cref="P:New"/> and the <see cref="P:Constructor"/>, <see cref="P:Arguments"/> and <see cref="P:Members"/> properties set to the specified value.</returns>
208
/// <returns>A <see cref="NewExpression"/> that has the <see cref="
NodeType
"/> property equal to New and the Constructor property set to the ConstructorInfo that represents the parameterless constructor of the specified type.</returns>
Microsoft\Scripting\Ast\TypeBinaryExpression.cs (3)
89
if (Expression.
NodeType
== ExpressionType.Constant) {
194
/// <returns>A <see cref="TypeBinaryExpression"/> for which the <see cref="
NodeType
"/> property is equal to <see cref="TypeIs"/> and for which the <see cref="Expression"/> and <see cref="TypeBinaryExpression.TypeOperand"/> properties are set to the specified values.</returns>
208
/// <returns>A <see cref="TypeBinaryExpression"/> for which the <see cref="
NodeType
"/> property is equal to <see cref="TypeEqual"/> and for which the <see cref="Expression"/> and <see cref="TypeBinaryExpression.TypeOperand"/> properties are set to the specified values.</returns>
Microsoft\Scripting\Ast\UnaryExpression.cs (3)
144
switch (_operand.
NodeType
) {
484
/// <returns>A <see cref="UnaryExpression"></see> that has the <see cref="Expression.
NodeType
"></see> property equal to <see cref="ExpressionType.UnaryPlus"></see> and the <see cref="UnaryExpression.Operand"></see> property set to the specified value.</returns>
496
/// <returns>A <see cref="UnaryExpression"></see> that has the <see cref="Expression.
NodeType
"></see> property equal to <see cref="ExpressionType.UnaryPlus"></see> and the <see cref="UnaryExpression.Operand"></see> and <see cref="UnaryExpression.Method"></see>property set to the specified value.</returns>
Microsoft\Scripting\Compiler\ConstantCheck.cs (1)
36
if (e.
NodeType
== ExpressionType.Constant) {
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (3)
42
switch (node.
NodeType
) {
79
Debug.Assert(node.
NodeType
== ExpressionType.ArrayIndex && node.Method == null);
225
switch (node.
NodeType
) {
Microsoft\Scripting\Compiler\LambdaCompiler.Binary.cs (10)
41
Debug.Assert(b.
NodeType
!= ExpressionType.AndAlso && b.
NodeType
!= ExpressionType.OrElse && b.
NodeType
!= ExpressionType.Coalesce);
52
if ((b.
NodeType
== ExpressionType.Equal || b.
NodeType
== ExpressionType.NotEqual) &&
59
EmitNullEquality(b.
NodeType
, b.Right, b.IsLiftedToNull);
63
EmitNullEquality(b.
NodeType
, b.Left, b.IsLiftedToNull);
77
EmitBinaryOperator(b.
NodeType
, b.Left.Type, b.Right.Type, b.Type, b.IsLiftedToNull);
109
switch (b.
NodeType
) {
129
EmitLift(b.
NodeType
, resultType, mc, variables, arguments);
Microsoft\Scripting\Compiler\LambdaCompiler.ControlFlow.cs (2)
144
switch (node.
NodeType
) {
231
switch (expression.
NodeType
) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (4)
99
switch (node.
NodeType
) {
615
switch (node.Left.
NodeType
) {
626
throw Error.InvalidLvalue(node.Left.
NodeType
);
730
if (node.
NodeType
== ExpressionType.NewArrayInit) {
Microsoft\Scripting\Compiler\LambdaCompiler.Generated.cs (1)
46
switch (node.
NodeType
) {
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (8)
482
switch (node.
NodeType
) {
520
Debug.Assert(node.
NodeType
== ExpressionType.Equal || node.
NodeType
== ExpressionType.NotEqual);
524
bool branchWhenEqual = branch == (node.
NodeType
== ExpressionType.Equal);
571
if (expression.
NodeType
== ExpressionType.Convert) {
581
Debug.Assert(node.
NodeType
== ExpressionType.AndAlso || node.
NodeType
== ExpressionType.OrElse);
591
bool isAnd = node.
NodeType
== ExpressionType.AndAlso;
Microsoft\Scripting\Compiler\StackSpiller.cs (9)
140
Debug.Assert(result.Node.
NodeType
!= ExpressionType.Extension, "extension nodes must be rewritten");
144
result.Action != RewriteAction.Copy || node.
NodeType
== result.Node.
NodeType
|| node.CanReduce,
225
node.
NodeType
,
260
node.
NodeType
,
282
switch (node.Left.
NodeType
) {
292
throw Error.InvalidLvalue(node.Left.
NodeType
);
432
if (node.
NodeType
== ExpressionType.NewArrayInit) {
447
if (node.
NodeType
== ExpressionType.NewArrayInit) {
Microsoft\Scripting\Compiler\StackSpiller.Generated.cs (1)
50
switch (node.
NodeType
) {
Microsoft\Scripting\Compiler\VariableBinder.cs (1)
155
while (body.Count == 1 && body[0].
NodeType
== ExpressionType.Block) {
System\Linq\Expressions\ExpressionVisitor.cs (5)
21
switch (exp.
NodeType
) {
83
throw Error.UnhandledExpressionType(exp.
NodeType
);
121
if (b.
NodeType
== ExpressionType.Coalesce && b.Conversion != null)
124
return Expression.MakeBinary(b.
NodeType
, left, right, b.IsLiftedToNull, b.Method);
302
if (na.
NodeType
== ExpressionType.NewArrayInit) {
System\Linq\SequenceQuery.cs (3)
251
if (expr.
NodeType
!= ExpressionType.Quote)
255
if (!type.IsAssignableFrom(expr.Type) && type.IsArray && expr.
NodeType
== ExpressionType.NewArrayInit) {
363
if (arg.
NodeType
== ExpressionType.Quote) {
System.Data.Entity (52)
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
261
if (expression.
NodeType
== ExpressionType.Lambda &&
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (5)
29
switch (exp.
NodeType
)
94
throw Internal.Error.UnhandledExpressionType(exp.
NodeType
);
140
if (b.
NodeType
== ExpressionType.Coalesce && b.Conversion != null)
143
return Expression.MakeBinary(b.
NodeType
, left, right, b.IsLiftedToNull, b.Method);
356
if (na.
NodeType
== ExpressionType.NewArrayInit)
System\Data\Objects\ELinq\ExpressionConverter.cs (10)
886
if (ExpressionType.Lambda == argument.
NodeType
)
890
else if (ExpressionType.Quote == argument.
NodeType
)
914
if (s_translators.TryGetValue(linq.
NodeType
, out translator))
921
linq.
NodeType
.ToString());
1529
if (Expression.
NodeType
== ExpressionType.Call)
1534
else if (Expression.
NodeType
== ExpressionType.MemberAccess)
1541
throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnresolvableFunctionForExpression(Expression.
NodeType
));
1550
if (Expression.
NodeType
== ExpressionType.Call)
1562
else if (Expression.
NodeType
== ExpressionType.MemberAccess)
1569
throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnresolvableStoreFunctionForExpression(Expression.
NodeType
));
System\Data\Objects\ELinq\Funcletizer.cs (10)
223
switch (expression.
NodeType
)
256
if (ExpressionType.MemberAccess == expression.
NodeType
)
276
if (ExpressionType.Parameter == expression.
NodeType
)
400
if (expression.
NodeType
== ExpressionType.Parameter)
411
if (null != exp && exp.
NodeType
== ExpressionType.Parameter)
457
if (expression.
NodeType
== ExpressionType.Constant)
465
if (expression.
NodeType
== ExpressionType.Convert)
473
&& ue.Operand.
NodeType
== ExpressionType.Constant
503
result = expression.
NodeType
== ExpressionType.Constant
627
if (_funcletizedExpression.
NodeType
== ExpressionType.Constant)
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (9)
63
if (b.
NodeType
== ExpressionType.Equal)
82
if (TryCreateRelationalOperator(b.
NodeType
, comparePattern.Left, comparePattern.Right, out relationalExpression))
100
if (input.
NodeType
== ExpressionType.Constant &&
114
while (ExpressionType.Convert == input.
NodeType
&& typeof(object) == input.Type)
126
return expression.
NodeType
== ExpressionType.Constant &&
391
if (expression.
NodeType
== ExpressionType.Quote)
401
else if (expression.
NodeType
== ExpressionType.Lambda)
409
if (lambda.Body.
NodeType
== ExpressionType.Coalesce && lambda.Body.Type == typeof(bool))
412
if (coalesce.Right.
NodeType
== ExpressionType.Constant && false.Equals(((ConstantExpression)coalesce.Right).Value))
System\Data\Objects\ELinq\MethodCallTranslator.cs (8)
288
selectorLambda.Body.
NodeType
!= ExpressionType.New)
345
if (queryExpression.
NodeType
== ExpressionType.Convert)
474
if (call.Arguments[0].
NodeType
!= ExpressionType.Constant)
507
Debug.Assert(call.Arguments[0].
NodeType
== ExpressionType.Constant, "Whenever an IncludeSpan MethodCall is inlined, the argument must be a constant");
702
if (expression.
NodeType
== ExpressionType.Convert)
1337
if (expression.
NodeType
== ExpressionType.NewArrayInit)
1345
else if (expression.
NodeType
== ExpressionType.NewArrayBounds)
1350
newArray.Expressions[0].
NodeType
== ExpressionType.Constant)
System\Data\Objects\ELinq\ReflectionUtil.cs (2)
390
if (expression.
NodeType
== ExpressionType.Lambda && unwrapLambda)
395
if (expression.
NodeType
== ExpressionType.Call)
System\Data\Objects\ELinq\Translator.cs (4)
889
throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedExpressionType(linq.
NodeType
));
903
throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedExpressionType(linq.
NodeType
));
1046
if (ExpressionType.Constant != expression.
NodeType
) { return false; }
1053
while (ExpressionType.Convert == input.
NodeType
)
System\Data\Objects\ObjectContext.cs (3)
846
while (body.
NodeType
== ExpressionType.Convert || body.
NodeType
== ExpressionType.ConvertChecked)
855
bodyAsMember.Expression.
NodeType
!= ExpressionType.Parameter)
System.Data.Linq (36)
DataServices.cs (2)
544
switch (bex.
NodeType
) {
559
memex.Expression.
NodeType
!= ExpressionType.Parameter || memex.Expression.Type != type.Type) {
DataShape.cs (5)
66
while (op.
NodeType
== ExpressionType.Convert || op.
NodeType
== ExpressionType.ConvertChecked) {
167
if (body != null && (body.
NodeType
== ExpressionType.Convert || body.
NodeType
== ExpressionType.ConvertChecked))
173
if (mex != null && mex.Expression.
NodeType
== ExpressionType.Parameter)
SqlClient\Query\Funcletizer.cs (14)
35
if (exp.
NodeType
== (ExpressionType)InternalExpressionType.Known) {
42
if (e.
NodeType
== ExpressionType.Constant) {
45
else if (e.
NodeType
== ExpressionType.Convert || e.
NodeType
== ExpressionType.ConvertChecked) {
49
return (e.
NodeType
== ExpressionType.Convert) ? Expression.Convert(local, e.Type) : Expression.ConvertChecked(local, e.Type);
52
if (ue.Operand.
NodeType
== ExpressionType.Constant) {
103
switch (expression.
NodeType
) {
112
&& expression.
NodeType
!= ExpressionType.Lambda
113
&& expression.
NodeType
!= ExpressionType.Quote
149
switch (exp.
NodeType
) {
212
throw Error.UnhandledExpressionType(exp.
NodeType
);
214
throw Error.UnhandledExpressionType(exp.
NodeType
);
251
return Expression.MakeBinary(b.
NodeType
, left, right, b.IsLiftedToNull, b.Method);
426
if (na.
NodeType
== ExpressionType.NewArrayInit) {
SqlClient\Query\QueryConverter.cs (13)
154
switch (node.
NodeType
) {
166
throw Error.UnrecognizedExpressionNode(node.
NodeType
);
222
throw Error.UnsupportedNodeType(node.
NodeType
);
228
throw Error.UnrecognizedExpressionNode(node.
NodeType
);
293
if (fex.
NodeType
!= ExpressionType.Constant ||
324
(invoke.Expression.
NodeType
== ExpressionType.Quote)
682
throw Error.UnrecognizedExpressionNode(b.
NodeType
);
1306
switch (b.
NodeType
) {
1372
throw Error.BinaryOperatorNotRecognized(b.
NodeType
);
1973
while (expression.
NodeType
== ExpressionType.Quote) {
1980
return this.RemoveQuotes(expression).
NodeType
== ExpressionType.Lambda;
2506
while (exp.
NodeType
== ExpressionType.Convert || exp.
NodeType
== ExpressionType.ConvertChecked) {
SqlClient\Reader\ObjectReaderCompiler.cs (2)
388
if (node.SourceExpression.
NodeType
!= ExpressionType.NewArrayInit &&
389
node.SourceExpression.
NodeType
!= ExpressionType.NewArrayBounds) {
System.Data.Services (21)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (5)
106
switch (exp.
NodeType
)
171
throw new NotSupportedException(Strings.ALinq_UnsupportedExpression(exp.
NodeType
.ToString()));
239
if (b.
NodeType
== ExpressionType.Coalesce && b.Conversion != null)
245
return Expression.MakeBinary(b.
NodeType
, left, right, b.IsLiftedToNull, b.Method);
581
if (na.
NodeType
== ExpressionType.NewArrayInit)
System\Data\Services\ExpandSegment.cs (2)
196
if (filter.
NodeType
!= ExpressionType.Lambda)
198
throw new ArgumentException(Strings.ExpandSegment_FilterShouldBeLambda(filter.
NodeType
), "filter");
System\Data\Services\Internal\NeedSkipTokenVisitor.cs (2)
137
switch (exp.
NodeType
)
155
if (m.Member.MemberType != MemberTypes.Property || m.Expression.
NodeType
!= ExpressionType.Parameter)
System\Data\Services\Parsing\FunctionDescription.cs (6)
348
Debug.Assert(arguments[0].
NodeType
== ExpressionType.Constant, "Constant expression expected for argument[0]");
361
Debug.Assert(arguments[1].
NodeType
== ExpressionType.Constant, "Constant expression expected for argument[1]");
363
Debug.Assert(arguments[2].
NodeType
== ExpressionType.Constant, "Constant expression expected for argument[2]");
414
Debug.Assert(arguments[0].
NodeType
== ExpressionType.Constant, "Constant expression expected for argument[0]");
427
Debug.Assert(arguments[1].
NodeType
== ExpressionType.Constant, "Constant expression expected for argument[1]");
429
Debug.Assert(arguments[2].
NodeType
== ExpressionType.Constant, "Constant expression expected for argument[2]");
System\Data\Services\Parsing\RequestQueryParser.cs (4)
345
if (e.
NodeType
!= ExpressionType.Constant)
1234
switch (input.
NodeType
)
1282
while (input.
NodeType
== ExpressionType.Convert && input.Type == typeof(object))
1981
Debug.Assert(candidateTypeArgument.
NodeType
== ExpressionType.Constant, "Non-constant in type name for a cast?");
System\Data\Services\Providers\BasicExpandProvider.cs (1)
1156
LambdaExpression selector = call.Arguments[1].
NodeType
== ExpressionType.Quote ?
System\Data\Services\WebUtil.cs (1)
888
(expression.
NodeType
== ExpressionType.Constant && ((ConstantExpression)expression).Value == null);
System.Data.Services.Client (59)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (5)
106
switch (exp.
NodeType
)
171
throw new NotSupportedException(Strings.ALinq_UnsupportedExpression(exp.
NodeType
.ToString()));
239
if (b.
NodeType
== ExpressionType.Coalesce && b.Conversion != null)
245
return Expression.MakeBinary(b.
NodeType
, left, right, b.IsLiftedToNull, b.Method);
581
if (na.
NodeType
== ExpressionType.NewArrayInit)
System\Data\Services\Client\ALinq\DataServiceExpressionVisitor.cs (1)
37
switch ((ResourceExpressionType)exp.
NodeType
)
System\Data\Services\Client\ALinq\Evaluator.cs (4)
99
return expression.
NodeType
!= ExpressionType.Parameter &&
100
expression.
NodeType
!= ExpressionType.Lambda &&
101
expression.
NodeType
!= (ExpressionType) ResourceExpressionType.RootResourceSet;
158
if (e.
NodeType
== ExpressionType.Constant)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (9)
115
if (visited.
NodeType
== ExpressionType.Equal)
134
if (TryCreateRelationalOperator(visited.
NodeType
, comparePattern.Left, comparePattern.Right, out relationalExpression))
195
if (input.
NodeType
== ExpressionType.Constant && input.Type == typeof(object))
208
while (ExpressionType.Convert == input.
NodeType
&& typeof(object) == input.Type)
221
return expression.
NodeType
== ExpressionType.Constant &&
471
if (expression.
NodeType
== ExpressionType.Quote)
481
else if (expression.
NodeType
== ExpressionType.Lambda)
489
if (lambda.Body.
NodeType
== ExpressionType.Coalesce && lambda.Body.Type == typeof(bool))
492
if (coalesce.Right.
NodeType
== ExpressionType.Constant && false.Equals(((ConstantExpression)coalesce.Right).Value))
System\Data\Services\Client\ALinq\ExpressionWriter.cs (2)
180
if (this.parent == null || this.parent.
NodeType
!= ExpressionType.MemberAccess)
372
switch (b.
NodeType
)
System\Data\Services\Client\ALinq\InputBinder.cs (1)
121
if (memberRef.Expression.
NodeType
== ExpressionType.Parameter)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (8)
49
if (le.Body.
NodeType
== ExpressionType.Constant)
60
if (le.Body.
NodeType
== ExpressionType.MemberInit || le.Body.
NodeType
== ExpressionType.New)
70
if (withoutConverts.
NodeType
== ExpressionType.MemberAccess)
91
switch (e.Body.
NodeType
)
240
while (result.
NodeType
== ExpressionType.Convert || result.
NodeType
== ExpressionType.ConvertChecked)
477
if (e.
NodeType
!= ExpressionType.Constant)
System\Data\Services\Client\ALinq\ResourceBinder.cs (15)
794
(ResourceExpressionType)rse.
NodeType
!= ResourceExpressionType.ResourceNavigationProperty)
1022
expression = expression.
NodeType
== ExpressionType.Quote ? ((UnaryExpression)expression).Operand : expression;
1034
if ((ResourceExpressionType)rse.
NodeType
== ResourceExpressionType.RootResourceSet)
1130
switch (qoe.
NodeType
)
1452
return (be != null && (be.
NodeType
== ExpressionType.And || be.
NodeType
== ExpressionType.AndAlso));
1709
if (resultSelector.Body.
NodeType
!= ExpressionType.New)
1898
return expression.
NodeType
== ExpressionType.Not;
2001
if (assigned.
NodeType
!= member.
NodeType
|| assigned.
NodeType
!= ExpressionType.MemberAccess)
2040
return (PatternRules.MatchBinaryExpression(e) && ((BinaryExpression)e).
NodeType
== ExpressionType.Equal);
2045
if (e.
NodeType
== ExpressionType.Add)
2116
if (test.
NodeType
== ExpressionType.NotEqual)
2120
else if (test.
NodeType
!= ExpressionType.Equal)
System\Data\Services\Client\ALinq\UriWriter.cs (3)
99
throw new NotSupportedException(Strings.ALinq_BinaryNotSupported(b.
NodeType
.ToString()));
232
if ((ResourceExpressionType)rse.
NodeType
== ResourceExpressionType.ResourceNavigationProperty)
310
ResourceExpressionType et = (ResourceExpressionType)e.
NodeType
;
System\Data\Services\Client\MemberAssignmentAnalysis.cs (3)
315
if (p.
NodeType
!= c.
NodeType
)
325
if (p.
NodeType
!= ExpressionType.MemberAccess)
System\Data\Services\Client\ProjectionPathBuilder.cs (1)
172
while (expression.
NodeType
== ExpressionType.MemberAccess)
System\Data\Services\Client\ProjectionPlanCompiler.cs (7)
81
projection.Body.
NodeType
== ExpressionType.Constant ||
82
projection.Body.
NodeType
== ExpressionType.MemberInit ||
83
projection.Body.
NodeType
== ExpressionType.MemberAccess ||
84
projection.Body.
NodeType
== ExpressionType.Convert ||
85
projection.Body.
NodeType
== ExpressionType.ConvertChecked ||
86
projection.Body.
NodeType
== ExpressionType.New,
598
assignment.Expression.
NodeType
== ExpressionType.MemberInit))
System.Web (1)
Util\QueryableUtility.cs (1)
11
if (expression.
NodeType
== ExpressionType.Call) {