1 write to SingletonCache
Microsoft.CodeAnalysis.CSharp (1)
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (1)
68
SingletonCache
= new SynthesizedLambdaCacheFieldSymbol(this, this, cacheVariableName, topLevelMethod, isReadOnly: true, isStatic: true);
6 references to SingletonCache
Microsoft.CodeAnalysis.CSharp (6)
Lowering\ClosureConversion\ClosureConversion.cs (2)
560
F.Field(null, frame.
SingletonCache
),
1056
var field = containerAsFrame.
SingletonCache
.AsMember(constructedFrame);
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (4)
117
builder.Add(
SingletonCache
);
132
=> (object)
SingletonCache
!= null
133
? SpecializedCollections.SingletonEnumerable(
SingletonCache
)
137
public override bool IsSerializable => (object)
SingletonCache
!= null;