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
475
foreach (var field in
_emptyStructTypeCache
.GetStructInstanceFields(parameter.Type))
477
if (
_emptyStructTypeCache
.IsEmptyStructType(field.Type)) continue;
1220
foreach (var field in
_emptyStructTypeCache
.GetStructInstanceFields(thisParameter.ContainingType))
1222
if (
_emptyStructTypeCache
.IsEmptyStructType(field.Type))
1320
if (
_emptyStructTypeCache
.IsEmptyStructType(node.Type)) return true;
1580
foreach (var field in
_emptyStructTypeCache
.GetStructInstanceFields(structType))
1582
if (
_emptyStructTypeCache
.IsEmptyStructType(field.Type)) continue;
1609
Debug.Assert(!
_emptyStructTypeCache
.IsEmptyStructType(type));
1618
foreach (var field in
_emptyStructTypeCache
.GetStructInstanceFields(type))
1645
Debug.Assert(!
_emptyStructTypeCache
.IsEmptyStructType(type));
1653
foreach (var field in
_emptyStructTypeCache
.GetStructInstanceFields(type))
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (2)
107
Debug.Assert(!
_emptyStructTypeCache
.IsEmptyStructType(type));
111
foreach (var field in
_emptyStructTypeCache
.GetStructInstanceFields(type))
FlowAnalysis\LocalDataFlowPass.cs (1)
94
return
_emptyStructTypeCache
.IsEmptyStructType(type);
FlowAnalysis\NullableWalker.cs (2)
2535
foreach (var field in
_emptyStructTypeCache
.GetStructInstanceFields(targetType))
4025
if (!
_emptyStructTypeCache
.IsEmptyStructType(type))