Base:
property
Type
System.Linq.Expressions.Expression.Type
1 override of Type
System.Core (1)
Microsoft\Scripting\Ast\ConstantExpression.cs (1)
97public sealed override Type Type {
32 references to Type
System.Activities (1)
System\Activities\XamlIntegration\ExpressionTreeRewriter.cs (1)
31if (typeof(CompiledDataContext).IsAssignableFrom(constExpr.Type) &&
System.Core (11)
Microsoft\Scripting\Ast\ConstantExpression.cs (1)
56/// <returns>The <see cref="Type"/> that represents the static type of the expression.</returns>
Microsoft\Scripting\Ast\DebugViewWriter.cs (6)
489} else if ((value is string) && node.Type == typeof(string)) { 494} else if ((value is char) && node.Type == typeof(char)) { 499} else if ((value is int) && node.Type == typeof(int) 500|| (value is bool) && node.Type == typeof(bool)) { 503string suffix = GetConstantValueSuffix(node.Type); 511node.Type.ToString(),
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
107public Type Type { get { return _node.Type; } }
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
467EmitConstant(node.Value, node.Type);
Microsoft\Scripting\Compiler\VariableBinder.cs (2)
71if (ILGen.CanEmitConstant(node.Value, node.Type)) { 75_constants.Peek().AddReference(node.Value, node.Type);
System.Data.Entity (6)
System\Data\Objects\ELinq\Translator.cs (6)
82Type elementType = TypeSystem.GetElementType(linq.Type); 83if ((elementType != null) && (elementType != linq.Type)) 105if (parent.TryGetValueLayerType(linq.Type, out type)) 121throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedNullConstant(DescribeClrType(linq.Type))); 125throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedConstant(DescribeClrType(linq.Type))); 143var nonNullableLinqType = TypeSystem.GetNonNullableType(linq.Type);
System.Data.Linq (2)
SqlClient\Query\QueryConverter.cs (2)
798Type type = cons.Type; 1964Type elemType = TypeSystem.GetElementType(c.Type);
System.Data.Services (8)
System\Data\Services\Parsing\FunctionDescription.cs (6)
349Debug.Assert(((ConstantExpression)arguments[0]).Type == typeof(ResourceType), "Constant expression type should be ResourceType"); 362Debug.Assert(((ConstantExpression)arguments[1]).Type == typeof(ResourceType), "Constant expression type should be ResourceType"); 364Debug.Assert(((ConstantExpression)arguments[2]).Type == typeof(bool), "Constant expression type should be boolean"); 415Debug.Assert(((ConstantExpression)arguments[0]).Type == typeof(ResourceType), "Constant expression type should be ResourceType"); 428Debug.Assert(((ConstantExpression)arguments[1]).Type == typeof(ResourceType), "Constant expression type should be ResourceType"); 430Debug.Assert(((ConstantExpression)arguments[2]).Type == typeof(bool), "Constant expression type should be boolean");
System\Data\Services\Parsing\RequestQueryParser.cs (2)
2492if (ce.Type == typeof(string) && (target == typeof(Type) || target == typeof(ResourceType))) 2518switch (Type.GetTypeCode(ce.Type))
System.Data.Services.Client (3)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (1)
724if (ClientType.CheckElementTypeIsEntity(c.Type))
System\Data\Services\Client\ALinq\SkipQueryOptionExpression.cs (1)
62this.skipAmount.Type == typeof(int),
System\Data\Services\Client\ALinq\TakeQueryOptionExpression.cs (1)
62this.takeAmount.Type == typeof(int),
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
1505switch (Type.GetTypeCode(ce.Type)) {