2 writes to initialState
System.Security.AccessControl (2)
System\Security\AccessControl\Privilege.cs (2)
468
this.
initialState
= ((previousState.Privileges.Attributes & Interop.Advapi32.SEPrivileges.SE_PRIVILEGE_ENABLED) != 0);
582
this.
initialState
= false;
2 references to initialState
System.Security.AccessControl (2)
System\Security\AccessControl\Privilege.cs (2)
474
this.stateWasChanged = (this.
initialState
!= enable);
541
newState.Privileges.Attributes = (this.
initialState
? Interop.Advapi32.SEPrivileges.SE_PRIVILEGE_ENABLED : Interop.Advapi32.SEPrivileges.SE_PRIVILEGE_DISABLED);