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);
22 references to EmptyStructTypeCache
Microsoft.CodeAnalysis.CSharp (22)
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) 2617else if (EmptyStructTypeCache.IsTrackableStructType(targetType.Type)) 2650Debug.Assert(EmptyStructTypeCache.IsTrackableStructType(targetType)); 2722else if (EmptyStructTypeCache.IsTrackableStructType(fieldOrPropertyType.Type)) 2892if (EmptyStructTypeCache.IsTrackableStructType(parameterType.Type)) 4035if (EmptyStructTypeCache.IsTrackableStructType(type)) 11548if (EmptyStructTypeCache.IsTrackableStructType(type))
FlowAnalysis\UnassignedVariablesWalker.cs (1)
22: base(compilation, member, node, EmptyStructTypeCache.CreateNeverEmpty())
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
46EmptyStructTypeCache.CreateNeverEmpty(),