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; 1215foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(containingType)) 1217if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) 1333if (_emptyStructTypeCache.IsEmptyStructType(node.Type)) return true; 1652foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(structType)) 1654if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) continue; 1681Debug.Assert(!_emptyStructTypeCache.IsEmptyStructType(type)); 1690foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(type)) 1717Debug.Assert(!_emptyStructTypeCache.IsEmptyStructType(type)); 1725foreach (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)
2724foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(targetType)) 4707if (!_emptyStructTypeCache.IsEmptyStructType(type))