2 writes to _emptyStructTypeCache
Microsoft.CodeAnalysis.CSharp (2)
FlowAnalysis\LocalDataFlowPass.cs (2)
43_emptyStructTypeCache = emptyStructs; 57_emptyStructTypeCache = emptyStructs;
17 references to _emptyStructTypeCache
Microsoft.CodeAnalysis.CSharp (17)
FlowAnalysis\DefiniteAssignment.cs (12)
102&& !this._emptyStructTypeCache._dev12CompilerCompatibility 436foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(parameterType)) 438if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) continue; 1216foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(containingType)) 1218if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) 1334if (_emptyStructTypeCache.IsEmptyStructType(node.Type)) return true; 1653foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(structType)) 1655if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) continue; 1682Debug.Assert(!_emptyStructTypeCache.IsEmptyStructType(type)); 1691foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(type)) 1718Debug.Assert(!_emptyStructTypeCache.IsEmptyStructType(type)); 1726foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(type))
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (2)
107Debug.Assert(!_emptyStructTypeCache.IsEmptyStructType(type)); 111foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(type))
FlowAnalysis\LocalDataFlowPass.cs (1)
94return _emptyStructTypeCache.IsEmptyStructType(type);
FlowAnalysis\NullableWalker.cs (2)
2725foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(targetType)) 4936if (!_emptyStructTypeCache.IsEmptyStructType(type))