1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 23:56:05 +02:00
Commit graph

87 commits

Author SHA1 Message Date
Brian Fiete
078727c4a7 Hide internal generated methods from reflection, fix ctor/dtor names 2023-10-10 13:20:35 -07:00
Brian Fiete
a34e5a737d Improved boxed value support in attribute data 2023-10-10 10:36:04 -07:00
Brian Fiete
2ead8e5377 Improved attribute encoding for nulls 2023-06-24 06:03:46 -04:00
disarray2077
03f7b62c10
Fix ConvertTo with TypedPrimitive parameter 2022-10-06 12:04:49 -03:00
Brian Fiete
1d2811f50d Appended fields 2022-06-27 10:55:31 -07:00
Brian Fiete
2a55b5c7bb Support System.Compiler values in comptime, SetReturnType, Enum helpers 2022-06-23 11:53:21 -07:00
Brian Fiete
abd511a93d Added '->' operator, static indexer fix, RefCounted<T> 2022-06-22 08:35:25 -07:00
Brian Fiete
fd92b4ba93 Fixed CreateObject append alloc for non-debug-gc 2022-06-02 10:56:29 -07:00
Brian Fiete
eaed87e1b7 Fixed IsReadOnly 2022-05-30 10:45:00 -07:00
Brian Fiete
996377909f Added IsReadOnly to FieldInfo and MethodInfo 2022-05-30 06:20:47 -07:00
Brian Fiete
bbd0fe8779 Added HasCustomAttribute to MethodInfo/FieldInfo 2022-05-26 06:43:09 -07:00
Brian Fiete
6a8bbd1240 Added GetGenericArgType to MethodInfo 2022-04-17 12:43:49 -07:00
disarray2077
9c6afa8134
Fix TypeOf TypeCode in AttributeInfo.bf 2022-03-26 11:41:53 -03:00
Brian Fiete
fea7ba67f8
Merge pull request #1492 from disarray2077/patch-10
Fix `CustomAttributeEnumerator`
2022-03-17 19:47:19 +01:00
Brian Fiete
fa152a0084
Merge pull request #1490 from disarray2077/patch-9
Improve ConvertTo Variant
2022-03-17 19:46:10 +01:00
Brian Fiete
fd9fa3ad89 Reflection protection properties 2022-03-16 15:40:27 -07:00
Brian Fiete
b334423106 Fleshing out comptime debugging 2022-03-15 16:33:30 -07:00
disarray2077
6a4b652721
Fix CustomAttributeEnumerator 2022-03-04 14:25:04 -03:00
disarray2077
e4e5933ec9
Improve ConvertTo Variant 2022-03-04 11:42:10 -03:00
Brian Fiete
afa98e40b6 Fix conversion from primitives to nullables 2022-03-02 09:09:06 -08:00
Brian Fiete
22b1ea6aab Fixed scope of nullable data 2022-03-01 13:19:57 -08:00
Brian Fiete
bc46807003 Improved reflection method invocation argument handling 2022-03-01 11:12:07 -08:00
Brian Fiete
f0ff0d3630 Improved null handling in reflected method invocation 2022-03-01 10:37:13 -08:00
disarray2077
3df708779d Some refactoring and add GetCustomAttributes for Comptime 2022-02-26 22:31:32 -03:00
disarray2077
d52ebfa1db Use Variant in CustomAttributeEnumerator 2022-02-26 14:33:25 -03:00
disarray2077
9eecf83c22 Add GetCustomAttributes 2022-02-26 13:43:56 -03:00
Brian Fiete
4c5c89bab5 Comptime GetCustomAttribute for type/field/method 2022-02-17 05:51:05 -05:00
Brian Fiete
b7e5d3fda5 Support BindingFlags.Public/NonPublic for method enumeration 2022-02-12 13:06:03 -05:00
Brian Fiete
85eca66b61 Fixed comptime GetMethod by name 2022-02-12 13:01:40 -05:00
Brian Fiete
e7f0b21cf6 Merged comptime reflection info into normal reflection data types 2022-02-12 08:05:47 -05:00
Brian Fiete
f37fb2c1b7 Comptime improvments, IOn<X> interfaces, const payload enum 2022-02-11 05:47:32 -05:00
Brian Fiete
3338f3c069 Allow CreateObject for default ctors with append allocs 2022-01-29 09:57:43 -05:00
Brian Fiete
c7d2d2e9bd Make conversion operators use standard method matcher 2022-01-17 16:14:40 -05:00
Brian Fiete
3a87b926b3 Update TypeCode, fixed TypeOf value 2022-01-14 07:08:09 -05:00
Brian Fiete
7e315e49d2 Int64 mFieldData.mData fixes for 32-bit builds 2021-12-29 11:24:14 -05:00
Brian Fiete
9cbc638873 Properly dispose of variant result 2021-12-27 14:02:51 -05:00
disarray2077
8b96697fdf Also expose type-specific AllocStackCount 2021-12-04 19:27:28 -03:00
disarray2077
111b785081 Expose AllocStackCount to corlib 2021-12-04 17:19:08 -03:00
Brian Fiete
617cdcbede Support for passing Type to attributes 2021-11-02 11:32:06 -07:00
Brian Fiete
9de99cd422 Comptime method reflection fixes 2021-10-28 08:26:12 -07:00
Brian Fiete
38c5bd747e Enumerate through base types, respect .DeclaredOnly 2021-10-25 10:29:04 -07:00
Brian Fiete
c10565678e Reflection support for method param attributes, return attributes 2021-07-06 10:55:38 -07:00
Brian Fiete
e06949dac1 Added @return support 2021-01-16 12:35:51 -08:00
Brian Fiete
8f3060fd3c Comptime method reflection, method entry/exit emission 2021-01-13 05:09:09 -08:00
Brian Fiete
71d4dd0e90 Early code generation support 2021-01-11 09:41:43 -08:00
Brian Fiete
3bbf2d8313 Comptime updates, start of metaprogramming support 2021-01-08 16:21:03 -08:00
Brian Fiete
ff1f8aff3f Initial const eval feature release 2020-12-23 08:53:38 -08:00
Brian Fiete
2e3880100b Fixed mangling issue with method overrides in extensions 2020-11-16 07:36:34 -08:00
Brian Fiete
2ac478509e Fixed operator precedence issues 2020-10-07 07:47:08 -07:00
Brian Fiete
7e111329c7 Trimmed reflected iface method table 2020-09-16 07:17:06 -07:00