61 references to Constant
System.Activities (12)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (1)
433
case ExpressionType.
Constant
:
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
751
case ExpressionType.
Constant
:
1247
case ExpressionType.
Constant
:
System\Activities\Expressions\ExpressionServices.cs (6)
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 (2)
957
case ExpressionType.
Constant
:
1568
case ExpressionType.
Constant
:
System\Activities\XamlIntegration\ExpressionTreeRewriter.cs (1)
28
if (node.Expression != null && node.Expression.NodeType == ExpressionType.
Constant
)
System.Core (9)
Microsoft\Scripting\Ast\ConstantExpression.cs (1)
72
get { return ExpressionType.
Constant
; }
Microsoft\Scripting\Ast\DebugViewWriter.cs (2)
632
if (child != null && child.NodeType == ExpressionType.
Constant
&&
756
case ExpressionType.
Constant
:
Microsoft\Scripting\Ast\TypeBinaryExpression.cs (1)
89
if (Expression.NodeType == ExpressionType.
Constant
) {
Microsoft\Scripting\Compiler\ConstantCheck.cs (1)
36
if (e.NodeType == ExpressionType.
Constant
) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
112
case ExpressionType.
Constant
:
Microsoft\Scripting\Compiler\LambdaCompiler.Generated.cs (1)
79
case ExpressionType.
Constant
:
Microsoft\Scripting\Compiler\StackSpiller.Generated.cs (1)
261
case ExpressionType.
Constant
:
System\Linq\Expressions\ExpressionVisitor.cs (1)
61
case ExpressionType.
Constant
:
System.Data.Entity (14)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (1)
70
case ExpressionType.
Constant
:
System\Data\Objects\ELinq\Funcletizer.cs (5)
236
case ExpressionType.
Constant
:
457
if (expression.NodeType == ExpressionType.
Constant
)
473
&& ue.Operand.NodeType == ExpressionType.
Constant
503
result = expression.NodeType == ExpressionType.
Constant
627
if (_funcletizedExpression.NodeType == ExpressionType.
Constant
)
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (3)
100
if (input.NodeType == ExpressionType.
Constant
&&
126
return expression.NodeType == ExpressionType.
Constant
&&
412
if (coalesce.Right.NodeType == ExpressionType.
Constant
&& false.Equals(((ConstantExpression)coalesce.Right).Value))
System\Data\Objects\ELinq\MethodCallTranslator.cs (3)
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");
1350
newArray.Expressions[0].NodeType == ExpressionType.
Constant
)
System\Data\Objects\ELinq\Translator.cs (2)
61
: base(ExpressionType.
Constant
) { }
1046
if (ExpressionType.
Constant
!= expression.NodeType) { return false; }
System.Data.Linq (6)
SqlClient\Query\Funcletizer.cs (4)
42
if (e.NodeType == ExpressionType.
Constant
) {
52
if (ue.Operand.NodeType == ExpressionType.
Constant
) {
106
case (ExpressionType)ExpressionType.
Constant
:
188
case ExpressionType.
Constant
:
SqlClient\Query\QueryConverter.cs (2)
200
case ExpressionType.
Constant
:
293
if (fex.NodeType != ExpressionType.
Constant
||
System.Data.Services (11)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
149
case ExpressionType.
Constant
:
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 (3)
345
if (e.NodeType != ExpressionType.
Constant
)
1263
case ExpressionType.
Constant
:
1981
Debug.Assert(candidateTypeArgument.NodeType == ExpressionType.
Constant
, "Non-constant in type name for a cast?");
System\Data\Services\WebUtil.cs (1)
888
(expression.NodeType == ExpressionType.
Constant
&& ((ConstantExpression)expression).Value == null);
System.Data.Services.Client (9)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
149
case ExpressionType.
Constant
:
System\Data\Services\Client\ALinq\Evaluator.cs (1)
158
if (e.NodeType == ExpressionType.
Constant
)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (3)
195
if (input.NodeType == ExpressionType.
Constant
&& input.Type == typeof(object))
221
return expression.NodeType == ExpressionType.
Constant
&&
492
if (coalesce.Right.NodeType == ExpressionType.
Constant
&& false.Equals(((ConstantExpression)coalesce.Right).Value))
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (3)
49
if (le.Body.NodeType == ExpressionType.
Constant
)
98
case ExpressionType.
Constant
:
477
if (e.NodeType != ExpressionType.
Constant
)
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
81
projection.Body.NodeType == ExpressionType.
Constant
||