18 references to OpenAccess
WindowsBase (18)
Base\MS\Internal\IO\Packaging\StorageBasedPackageProperties.cs (1)
89SafeNativeCompoundFileMethods.UpdateModeFlagFromFileAccess(root.OpenAccess, ref _grfMode);
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (3)
546if (FileAccess.Read != _associatedStorage.OpenAccess && DirtyFlag) 832if (_associatedStorage.OpenAccess == FileAccess.Read) 1379if (_associatedStorage.OpenAccess == FileAccess.Read)
Base\System\IO\Packaging\CompoundFile\StorageInfo.cs (1)
794if( FileAccess.Read == Root.OpenAccess )
Base\System\IO\Packaging\CompoundFile\StreamInfo.cs (9)
241return GetStream( defaultFileOpenMode, parentStorage.Root.OpenAccess ); 251return GetStream( mode, parentStorage.Root.OpenAccess ); 273if (parentStorage.Root.OpenAccess == FileAccess.ReadWrite) 342if( FileAccess.Read != parentStorage.Root.OpenAccess && 414return Create( defaultFileCreateMode, parentStorage.Root.OpenAccess, defaultDataSpace ); 424return Create( mode, parentStorage.Root.OpenAccess, defaultDataSpace ); 434return Create( defaultFileCreateMode, parentStorage.Root.OpenAccess, dataSpaceLabel ); 486if (parentStorage.Root.OpenAccess == FileAccess.ReadWrite) 592if( FileAccess.Read == parentStorage.Root.OpenAccess )
Base\System\IO\Packaging\EncryptedPackage.cs (4)
117if (_root.OpenAccess != FileAccess.ReadWrite) 213if (_root.OpenAccess != FileAccess.ReadWrite) 709return _root.OpenAccess; 1153_root.OpenAccess,