23 references to WriteLength
System.Formats.Asn1 (23)
System\Formats\Asn1\AsnWriter.BitString.cs (4)
90
WriteLength
(bitString.Length + 1);
156
WriteLength
(-1);
168
WriteLength
(MaxCERSegmentSize);
181
WriteLength
(remainingData.Length + 1);
System\Formats\Asn1\AsnWriter.Boolean.cs (1)
33
WriteLength
(1);
System\Formats\Asn1\AsnWriter.cs (2)
579
WriteLength
(-1);
684
WriteLength
(containedLength);
System\Formats\Asn1\AsnWriter.GeneralizedTime.cs (1)
112
WriteLength
(totalLength);
System\Formats\Asn1\AsnWriter.Integer.cs (6)
143
WriteLength
(valueLength);
195
WriteLength
(valueLength);
237
WriteLength
(checked(value.Length + 1));
243
WriteLength
(value.Length);
272
WriteLength
(value.Length);
285
WriteLength
(value.GetByteCount());
System\Formats\Asn1\AsnWriter.Null.cs (1)
32
WriteLength
(0);
System\Formats\Asn1\AsnWriter.OctetString.cs (4)
97
WriteLength
(octetString.Length);
109
WriteLength
(-1);
148
WriteLength
(MaxCERSegmentSize);
158
WriteLength
(remainingData.Length);
System\Formats\Asn1\AsnWriter.Oid.cs (2)
68
WriteLength
(wellKnownContents.Length);
140
WriteLength
(tmpOffset);
System\Formats\Asn1\AsnWriter.Text.cs (1)
101
WriteLength
(size);
System\Formats\Asn1\AsnWriter.UtcTime.cs (1)
87
WriteLength
(UtcTimeValueLength);