7 writes to _currentImplicitInstance
Microsoft.CodeAnalysis (7)
Operations\ControlFlowGraphBuilder.Context.cs (1)
43
_currentImplicitInstance
= new ImplicitInstanceInfo(in context);
Operations\ControlFlowGraphBuilder.cs (6)
1472
_currentImplicitInstance
= new ImplicitInstanceInfo(VisitAndCapture(operation.Value));
1476
_currentImplicitInstance
= previousInitializedInstance;
6035
_currentImplicitInstance
= new ImplicitInstanceInfo(initializedInstance);
6042
_currentImplicitInstance
= previousInitializedInstance;
6379
_currentImplicitInstance
= new ImplicitInstanceInfo((INamedTypeSymbol)operation.Type);
6409
_currentImplicitInstance
= savedCurrentImplicitInstance;
15 references to _currentImplicitInstance
Microsoft.CodeAnalysis (15)
Operations\ControlFlowGraphBuilder.Context.cs (3)
36
return new Context(
_currentImplicitInstance
.ImplicitInstance,
_currentImplicitInstance
.AnonymousType,
37
_currentImplicitInstance
.AnonymousTypePropertyValues?.ToImmutableArray() ??
Operations\ControlFlowGraphBuilder.cs (12)
144
builder.
_currentImplicitInstance
.Free();
1471
ImplicitInstanceInfo previousInitializedInstance =
_currentImplicitInstance
;
6034
ImplicitInstanceInfo previousInitializedInstance =
_currentImplicitInstance
;
6377
ImplicitInstanceInfo savedCurrentImplicitInstance =
_currentImplicitInstance
;
6380
Debug.Assert(
_currentImplicitInstance
.AnonymousTypePropertyValues is not null);
6408
_currentImplicitInstance
.Free();
6430
_currentImplicitInstance
.AnonymousTypePropertyValues[initializedProperty] = captured;
6588
if (
_currentImplicitInstance
.ImplicitInstance != null)
6590
return OperationCloner.CloneOperation(
_currentImplicitInstance
.ImplicitInstance);
7144
operation.Property.ContainingType ==
_currentImplicitInstance
.AnonymousType)
7146
Debug.Assert(
_currentImplicitInstance
.AnonymousTypePropertyValues is not null);
7147
if (
_currentImplicitInstance
.AnonymousTypePropertyValues.TryGetValue(operation.Property, out IOperation? captured))