// // Misc // internal static TypeUsage GetReadOnlyType(TypeUsage type) { if (!(type.IsReadOnly)) { type.SetReadOnly(); } return(type); }