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

◆ GetRawConstant()

static object System.Reflection.RuntimeParameterInfo.GetRawConstant ( CustomAttributeData attr)
inlinestaticprivate

Definition at line 329 of file RuntimeParameterInfo.cs.

330 {
331 foreach (CustomAttributeNamedArgument namedArgument in attr.NamedArguments)
332 {
333 if (namedArgument.MemberInfo.Name.Equals("Value"))
334 {
335 return namedArgument.TypedValue.Value;
336 }
337 }
338 return DBNull.Value;
339 }

References System.DBNull.Value.

Referenced by System.Reflection.RuntimeParameterInfo.GetDefaultValueInternal().