Commit Graph

254 Commits

Author SHA1 Message Date
Katy Coe
e923a51fc0 IL2CPP: Read metadata v15 correctly 2019-11-11 01:33:03 +01:00
Katy Coe
eb334751f9 Inspector: Load Assembly and AssemblyName metadata 2019-11-11 01:04:44 +01:00
Katy Coe
92c4dd342c Update README.md 2019-11-10 18:57:28 +01:00
Katy Coe
b1b21b9e5a Tests: Update ArraysAndPointers and Properties 2019-11-10 18:57:21 +01:00
Katy Coe
5bf6e2c7c3 Output: Annotate unmanaged type usages with 'unsafe' keyword 2019-11-10 18:53:07 +01:00
Katy Coe
54d03b9f0f Refactor C# keyword modifer code slightly 2019-11-10 17:46:19 +01:00
Katy Coe
b980798ab5 Output: Make delegates use GetParametersString() 2019-11-10 17:08:16 +01:00
Katy Coe
1c411ff12d Output: Fix failure to render indexer argument in some cases 2019-11-10 00:18:08 +01:00
Katy Coe
192ad0b520 Update README.md 2019-11-09 23:59:48 +01:00
Katy Coe
5bee7665e9 Tests: Update Properties tests to include indexers 2019-11-09 23:59:41 +01:00
Katy Coe
6cff0f3803 Output: Suppress DefaultMemberAttribute 2019-11-09 23:58:12 +01:00
Katy Coe
7f683fc629 Output: Handle indexers correctly 2019-11-09 23:46:07 +01:00
Katy Coe
d1cfa46775 Tests: Update Methods tests 2019-11-09 22:47:21 +01:00
Katy Coe
41d2325560 Model: Handle C# method hiding ('new' keyword in method declarations) 2019-11-09 22:32:32 +01:00
Katy Coe
4f54c7a85e Model: Add TypeInfo.GetMethods(string) and TypeInfo.GetAllMethods() 2019-11-09 22:15:26 +01:00
Katy Coe
88a18997ee Output: Use Get*() methods where applicable instead of LINQ 2019-11-09 20:28:46 +01:00
Katy Coe
68dc57f541 Model: MemberInfo.GetCustomAttributes() now returns CustomAttributeData[] 2019-11-09 20:24:43 +01:00
Katy Coe
21d486eb92 Model: Make Get*() return null instead of throwing exception if no matching item found 2019-11-09 20:21:31 +01:00
Katy Coe
769dd2079d Add MethodInfo/ParameterInfo GetSignatureString() 2019-11-09 05:32:59 +01:00
Katy Coe
2c912b211d PS: Add -assemblies argument to select assemblies to send to il2cpp 2019-11-07 16:22:24 +01:00
Katy Coe
0ff7d45776 Tests: Update expected results 2019-11-07 03:37:38 +01:00
Katy Coe
dd1d8d91d8 Tests: Add References test 2019-11-07 03:31:35 +01:00
Katy Coe
c54e56c6df Model: Don't crash on ParameterInfo.IsByRef if the parameter contains a generic component 2019-11-07 03:02:24 +01:00
Katy Coe
a22a4c1927 Model: Set ContainsGenericParameters correctly for arrays and pointers 2019-11-07 03:01:39 +01:00
Katy Coe
0d3634eea4 Output: Show ref return types 2019-11-07 02:34:05 +01:00
Katy Coe
4602497166 Model: Move parameter string generation to ParameterInfo 2019-11-07 02:31:47 +01:00
Katy Coe
7ab0c347f2 Model: Handle "in" and "ref" parameters 2019-11-07 02:26:03 +01:00
Katy Coe
7eec81314e PS: More robust path search and error handling 2019-11-07 01:47:15 +01:00
Katy Coe
bec3528f77 Tests: Add Properties test 2019-11-06 00:33:47 +01:00
Katy Coe
4800575f08 Output: Fix access modifiers on properties, add to getters and setters 2019-11-06 00:33:38 +01:00
Katy Coe
fa6e1683e5 Output: FieldAttributes.FamANDAssem is "private protected" from C# 7.2 onwards 2019-11-05 21:08:40 +01:00
Katy Coe
8528c4db9a Update README.md 2019-11-05 20:09:27 +01:00
Katy Coe
14a9c89804 Model and Output: Implement default method parameter values 2019-11-05 20:09:13 +01:00
Katy Coe
6f53d87a55 Model: Fill in remaining ParameterAttributes 2019-11-05 19:41:18 +01:00
Katy Coe
87374e0a63 Model: Use FIELD_ATTRIBUTE_HAS_DEFAULT to determine if a field has a default value 2019-11-05 19:40:17 +01:00
Katy Coe
067cea9e5f Refactor some string output helper functions into extension methods 2019-11-05 19:34:12 +01:00
Katy Coe
9d4d8da42b Tests: Add ArraysAndPointers and CustomAttributeData; update all expected results 2019-11-05 19:11:07 +01:00
Katy Coe
8571d6d6f3 Output: Display Nullable<T> as T? 2019-11-05 18:58:04 +01:00
Katy Coe
5ff46d3fd3 Output: Convert [FixedBuffer] to C# fixed keyword and array type 2019-11-05 18:39:54 +01:00
Katy Coe
8382df7cc9 Model: Base type of a pointer should be null 2019-11-05 17:09:15 +01:00
Katy Coe
45da7ab382 Model: Handle naming of nested arrays and nested pointers correctly 2019-11-05 16:59:23 +01:00
Katy Coe
7f0f5121e4 Model: Enumerations have an underlying type, not an element type 2019-11-05 16:21:25 +01:00
Katy Coe
31b065e148 PS: Add /unsafe compiler flag 2019-11-04 23:11:51 +01:00
Katy Coe
5754e50c90 Model: Base type of System.Object is not System.Object 2019-11-04 23:11:36 +01:00
Katy Coe
bad39a3db3 Model: and Output Handle multi-dimensional arrays (multi-rank arrays) correctly 2019-11-04 22:58:40 +01:00
Katy Coe
385c8ebc50 Output: Option to suppress constructs with [CompilerGeneratedAttribute] 2019-11-04 20:23:57 +01:00
Katy Coe
a46947ac61 Model: Add MemberInfo.GetCustomAttributes(string) 2019-11-04 20:12:06 +01:00
Katy Coe
f372be188a Output: Don't capitalize True and False for default boolean values 2019-11-04 19:41:14 +01:00
Katy Coe
d04be174e6 Output: Attributes on property getters and setters 2019-11-04 19:33:41 +01:00
Katy Coe
062182ec11 Model and Output: Handle pointer types correctly 2019-11-04 19:33:18 +01:00