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

◆ ToCustomAttributeTypeTag()

static CustomAttributeTypeTag System.Reflection.Metadata.Ecma335.CodedIndex.ToCustomAttributeTypeTag ( HandleKind kind)
inlinestaticprivate

Definition at line 309 of file CodedIndex.cs.

310 {
311 switch (kind)
312 {
313 case HandleKind.MethodDefinition:
314 return CustomAttributeTypeTag.MethodDef;
315 case HandleKind.MemberReference:
316 return CustomAttributeTypeTag.MemberRef;
317 default:
318 Throw.InvalidArgument_UnexpectedHandleKind(kind);
319 return (CustomAttributeTypeTag)0;
320 }
321 }

References System.Reflection.Throw.InvalidArgument_UnexpectedHandleKind().

Referenced by System.Reflection.Metadata.Ecma335.CodedIndex.CustomAttributeType().