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