private void WriteTypeCode(SerializationTypeCode value) { Builder.WriteByte((byte)value); }
public static bool IsValueType(this SerializationTypeCode code) { const byte bitmask = (byte)SerializationTypeFlags.IsValueType; return(((byte)code & bitmask) > 0); }
public static SerializationTypeCode GetImpliedType(this SerializationTypeCode code) { const int bitmask = 0x3f; return((SerializationTypeCode)((byte)code & bitmask)); }
public TypeHandleTargetInfo(string @namespace, string name, SerializationTypeCode underlying) { Namespace = @namespace; Name = name; Underlying = underlying; }