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