// Token: 0x0600176C RID: 5996 RVA: 0x0006EC6C File Offset: 0x0006CE6C public static string GetTypeName(Type t, FormatterAssemblyStyle assemblyFormat, SerializationBinder binder) { string text2; if (binder != null) { string text; string str; binder.BindToName(t, out text, out str); text2 = str + ((text == null) ? "" : (", " + text)); } else { text2 = t.AssemblyQualifiedName; } switch (assemblyFormat) { case FormatterAssemblyStyle.Simple: return(Class_514.RemoveAssemblyDetails(text2)); case FormatterAssemblyStyle.Full: return(text2); default: throw new ArgumentOutOfRangeException(); } }