6 writes to checkMode
mscorlib (6)
microsoft\win32\registrykey.cs (6)
357
key.
checkMode
= permissionCheck;
397
key.
checkMode
= permissionCheck;
638
key.
checkMode
= RegistryKeyPermissionCheck.Default;
708
key.
checkMode
= RegistryKeyPermissionCheck.Default;
744
key.
checkMode
= GetSubKeyPermissonCheck(writable);
804
key.
checkMode
= permissionCheck;
23 references to checkMode
mscorlib (23)
microsoft\win32\registrykey.cs (23)
289
return CreateSubKey(subkey,
checkMode
);
774
return InternalOpenSubKey(name, this.
checkMode
, (int)rights);
1855
BCLDebug.Assert(
checkMode
== RegistryKeyPermissionCheck.Default, "Should be called from a key opened under default mode only!");
1867
BCLDebug.Assert(
checkMode
!= RegistryKeyPermissionCheck.ReadSubTree, "We shouldn't allow creating sub key under read-only key!");
1870
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
1881
BCLDebug.Assert(
checkMode
!= RegistryKeyPermissionCheck.ReadSubTree, "We shouldn't allow creating sub key under read-only key!");
1884
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
1900
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
1911
BCLDebug.Assert(
checkMode
!= RegistryKeyPermissionCheck.ReadSubTree, "We shouldn't allow writing value to read-only key!");
1914
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
1939
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
1950
BCLDebug.Assert(
checkMode
!= RegistryKeyPermissionCheck.ReadSubTree, "We shouldn't allow writing value to read-only key!");
1954
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
1965
BCLDebug.Assert(
checkMode
!= RegistryKeyPermissionCheck.ReadSubTree, "We shouldn't allow creating value under read-only key!");
1969
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
1980
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
1996
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
2007
if(
checkMode
!= RegistryKeyPermissionCheck.ReadWriteSubTree) {
2026
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
2036
if( subKeyWritable && (
checkMode
== RegistryKeyPermissionCheck.ReadSubTree)) {
2054
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
2139
if(
checkMode
== RegistryKeyPermissionCheck.Default) {
2140
return
checkMode
;