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

◆ ToImplementationTag()

static ImplementationTag System.Reflection.Metadata.Ecma335.CodedIndex.ToImplementationTag ( HandleKind kind)
inlinestaticprivate

Definition at line 367 of file CodedIndex.cs.

368 {
369 switch (kind)
370 {
371 case HandleKind.AssemblyFile:
372 return ImplementationTag.File;
373 case HandleKind.AssemblyReference:
374 return ImplementationTag.AssemblyRef;
375 case HandleKind.ExportedType:
376 return ImplementationTag.ExportedType;
377 default:
378 Throw.InvalidArgument_UnexpectedHandleKind(kind);
379 return ImplementationTag.File;
380 }
381 }

References System.Reflection.Throw.InvalidArgument_UnexpectedHandleKind().

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