17 references to AsPrimitive
System.Formats.Asn1 (17)
System\Formats\Asn1\AsnWriter.BitString.cs (1)
88WriteTag(tag.AsPrimitive());
System\Formats\Asn1\AsnWriter.Boolean.cs (1)
25WriteBooleanCore(tag?.AsPrimitive() ?? Asn1Tag.Boolean, value);
System\Formats\Asn1\AsnWriter.Enumerated.cs (2)
40WriteEnumeratedValue(tag?.AsPrimitive() ?? Asn1Tag.Enumerated, value.GetType(), value); 69WriteEnumeratedValue(tag?.AsPrimitive() ?? Asn1Tag.Enumerated, typeof(TEnum), value);
System\Formats\Asn1\AsnWriter.GeneralizedTime.cs (1)
37tag?.AsPrimitive() ?? Asn1Tag.GeneralizedTime,
System\Formats\Asn1\AsnWriter.Integer.cs (5)
27WriteIntegerCore(tag?.AsPrimitive() ?? Asn1Tag.Integer, value); 46WriteNonNegativeIntegerCore(tag?.AsPrimitive() ?? Asn1Tag.Integer, value); 64WriteIntegerCore(tag?.AsPrimitive() ?? Asn1Tag.Integer, value); 89WriteIntegerCore(tag?.AsPrimitive() ?? Asn1Tag.Integer, value); 110WriteIntegerUnsignedCore(tag?.AsPrimitive() ?? Asn1Tag.Integer, value);
System\Formats\Asn1\AsnWriter.Null.cs (1)
24WriteNullCore(tag?.AsPrimitive() ?? Asn1Tag.Null);
System\Formats\Asn1\AsnWriter.OctetString.cs (1)
96WriteTag(tag.AsPrimitive());
System\Formats\Asn1\AsnWriter.Oid.cs (2)
67WriteTag(tag?.AsPrimitive() ?? Asn1Tag.ObjectIdentifier); 75WriteObjectIdentifierCore(tag?.AsPrimitive() ?? Asn1Tag.ObjectIdentifier, oidValue);
System\Formats\Asn1\AsnWriter.Text.cs (1)
100WriteTag(tag.AsPrimitive());
System\Formats\Asn1\AsnWriter.UtcTime.cs (2)
31WriteUtcTimeCore(tag?.AsPrimitive() ?? Asn1Tag.UtcTime, value); 68WriteUtcTimeCore(tag?.AsPrimitive() ?? Asn1Tag.UtcTime, value);