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)
101&& !this._emptyStructTypeCache._dev12CompilerCompatibility 499foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(parameterType)) 501if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) continue; 1278foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(containingType)) 1280if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) 1396if (_emptyStructTypeCache.IsEmptyStructType(node.Type)) return true; 1715foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(structType)) 1717if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) continue; 1744Debug.Assert(!_emptyStructTypeCache.IsEmptyStructType(type)); 1753foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(type)) 1780Debug.Assert(!_emptyStructTypeCache.IsEmptyStructType(type)); 1788foreach (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)
2685foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(targetType)) 4578if (!_emptyStructTypeCache.IsEmptyStructType(type))