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