7 writes to _mode
System.Configuration.ConfigurationManager (7)
System\Configuration\OverrideModeSetting.cs (7)
28
internal static readonly OverrideModeSetting s_sectionDefault = new OverrideModeSetting {
_mode
= (byte)OverrideMode.Allow };
31
internal static readonly OverrideModeSetting s_locationDefault = new OverrideModeSetting {
_mode
= (byte)OverrideMode.Inherit };
43
result.
_mode
|= XmlDefinedLegacy;
53
result.
_mode
|= XmlDefinedNewMode;
280
_mode
|= ApiDefinedNewMode;
316
_mode
|= ApiDefinedLegacy;
322
_mode
= (byte)mode;
25 references to _mode
System.Configuration.ConfigurationManager (25)
System\Configuration\OverrideModeSetting.cs (25)
88
if ((x.
_mode
& ApiDefinedAny) != 0) result = IsMatchingApiChangedLocationTag(x, y);
92
if ((y.
_mode
& ApiDefinedAny) != 0) result = IsMatchingApiChangedLocationTag(y, x);
97
if (((x.
_mode
& XmlDefinedAny) != 0) ||
98
((y.
_mode
& XmlDefinedAny) != 0))
99
result = (x.
_mode
& XmlDefinedAny) == (y.
_mode
& XmlDefinedAny);
114
Debug.Assert((x.
_mode
& ApiDefinedAny) != 0);
118
if ((y.
_mode
& ApiDefinedAny) != 0)
121
result = (x.
_mode
& ApiDefinedAny) == (y.
_mode
& ApiDefinedAny);
126
if ((y.
_mode
& XmlDefinedAny) != 0)
129
result = (((x.
_mode
& ApiDefinedLegacy) != 0) && ((y.
_mode
& XmlDefinedLegacy) != 0)) ||
131
(((x.
_mode
& ApiDefinedNewMode) != 0) && ((y.
_mode
& XmlDefinedNewMode) != 0));
167
((
_mode
& ApiDefinedAny) == 0) &&
168
((
_mode
& XmlDefinedAny) == 0);
186
if ((
_mode
& ApiDefinedAny) != 0)
189
useLegacy = (
_mode
& ApiDefinedLegacy) != 0;
192
Debug.Assert(useLegacy || ((
_mode
& ApiDefinedNewMode) != 0));
197
if ((
_mode
& XmlDefinedAny) != 0)
201
useLegacy = (
_mode
& XmlDefinedLegacy) != 0;
204
Debug.Assert(useLegacy || ((
_mode
& XmlDefinedNewMode) != 0));
268
get { return (OverrideMode)(
_mode
& ModeMask); }
329
byte current = (byte)(
_mode
& ApiDefinedAny);