Commit Graph

1229 Commits

Author SHA1 Message Date
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
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
5dfc9ebebb Output: Show virtual address of custom attributes 2019-11-04 00:34:50 +01:00
Katy Coe
d8a020dc7a Inspector: Make custom attribute constructor pointers available 2019-11-04 00:26:02 +01:00
Katy Coe
c04a70eacb Output: don't crash if attribute class doesn't end in "Attribute" 2019-11-04 00:25:09 +01:00
Katy Coe
5fa405eb82 Output: Attribute types for assemblies, types, fields, properties, events, methods 2019-11-04 00:04:00 +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
Katy Coe
614f5c0e01 Clean up TODOs 2019-11-02 18:48:44 +01:00
Katy Coe
509b0cb778 Model: Set IsGeneric* properties when creating type from IL2CPP_TYPE_GENERICINST 2019-11-02 18:43:22 +01:00
Katy Coe
57fb6d22a3 Tests: Add TestGenericTypes (failing) 2019-11-02 18:33:40 +01:00
Katy Coe
b4e589f704 Model: Additional tweaks to type name properties 2019-11-02 18:33:02 +01:00
Katy Coe
a62b8bf800 Model: Add TypeInfo.ToString() 2019-11-02 17:55:56 +01:00
Katy Coe
5f8aced688 Model: Use + in FullName for nested types, no spaces between generic type parameters 2019-11-02 17:51:10 +01:00
Katy Coe
39fafb6c94 Model: Add GetAssembly, GetType, GetMethod, GetField, GetProperty helpers 2019-11-02 17:39:50 +01:00
Katy Coe
f3e9c27ae7 Model: Use square brackets for generic type parameters in FullName 2019-11-02 17:23:04 +01:00
Katy Coe
a0dae073d2 Model: Add 'Types' aggregate property 2019-11-02 17:11:18 +01:00