/// <summary>
 /// Try to lookup a base type reference by it's descriptor code.
 /// </summary>
 internal static bool TryGetByCode(char code, out BaseTypeReference type)
 {
     type = baseTypes.FirstOrDefault(x => x.code == code);
     return (type != null);
 }
 /// <summary>
 /// Try to lookup a base type reference by it's CLR equivalent.
 /// </summary>
 internal static bool TryGetByClrType(Type clrType, out BaseTypeReference type)
 {
     type = baseTypes.FirstOrDefault(x => x.clrType == clrType);
     return (type != null);
 }