Base:
property
Type
System.Linq.Expressions.Expression.Type
46 references to Type
System.Activities (1)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (1)
525
EnsureTypeReferenced(methodCall.
Type
, false, typeReferences);
System.Core (13)
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
313
public Type Type { get { return _node.
Type
; } }
Microsoft\Scripting\Ast\MethodCallExpression.cs (1)
62
/// <returns>The <see cref="
Type
"/> that represents the static type of the expression.</returns>
Microsoft\Scripting\Compiler\LambdaCompiler.Binary.cs (3)
107
resultType = TypeUtils.GetNullableType(mc.
Type
);
116
if (mc.
Type
!= typeof(bool)) {
122
resultType = TypeUtils.GetNullableType(mc.
Type
);
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (7)
938
Debug.Assert(TypeUtils.AreEquivalent(TypeUtils.GetNonNullableType(resultType), TypeUtils.GetNonNullableType(mc.
Type
)));
977
if (TypeUtils.IsNullableType(resultType) && !TypeUtils.AreEquivalent(resultType, mc.
Type
)) {
978
ConstructorInfo ci = resultType.GetConstructor(new Type[] { mc.
Type
});
983
if (TypeUtils.AreEquivalent(resultType, TypeUtils.GetNullableType(mc.
Type
))) {
1010
if (TypeUtils.AreEquivalent(resultType, TypeUtils.GetNullableType(mc.
Type
))) {
1068
if (TypeUtils.IsNullableType(resultType) && !TypeUtils.AreEquivalent(resultType, mc.
Type
)) {
1069
ConstructorInfo ci = resultType.GetConstructor(new Type[] { mc.
Type
});
Microsoft\Scripting\Compiler\LambdaCompiler.Unary.cs (1)
340
Type resultType = TypeUtils.GetNullableType(mc.
Type
);
System.Data.Entity (9)
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (1)
216
return Expression.Convert(m.Arguments[0], m.
Type
, m.Method);
System\Data\Objects\ELinq\MethodCallTranslator.cs (8)
619
return ValidateReturnType(result, result.ResultType, parent, call, call.
Type
, false);
1781
result = parent.AlignTypes(result, call.
Type
);
1791
return parent.GetValueLayerType(call.
Type
);
2182
GetDefaultValue(parent, call.
Type
);
2310
result = AddDefaultCase(parent, result, call.
Type
);
2418
element = FirstTranslatorBase.AddDefaultCase(parent, element, call.
Type
);
2721
Type toClrType = TypeSystem.GetElementType(call.
Type
);
2792
parent.EdmItemCollection, TypeSystem.GetElementType(call.
Type
));
System.Data.Linq (14)
SqlClient\Query\QueryConverter.cs (14)
1919
return this.VisitUserQuery((string)GetValue(mc.Arguments[0], mc.Method.Name), GetArray(mc.Arguments[1]), mc.
Type
);
1931
&& mc.
Type
== typeof(bool)
2172
return this.VisitAggregate(mc.Arguments[0], null, SqlNodeType.Count, mc.
Type
);
2176
return this.VisitAggregate(mc.Arguments[0], this.GetLambda(mc.Arguments[1]), SqlNodeType.Count, mc.
Type
);
2182
return this.VisitAggregate(mc.Arguments[0], null, SqlNodeType.LongCount, mc.
Type
);
2186
return this.VisitAggregate(mc.Arguments[0], this.GetLambda(mc.Arguments[1]), SqlNodeType.LongCount, mc.
Type
);
2192
return this.VisitAggregate(mc.Arguments[0], null, SqlNodeType.Sum, mc.
Type
);
2196
return this.VisitAggregate(mc.Arguments[0], this.GetLambda(mc.Arguments[1]), SqlNodeType.Sum, mc.
Type
);
2202
return this.VisitAggregate(mc.Arguments[0], null, SqlNodeType.Min, mc.
Type
);
2206
return this.VisitAggregate(mc.Arguments[0], this.GetLambda(mc.Arguments[1]), SqlNodeType.Min, mc.
Type
);
2212
return this.VisitAggregate(mc.Arguments[0], null, SqlNodeType.Max, mc.
Type
);
2216
return this.VisitAggregate(mc.Arguments[0], this.GetLambda(mc.Arguments[1]), SqlNodeType.Max, mc.
Type
);
2222
return this.VisitAggregate(mc.Arguments[0], null, SqlNodeType.Avg, mc.
Type
);
2226
return this.VisitAggregate(mc.Arguments[0], this.GetLambda(mc.Arguments[1]), SqlNodeType.Avg, mc.
Type
);
System.Data.Services.Client (9)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (1)
322
return Expression.Convert(visited.Arguments[0], visited.
Type
, visited.Method);
System\Data\Services\Client\ALinq\ResourceBinder.cs (6)
545
ResourceExpression resultWithProjection = resultSelectorSource.CreateCloneWithNewType(mce.
Type
);
575
ResourceExpression re = source.CreateCloneWithNewType(mce.
Type
);
757
AddSequenceQueryOption(input, new OrderByQueryOptionExpression(mce.
Type
, selectors));
798
AddSequenceQueryOption(rse, new TakeQueryOptionExpression(mce.
Type
, Expression.Constant(maxCardinality)));
1244
return AnalyzeResourceSetConstantMethod(mce, (callExp, resource, takeCount) => { AddSequenceQueryOption(resource, new TakeQueryOptionExpression(callExp.
Type
, takeCount)); return resource; });
1246
return AnalyzeResourceSetConstantMethod(mce, (callExp, resource, skipCount) => { AddSequenceQueryOption(resource, new SkipQueryOptionExpression(callExp.
Type
, skipCount)); return resource; });
System\Data\Services\Client\ProjectionPlanCompiler.cs (2)
1023
result = this.TypedEnumerableToList(result, call.
Type
);
1091
result = this.TypedEnumerableToList(source, call.
Type
);