Commit Graph

195 Commits

Author SHA1 Message Date
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
06ed21747e Model and Output: Implement generic type constraints 2019-11-11 21:48:04 +01:00
Katy Coe
0f8b1428e4 IL2CPP: Read generic constraints data 2019-11-11 20:44:10 +01:00
Katy Coe
13ceaaf47a Output: Implement extension methods 2019-11-11 03:01:29 +01:00
Katy Coe
cbcec482b9 Model: Retrieve assembly-level custom attributes correctly 2019-11-11 01:38:14 +01:00
Katy Coe
734e88a07b Model: Make assembly definitions available 2019-11-11 01:37:51 +01:00
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
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
7f683fc629 Output: Handle indexers correctly 2019-11-09 23:46:07 +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
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
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
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
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
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
8571d6d6f3 Output: Display Nullable<T> as T? 2019-11-05 18:58:04 +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
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
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
Katy Coe
30897746e2 Model: Set Assembly, BaseType, Definition and Index for arrays 2019-11-04 18:32:41 +01:00
Katy Coe
15f2623ae9 Model: set type definition and index for generic instances 2019-11-04 18:19:15 +01:00
Katy Coe
ac18de55c5 Output: Show variable length argument parameters ("params") 2019-11-04 17:52:21 +01:00
Katy Coe
6d3aca4087 Output: Parameter attributes on constructors and methods 2019-11-04 17:46:32 +01:00
Katy Coe
9ceb1368e2 Output: Minor refactoring of attribute and address output 2019-11-04 17:34:21 +01:00
Katy Coe
6e93d83c8b Update TODOs 2019-11-04 00:36:51 +01:00
Katy Coe
d8a020dc7a Inspector: Make custom attribute constructor pointers available 2019-11-04 00:26:02 +01:00
Katy Coe
f75e3614eb Model: Fix crash on invalid attribute index 2019-11-04 00:02:14 +01:00
Katy Coe
a82b3a7d73 Model: Fix returning wrong attribute index when no token match 2019-11-04 00:01:22 +01:00
Katy Coe
7351e339f0 Model: Initial framework for custom attributes 2019-11-03 22:25:38 +01:00
Katy Coe
7f398f40cb Model: Groundwork for custom attribute processisng 2019-11-03 06:44:50 +01:00
Katy Coe
defd553e0e Model: Add PropertyInfo.Definition and Index 2019-11-03 06:35:43 +01:00
Katy Coe
bec404d801 Model: Add ParameterInfo.Definition and Index 2019-11-03 06:34:00 +01:00