Fix {{ typo in CSharpCodeStubs

This commit is contained in:
Robert Xiao
2020-04-07 04:21:27 -07:00
committed by Katy
parent c9d65e5f2d
commit 5224429b0a

View File

@@ -450,7 +450,7 @@ namespace Il2CppInspector.Outputs
sb.Append($"{prefix}\t{modifiers}event {evt.EventHandlerType.GetScopedCSharpName(scope)} {evt.CSharpSafeName}");
if (!MustCompile) {
sb.Append(" {{\n");
sb.Append(" {\n");
var m = new Dictionary<string, (ulong, ulong)?>();
if (evt.AddMethod != null) m.Add("add", evt.AddMethod.VirtualAddress);
if (evt.RemoveMethod != null) m.Add("remove", evt.RemoveMethod.VirtualAddress);