24 references to UnauthorizedAccessException
Aspire.Cli.Tests (1)
BundleServiceTests.cs (1)
181Assert.True(BundleService.IsRetryableDirectoryMoveException(new UnauthorizedAccessException(), isWindows: true));
Microsoft.Win32.Registry (2)
Microsoft\Win32\RegistryKey.cs (2)
1577new UnauthorizedAccessException(); 1610new UnauthorizedAccessException(),
PresentationCore (1)
MS\Internal\Text\TextInterface\DWriteUtil.cs (1)
24throw new System.UnauthorizedAccessException();
ReachFramework (1)
Packaging\XpsManager.cs (1)
159throw new UnauthorizedAccessException();
System.Diagnostics.EventLog (1)
System\Diagnostics\Reader\EventLogException.cs (1)
40throw new UnauthorizedAccessException();
System.IO.MemoryMappedFiles (2)
System\IO\MemoryMappedFiles\MemoryMappedView.Unix.cs (2)
22throw new UnauthorizedAccessException(); 73throw new UnauthorizedAccessException();
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
877return new System.UnauthorizedAccessException();
System.Security.AccessControl (8)
System\Security\AccessControl\NativeObjectSecurity.cs (2)
103exception = new UnauthorizedAccessException(); 249exception = new UnauthorizedAccessException();
System\Security\AccessControl\Privilege.cs (4)
102throw new UnauthorizedAccessException(); 258throw new UnauthorizedAccessException(); 451throw new UnauthorizedAccessException(); 516throw new UnauthorizedAccessException();
System\Security\AccessControl\Win32.cs (2)
146throw new UnauthorizedAccessException(); 285throw new UnauthorizedAccessException();
System.Security.Principal.Windows (4)
System\Security\Principal\NTAccount.cs (1)
274throw new UnauthorizedAccessException();
System\Security\Principal\SID.cs (1)
1001throw new UnauthorizedAccessException();
System\Security\Principal\Win32.cs (1)
36throw new UnauthorizedAccessException();
System\Security\Principal\WindowsIdentity.cs (1)
843return new UnauthorizedAccessException();
UIAutomationClientSideProviders (3)
MS\Internal\AutomationProxies\Accessible.cs (1)
1360throw new UnauthorizedAccessException();
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
962throw new UnauthorizedAccessException();
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
505throw new UnauthorizedAccessException();