You didn't find anything on Assembly
, because FieldDef and FieldRef don't belong to an assembly, they belong to a module (most assemblies have just a single module, but they can have more). And Module
has exactly the method you want: ResolveField()
. You would use it something like this:
Module module = …;
int fieldToken = …;
FieldInfo field = module.ResolveField(fieldToken);