2 writes to _restrictionValues
System.Data (2)
fx\src\data\System\Data\Common\DBConnectionString.cs (2)
118_restrictionValues = ParseRestrictions(restrictions, synonyms); 130_restrictionValues = restrictionValues;
37 references to _restrictionValues
System.Data (37)
fx\src\data\System\Data\Common\DBConnectionString.cs (37)
157string[] restrictionValues = _restrictionValues; 198if (!ADP.IsEmptyArray(_restrictionValues)) { 199if (!ADP.IsEmptyArray(entry._restrictionValues)) { 201restrictionValues = NewRestrictionAllowOnly(entry._restrictionValues, _restrictionValues); 209restrictionValues = entry._restrictionValues; 212else if (!ADP.IsEmptyArray(_restrictionValues)) { // this AllowOnly and entry PreventUsage 213if (!ADP.IsEmptyArray(entry._restrictionValues)) { 215restrictionValues = NewRestrictionAllowOnly(_restrictionValues, entry._restrictionValues); 219restrictionValues = _restrictionValues; 227if (ADP.IsEmptyArray(_restrictionValues)) { 229restrictionValues = entry._restrictionValues; 231else if (ADP.IsEmptyArray(entry._restrictionValues)) { 233restrictionValues = _restrictionValues; 237restrictionValues = NoDuplicateUnion(_restrictionValues, entry._restrictionValues); 240else if (!ADP.IsEmptyArray(_restrictionValues) && !ADP.IsEmptyArray(entry._restrictionValues)) { // both AllowOnly with restrictions 241if (this._restrictionValues.Length <= entry._restrictionValues.Length) { 243restrictionValues = NewRestrictionIntersect(_restrictionValues, entry._restrictionValues); 247restrictionValues = NewRestrictionIntersect(entry._restrictionValues, _restrictionValues); 268if ((componentSet != null) && (combinedSet._restrictionValues != null) && (componentSet._restrictionValues != null)) { 274Debug.Assert(combinedSet._restrictionValues.Except(componentSet._restrictionValues).Count() == 0, "Combined set allows values not allowed by component set"); 289Debug.Assert(combinedSet._restrictionValues.Intersect(componentSet._restrictionValues).Count() == 0, "Combined values allows values prevented by component set"); 295Debug.Assert(componentSet._restrictionValues.Except(combinedSet._restrictionValues).Count() == 0, "Combined values does not prevent all of the values prevented by the component set"); 309return ((null == _restrictionValues) || (0 > Array.BinarySearch(_restrictionValues, key, StringComparer.Ordinal))); 328if (null != _restrictionValues) { 329foreach(string restriction in _restrictionValues) {