2 writes to _container
System.IO.Packaging (2)
System\IO\Packaging\PackagePart.cs (2)
113
_container
= package;
640
_container
= null!;
12 references to _container
System.IO.Packaging (12)
System\IO\Packaging\PackagePart.cs (12)
210
return
_container
;
274
return GetStream(FileMode.OpenOrCreate,
_container
.FileOpenAccess);
296
return GetStream(mode,
_container
.FileOpenAccess);
411
_container
.ThrowIfReadOnly();
431
_container
.ThrowIfReadOnly();
475
_container
.ThrowIfWriteOnly();
659
if (_relationships != null &&
_container
.FileOpenAccess != FileAccess.Read)
705
if ((
_container
.FileOpenAccess == FileAccess.Read && access != FileAccess.Read) ||
706
(
_container
.FileOpenAccess == FileAccess.Write && access != FileAccess.Write))
720
if (
_container
== null)
746
_container
.ThrowIfWriteOnly();
765
_container
.ThrowIfWriteOnly();