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