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