17 references to FileOpenAccess
WindowsBase (17)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (3)
248
if (package.
FileOpenAccess
!= FileAccess.Write && package.PartExists(_uri))
286
Debug.Assert(_package.
FileOpenAccess
== FileAccess.Read || _package.
FileOpenAccess
== FileAccess.ReadWrite,
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (3)
506
if (_package.
FileOpenAccess
== FileAccess.Write)
794
if (_package.
FileOpenAccess
== FileAccess.Read || _package.
FileOpenAccess
== FileAccess.ReadWrite)
Base\System\IO\Packaging\Package.cs (4)
1013
if (package.
FileOpenAccess
== FileAccess.ReadWrite || package.
FileOpenAccess
== FileAccess.Read)
1079
if (package.
FileOpenAccess
== FileAccess.ReadWrite || package.
FileOpenAccess
== FileAccess.Read)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (1)
1373
return (_container.
FileOpenAccess
== FileAccess.Read);
Base\System\IO\Packaging\PackagePart.cs (6)
310
return GetStream(FileMode.OpenOrCreate, _container.
FileOpenAccess
);
332
return GetStream(mode, _container.
FileOpenAccess
);
692
GetStream(FileMode.CreateNew, _container.
FileOpenAccess
).Close();
732
if (_relationships != null && _container.
FileOpenAccess
!= FileAccess.Read)
814
if((_container.
FileOpenAccess
== FileAccess.Read && access != FileAccess.Read) ||
815
(_container.
FileOpenAccess
== FileAccess.Write && access != FileAccess.Write) )