186 references to Write
mscorlib (31)
system\reflection\emit\customattributebuilder.cs (3)
404writer.Write((int)value); 448writer.Write(a.Length); 476writer.Write((int)value);
system\resources\resourcewriter.cs (14)
295bw.Write(ResourceManager.MagicNumber); 298bw.Write(ResourceManager.HeaderVersionNumber); 315bw.Write((int)resMgrHeaderBlob.Length); 324bw.Write(RuntimeResourceSet.Version); 335bw.Write(numResources); 413names.Write((int)data.Seek(0, SeekOrigin.Current)); // virtual offset of value. 444bw.Write(typeNames.Count); 471bw.Write(hash); 488bw.Write(pos); 505bw.Write(startOfDataSection); 635writer.Write((Int32) value); 676writer.Write(bytes.Length); 692writer.Write(len); 703writer.Write((int)s.Length);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
120dataWriter.Write(value);
system\security\claims\Claim.cs (4)
570writer.Write((Int32)mask); 571writer.Write((Int32)numberOfPropertiesWritten); 596writer.Write(Properties.Count); 606writer.Write((Int32)userData.Length);
system\security\claims\ClaimsIdentity.cs (4)
1237writer.Write((Int32)mask); 1238writer.Write((Int32)numberOfPropertiesWritten); 1266writer.Write((Int32)m_instanceClaims.Count); 1280writer.Write((Int32)userData.Length);
system\security\claims\ClaimsPrincipal.cs (4)
859writer.Write((Int32)mask); 860writer.Write((Int32)numberOfPropertiesWritten); 863writer.Write(m_identities.Count); 872writer.Write((Int32)userData.Length);
system\security\policy\strongname.cs (1)
218bw.Write(m_version.Major);
PresentationBuildTasks (18)
Base\MS\Internal\IO\Packaging\Compoundfile\ContainerUtilities.cs (1)
149writer.Write(strByteLen);
Core\CSharp\MS\internal\Media\ParserStreamGeometryContext.cs (2)
678_bw.Write(points.Count); 692_bw.Write(scaledIntValue);
Core\CSharp\MS\internal\Media\XamlSerializationHelper.cs (1)
328writer.Write( intValue ) ;
Framework\System\Windows\Markup\BamlRecords.cs (10)
1530bamlBinaryWriter.Write(_valuePosition); 1552bamlBinaryWriter.Write(newPosition); 1717bamlBinaryWriter.Write(_valuePosition); 1739bamlBinaryWriter.Write(newPosition); 3314bamlBinaryWriter.Write((Int32)0); 3315bamlBinaryWriter.Write((Int32)0); 3348bamlBinaryWriter.Write(ConnectionId); 3617bamlBinaryWriter.Write(ContentSize); 3636bamlBinaryWriter.Write(contentSize); 4242bamlBinaryWriter.Write(MaxAsyncRecords);
Framework\System\Windows\Markup\XamlInt32CollectionSerializer.cs (4)
144writer.Write( count ); // Write the count 148writer.Write( ints[0].Value ); 171writer.Write( count ); // Write the count 209writer.Write(
PresentationCore (6)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
142bw.Write(data[i]); 241bw.Write(data);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
2138bw.Write(strkIds[i]);
Core\CSharp\MS\Internal\Media\ParserStreamGeometrycontext.cs (2)
678_bw.Write(points.Count); 692_bw.Write(scaledIntValue);
Core\CSharp\MS\Internal\Media\XamlSerializationHelper.cs (1)
328writer.Write( intValue ) ;
PresentationFramework (27)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (13)
12452_writer.Write((int)s_StfFormatVersion); 12664writer.Write(OpDepth); 12665writer.Write(VDepth); 12666writer.Write(ItemIndex); 12681writer.Write(n); 12742writer.Write(_firstItemInExtendedViewportChildIndex); 12743writer.Write(_firstItemInExtendedViewportIndex); 12745writer.Write(_actualItemsInExtendedViewportCount); 12747writer.Write(_itemsInExtendedViewportCount); 12758writer.Write(_realizedChildren.Count); 12762writer.Write(ci._itemIndex); 12770writer.Write(_effectiveOffsets.Count); 12778writer.Write((int)0);
src\Framework\System\Windows\Markup\BamlRecords.cs (10)
1530bamlBinaryWriter.Write(_valuePosition); 1552bamlBinaryWriter.Write(newPosition); 1717bamlBinaryWriter.Write(_valuePosition); 1739bamlBinaryWriter.Write(newPosition); 3314bamlBinaryWriter.Write((Int32)0); 3315bamlBinaryWriter.Write((Int32)0); 3348bamlBinaryWriter.Write(ConnectionId); 3617bamlBinaryWriter.Write(ContentSize); 3636bamlBinaryWriter.Write(contentSize); 4242bamlBinaryWriter.Write(MaxAsyncRecords);
src\Framework\System\Windows\Markup\XamlFigureLengthSerializer.cs (1)
123writer.Write(intAmount);
src\Framework\System\Windows\Markup\XamlGridLengthSerializer.cs (1)
124writer.Write(intAmount);
src\Framework\System\Windows\Markup\XamlInt32CollectionSerializer.cs (2)
144writer.Write( count ); // Write the count 171writer.Write( count ); // Write the count
System.AddIn (1)
System\Addin\Hosting\AddInStore.cs (1)
1031bw.Write(StoreFileFormatVersion);
System.Data.SqlXml (20)
System\Xml\Xsl\Runtime\XmlCollation.cs (2)
328writer.Write(this.cultInfo != null ? this.cultInfo.LCID : LOCALE_CURRENT); 329writer.Write(this.options);
System\Xml\Xsl\Runtime\XmlQueryStaticData.cs (17)
184dataWriter.Write(0); 187dataWriter.Write(this.whitespaceRules.Count); 195dataWriter.Write(0); 198dataWriter.Write(this.names.Length); 206dataWriter.Write(0); 209dataWriter.Write(this.prefixMappingsList.Length); 211dataWriter.Write(mappings.Length); 221dataWriter.Write(0); 224dataWriter.Write(this.filters.Length); 233dataWriter.Write(0); 236dataWriter.Write(this.types.Length); 244dataWriter.Write(0); 247dataWriter.Write(this.collations.Length); 255dataWriter.Write(0); 258dataWriter.Write(this.globalNames.Length); 266dataWriter.Write(0); 270dataWriter.Write(this.earlyBound.Length);
System\Xml\Xsl\XmlQueryTypeFactory.cs (1)
777writer.Write(this.members.Count);
System.IdentityModel (2)
System\IdentityModel\RsaEncryptionCookieTransform.cs (2)
321bw.Write(encryptedKeyAndIV.Length); 323bw.Write(encryptedData.Length);
System.Transactions (1)
System\Transactions\TransactionManager.cs (1)
510writer.Write( TransactionManager.currentRecoveryVersion );
System.Web (27)
httpstaticobjectscollection.cs (1)
177writer.Write(Count);
State\SessionStateItemCollection.cs (4)
471writer.Write(count); 479writer.Write(i); 487writer.Write(NO_NULL_KEY); 547writer.Write((int)(curPos - iValueStart));
State\SessionStateUtil.cs (1)
117writer.Write(item.Timeout);
StringResourceManager.cs (16)
122writer.Write(0x00000000); 123writer.Write(0x00000020); 124writer.Write(0x0000FFFF); 125writer.Write(0x0000FFFF); 126writer.Write(0x00000000); 127writer.Write(0x00000000); 128writer.Write(0x00000000); 129writer.Write(0x00000000); 132writer.Write(_offset); 135writer.Write(0x00000020); 138writer.Write(StringResourceManager.RESOURCE_TYPE << 16 | 0xFFFF); 141writer.Write(StringResourceManager.RESOURCE_ID << 16 | 0xFFFF); 143writer.Write(0x00000000); 144writer.Write(0x00000000); 145writer.Write(0x00000000); 146writer.Write(0x00000000);
UI\ObjectStateFormatter.cs (2)
1140writer.Write(c.ToArgb()); 1158writer.Write((int)uval.Type);
Util\altserialization.cs (3)
59writer.Write((Int32) value); 73writer.Write((int)bits[i]); 130writer.Write((Int32)v.ToInt32());
System.Web.DataVisualization (12)
Common\Utilities\XmlSerializer.cs (12)
2671 writer.Write(((int)obj)); 2712 writer.Write(((Color)obj).ToArgb()); 2724 writer.Write(((Size)obj).Width); 2725 writer.Write(((Size)obj).Height); 2733 writer.Write(arr.Length); 2747 writer.Write(arr.Length); 2752 writer.Write(color.ToArgb()); 2765 writer.Write(imageSize); 2778 writer.Write(((Margins)obj).Top); 2779 writer.Write(((Margins)obj).Bottom); 2780 writer.Write(((Margins)obj).Left); 2781 writer.Write(((Margins)obj).Right);
System.Windows.Forms (6)
winforms\Managed\System\WinForms\AxHost.cs (6)
6819bw.Write(type); 6820bw.Write(VERSION); 6823bw.Write(licenseKey.Length); 6827bw.Write((int)0); 6829bw.Write((int)0); // skip units 6830bw.Write(length);
System.Windows.Forms.DataVisualization (12)
Common\Utilities\XmlSerializer.cs (12)
2671 writer.Write(((int)obj)); 2712 writer.Write(((Color)obj).ToArgb()); 2724 writer.Write(((Size)obj).Width); 2725 writer.Write(((Size)obj).Height); 2733 writer.Write(arr.Length); 2747 writer.Write(arr.Length); 2752 writer.Write(color.ToArgb()); 2765 writer.Write(imageSize); 2778 writer.Write(((Margins)obj).Top); 2779 writer.Write(((Margins)obj).Bottom); 2780 writer.Write(((Margins)obj).Left); 2781 writer.Write(((Margins)obj).Right);
System.Workflow.ComponentModel (8)
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
714writer.Write(selectedItem);
AuthoringOM\Design\DesignerHelpers.cs (3)
1258writer.Write(designerHost.Container.Components.Count); 1267writer.Write((int)0); 1280writer.Write((int)writer.BaseStream.Length - activityDataPosition);
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
584writer.Write(views.IndexOf(this.activeView));
AuthoringOM\Design\WorkflowView.cs (3)
886writer.Write(this.Zoom); 892writer.Write(this.ScrollPosition.X); 893writer.Write(this.ScrollPosition.Y);
WindowsBase (15)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileReference.cs (3)
135writer.Write( entries ); 145writer.Write( (Int32)RefComponentType.Storage ); 156writer.Write( (Int32)RefComponentType.Stream );
Base\MS\Internal\IO\Packaging\CompoundFile\ContainerUtilities.cs (1)
149writer.Write(strByteLen);
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (4)
272utf8Writer.Write(headerLen); 955utf8Writer.Write(headerLength); 956utf8Writer.Write(utf8ByteLength); 1365writer.Write(length);
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (7)
1151dataSpaceMapWriter.Write( 1154dataSpaceMapWriter.Write( 1173dataSpaceMapWriter.Write((Int32) entryLength); 1294definitionWriter.Write( headerSize ); 1295definitionWriter.Write( definition.TransformStack.Count ); 1473transformWriter.Write(headerLength); 1475transformWriter.Write((int)TransformIdentifierTypes_PredefinedTransformName);