16 writes to unpersisted
System.DirectoryServices.AccountManagement (16)
System\DirectoryServices\AccountManagement\AuthenticablePrincipal.cs (2)
333
this.
unpersisted
= true;
355
ap.
unpersisted
= false;
System\DirectoryServices\AccountManagement\Computer.cs (2)
22
this.
unpersisted
= true;
101
computer.
unpersisted
= false;
System\DirectoryServices\AccountManagement\Group.cs (2)
22
this.
unpersisted
= true;
242
g.
unpersisted
= false;
System\DirectoryServices\AccountManagement\Principal.cs (5)
319
this.
unpersisted
= false; // once we persist, we're no longer in the unpersisted state
383
this.
unpersisted
= false; // once we persist, we're no longer in the unpersisted state
391
this.
unpersisted
= true;
411
this.
unpersisted
= false; // once we persist, we're no longer in the unpersisted state
792
p.
unpersisted
= false;
System\DirectoryServices\AccountManagement\UnknownPrincipal.cs (2)
23
this.
unpersisted
= true;
32
up.
unpersisted
= false;
System\DirectoryServices\AccountManagement\User.cs (2)
23
this.
unpersisted
= true;
275
u.
unpersisted
= false;
System\DirectoryServices\AccountManagement\Utils.cs (1)
695
g.
unpersisted
= false;
92 references to unpersisted
System.DirectoryServices.AccountManagement (92)
System\DirectoryServices\AccountManagement\AccountInfo.cs (2)
243
if (!_owningPrincipal.
unpersisted
)
260
if (!_owningPrincipal.
unpersisted
)
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (2)
164
Debug.Assert(!p.
unpersisted
);
237
Debug.Assert(!p.
unpersisted
);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (17)
364
Debug.Assert(p.
unpersisted
);
664
Debug.Assert(!p.
unpersisted
);
699
Debug.Assert(!p.
unpersisted
);
796
Debug.Assert(p.
unpersisted
); // should only ever be called for new principals
827
Debug.Assert(!p.
unpersisted
);
922
Debug.Assert(!p.
unpersisted
);
1146
Debug.Assert(!p.
unpersisted
);
1580
Debug.Assert(!p.
unpersisted
);
1628
Debug.Assert(!g.
unpersisted
);
1727
Debug.Assert(!g.
unpersisted
);
1728
Debug.Assert(!p.
unpersisted
);
1872
if (g.
unpersisted
|| g.fakePrincipal)
1877
g.
unpersisted
,
1946
if (member.
unpersisted
|| member.fakePrincipal)
1951
member.
unpersisted
,
1960
if (g.
unpersisted
|| g.fakePrincipal)
1965
g.
unpersisted
,
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (14)
1174
if (p.
unpersisted
&& value == null)
1187
if (p.
unpersisted
&& value == null)
1205
if (p.
unpersisted
&& value == null)
1220
if (!p.
unpersisted
)
1250
if (p.
unpersisted
&& s == null)
1285
SDSUtils.AccountControlToDirectoryEntry(p, propertyName, de, suggestedAdProperty, false, p.
unpersisted
);
1292
if (p.
unpersisted
&& dt == null)
1374
if (p.
unpersisted
&& null == oVal)
1389
if (p.
unpersisted
&& (null == kvp.Value.Value[0]))
1415
if (!p.
unpersisted
)
1540
if (member.
unpersisted
)
1590
Debug.Assert(!member.
unpersisted
);
1643
Debug.Assert(!p.
unpersisted
);
1686
if (p.
unpersisted
)
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (2)
601
if (p.
unpersisted
&& trackingList == null)
677
Debug.Assert(!p.
unpersisted
);
System\DirectoryServices\AccountManagement\AuthenticablePrincipal.cs (2)
35
if (this.
unpersisted
&& (_enabledChanged != LoadState.Changed))
41
this.
unpersisted
,
System\DirectoryServices\AccountManagement\Group.cs (6)
57
if (this.
unpersisted
&& (_isSecurityGroupChanged != LoadState.Changed))
63
this.
unpersisted
,
102
if (this.
unpersisted
&& (_groupScopeChanged != LoadState.Changed))
108
this.
unpersisted
,
151
if (!this.
unpersisted
)
196
if (!this.
unpersisted
)
System\DirectoryServices\AccountManagement\PasswordInfo.cs (5)
94
if ((_cannotChangePasswordChanged != LoadState.Changed) && !_cannotChangePasswordRead && !_owningPrincipal.
unpersisted
)
140
if (_owningPrincipal.
unpersisted
)
162
if (_owningPrincipal.
unpersisted
)
174
if (_owningPrincipal.
unpersisted
)
189
if (_owningPrincipal.
unpersisted
)
System\DirectoryServices\AccountManagement\Principal.cs (15)
35
Debug.Assert(_ctx != null || this.
unpersisted
);
50
Debug.Assert(_ctx != null || this.
unpersisted
);
306
Debug.Assert(this.
unpersisted
);
314
if (this.
unpersisted
)
343
Debug.Assert(this.
unpersisted
);
363
Debug.Assert(this.
unpersisted
);
377
if (this.
unpersisted
)
455
if (this.
unpersisted
)
511
if (this.
unpersisted
)
635
else if (this.
unpersisted
)
804
Debug.Assert(this.
unpersisted
);
808
if (this.
unpersisted
)
951
if (this.
unpersisted
)
991
Debug.Assert(!this.
unpersisted
);
993
else if (!this.
unpersisted
)
System\DirectoryServices\AccountManagement\PrincipalCollection.cs (4)
329
Debug.Assert(storeCtxToUse != null || _owningGroup.
unpersisted
);
382
Debug.Assert(storeCtxToUse != null || _owningGroup.
unpersisted
);
537
if (!_owningGroup.
unpersisted
&& !principal.
unpersisted
)
System\DirectoryServices\AccountManagement\PrincipalSearcher.cs (4)
64
if ((value != null) && (!value.
unpersisted
))
135
if (!_qbeFilter.
unpersisted
)
255
if (!_qbeFilter.
unpersisted
)
304
Debug.Assert(_qbeFilter.
unpersisted
);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (11)
220
Debug.Assert(p.
unpersisted
);
270
Debug.Assert(!p.
unpersisted
);
300
Debug.Assert(!p.
unpersisted
);
370
Debug.Assert(p.
unpersisted
); // should only ever be called for new principals
387
Debug.Assert(!p.
unpersisted
);
413
Debug.Assert(!p.
unpersisted
);
458
Debug.Assert(!p.
unpersisted
);
483
Debug.Assert(!p.
unpersisted
);
611
Debug.Assert(!p.
unpersisted
);
715
Debug.Assert(!p.
unpersisted
);
750
Debug.Assert(!g.
unpersisted
);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (7)
912
if (p.
unpersisted
&& value == null)
932
if (p.
unpersisted
&& value == null)
989
if (p.
unpersisted
&& value == null)
1003
SDSUtils.AccountControlToDirectoryEntry(p, propertyName, de, suggestedWinNTProperty, true, p.
unpersisted
);
1080
if (member.
unpersisted
)
1115
Debug.Assert(!member.
unpersisted
);
1149
Debug.Assert(!p.
unpersisted
);
System\DirectoryServices\AccountManagement\User.cs (1)
290
if (this.
unpersisted
)