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