System\IdentityModel\Tokens\DEREncoding.cs (9)
134WriteLength(buffer, ref offset, ref len, 1 + LengthSize(mech.Length) + mech.Length + type.Length + bodySize);
145System.Buffer.BlockCopy(type, 0, buffer, offset, type.Length);
146offset += type.Length;
147len -= type.Length;
280if ((len -= type.Length) < 0)
286if (!BufferIsEqual(type, 0, buffer, offset, type.Length))
292offset += type.Length;