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)
162
string[]? restrictionValues =
_restrictionValues
;
213
if (!ADP.IsEmptyArray(
_restrictionValues
))
215
if (!ADP.IsEmptyArray(entry.
_restrictionValues
))
218
restrictionValues = NewRestrictionAllowOnly(entry.
_restrictionValues
,
_restrictionValues
);
228
restrictionValues = entry.
_restrictionValues
;
231
else if (!ADP.IsEmptyArray(
_restrictionValues
))
233
if (!ADP.IsEmptyArray(entry.
_restrictionValues
))
236
restrictionValues = NewRestrictionAllowOnly(
_restrictionValues
, entry.
_restrictionValues
);
241
restrictionValues =
_restrictionValues
;
251
if (ADP.IsEmptyArray(
_restrictionValues
))
254
restrictionValues = entry.
_restrictionValues
;
256
else if (ADP.IsEmptyArray(entry.
_restrictionValues
))
259
restrictionValues =
_restrictionValues
;
264
restrictionValues = NoDuplicateUnion(
_restrictionValues
, entry.
_restrictionValues
);
267
else if (!ADP.IsEmptyArray(
_restrictionValues
) && !ADP.IsEmptyArray(entry.
_restrictionValues
))
269
if (
_restrictionValues
.Length <= entry.
_restrictionValues
.Length)
272
restrictionValues = NewRestrictionIntersect(
_restrictionValues
, entry.
_restrictionValues
);
277
restrictionValues = NewRestrictionIntersect(entry.
_restrictionValues
,
_restrictionValues
);
300
if ((componentSet != null) && (combinedSet.
_restrictionValues
!= null) && (componentSet.
_restrictionValues
!= null))
309
Debug.Assert(!combinedSet.
_restrictionValues
.Except(componentSet.
_restrictionValues
).Any(), "Combined set allows values not allowed by component set");
328
Debug.Assert(!combinedSet.
_restrictionValues
.Intersect(componentSet.
_restrictionValues
).Any(), "Combined values allows values prevented by component set");
335
Debug.Assert(!componentSet.
_restrictionValues
.Except(combinedSet.
_restrictionValues
).Any(), "Combined values does not prevent all of the values prevented by the component set");
352
return ((null ==
_restrictionValues
) || (0 > Array.BinarySearch(
_restrictionValues
, key, StringComparer.Ordinal)));
375
if (null !=
_restrictionValues
)
377
foreach (string restriction in
_restrictionValues
)