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