2 writes to _container
WindowsBase (2)
Base\System\IO\Packaging\PackagePart.cs (2)
138
_container
= package;
706
_container
= null;
17 references to _container
WindowsBase (17)
Base\System\IO\Packaging\PackagePart.cs (17)
240
return
_container
;
310
return GetStream(FileMode.OpenOrCreate,
_container
.FileOpenAccess);
332
return GetStream(mode,
_container
.FileOpenAccess);
443
_container
.ThrowIfReadOnly();
463
_container
.ThrowIfReadOnly();
464
_container
.ThrowIfInStreamingCreation("DeleteRelationship");
508
_container
.ThrowIfWriteOnly();
689
else if (
_container
.InStreamingCreation)
692
GetStream(FileMode.CreateNew,
_container
.FileOpenAccess).Close();
732
if (_relationships != null &&
_container
.FileOpenAccess != FileAccess.Read)
744
if (
_container
.InStreamingCreation)
763
if (!
_container
.InStreamingCreation)
814
if((
_container
.FileOpenAccess == FileAccess.Read && access != FileAccess.Read) ||
815
(
_container
.FileOpenAccess == FileAccess.Write && access != FileAccess.Write) )
829
if (
_container
== null)
855
_container
.ThrowIfWriteOnly();
874
_container
.ThrowIfWriteOnly();