Commit Graph

479 Commits

Author SHA1 Message Date
Katy Coe
140e31b206 Output: Fix crash outputting undefined enum value (use cast instead) (#11) 2020-01-06 11:06:14 +01:00
Katy Coe
0b868aae36 IL2CPP: Fix field offsets for certain 64-bit binaries (#10) 2020-01-06 08:54:52 +01:00
Katy Coe
a3fd260afc ELF: Ignore relocations into memory addresses not mapped from the image (part of #14) 2020-01-06 08:22:39 +01:00
Katy Coe
2b32d2535e Remove debugging output from TypeInfo.getScopedFullName 2019-12-14 14:05:10 +01:00
Katy Coe
22ab1c4afd Performance: Paralellize code generation by namespace, assembly and class 2019-12-14 14:01:04 +01:00
Katy Coe
e3058597f3 Output: Fix regression in truncation of interface names for explicitly implemented properties 2019-12-14 14:00:10 +01:00
Katy Coe
d8e5f20f2b Update Bin2Object (faster ReadObject for primitives) 2019-12-14 13:59:39 +01:00
Katy Coe
686eb3a53c Update Bin2Object (thread-safe stream reads) 2019-12-14 12:01:05 +01:00
Katy Coe
8d272a25fc Make model access thread-safe 2019-12-14 12:00:47 +01:00
Katy Coe
934def3f66 Dumper: Benchmark main stage runtimes 2019-12-14 11:44:39 +01:00
Katy Coe
98366a7b49 Output: Explicitly implemented generic properties could have mismatched chevrons 2019-12-12 11:14:14 +01:00
Katy Coe
001e60dbde Output: Fix \u-format string escaping 2019-12-12 10:33:33 +01:00
Katy Coe
1ce823833f Output: Extension method first parameter attributes must go before 'this' 2019-12-12 10:26:09 +01:00
Katy Coe
f60047a55a Output: Prepend fields, events, properties and parameter names using reserved C# keywords with @ 2019-12-12 10:18:55 +01:00
Katy Coe
f10d52bdd2 PS: Replace all non-word characters in test function names 2019-12-12 09:05:13 +01:00
Katy Coe
88be17003e Output: Don't include nested generic type parameters in generic type usages (CS0305) 2019-12-11 12:34:36 +01:00
Katy Coe
ffb1ebced7 Output: Ignore static and non-public constructors when determining if an attribute should be commented out (CS7036) 2019-12-11 10:47:20 +01:00
Katy Coe
b8df3d7100 Output: Handle explicit interface implementation of indexers correctly 2019-12-11 10:27:52 +01:00
Katy Coe
d728421d12 Tests: Add TestNames, update References; Update all test results 2019-12-11 09:30:27 +01:00
Katy Coe
5a42afe7f2 Model and Output: Dramatically improve handling of byref types 2019-12-11 09:30:00 +01:00
Katy Coe
d8befc0a15 Output: Give non-auto-properties accessor bodies (CS8080) 2019-12-10 15:32:13 +01:00
Katy Coe
f78e2b3c54 Output: Don't force indexers to have get accessors 2019-12-10 14:32:54 +01:00
Katy Coe
be52e7d201 Output: Auto-properties must have get accessors (CS8051) 2019-12-10 14:22:13 +01:00
Katy Coe
46acc1b5a7 IL2CPP: Load InterfaceOffsets, VTableMethodIndices and MethodSpecs 2019-12-10 14:14:02 +01:00
Katy Coe
33de89bed7 Output: Add AttributeTargets.All to AttributeUsage instances when using --must-compile (CS0592) 2019-12-10 03:13:37 +01:00
Katy Coe
c24bb6a7bd Output: Use default instead of null for default struct and generic type parameter values (CS1750) 2019-12-10 02:57:57 +01:00
Katy Coe
12ecce4086 Output: Don't show default values for required parameters in method signatures (CS1737) 2019-12-10 01:34:50 +01:00
Katy Coe
9f4e44d5ff Add README.md as Solution Item 2019-12-10 01:31:48 +01:00
Katy Coe
c9891976ae Update README.md 2019-12-03 18:21:46 +01:00
Katy Coe
74cd245ebc Tests: Update all test results 2019-12-03 18:21:36 +01:00
Katy Coe
4a622988f1 Tests: Fix GenericTypes type name search 2019-12-02 08:41:07 +01:00
Katy Coe
231339add3 Output: Parameterized struct constructors must call parameterless constructor (CS0843) 2019-12-02 08:12:12 +01:00
Katy Coe
ae782f4a3a Output: Struct constructors must initialize all fields in the struct (CS0171) 2019-12-02 07:54:57 +01:00
Katy Coe
df8d84b39b Output: Include generic type parameters in class filenames 2019-12-02 01:53:50 +01:00
Katy Coe
3f1508ecab Output: Indexers must have getter and setter bodies (CS0501) 2019-11-30 07:27:58 +01:00
Katy Coe
a38b75c9c1 Output: struct/class must be the first generic type constraint (CS0449) 2019-11-30 07:21:09 +01:00
Katy Coe
00135d2a15 Output: Generate method bodies to populate out parameters (CS0117) 2019-11-30 07:15:19 +01:00
Katy Coe
da9252a68c Output: Show enum usages as their corresponding member names (CS0266, CS1750) 2019-11-29 08:37:46 +01:00
Katy Coe
b36ccda9b9 Model: Small naming corrections to improve reliability (re: CS0308) 2019-11-29 06:51:30 +01:00
Katy Coe
022d6db74a Model and Output: Calculate generic type parameter scopes in nested type usages (CS0308) 2019-11-29 04:56:39 +01:00
Katy Coe
6e304ab7da Model: Include type parameter constraints in generic class definition when finding referenced types (CS0246) 2019-11-29 02:46:42 +01:00
Katy Coe
0fe5fa53a6 Model: Include the global namespace when checking for ambiguous type references 2019-11-29 02:33:47 +01:00
Katy Coe
74f209bc2e Tests: Update all test results 2019-11-28 18:46:19 +01:00
Katy Coe
c113f3abe9 Model: Include generic type arguments in GetAllTypeReferences() (CS0246) 2019-11-28 18:36:35 +01:00
Katy Coe
e48c1813f3 Model and Output: Retrieve fully qualified assembly names 2019-11-28 04:44:27 +01:00
Katy Coe
946288a7b5 Model: Give names to unnamed parameters 2019-11-28 04:17:22 +01:00
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