185 references to Write
mscorlib (37)
system\io\binarywriter.cs (2)
419
Write
((byte) (v | 0x80));
422
Write
((byte)v);
system\reflection\emit\customattributebuilder.cs (31)
225
writer.
Write
((byte)CustomAttributeEncoding.Property);
277
writer.
Write
((byte)CustomAttributeEncoding.Field);
296
writer.
Write
((byte)CustomAttributeEncoding.SByte);
299
writer.
Write
((byte)CustomAttributeEncoding.Byte);
302
writer.
Write
((byte)CustomAttributeEncoding.Char);
305
writer.
Write
((byte)CustomAttributeEncoding.Boolean);
308
writer.
Write
((byte)CustomAttributeEncoding.Int16);
311
writer.
Write
((byte)CustomAttributeEncoding.UInt16);
314
writer.
Write
((byte)CustomAttributeEncoding.Int32);
317
writer.
Write
((byte)CustomAttributeEncoding.UInt32);
320
writer.
Write
((byte)CustomAttributeEncoding.Int64);
323
writer.
Write
((byte)CustomAttributeEncoding.UInt64);
326
writer.
Write
((byte)CustomAttributeEncoding.Float);
329
writer.
Write
((byte)CustomAttributeEncoding.Double);
338
writer.
Write
((byte)CustomAttributeEncoding.Enum);
343
writer.
Write
((byte)CustomAttributeEncoding.String);
347
writer.
Write
((byte)CustomAttributeEncoding.Type);
351
writer.
Write
((byte)CustomAttributeEncoding.Array);
357
writer.
Write
((byte)CustomAttributeEncoding.Object);
368
writer.
Write
((byte)length);
372
writer.
Write
((byte)((length >> 8) | 0x80));
373
writer.
Write
((byte)(length & 0xff));
377
writer.
Write
((byte)((length >> 24) | 0xc0));
378
writer.
Write
((byte)((length >> 16) & 0xff));
379
writer.
Write
((byte)((length >> 8) & 0xff));
380
writer.
Write
((byte)(length & 0xff));
395
writer.
Write
((byte)value);
423
writer.
Write
((byte)0xff);
430
writer.
Write
((byte)0xff);
461
writer.
Write
((byte)value);
467
writer.
Write
((byte)((bool)value ? 1 : 0));
system\resources\resourcewriter.cs (3)
619
writer.
Write
((byte) value);
735
store.
Write
((byte) (v | 0x80));
738
store.
Write
((byte)v);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
74
dataWriter.
Write
(value);
PresentationBuildTasks (21)
Core\CSharp\MS\internal\Media\ParserStreamGeometryContext.cs (5)
97
_bw.
Write
(packedByte);
239
_bw.
Write
(packMe);
309
_bw.
Write
((byte) ParserGeometryContextOpCodes.Closed);
656
_bw.
Write
(PackByte(opCode, bool1, bool2, isScaledIntegerX, isScaledIntegerY));
675
_bw.
Write
(packedByte);
Core\CSharp\MS\internal\Media\XamlSerializationHelper.cs (5)
311
writer.
Write
( (byte) SerializationFloatType.Zero ) ;
315
writer.
Write
( (byte) SerializationFloatType.One ) ;
319
writer.
Write
( (byte) SerializationFloatType.MinusOne ) ;
327
writer.
Write
( (byte) SerializationFloatType.ScaledInteger ) ;
332
writer.
Write
( (byte) SerializationFloatType.Double ) ;
Framework\System\Windows\Markup\BamlRecords.cs (6)
841
bamlBinaryWriter.
Write
((byte) RecordType);
1094
bamlBinaryWriter.
Write
((byte) RecordType);
2636
bamlBinaryWriter.
Write
((byte)Convert.ChangeType(convertedValue, typeof(byte), TypeConverterHelper.InvariantEnglishUS));
3407
bamlBinaryWriter.
Write
(flags);
3797
bamlBinaryWriter.
Write
(flags);
4848
bamlBinaryWriter.
Write
((Byte)AttributeUsage);
Framework\System\Windows\Markup\XamlBrushSerializer.cs (2)
135
writer.
Write
((byte)SerializationBrushType.KnownSolidColor);
148
writer.
Write
((byte)SerializationBrushType.OtherColor);
Framework\System\Windows\Markup\XamlInt32CollectionSerializer.cs (3)
143
writer.
Write
( (byte) IntegerCollectionType.Consecutive );
170
writer.
Write
( (byte) type );
179
writer.
Write
( (byte)
PresentationCore (22)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (9)
195
bw.
Write
((byte)0xFF);
196
bw.
Write
((byte)0xFF);
201
bw.
Write
((byte)0);
202
bw.
Write
((byte)0);
223
bw.
Write
(data);
286
bw.
Write
((byte)0xFF);
287
bw.
Write
((byte)0xFF);
292
bw.
Write
((byte)0);
293
bw.
Write
((byte)0);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
722
bw.
Write
((byte)0x00);
Core\CSharp\MS\Internal\Media\ParserStreamGeometrycontext.cs (5)
97
_bw.
Write
(packedByte);
239
_bw.
Write
(packMe);
309
_bw.
Write
((byte) ParserGeometryContextOpCodes.Closed);
656
_bw.
Write
(PackByte(opCode, bool1, bool2, isScaledIntegerX, isScaledIntegerY));
675
_bw.
Write
(packedByte);
Core\CSharp\MS\Internal\Media\XamlSerializationHelper.cs (5)
311
writer.
Write
( (byte) SerializationFloatType.Zero ) ;
315
writer.
Write
( (byte) SerializationFloatType.One ) ;
319
writer.
Write
( (byte) SerializationFloatType.MinusOne ) ;
327
writer.
Write
( (byte) SerializationFloatType.ScaledInteger ) ;
332
writer.
Write
( (byte) SerializationFloatType.Double ) ;
Core\CSharp\System\Windows\Media\SolidColorBrush.cs (2)
120
writer.
Write
((byte)SerializationBrushType.KnownSolidColor);
133
writer.
Write
((byte)SerializationBrushType.OtherColor);
PresentationFramework (25)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (4)
12674
writer.
Write
((byte)1);
12680
writer.
Write
((byte)2);
12689
writer.
Write
((byte)0);
12738
writer.
Write
((byte)_boolFieldStore);
src\Framework\System\Windows\Markup\BamlRecords.cs (6)
841
bamlBinaryWriter.
Write
((byte) RecordType);
1094
bamlBinaryWriter.
Write
((byte) RecordType);
2636
bamlBinaryWriter.
Write
((byte)Convert.ChangeType(convertedValue, typeof(byte), TypeConverterHelper.InvariantEnglishUS));
3407
bamlBinaryWriter.
Write
(flags);
3797
bamlBinaryWriter.
Write
(flags);
4848
bamlBinaryWriter.
Write
((Byte)AttributeUsage);
src\Framework\System\Windows\Markup\XamlFigureLengthSerializer.cs (6)
97
writer.
Write
((byte)intAmount);
105
writer.
Write
((byte)(0x80 | unitAndFlags));
106
writer.
Write
((byte)intAmount);
114
writer.
Write
((byte)(0xC0 | unitAndFlags));
122
writer.
Write
((byte)(0xA0 | unitAndFlags));
131
writer.
Write
((byte)(0xE0 | unitAndFlags));
src\Framework\System\Windows\Markup\XamlGridLengthSerializer.cs (6)
98
writer.
Write
((byte)intAmount);
106
writer.
Write
((byte)(0x80 | unitAndFlags));
107
writer.
Write
((byte)intAmount);
115
writer.
Write
((byte)(0xC0 | unitAndFlags));
123
writer.
Write
((byte)(0xA0 | unitAndFlags));
132
writer.
Write
((byte)(0xE0 | unitAndFlags));
src\Framework\System\Windows\Markup\XamlInt32CollectionSerializer.cs (3)
143
writer.
Write
( (byte) IntegerCollectionType.Consecutive );
170
writer.
Write
( (byte) type );
179
writer.
Write
( (byte)
System (2)
security\system\security\cryptography\x509\x509certificate2.cs (2)
221
bw.
Write
(CAPI.PUBLICKEYBLOB); // pPubKeyStruc->bType = PUBLICKEYBLOB
222
bw.
Write
(CAPI.CUR_BLOB_VERSION); // pPubKeyStruc->bVersion = CUR_BLOB_VERSION
System.Activities (4)
System\Activities\Debugger\Symbol\SymbolHelper.cs (2)
70
writer.
Write
((byte)((value & 0x7F) | 0x80));
74
writer.
Write
((byte)value);
System\Activities\Debugger\Symbol\WorkflowSymbol.cs (2)
106
writer.
Write
((byte)(encodingFormat | EncodingFormat.Checksum));
112
writer.
Write
((byte)encodingFormat);
System.Data.SqlXml (1)
System\Xml\Xsl\XmlQueryCardinality.cs (1)
297
writer.
Write
((byte)value);
System.Web (70)
Security\FormsAuthenticationTicketSerializer.cs (4)
165
ticketWriter.
Write
(CURRENT_TICKET_SERIALIZED_VERSION);
173
ticketWriter.
Write
((byte)ticket.Version);
189
ticketWriter.
Write
((byte)0xfe);
218
ticketWriter.
Write
((byte)0xff);
State\SessionStateUtil.cs (1)
138
writer.
Write
(unchecked((byte)0xff));
UI\EventValidationStore.cs (1)
129
writer.
Write
((byte)0x00); // version header
UI\ObjectStateFormatter.cs (42)
831
writer.
Write
(Marker_Format);
832
writer.
Write
(Marker_Version_1);
844
writer.
Write
(Token_IndexedString);
845
writer.
Write
((byte)(int)id);
851
writer.
Write
(Token_IndexedStringAdd);
863
writer.
Write
(Token_TypeRef);
871
writer.
Write
(Token_TypeRefAddLocal);
875
writer.
Write
(Token_TypeRefAdd);
894
writer.
Write
(Token_Null);
903
writer.
Write
(Token_EmptyString);
906
writer.
Write
(Token_String);
915
writer.
Write
(Token_ZeroInt32);
918
writer.
Write
(Token_Int32);
925
writer.
Write
(Token_Pair);
934
writer.
Write
(Token_Triplet);
950
writer.
Write
(Token_ArrayList);
964
writer.
Write
(Token_True);
967
writer.
Write
(Token_False);
972
writer.
Write
(Token_Byte);
973
writer.
Write
((byte)value);
977
writer.
Write
(Token_Char);
982
writer.
Write
(Token_DateTime);
987
writer.
Write
(Token_Double);
992
writer.
Write
(Token_Int16);
997
writer.
Write
(Token_Single);
1006
writer.
Write
(Token_Hashtable);
1010
writer.
Write
(Token_HybridDictionary);
1030
writer.
Write
(Token_EventValidationStore);
1036
writer.
Write
(Token_Type);
1066
writer.
Write
(Token_StringArray);
1094
writer.
Write
(Token_SparseArray);
1110
writer.
Write
(Token_Array);
1124
writer.
Write
(Token_IntEnum);
1135
writer.
Write
(Token_EmptyColor);
1139
writer.
Write
(Token_Color);
1144
writer.
Write
(Token_KnownColor);
1153
writer.
Write
(Token_EmptyUnit);
1156
writer.
Write
(Token_Unit);
1171
writer.
Write
(Token_StringFormatted);
1183
writer.
Write
(Token_BinarySerialized);
1291
Write
((byte)(v | 0x80));
1294
Write
((byte)v);
Util\altserialization.cs (22)
51
writer.
Write
((byte)TypeID.Null);
54
writer.
Write
((byte)TypeID.String);
58
writer.
Write
((byte)TypeID.Int32);
62
writer.
Write
((byte)TypeID.Boolean);
66
writer.
Write
((byte)TypeID.DateTime);
70
writer.
Write
((byte)TypeID.Decimal);
77
writer.
Write
((byte)TypeID.Byte);
78
writer.
Write
((byte) value);
81
writer.
Write
((byte)TypeID.Char);
85
writer.
Write
((byte)TypeID.Single);
89
writer.
Write
((byte)TypeID.Double);
93
writer.
Write
((byte)TypeID.SByte);
97
writer.
Write
((byte)TypeID.Int16);
101
writer.
Write
((byte)TypeID.Int64);
105
writer.
Write
((byte)TypeID.UInt16);
109
writer.
Write
((byte)TypeID.UInt32);
113
writer.
Write
((byte)TypeID.UInt64);
117
writer.
Write
((byte)TypeID.TimeSpan);
121
writer.
Write
((byte)TypeID.Guid);
127
writer.
Write
((byte)TypeID.IntPtr);
138
writer.
Write
((byte)TypeID.UIntPtr);
149
writer.
Write
((byte)TypeID.Object);
System.Web.DataVisualization (1)
Common\Utilities\XmlSerializer.cs (1)
2693
writer.
Write
((byte)obj);
System.Windows.Forms.DataVisualization (1)
Common\Utilities\XmlSerializer.cs (1)
2693
writer.
Write
((byte)obj);
WindowsBase (1)
Base\MS\Internal\IO\Zip\ZipIOExtraFieldPaddingElement.cs (1)
104
writer.
Write
((byte) 0);