14 references to BaseStream
mscorlib (6)
system\reflection\emit\customattributebuilder.cs (1)
286m_blob = ((MemoryStream)writer.BaseStream).ToArray();
system\resources\resourcewriter.cs (5)
458int alignBytes = ((int)bw.BaseStream.Position) & 7; 466Contract.Assert((bw.BaseStream.Position & 7) == 0, "ResourceWriter: Name hashes array won't be 8 byte aligned! Ack!"); 483Contract.Assert((bw.BaseStream.Position & 3) == 0, "ResourceWriter: Name positions array won't be 4 byte aligned! Ack!"); 514dataSection.CopyTo(bw.BaseStream); 721objFormatter.Serialize(writer.BaseStream, value);
PresentationBuildTasks (1)
Framework\System\Windows\Markup\BamlVersionHeader.cs (1)
102BamlVersion.SaveToStream(bamlBinaryWriter.BaseStream);
PresentationFramework (1)
src\Framework\System\Windows\Markup\BamlVersionHeader.cs (1)
102BamlVersion.SaveToStream(bamlBinaryWriter.BaseStream);
System.Web (3)
State\SessionStateItemCollection.cs (1)
460Stream baseStream = writer.BaseStream;
UI\ObjectStateFormatter.cs (1)
1031((EventValidationStore)value).SerializeTo(writer.BaseStream);
Util\altserialization.cs (1)
155formatter.Serialize(writer.BaseStream, value);
System.Workflow.ComponentModel (3)
AuthoringOM\Design\DesignerHelpers.cs (3)
1265int activityDataLengthPosition = (int)writer.BaseStream.Length; 1273int activityDataPosition = (int)writer.BaseStream.Length; 1280writer.Write((int)writer.BaseStream.Length - activityDataPosition);