121 references to Write
mscorlib (4)
system\reflection\emit\customattributebuilder.cs (2)
398writer.Write((short)value); 470writer.Write((short)value);
system\resources\resourcewriter.cs (1)
627writer.Write((Int16) value);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
115dataWriter.Write(value);
PresentationBuildTasks (44)
Base\System\IO\Packaging\Compoundfile\FormatVersion.cs (6)
337binarywriter.Write(_reader.Major); // Major number 338binarywriter.Write(_reader.Minor); // Minor number 350binarywriter.Write(_updater.Major); // Major number 351binarywriter.Write(_updater.Minor); // Minor number 363binarywriter.Write(_writer.Major); // Major number 364binarywriter.Write(_writer.Minor); // Minor number
Framework\System\Windows\Markup\BamlRecords.cs (38)
1220bamlBinaryWriter.Write(count); 1226bamlBinaryWriter.Write(AssemblyIds[i]); 1306bamlBinaryWriter.Write(AssemblyId); 1715bamlBinaryWriter.Write(ValueId); 1908bamlBinaryWriter.Write(NameId); 2003bamlBinaryWriter.Write(NameId); 2084bamlBinaryWriter.Write(AttributeId); 2157bamlBinaryWriter.Write(AttributeId); 2158bamlBinaryWriter.Write(StringId); 2224bamlBinaryWriter.Write(AttributeId); 2225bamlBinaryWriter.Write(TypeId); 2288bamlBinaryWriter.Write(ConverterTypeId); 2354bamlBinaryWriter.Write(AttributeId); 2429bamlBinaryWriter.Write(AttributeId); 2439bamlBinaryWriter.Write(extensionTypeId); 2440bamlBinaryWriter.Write(ValueId); 2567bamlBinaryWriter.Write(AttributeId); 2578bamlBinaryWriter.Write((short)(serializerTypeId | TypeIdValueMask)); 2582bamlBinaryWriter.Write(serializerTypeId); 2587bamlBinaryWriter.Write(ValueId); 2598bamlBinaryWriter.Write(serializerTypeId); 3074bamlBinaryWriter.Write(TypeId); 3243bamlBinaryWriter.Write(AttributeId); 3405bamlBinaryWriter.Write(TypeId); 3798bamlBinaryWriter.Write(ValueId); 3912bamlBinaryWriter.Write(StaticResourceId); 3991bamlBinaryWriter.Write(AttributeId); 3992bamlBinaryWriter.Write(StaticResourceId); 4082bamlBinaryWriter.Write(ValueId); 4137bamlBinaryWriter.Write(ConverterTypeId); 4411bamlBinaryWriter.Write(AssemblyId); 4540bamlBinaryWriter.Write(TypeId); 4542bamlBinaryWriter.Write((short)(((ushort)AssemblyId) | (((ushort)_typeInfoFlags) << 12))); 4741bamlBinaryWriter.Write(SerializerTypeId); 4846bamlBinaryWriter.Write(AttributeId); 4847bamlBinaryWriter.Write(OwnerTypeId); 5240bamlBinaryWriter.Write(StringId); 5350bamlBinaryWriter.Write(AttributeId);
PresentationCore (3)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
128bw.Write(data[i]); 229bw.Write(data);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
723bw.Write((short)sFraction);
PresentationFramework (41)
src\Framework\System\Windows\Markup\BamlRecords.cs (39)
1220bamlBinaryWriter.Write(count); 1226bamlBinaryWriter.Write(AssemblyIds[i]); 1306bamlBinaryWriter.Write(AssemblyId); 1715bamlBinaryWriter.Write(ValueId); 1908bamlBinaryWriter.Write(NameId); 2003bamlBinaryWriter.Write(NameId); 2084bamlBinaryWriter.Write(AttributeId); 2157bamlBinaryWriter.Write(AttributeId); 2158bamlBinaryWriter.Write(StringId); 2224bamlBinaryWriter.Write(AttributeId); 2225bamlBinaryWriter.Write(TypeId); 2288bamlBinaryWriter.Write(ConverterTypeId); 2354bamlBinaryWriter.Write(AttributeId); 2429bamlBinaryWriter.Write(AttributeId); 2439bamlBinaryWriter.Write(extensionTypeId); 2440bamlBinaryWriter.Write(ValueId); 2567bamlBinaryWriter.Write(AttributeId); 2578bamlBinaryWriter.Write((short)(serializerTypeId | TypeIdValueMask)); 2582bamlBinaryWriter.Write(serializerTypeId); 2587bamlBinaryWriter.Write(ValueId); 2598bamlBinaryWriter.Write(serializerTypeId); 3074bamlBinaryWriter.Write(TypeId); 3243bamlBinaryWriter.Write(AttributeId); 3405bamlBinaryWriter.Write(TypeId); 3542bamlBinaryWriter.Write(TypeId); 3798bamlBinaryWriter.Write(ValueId); 3912bamlBinaryWriter.Write(StaticResourceId); 3991bamlBinaryWriter.Write(AttributeId); 3992bamlBinaryWriter.Write(StaticResourceId); 4082bamlBinaryWriter.Write(ValueId); 4137bamlBinaryWriter.Write(ConverterTypeId); 4411bamlBinaryWriter.Write(AssemblyId); 4540bamlBinaryWriter.Write(TypeId); 4542bamlBinaryWriter.Write((short)(((ushort)AssemblyId) | (((ushort)_typeInfoFlags) << 12))); 4741bamlBinaryWriter.Write(SerializerTypeId); 4846bamlBinaryWriter.Write(AttributeId); 4847bamlBinaryWriter.Write(OwnerTypeId); 5240bamlBinaryWriter.Write(StringId); 5350bamlBinaryWriter.Write(AttributeId);
src\Framework\System\Windows\Markup\XamlFigureLengthSerializer.cs (1)
115writer.Write((Int16)intAmount);
src\Framework\System\Windows\Markup\XamlGridLengthSerializer.cs (1)
116writer.Write((Int16)intAmount);
System (1)
security\system\security\cryptography\x509\x509certificate2.cs (1)
223bw.Write((short) 0); // pPubKeyStruc->reserved = 0;
System.Web (2)
UI\ObjectStateFormatter.cs (1)
993writer.Write((short)value);
Util\altserialization.cs (1)
98writer.Write((short) value);
System.Web.DataVisualization (10)
Common\Utilities\XmlSerializer.cs (10)
2359 writer.Write(SerializerBase.GetStringHashCode(elementName)); 2456 writer.Write((short)0); 2462 writer.Write((short)0); 2479writer.Write(SerializerBase.GetStringHashCode(elementName)); 2524writer.Write((short)0); 2530writer.Write((short)0); 2548 writer.Write(SerializerBase.GetStringHashCode(elementName)); 2571 writer.Write((short)0); 2577 writer.Write((short)0); 2655 writer.Write(SerializerBase.GetStringHashCode(elementName));
System.Windows.Forms.DataVisualization (10)
Common\Utilities\XmlSerializer.cs (10)
2359 writer.Write(SerializerBase.GetStringHashCode(elementName)); 2456 writer.Write((short)0); 2462 writer.Write((short)0); 2479writer.Write(SerializerBase.GetStringHashCode(elementName)); 2524writer.Write((short)0); 2530writer.Write((short)0); 2548 writer.Write(SerializerBase.GetStringHashCode(elementName)); 2571 writer.Write((short)0); 2577 writer.Write((short)0); 2655 writer.Write(SerializerBase.GetStringHashCode(elementName));
WindowsBase (6)
Base\System\IO\Packaging\CompoundFile\FormatVersion.cs (6)
337binarywriter.Write(_reader.Major); // Major number 338binarywriter.Write(_reader.Minor); // Minor number 350binarywriter.Write(_updater.Major); // Major number 351binarywriter.Write(_updater.Minor); // Minor number 363binarywriter.Write(_writer.Major); // Major number 364binarywriter.Write(_writer.Minor); // Minor number