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

◆ ValidateTypeParameter< T >()

static void System.Diagnostics.Metrics.Instrument< T >.ValidateTypeParameter< T > ( )
inlinestaticpackageinherited

Definition at line 74 of file Instrument.cs.

75 {
77 if (typeFromHandle != typeof(byte) && typeFromHandle != typeof(short) && typeFromHandle != typeof(int) && typeFromHandle != typeof(long) && typeFromHandle != typeof(double) && typeFromHandle != typeof(float) && typeFromHandle != typeof(decimal))
78 {
80 }
81 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string UnsupportedType
Definition SR.cs:40
Definition SR.cs:7

References System.SR.Format(), and System.SR.UnsupportedType.