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 475foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(parameter.Type)) 477if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) continue; 1220foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(thisParameter.ContainingType)) 1222if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) 1320if (_emptyStructTypeCache.IsEmptyStructType(node.Type)) return true; 1580foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(structType)) 1582if (_emptyStructTypeCache.IsEmptyStructType(field.Type)) continue; 1609Debug.Assert(!_emptyStructTypeCache.IsEmptyStructType(type)); 1618foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(type)) 1645Debug.Assert(!_emptyStructTypeCache.IsEmptyStructType(type)); 1653foreach (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)
2535foreach (var field in _emptyStructTypeCache.GetStructInstanceFields(targetType)) 4025if (!_emptyStructTypeCache.IsEmptyStructType(type))