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