61 references to Constant
System.Activities (12)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (1)
433case ExpressionType.Constant:
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
751case ExpressionType.Constant: 1247case ExpressionType.Constant:
System\Activities\Expressions\ExpressionServices.cs (6)
1489if (expression.NodeType != ExpressionType.Constant) 1494SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.NodeType.ToString()))); 1498return SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.NodeType.ToString()); 1547if (expression.NodeType != ExpressionType.Constant) 1552SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.NodeType.ToString()))); 1556return SR.UnexpectedExpressionNodeType(ExpressionType.Constant.ToString(), expression.NodeType.ToString());
System\Activities\ExpressionUtilities.cs (2)
957case ExpressionType.Constant: 1568case ExpressionType.Constant:
System\Activities\XamlIntegration\ExpressionTreeRewriter.cs (1)
28if (node.Expression != null && node.Expression.NodeType == ExpressionType.Constant)
System.Core (9)
Microsoft\Scripting\Ast\ConstantExpression.cs (1)
72get { return ExpressionType.Constant; }
Microsoft\Scripting\Ast\DebugViewWriter.cs (2)
632if (child != null && child.NodeType == ExpressionType.Constant && 756case ExpressionType.Constant:
Microsoft\Scripting\Ast\TypeBinaryExpression.cs (1)
89if (Expression.NodeType == ExpressionType.Constant) {
Microsoft\Scripting\Compiler\ConstantCheck.cs (1)
36if (e.NodeType == ExpressionType.Constant) {
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
112case ExpressionType.Constant:
Microsoft\Scripting\Compiler\LambdaCompiler.Generated.cs (1)
79case ExpressionType.Constant:
Microsoft\Scripting\Compiler\StackSpiller.Generated.cs (1)
261case ExpressionType.Constant:
System\Linq\Expressions\ExpressionVisitor.cs (1)
61case ExpressionType.Constant:
System.Data.Entity (14)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (1)
70case ExpressionType.Constant:
System\Data\Objects\ELinq\Funcletizer.cs (5)
236case ExpressionType.Constant: 457if (expression.NodeType == ExpressionType.Constant) 473&& ue.Operand.NodeType == ExpressionType.Constant 503result = expression.NodeType == ExpressionType.Constant 627if (_funcletizedExpression.NodeType == ExpressionType.Constant)
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (3)
100if (input.NodeType == ExpressionType.Constant && 126return expression.NodeType == ExpressionType.Constant && 412if (coalesce.Right.NodeType == ExpressionType.Constant && false.Equals(((ConstantExpression)coalesce.Right).Value))
System\Data\Objects\ELinq\MethodCallTranslator.cs (3)
474if (call.Arguments[0].NodeType != ExpressionType.Constant) 507Debug.Assert(call.Arguments[0].NodeType == ExpressionType.Constant, "Whenever an IncludeSpan MethodCall is inlined, the argument must be a constant"); 1350newArray.Expressions[0].NodeType == ExpressionType.Constant)
System\Data\Objects\ELinq\Translator.cs (2)
61: base(ExpressionType.Constant) { } 1046if (ExpressionType.Constant != expression.NodeType) { return false; }
System.Data.Linq (6)
SqlClient\Query\Funcletizer.cs (4)
42if (e.NodeType == ExpressionType.Constant) { 52if (ue.Operand.NodeType == ExpressionType.Constant) { 106case (ExpressionType)ExpressionType.Constant: 188case ExpressionType.Constant:
SqlClient\Query\QueryConverter.cs (2)
200case ExpressionType.Constant: 293if (fex.NodeType != ExpressionType.Constant ||
System.Data.Services (11)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (1)
149case ExpressionType.Constant:
System\Data\Services\Parsing\FunctionDescription.cs (6)
348Debug.Assert(arguments[0].NodeType == ExpressionType.Constant, "Constant expression expected for argument[0]"); 361Debug.Assert(arguments[1].NodeType == ExpressionType.Constant, "Constant expression expected for argument[1]"); 363Debug.Assert(arguments[2].NodeType == ExpressionType.Constant, "Constant expression expected for argument[2]"); 414Debug.Assert(arguments[0].NodeType == ExpressionType.Constant, "Constant expression expected for argument[0]"); 427Debug.Assert(arguments[1].NodeType == ExpressionType.Constant, "Constant expression expected for argument[1]"); 429Debug.Assert(arguments[2].NodeType == ExpressionType.Constant, "Constant expression expected for argument[2]");
System\Data\Services\Parsing\RequestQueryParser.cs (3)
345if (e.NodeType != ExpressionType.Constant) 1263case ExpressionType.Constant: 1981Debug.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)
149case ExpressionType.Constant:
System\Data\Services\Client\ALinq\Evaluator.cs (1)
158if (e.NodeType == ExpressionType.Constant)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (3)
195if (input.NodeType == ExpressionType.Constant && input.Type == typeof(object)) 221return expression.NodeType == ExpressionType.Constant && 492if (coalesce.Right.NodeType == ExpressionType.Constant && false.Equals(((ConstantExpression)coalesce.Right).Value))
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (3)
49if (le.Body.NodeType == ExpressionType.Constant) 98case ExpressionType.Constant: 477if (e.NodeType != ExpressionType.Constant)
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
81projection.Body.NodeType == ExpressionType.Constant ||