Base:
property
Type
System.Linq.Expressions.Expression.Type
1 override of Type
System.Linq.Expressions (1)
System\Linq\Expressions\NewExpression.cs (1)
104public sealed override Type Type { get; }
19 references to Type
System.Linq.Expressions (19)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (9)
636Debug.Assert(node.Type.IsValueType, "Only value type may have constructor not set."); 637LocalBuilder temp = GetLocal(node.Type); 639_ilg.Emit(OpCodes.Initobj, node.Type); 1011if (init.NewExpression.Type.IsValueType && init.Bindings.Count > 0) 1013loc = GetLocal(init.NewExpression.Type); 1017EmitMemberInit(init.Bindings, loc == null, init.NewExpression.Type); 1055if (init.NewExpression.Type.IsValueType) 1057loc = GetLocal(init.NewExpression.Type); 1061EmitListInit(init.Initializers, loc == null, init.NewExpression.Type);
System\Linq\Expressions\DebugViewWriter.cs (1)
805Out(".New " + node.Type.ToString());
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
363public Type Type => _node.Type;
System\Linq\Expressions\ExpressionStringBuilder.cs (2)
417node.NewExpression.Type.Name.Contains('<')) 561Out(node.Type.Name);
System\Linq\Expressions\Interpreter\LightCompiler.cs (1)
2425Type type = node.Type;
System\Linq\Expressions\ListInitExpression.cs (3)
40public sealed override Type Type => NewExpression.Type; 133MethodInfo? addMethod = FindMethod(newExpression.Type, "Add", null, new Expression[] { initializerlist[0] }, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 211ValidateListInitArgs(newExpression.Type, initializerlist, nameof(newExpression));
System\Linq\Expressions\MemberInitExpression.cs (2)
27public sealed override Type Type => NewExpression.Type; 162ValidateMemberInitArgs(newExpression.Type, roBindings);