Commit Graph

314 Commits

Author SHA1 Message Date
Katy Coe
22d85ce683 Output: Explicit interface implementations should not have access level modifiers 2019-11-17 23:20:23 +01:00
Katy Coe
673c9c94a9 Output: Don't emit add/remove/raise on events when using --must-compile 2019-11-17 22:49:59 +01:00
Katy Coe
f0134e0d16 CLI: Merge some options into --must-compile 2019-11-17 22:43:58 +01:00
Katy Coe
37c63608df Tests: Add scoped naming rules tests 2019-11-17 22:28:47 +01:00
Katy Coe
32608874cc Output: Handle scoped type name resolution conflicts (CS0104) 2019-11-17 22:27:44 +01:00
Katy Coe
e2f423b7f2 Model: Cache type definitions by fully qualified name 2019-11-17 21:53:59 +01:00
Katy Coe
73b21b9b1a Tests: Update all test results 2019-11-16 23:47:46 +01:00
Katy Coe
bd3ac7dcc8 Output: Don't generate duplicate assembly attributes across class/namespace files 2019-11-16 23:47:33 +01:00
Katy Coe
d97a36d8f7 Model: Cache instances of CustomAttributeData 2019-11-16 23:31:59 +01:00
Katy Coe
80d168a2de Tests: Enable CommentAttributes in TestRunner 2019-11-16 22:15:41 +01:00
Katy Coe
0afb5f6172 CLI: Invert --no-suppress-cg to --suppress-cg 2019-11-16 21:38:23 +01:00
Katy Coe
7b4fefea3c Tests: Add nested generic constraint tests to GenericTypes 2019-11-16 21:36:43 +01:00
Katy Coe
b862fd99de Output: Implement --comment-attributes option 2019-11-16 21:33:49 +01:00
Katy Coe
0c259836c7 Output: Give methods that don't return void "=> default" 2019-11-16 21:12:02 +01:00
Katy Coe
7de9451e7c Output: Don't output generic constraints from outer types on inner types 2019-11-15 06:09:41 +01:00
Katy Coe
00f094e921 Output: Static constructors cannot have an access modifier 2019-11-15 05:15:32 +01:00
Katy Coe
92b964cd9c Output: Escape special characters in C# strings properly 2019-11-15 05:14:49 +01:00
Katy Coe
e5e77ed791 CLI: Fix default metadata filename 2019-11-14 17:16:11 +01:00
Katy Coe
9d347c5807 Tests: Update all test results 2019-11-14 17:08:38 +01:00
Katy Coe
4f3c7c458a Update Bin2Object submodule (improved performance) 2019-11-14 17:07:48 +01:00
Katy Coe
6c1a56abbd IL2CPP: Fix duplicate key / key not found errors introduced in previous commit 2019-11-14 17:07:19 +01:00
Katy Coe
f1629824d7 Performance: Pre-calculate all method start and end pointers 2019-11-14 16:39:42 +01:00
Katy Coe
69d4ffa9d5 Performance: Pre-arrange custom attribute indexes for versions >=24.1 2019-11-14 05:04:03 +01:00
Katy Coe
9b79217a38 Output: Show offsets in metadata file for const fields and parameters with default values 2019-11-14 05:02:36 +01:00
Katy Coe
1fb013dcc2 Update Bin2Object submodule (improved performance) 2019-11-14 04:04:52 +01:00
Katy Coe
a880e8bd04 Calculate and output pointers to the end of each method 2019-11-14 02:44:56 +01:00
Katy Coe
312c2f8e66 Output: Add empty method bodies to non-abstract constructors and methods 2019-11-13 17:19:01 +01:00
Katy Coe
f5e98678bb IL2CPP: Load all Il2CppCodeGenModule method pointers into memory at init time 2019-11-13 17:12:31 +01:00
Katy Coe
885679e4bd Output: Show last type definition index in each image 2019-11-13 16:40:21 +01:00
Katy Coe
7c64e0a09c Add --suppress-metadata option 2019-11-13 15:55:18 +01:00
Katy Coe
69551c7f39 Update README.md 2019-11-13 05:34:30 +01:00
Katy Coe
0185570bac Output: Fix crash on single-file output when only the leaf filename is specified 2019-11-13 05:34:11 +01:00
Katy Coe
3674706fe8 CLI: Add --layout and --flatten command-line options 2019-11-13 05:13:04 +01:00
Katy Coe
5efa2bf523 CLI: Add --sort option for type definition output order 2019-11-13 04:36:09 +01:00
Katy Coe
587f9c732d Output: Add WriteFilesByNamespace, WriteFilesByAssembly, WriteFilesByClass 2019-11-13 04:35:44 +01:00
Katy Coe
fc6dbc6011 CLI: Switch from Microsoft CommandLine to CommandLineParser 2019-11-13 03:59:31 +01:00
Katy Coe
990a29b11c Update README.md 2019-11-12 23:03:22 +01:00
Katy Coe
50d602add4 Tests: Update all test results 2019-11-12 23:03:15 +01:00
Katy Coe
a5e4508e6f Output: Use C# namespace syntax 2019-11-12 23:03:05 +01:00
Katy Coe
144380c6d3 Output: Write preamble comment at top of code output 2019-11-12 21:05:37 +01:00
Katy Coe
3b6dee36ba IL2CPP: Fix versioning errors in Il2CppAssemblyNameDefinition and Il2CppAssemblyDefinition 2019-11-12 20:23:50 +01:00
Katy Coe
928ba16efc Fix crash for fixed buffers when the name of FixedBufferAttribute.FixedElementField is obfuscated 2019-11-12 18:33:13 +01:00
Katy Coe
8db9ffeccc Tests: Update all test results 2019-11-12 06:13:54 +01:00
Katy Coe
cec6c4aea7 Output: Include using directives for assembly-level attribute namespaces 2019-11-12 05:46:33 +01:00
Katy Coe
e83fc9fbb5 Tests: Fix Il2CppSharpDumper.WriteSingleFile reference in TestRunner 2019-11-12 05:40:12 +01:00
Katy Coe
268a10a950 Output: Emit using directives at start of C# output 2019-11-12 05:38:05 +01:00
Katy Coe
ae57e239bf Model: Simplify SelectMany() queries 2019-11-12 04:52:36 +01:00
Katy Coe
26d341db81 Model: TypeInfo.GetAllTypeReferences() and TypeInfo.DeclaredMembers 2019-11-12 04:19:52 +01:00
Katy Coe
fee6e02cb3 Output: Refactor code and fix spacing between code blocks 2019-11-12 02:08:31 +01:00
Katy Coe
2a05537c8f Update README.md 2019-11-11 23:45:19 +01:00