17 references to ReadSubTree
mscorlib (16)
microsoft\win32\registrykey.cs (14)
311
return CreateSubKeyInternal(subkey, writable ? RegistryKeyPermissionCheck.ReadWriteSubTree : RegistryKeyPermissionCheck.
ReadSubTree
, null, RegistryOptions.None);
317
return CreateSubKeyInternal(subkey, writable ? RegistryKeyPermissionCheck.ReadWriteSubTree : RegistryKeyPermissionCheck.
ReadSubTree
, null, options);
353
RegistryKey key = InternalOpenSubKey(subkey, (permissionCheck != RegistryKeyPermissionCheck.
ReadSubTree
));
389
GetRegistryKeyAccess(permissionCheck != RegistryKeyPermissionCheck.
ReadSubTree
) | (int)regView,
395
RegistryKey key = new RegistryKey(result, (permissionCheck != RegistryKeyPermissionCheck.
ReadSubTree
), false, remoteKey, false, regView);
1867
BCLDebug.Assert(checkMode != RegistryKeyPermissionCheck.
ReadSubTree
, "We shouldn't allow creating sub key under read-only key!");
1881
BCLDebug.Assert(checkMode != RegistryKeyPermissionCheck.
ReadSubTree
, "We shouldn't allow creating sub key under read-only key!");
1911
BCLDebug.Assert(checkMode != RegistryKeyPermissionCheck.
ReadSubTree
, "We shouldn't allow writing value to read-only key!");
1950
BCLDebug.Assert(checkMode != RegistryKeyPermissionCheck.
ReadSubTree
, "We shouldn't allow writing value to read-only key!");
1965
BCLDebug.Assert(checkMode != RegistryKeyPermissionCheck.
ReadSubTree
, "We shouldn't allow creating value under read-only key!");
1995
if( subKeyCheck == RegistryKeyPermissionCheck.
ReadSubTree
) {
2036
if( subKeyWritable && (checkMode == RegistryKeyPermissionCheck.
ReadSubTree
)) {
2121
case RegistryKeyPermissionCheck.
ReadSubTree
:
2147
return RegistryKeyPermissionCheck.
ReadSubTree
;
system\runtime\interopservices\registrationservices.cs (2)
965
RegistryKeyPermissionCheck.
ReadSubTree
))
974
RegistryKeyPermissionCheck.
ReadSubTree
))
WindowsBase (1)
Base\System\Windows\BaseCompatibilityPreferences.cs (1)
251
using (var regKey = Registry.CurrentUser.OpenSubKey(WpfPackagingSubKeyPath, RegistryKeyPermissionCheck.
ReadSubTree
))