22 references to UnauthorizedAccessException
PresentationUI (2)
MS\Internal\Documents\Application\DocumentStream.cs (2)
173throw new UnauthorizedAccessException( 606throw new UnauthorizedAccessException(
System.Console (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
145new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, path), inner) : 146new UnauthorizedAccessException(SR.UnauthorizedAccess_IODenied_NoPathName, inner);
System.DirectoryServices (1)
System\DirectoryServices\ActiveDirectory\Exception.cs (1)
313exception = new UnauthorizedAccessException(errorMessage, e);
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\exceptions.cs (1)
268exception = new UnauthorizedAccessException(errorMessage, e);
System.Formats.Tar (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
145new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, path), inner) : 146new UnauthorizedAccessException(SR.UnauthorizedAccess_IODenied_NoPathName, inner);
System.IO.FileSystem.DriveInfo (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
145new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, path), inner) : 146new UnauthorizedAccessException(SR.UnauthorizedAccess_IODenied_NoPathName, inner);
System.IO.FileSystem.Watcher (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
145new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, path), inner) : 146new UnauthorizedAccessException(SR.UnauthorizedAccess_IODenied_NoPathName, inner);
System.IO.MemoryMappedFiles (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
145new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, path), inner) : 146new UnauthorizedAccessException(SR.UnauthorizedAccess_IODenied_NoPathName, inner);
System.IO.Pipes (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
145new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, path), inner) : 146new UnauthorizedAccessException(SR.UnauthorizedAccess_IODenied_NoPathName, inner);
System.IO.Ports (3)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
145new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, path), inner) : 146new UnauthorizedAccessException(SR.UnauthorizedAccess_IODenied_NoPathName, inner);
System\IO\Ports\SafeSerialDeviceHandle.Unix.cs (1)
29throw new UnauthorizedAccessException(
System.Private.CoreLib (2)
src\runtime\src\libraries\Common\src\Interop\Unix\Interop.IOErrors.cs (2)
145new UnauthorizedAccessException(SR.Format(SR.UnauthorizedAccess_IODenied_Path, path), inner) : 146new UnauthorizedAccessException(SR.UnauthorizedAccess_IODenied_NoPathName, inner);
System.Security.AccessControl (1)
System\Security\AccessControl\PrivilegeNotHeldException.cs (1)
29: base(SR.Format(SR.PrivilegeNotHeld_Named, privilege), inner)