1 type derived from EmptyStructTypeCache
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\EmptyStructTypeCache.cs (1)
68
private sealed class NeverEmptyStructTypeCache :
EmptyStructTypeCache
2 instantiations of EmptyStructTypeCache
Microsoft.CodeAnalysis.CSharp (2)
FlowAnalysis\EmptyStructTypeCache.cs (2)
43
=> new
EmptyStructTypeCache
(compilation, dev12CompilerCompatibility: true);
46
=> new
EmptyStructTypeCache
(null, false);
24 references to EmptyStructTypeCache
Microsoft.CodeAnalysis.CSharp (24)
FlowAnalysis\DefiniteAssignment.cs (6)
178
strictAnalysis ?
EmptyStructTypeCache
.CreatePrecise() :
EmptyStructTypeCache
.CreateForDev12Compatibility(compilation),
196
EmptyStructTypeCache
emptyStructs,
223
: base(compilation, member, node,
EmptyStructTypeCache
.CreateNeverEmpty(), firstInRegion, lastInRegion, trackRegions: true, trackUnassignments: trackUnassignments)
1613
bool fieldsTracked =
EmptyStructTypeCache
.IsTrackableStructType(type);
1648
bool fieldsTracked =
EmptyStructTypeCache
.IsTrackableStructType(type);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (1)
109
if (
EmptyStructTypeCache
.IsTrackableStructType(type))
FlowAnalysis\EmptyStructTypeCache.cs (3)
42
public static
EmptyStructTypeCache
CreateForDev12Compatibility(CSharpCompilation compilation)
45
public static
EmptyStructTypeCache
CreatePrecise()
48
public static
EmptyStructTypeCache
CreateNeverEmpty()
FlowAnalysis\LocalDataFlowPass.cs (3)
32
protected readonly
EmptyStructTypeCache
_emptyStructTypeCache;
38
EmptyStructTypeCache
emptyStructs,
50
EmptyStructTypeCache
emptyStructs,
FlowAnalysis\NullableWalker.cs (7)
430
: base(compilation, symbol, node,
EmptyStructTypeCache
.CreatePrecise(), trackUnassignments: true)
2489
else if (
EmptyStructTypeCache
.IsTrackableStructType(targetType.Type))
2522
Debug.Assert(
EmptyStructTypeCache
.IsTrackableStructType(targetType));
2594
else if (
EmptyStructTypeCache
.IsTrackableStructType(fieldOrPropertyType.Type))
2753
if (
EmptyStructTypeCache
.IsTrackableStructType(parameterType.Type))
3574
if (
EmptyStructTypeCache
.IsTrackableStructType(type))
10569
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();