1 type derived from EmptyStructTypeCache
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\EmptyStructTypeCache.cs (1)
62
private sealed class NeverEmptyStructTypeCache :
EmptyStructTypeCache
2 instantiations of EmptyStructTypeCache
Microsoft.CodeAnalysis.CSharp (2)
FlowAnalysis\EmptyStructTypeCache.cs (2)
37
=> new
EmptyStructTypeCache
(compilation, dev12CompilerCompatibility: true);
40
=> new
EmptyStructTypeCache
(null, false);
24 references to EmptyStructTypeCache
Microsoft.CodeAnalysis.CSharp (24)
FlowAnalysis\DefiniteAssignment.cs (6)
177
strictAnalysis ?
EmptyStructTypeCache
.CreatePrecise() :
EmptyStructTypeCache
.CreateForDev12Compatibility(compilation),
195
EmptyStructTypeCache
emptyStructs,
222
: base(compilation, member, node,
EmptyStructTypeCache
.CreateNeverEmpty(), firstInRegion, lastInRegion, trackRegions: true, trackUnassignments: trackUnassignments)
1733
bool fieldsTracked =
EmptyStructTypeCache
.IsTrackableStructType(type);
1768
bool fieldsTracked =
EmptyStructTypeCache
.IsTrackableStructType(type);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (1)
109
if (
EmptyStructTypeCache
.IsTrackableStructType(type))
FlowAnalysis\EmptyStructTypeCache.cs (3)
36
public static
EmptyStructTypeCache
CreateForDev12Compatibility(CSharpCompilation compilation)
39
public static
EmptyStructTypeCache
CreatePrecise()
42
public static
EmptyStructTypeCache
CreateNeverEmpty()
FlowAnalysis\LocalDataFlowPass.cs (3)
32
protected readonly
EmptyStructTypeCache
_emptyStructTypeCache;
38
EmptyStructTypeCache
emptyStructs,
50
EmptyStructTypeCache
emptyStructs,
FlowAnalysis\NullableWalker.cs (7)
463
: base(compilation, symbol, node,
EmptyStructTypeCache
.CreatePrecise(), trackUnassignments: true)
2556
else if (
EmptyStructTypeCache
.IsTrackableStructType(targetType.Type))
2589
Debug.Assert(
EmptyStructTypeCache
.IsTrackableStructType(targetType));
2661
else if (
EmptyStructTypeCache
.IsTrackableStructType(fieldOrPropertyType.Type))
2831
if (
EmptyStructTypeCache
.IsTrackableStructType(parameterType.Type))
3974
if (
EmptyStructTypeCache
.IsTrackableStructType(type))
11490
if (
EmptyStructTypeCache
.IsTrackableStructType(type))
FlowAnalysis\UnassignedVariablesWalker.cs (1)
22
: base(compilation, member, node,
EmptyStructTypeCache
.CreateNeverEmpty())
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
46
EmptyStructTypeCache
.CreateNeverEmpty(),
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
81
private readonly
EmptyStructTypeCache
_emptyStructTypeCache =
EmptyStructTypeCache
.CreateNeverEmpty();