Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetClrTypeFullNameForArray()

static string System.Runtime.Serialization.FormatterServices.GetClrTypeFullNameForArray ( Type type)
inlinestaticprivate

Definition at line 300 of file FormatterServices.cs.

301 {
302 int arrayRank = type.GetArrayRank();
303 string clrTypeFullName = GetClrTypeFullName(type.GetElementType());
304 if (arrayRank != 1)
305 {
306 return clrTypeFullName + "[" + new string(',', arrayRank - 1) + "]";
307 }
308 return clrTypeFullName + "[]";
309 }

References System.Runtime.Serialization.FormatterServices.GetClrTypeFullName(), and System.type.

Referenced by System.Runtime.Serialization.FormatterServices.GetClrTypeFullName().