DLL: Fix our attribute field references

This commit is contained in:
Katy Coe
2021-01-09 03:50:41 +01:00
parent 09c5c6af23
commit 5540ba296b

View File

@@ -42,7 +42,7 @@ namespace Il2CppInspector.Outputs
// Attribute arguments // Attribute arguments
var attrArgs = args.Select(a => var attrArgs = args.Select(a =>
new CANamedArgument(false, module.CorLibTypes.String, a.prop, new CAArgument(module.CorLibTypes.String, a.value))); new CANamedArgument(true, module.CorLibTypes.String, a.prop, new CAArgument(module.CorLibTypes.String, a.value)));
var attr = new CustomAttribute(attCtorRef, null, attrArgs); var attr = new CustomAttribute(attCtorRef, null, attrArgs);