1 instantiation of ElementInit
System.Core (1)
Microsoft\Scripting\Ast\ElementInit.cs (1)
117
return new
ElementInit
(addMethod, argumentsRO);
109 references to ElementInit
System.Activities (16)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (1)
661
ReadOnlyCollection<
ElementInit
> initializers = list.Initializers;
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (8)
800
ReadOnlyCollection<
ElementInit
> tmpInitializers = listInit.Initializers;
802
List<
ElementInit
> initializers = new List<
ElementInit
>(tmpInitializers.Count);
1157
List<
ElementInit
> initializers = null;
1158
ReadOnlyCollection<
ElementInit
> tmpInitializers = list.Initializers;
1162
initializers = new List<
ElementInit
>(tmpInitializers.Count);
1355
static ParameterExpression FindParameter(ICollection<
ElementInit
> collection)
1357
foreach (
ElementInit
init in collection)
System\Activities\ExpressionUtilities.cs (7)
891
IList<
ElementInit
> initializerList = null;
1247
IList<
ElementInit
> initializerList = null;
1334
static bool TryRewriteLambdaExpressionInitializersCollection(IList<
ElementInit
> initializers, out IList<
ElementInit
> newInitializers, CodeActivityPublicEnvironmentAccessor publicAccessor)
1336
IList<
ElementInit
> temporaryInitializers = null;
1340
ElementInit
elementInit = initializers[i];
1349
temporaryInitializers = new List<
ElementInit
>(initializers.Count);
System.Core (57)
Microsoft\Scripting\Ast\DebugViewWriter.cs (2)
806
protected override
ElementInit
VisitElementInit(
ElementInit
node) {
Microsoft\Scripting\Ast\ElementInit.cs (3)
82
public
ElementInit
Update(IEnumerable<Expression> arguments) {
98
public static
ElementInit
ElementInit(MethodInfo addMethod, params Expression[] arguments) {
108
public static
ElementInit
ElementInit(MethodInfo addMethod, IEnumerable<Expression> arguments) {
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
248
public ReadOnlyCollection<
ElementInit
> Initializers { get { return _node.Initializers; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (3)
152
internal static string ElementInitBindingToString(
ElementInit
node) {
492
protected override
ElementInit
VisitElementInit(
ElementInit
initializer) {
Microsoft\Scripting\Ast\ExpressionVisitor.cs (3)
563
/// Visits the children of the <see cref="
ElementInit
" />.
568
protected virtual
ElementInit
VisitElementInit(
ElementInit
node) {
Microsoft\Scripting\Ast\ListInitExpression.cs (10)
45
private readonly ReadOnlyCollection<
ElementInit
> _initializers;
47
internal ListInitExpression(NewExpression newExpression, ReadOnlyCollection<
ElementInit
> initializers) {
87
public ReadOnlyCollection<
ElementInit
> Initializers {
117
public ListInitExpression Update(NewExpression newExpression, IEnumerable<
ElementInit
> initializers) {
192
ElementInit
[] initList = new
ElementInit
[initializerlist.Count];
196
return ListInit(newExpression, new TrueReadOnlyCollection<
ElementInit
>(initList));
212
public static ListInitExpression ListInit(NewExpression newExpression, params
ElementInit
[] initializers) {
213
return ListInit(newExpression, (IEnumerable<
ElementInit
>)initializers);
226
public static ListInitExpression ListInit(NewExpression newExpression, IEnumerable<
ElementInit
> initializers) {
Microsoft\Scripting\Ast\MemberInitExpression.cs (2)
111
internal static Expression ReduceListInit(Expression listExpression, ReadOnlyCollection<
ElementInit
> initializers, bool keepOnStack) {
117
ElementInit
element = initializers[i];
Microsoft\Scripting\Ast\MemberListBinding.cs (12)
37
ReadOnlyCollection<
ElementInit
> _initializers;
38
internal MemberListBinding(MemberInfo member, ReadOnlyCollection<
ElementInit
> initializers)
48
public ReadOnlyCollection<
ElementInit
> Initializers {
59
public MemberListBinding Update(IEnumerable<
ElementInit
> initializers) {
78
public static MemberListBinding ListBind(MemberInfo member, params
ElementInit
[] initializers) {
81
return ListBind(member, (IEnumerable<
ElementInit
>)initializers);
92
public static MemberListBinding ListBind(MemberInfo member, IEnumerable<
ElementInit
> initializers) {
110
public static MemberListBinding ListBind(MethodInfo propertyAccessor, params
ElementInit
[] initializers) {
113
return ListBind(propertyAccessor, (IEnumerable<
ElementInit
>)initializers);
124
public static MemberListBinding ListBind(MethodInfo propertyAccessor, IEnumerable<
ElementInit
> initializers) {
130
private static void ValidateListInitArgs(Type listType, ReadOnlyCollection<
ElementInit
> initializers) {
135
ElementInit
element = initializers[i];
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (1)
887
private void EmitListInit(ReadOnlyCollection<
ElementInit
> initializers, bool keepOnStack, Type objectType) {
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
581
var initializers = new List<
ElementInit
>(tests);
Microsoft\Scripting\Compiler\StackSpiller.Bindings.cs (5)
126
ReadOnlyCollection<
ElementInit
> _inits;
136
ElementInit
init = _inits[i];
151
ElementInit
[] newInits = new
ElementInit
[_inits.Count];
160
return Expression.ListBind(_binding.Member, new TrueReadOnlyCollection<
ElementInit
>(newInits));
Microsoft\Scripting\Compiler\StackSpiller.cs (5)
584
ReadOnlyCollection<
ElementInit
> inits = node.Initializers;
589
ElementInit
init = inits[i];
603
ElementInit
[] newInits = new
ElementInit
[inits.Count];
612
expr = Expression.ListInit((NewExpression)rewrittenNew, new TrueReadOnlyCollection<
ElementInit
>(newInits));
System\Linq\Expressions\ExpressionVisitor.cs (9)
100
internal virtual
ElementInit
VisitElementInitializer(
ElementInit
initializer) {
209
IEnumerable<
ElementInit
> initializers = this.VisitElementInitializerList(binding.Initializers);
236
internal virtual IEnumerable<
ElementInit
> VisitElementInitializerList(ReadOnlyCollection<
ElementInit
> original)
238
List<
ElementInit
> list = null;
241
ElementInit
init = this.VisitElementInitializer(original[i]);
248
list = new List<
ElementInit
>(n);
292
IEnumerable<
ElementInit
> initializers = this.VisitElementInitializerList(init.Initializers);
System.Data.Entity (9)
System\Data\Objects\ELinq\EntityExpressionVisitor.cs (9)
113
internal virtual
ElementInit
VisitElementInitializer(
ElementInit
initializer)
248
IEnumerable<
ElementInit
> initializers = this.VisitElementInitializerList(binding.Initializers);
281
internal virtual IEnumerable<
ElementInit
> VisitElementInitializerList(ReadOnlyCollection<
ElementInit
> original)
283
List<
ElementInit
> list = null;
286
ElementInit
init = this.VisitElementInitializer(original[i]);
293
list = new List<
ElementInit
>(n);
343
IEnumerable<
ElementInit
> initializers = this.VisitElementInitializerList(init.Initializers);
System.Data.Linq (9)
SqlClient\Query\Funcletizer.cs (9)
231
internal virtual
ElementInit
VisitElementInitializer(
ElementInit
initializer) {
336
IEnumerable<
ElementInit
> initializers = this.VisitElementInitializerList(binding.Initializers);
363
internal virtual IEnumerable<
ElementInit
> VisitElementInitializerList(ReadOnlyCollection<
ElementInit
> original) {
364
List<
ElementInit
> list = null;
366
ElementInit
init = this.VisitElementInitializer(original[i]);
371
list = new List<
ElementInit
>(n);
416
IEnumerable<
ElementInit
> initializers = this.VisitElementInitializerList(init.Initializers);
System.Data.Services (9)
parent\Client\System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (9)
200
internal virtual
ElementInit
VisitElementInitializer(
ElementInit
initializer)
413
IEnumerable<
ElementInit
> initializers = this.VisitElementInitializerList(binding.Initializers);
462
internal virtual IEnumerable<
ElementInit
> VisitElementInitializerList(ReadOnlyCollection<
ElementInit
> original)
464
List<
ElementInit
> list = null;
467
ElementInit
init = this.VisitElementInitializer(original[i]);
474
list = new List<
ElementInit
>(n);
562
IEnumerable<
ElementInit
> initializers = this.VisitElementInitializerList(init.Initializers);
System.Data.Services.Client (9)
System\Data\Services\Client\ALinq\ALinqExpressionVisitor.cs (9)
200
internal virtual
ElementInit
VisitElementInitializer(
ElementInit
initializer)
413
IEnumerable<
ElementInit
> initializers = this.VisitElementInitializerList(binding.Initializers);
462
internal virtual IEnumerable<
ElementInit
> VisitElementInitializerList(ReadOnlyCollection<
ElementInit
> original)
464
List<
ElementInit
> list = null;
467
ElementInit
init = this.VisitElementInitializer(original[i]);
474
list = new List<
ElementInit
>(n);
562
IEnumerable<
ElementInit
> initializers = this.VisitElementInitializerList(init.Initializers);