1 write to SiteInitialization
Microsoft.CodeAnalysis.CSharp (1)
Lowering\LocalRewriter\LoweredDynamicOperation.cs (1)
34
this.
SiteInitialization
= siteInitialization;
12 references to SiteInitialization
Microsoft.CodeAnalysis.CSharp (12)
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (8)
344
Debug.Assert(setMember.
SiteInitialization
is { });
345
dynamicSiteInitializers.Add(setMember.
SiteInitialization
);
356
Debug.Assert(getMember.
SiteInitialization
is { });
357
dynamicSiteInitializers.Add(getMember.
SiteInitialization
);
388
Debug.Assert(setMember.
SiteInitialization
is { });
389
dynamicSiteInitializers.Add(setMember.
SiteInitialization
);
395
Debug.Assert(getMember.
SiteInitialization
is { });
396
dynamicSiteInitializers.Add(getMember.
SiteInitialization
);
Lowering\LocalRewriter\LoweredDynamicOperation.cs (4)
63
Debug.Assert(
SiteInitialization
== null && SiteInvocation is BoundBadExpression && _temps.IsDefaultOrEmpty);
68
Debug.Assert(
SiteInitialization
is { });
71
return _factory.Sequence(new[] {
SiteInitialization
}, SiteInvocation, _resultType);
75
return new BoundSequence(_factory.Syntax, _temps, ImmutableArray.Create(
SiteInitialization
), SiteInvocation, _resultType) { WasCompilerGenerated = true };