2 writes to Assigned
Microsoft.CodeAnalysis.CSharp (2)
FlowAnalysis\DefiniteAssignment.cs (2)
2892self.Assigned = other.Assigned.Clone(); 2914this.Assigned = assigned;
30 references to Assigned
Microsoft.CodeAnalysis.CSharp (30)
FlowAnalysis\AlwaysAssignedWalker.cs (1)
54foreach (var i in _endOfRegionState.Assigned.TrueBits())
FlowAnalysis\DefiniteAssignment.cs (25)
1043int oldNext = state.Assigned.Capacity; 1045state.Assigned.EnsureCapacity(n); 1052state.Assigned[slot] && 1061state.Assigned[i] = assign; 1161if (slot >= this.State.Assigned.Capacity) Normalize(ref this.State); 1730if (slot >= state.Assigned.Capacity) Normalize(ref state); 1872result.Assigned[0] = false; // make the state reachable 1972result.Assigned.EnsureCapacity(1); 2821AppendBitNames(state.Assigned, builder); 2854if (self.Assigned.Capacity != other.Assigned.Capacity) 2862self.Assigned[0] = true; 2867for (int slot = 1; slot < self.Assigned.Capacity; slot++) 2869if (other.Assigned[slot] && !self.Assigned[slot]) 2882if (self.Assigned.Capacity != other.Assigned.Capacity) 2888return self.Assigned.IntersectWith(other.Assigned); 2892self.Assigned = other.Assigned.Clone(); 2925return new LocalState(Assigned.Clone()); 2930return /*(slot == -1) || */Assigned[slot]; 2937Assigned[slot] = true; 2944Assigned[slot] = false; 2951return Assigned.Capacity <= 0 || !IsAssigned(0);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (3)
77if (slot >= this.State.Assigned.Capacity) 202stateAtReturn.Assigned.IntersectWith(currentState.CapturedMask); 206state.Assigned.UnionWith(currentState.InvertedCapturedMask);
FlowAnalysis\DefinitelyAssignedWalker.cs (1)
91foreach (var slot in state1.Assigned.TrueBits())