Commit Graph

333 Commits

Author SHA1 Message Date
Katy Coe
b0a1ce3df7 Fix end method pointers being incorrect when compiler aggregates multiple methods to same start address 2019-11-28 04:08:58 +01:00
Katy Coe
de846ea6db Clean up some compiler messages 2019-11-28 04:00:32 +01:00
Katy Coe
f77a9e5289 Model: TypeInfo.GetMethods() returned incorrect data 2019-11-28 03:49:09 +01:00
Katy Coe
8a837a3434 Tests: Update Scope tests and results 2019-11-27 18:35:02 +01:00
Katy Coe
e3cd4a06d2 Output: Dramatically improve scope resolution (CS0104, CS0234, CS0246, CS0718, CS0721, CS0722, CS0723) 2019-11-27 18:33:59 +01:00
Katy Coe
c57383b0bd PS: Ignore non-directories when generating Tests.cs 2019-11-27 06:23:08 +01:00
Katy Coe
5586173c1c Tests: Add test results for ExplicitInterfaces 2019-11-18 07:35:31 +01:00
Katy Coe
f41c6dc231 Output: Don't output base method generic constraints on overridden method (CS0460) 2019-11-18 07:27:58 +01:00
Katy Coe
36f7c19b8f Model: Improve signature matching for overridden/hidden methods (CS0108) 2019-11-18 07:24:47 +01:00
Katy Coe
8f7b461310 Output: Render finalizers as C# destructors (CS0249) 2019-11-18 06:24:18 +01:00
Katy Coe
b141e57598 Output: Annotate float values with 'f' suffix (CS0664) 2019-11-18 06:06:42 +01:00
Katy Coe
7ca78175e0 Output: extern methods should not declare a body (CS0179) 2019-11-18 05:57:56 +01:00
Katy Coe
e1752febbb Model: Include ComVisible and Serializable in TypeInfo.GetAllTypeReferences() 2019-11-18 02:46:07 +01:00
Katy Coe
3849b38520 Output: Fix regressions in TypeInfo.CSharpTypeDeclarationName and TypeInfo.CSharpName 2019-11-18 02:19:25 +01:00
Katy Coe
4e3a8f25cc Output: Correctly handle slicing of explicit interface implementations with built-in types 2019-11-18 01:59:49 +01:00
Katy Coe
aa50791362 Output: Don't output inherited generic type parameters on nested class definitions 2019-11-18 01:58:53 +01:00
Katy Coe
68d8e47d7d Tests: Add explicit interface implementation tests 2019-11-18 01:09:07 +01:00
Katy Coe
7167f37d18 Output: Fix covariant/contravariant generic constraints and nested generic parameters in type definitions 2019-11-18 01:06:24 +01:00
Katy Coe
10dfc60344 Output: Don't emit unnecessary scope on explicit interface implementations of methods and properties 2019-11-18 00:43:42 +01:00
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