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