15 references to GetStream
BuildBoss (2)
CompilerNuGetCheckerUtil.cs (2)
317using var stream = part.GetStream(FileMode.Open, FileAccess.Read); 387using var peReader = new PEReader(part.GetStream(FileMode.Open, FileAccess.Read));
Microsoft.DotNet.NuGetRepack.Tasks (3)
src\NuGetVersionUpdater.cs (1)
137nuspecStream = part.GetStream(FileMode.Open, readOnly ? FileAccess.Read : FileAccess.ReadWrite);
src\ReplacePackageParts.cs (2)
141using (var nuspecStream = part.GetStream(FileMode.Open, FileAccess.ReadWrite)) 203using (var partStream = part.GetStream(FileMode.Open, FileAccess.ReadWrite))
PresentationUI (4)
MS\Internal\Documents\Application\TransactionalPackage.cs (2)
481Stream source = original.GetStream(FileMode.Open, FileAccess.Read); 482Stream target = copy.GetStream(FileMode.Create, FileAccess.ReadWrite);
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (2)
154_activePart.GetStream(FileMode.Open, FileAccess.Read), 207return _activePart.GetStream(mode, access);
ReachFramework (1)
Packaging\XpsDocument.cs (1)
311using (Stream stream = part.GetStream(FileMode.Open, FileAccess.Read))
System.IO.Packaging (5)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
227using (Stream s = part.GetStream(FileMode.Open, FileAccess.Read))
System\IO\Packaging\PackagePart.cs (2)
274return GetStream(FileMode.OpenOrCreate, _container.FileOpenAccess); 296return GetStream(mode, _container.FileOpenAccess);
System\IO\Packaging\PartBasedPackageProperties.cs (2)
481using (Stream stream = part.GetStream(FileMode.Open, FileAccess.Read)) 685zipStream = _propertyPart.GetStream(FileMode.Create, FileAccess.Write);