if (!ca.Resolved)
return;
- TypeDefinition type = _context.Resolver.Resolve (ca.Constructor.DeclaringType);
MarkCustomAttributeParameters (ca);
+
+ TypeDefinition type = ca.Constructor.DeclaringType.Resolve ();
+
MarkCustomAttributeProperties (ca, type);
MarkCustomAttributeFields (ca, type);
}
{
FieldDefinition fd = field as FieldDefinition;
if (fd == null)
- fd = _context.Resolver.Resolve (field);
+ fd = field.Resolve ();
return fd;
}
{
TypeDefinition td = type as TypeDefinition;
if (td == null)
- td = _context.Resolver.Resolve (type);
+ td = type.Resolve ();
return td;
}
{
MethodDefinition md = method as MethodDefinition;
if (md == null)
- md = _context.Resolver.Resolve (method);
+ md = method.Resolve ();
return md;
}