Base:
property
Type
System.Linq.Expressions.Expression.Type
1 override of Type
System.Core (1)
Microsoft\Scripting\Ast\ConstantExpression.cs (1)
97
public sealed override Type
Type
{
32 references to Type
System.Activities (1)
System\Activities\XamlIntegration\ExpressionTreeRewriter.cs (1)
31
if (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)) {
503
string suffix = GetConstantValueSuffix(node.
Type
);
511
node.
Type
.ToString(),
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
107
public Type Type { get { return _node.
Type
; } }
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
467
EmitConstant(node.Value, node.
Type
);
Microsoft\Scripting\Compiler\VariableBinder.cs (2)
71
if (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)
82
Type elementType = TypeSystem.GetElementType(linq.
Type
);
83
if ((elementType != null) && (elementType != linq.
Type
))
105
if (parent.TryGetValueLayerType(linq.
Type
, out type))
121
throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedNullConstant(DescribeClrType(linq.
Type
)));
125
throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedConstant(DescribeClrType(linq.
Type
)));
143
var nonNullableLinqType = TypeSystem.GetNonNullableType(linq.
Type
);
System.Data.Linq (2)
SqlClient\Query\QueryConverter.cs (2)
798
Type type = cons.
Type
;
1964
Type elemType = TypeSystem.GetElementType(c.
Type
);
System.Data.Services (8)
System\Data\Services\Parsing\FunctionDescription.cs (6)
349
Debug.Assert(((ConstantExpression)arguments[0]).
Type
== typeof(ResourceType), "Constant expression type should be ResourceType");
362
Debug.Assert(((ConstantExpression)arguments[1]).
Type
== typeof(ResourceType), "Constant expression type should be ResourceType");
364
Debug.Assert(((ConstantExpression)arguments[2]).
Type
== typeof(bool), "Constant expression type should be boolean");
415
Debug.Assert(((ConstantExpression)arguments[0]).
Type
== typeof(ResourceType), "Constant expression type should be ResourceType");
428
Debug.Assert(((ConstantExpression)arguments[1]).
Type
== typeof(ResourceType), "Constant expression type should be ResourceType");
430
Debug.Assert(((ConstantExpression)arguments[2]).
Type
== typeof(bool), "Constant expression type should be boolean");
System\Data\Services\Parsing\RequestQueryParser.cs (2)
2492
if (ce.
Type
== typeof(string) && (target == typeof(Type) || target == typeof(ResourceType)))
2518
switch (Type.GetTypeCode(ce.
Type
))
System.Data.Services.Client (3)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (1)
724
if (ClientType.CheckElementTypeIsEntity(c.
Type
))
System\Data\Services\Client\ALinq\SkipQueryOptionExpression.cs (1)
62
this.skipAmount.
Type
== typeof(int),
System\Data\Services\Client\ALinq\TakeQueryOptionExpression.cs (1)
62
this.takeAmount.
Type
== typeof(int),
System.Web.Extensions (1)
UI\WebControls\Dynamic.cs (1)
1505
switch (Type.GetTypeCode(ce.
Type
)) {