Base:
property
NodeType
System.Linq.Expressions.Expression.NodeType
1 write to NodeType
System.Linq.Expressions (1)
System\Linq\Expressions\UnaryExpression.cs (1)
22NodeType = nodeType;
32 references to NodeType
Microsoft.AspNetCore.Components.Forms (1)
FieldIdentifier.cs (1)
101&& unaryExpression.NodeType == ExpressionType.Convert
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ModelStateDictionaryExtensions.cs (1)
166return expression?.NodeType == ExpressionType.Convert &&
System.Linq.Expressions (30)
System\Linq\Expressions\Compiler\LambdaCompiler.Address.cs (1)
209Debug.Assert(node.NodeType == ExpressionType.Unbox);
System\Linq\Expressions\Compiler\LambdaCompiler.Unary.cs (4)
72else if (node.NodeType == ExpressionType.NegateChecked && node.Operand.Type.IsInteger()) 116EmitUnaryOperator(node.NodeType, node.Operand.Type, node.Type); 344_ilg.EmitConvertToType(node.Operand.Type, node.Type, node.NodeType == ExpressionType.ConvertChecked, this); 358EmitLift(node.NodeType, resultType, mc, new ParameterExpression[] { v }, new Expression[] { node.Operand });
System\Linq\Expressions\Compiler\StackSpiller.cs (3)
605Debug.Assert(node.NodeType != ExpressionType.Quote, "unexpected Quote"); 606Debug.Assert(node.NodeType != ExpressionType.Throw, "unexpected Throw"); 618expr = new UnaryExpression(node.NodeType, expression.Node, node.Type, node.Method);
System\Linq\Expressions\Compiler\VariableBinder.cs (1)
71if (node.NodeType == ExpressionType.Quote)
System\Linq\Expressions\DebugViewWriter.cs (2)
879switch (node.NodeType) 944switch (node.NodeType)
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
488public ExpressionType NodeType => _node.NodeType;
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
602switch (node.NodeType) 631switch (node.NodeType)
System\Linq\Expressions\Interpreter\LightCompiler.cs (5)
1109CompileConvertToType(node.Operand.Type, node.Type, node.NodeType == ExpressionType.ConvertChecked, node.IsLiftedToNull); 1235switch (node.NodeType) 1272throw new PlatformNotSupportedException(SR.Format(SR.UnsupportedExpressionType, node.NodeType)); 1311_instructions.EmitLoad(node.NodeType == ExpressionType.IsTrue); 1318_instructions.EmitLoad(node.NodeType == ExpressionType.IsTrue);
System\Linq\Expressions\UnaryExpression.cs (11)
58if (NodeType == ExpressionType.TypeAs || NodeType == ExpressionType.Quote || NodeType == ExpressionType.Throw) 94switch (NodeType) 133get { return NodeType == ExpressionType.PreIncrementAssign || NodeType == ExpressionType.PreDecrementAssign; } 139if (NodeType == ExpressionType.PreIncrementAssign || NodeType == ExpressionType.PostIncrementAssign) 145Debug.Assert(NodeType == ExpressionType.PreDecrementAssign || NodeType == ExpressionType.PostDecrementAssign); 288return Expression.MakeUnary(NodeType, operand, Type, Method);