2 writes to _restrictionValues
System.Data.Odbc (2)
Common\System\Data\Common\DBConnectionString.cs (2)
115_restrictionValues = ParseRestrictions(restrictions, synonyms); 128_restrictionValues = restrictionValues;
37 references to _restrictionValues
System.Data.Odbc (37)
Common\System\Data\Common\DBConnectionString.cs (37)
162string[]? restrictionValues = _restrictionValues; 213if (!ADP.IsEmptyArray(_restrictionValues)) 215if (!ADP.IsEmptyArray(entry._restrictionValues)) 218restrictionValues = NewRestrictionAllowOnly(entry._restrictionValues, _restrictionValues); 228restrictionValues = entry._restrictionValues; 231else if (!ADP.IsEmptyArray(_restrictionValues)) 233if (!ADP.IsEmptyArray(entry._restrictionValues)) 236restrictionValues = NewRestrictionAllowOnly(_restrictionValues, entry._restrictionValues); 241restrictionValues = _restrictionValues; 251if (ADP.IsEmptyArray(_restrictionValues)) 254restrictionValues = entry._restrictionValues; 256else if (ADP.IsEmptyArray(entry._restrictionValues)) 259restrictionValues = _restrictionValues; 264restrictionValues = NoDuplicateUnion(_restrictionValues, entry._restrictionValues); 267else if (!ADP.IsEmptyArray(_restrictionValues) && !ADP.IsEmptyArray(entry._restrictionValues)) 269if (_restrictionValues.Length <= entry._restrictionValues.Length) 272restrictionValues = NewRestrictionIntersect(_restrictionValues, entry._restrictionValues); 277restrictionValues = NewRestrictionIntersect(entry._restrictionValues, _restrictionValues); 300if ((componentSet != null) && (combinedSet._restrictionValues != null) && (componentSet._restrictionValues != null)) 309Debug.Assert(!combinedSet._restrictionValues.Except(componentSet._restrictionValues).Any(), "Combined set allows values not allowed by component set"); 328Debug.Assert(!combinedSet._restrictionValues.Intersect(componentSet._restrictionValues).Any(), "Combined values allows values prevented by component set"); 335Debug.Assert(!componentSet._restrictionValues.Except(combinedSet._restrictionValues).Any(), "Combined values does not prevent all of the values prevented by the component set"); 352return ((null == _restrictionValues) || (0 > Array.BinarySearch(_restrictionValues, key, StringComparer.Ordinal))); 375if (null != _restrictionValues) 377foreach (string restriction in _restrictionValues)