1 type derived from EmptyStructTypeCache
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\EmptyStructTypeCache.cs (1)
62private 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)
177strictAnalysis ? EmptyStructTypeCache.CreatePrecise() : EmptyStructTypeCache.CreateForDev12Compatibility(compilation), 195EmptyStructTypeCache emptyStructs, 222: base(compilation, member, node, EmptyStructTypeCache.CreateNeverEmpty(), firstInRegion, lastInRegion, trackRegions: true, trackUnassignments: trackUnassignments) 1733bool fieldsTracked = EmptyStructTypeCache.IsTrackableStructType(type); 1768bool fieldsTracked = EmptyStructTypeCache.IsTrackableStructType(type);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (1)
109if (EmptyStructTypeCache.IsTrackableStructType(type))
FlowAnalysis\EmptyStructTypeCache.cs (3)
36public static EmptyStructTypeCache CreateForDev12Compatibility(CSharpCompilation compilation) 39public static EmptyStructTypeCache CreatePrecise() 42public static EmptyStructTypeCache CreateNeverEmpty()
FlowAnalysis\LocalDataFlowPass.cs (3)
32protected readonly EmptyStructTypeCache _emptyStructTypeCache; 38EmptyStructTypeCache emptyStructs, 50EmptyStructTypeCache emptyStructs,
FlowAnalysis\NullableWalker.cs (7)
463: base(compilation, symbol, node, EmptyStructTypeCache.CreatePrecise(), trackUnassignments: true) 2556else if (EmptyStructTypeCache.IsTrackableStructType(targetType.Type)) 2589Debug.Assert(EmptyStructTypeCache.IsTrackableStructType(targetType)); 2661else if (EmptyStructTypeCache.IsTrackableStructType(fieldOrPropertyType.Type)) 2831if (EmptyStructTypeCache.IsTrackableStructType(parameterType.Type)) 3974if (EmptyStructTypeCache.IsTrackableStructType(type)) 11490if (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();