Commit Graph

42 Commits

Author SHA1 Message Date
Wvader 9a719a0226 Struct handling with readonly fields (wip) 2021-12-07 22:02:59 +00:00
Mohammadreza Taikandi 84929cd0a6 Fix missing static null analysis attribute errors on unsupported tfms. 2021-07-29 17:40:55 +01:00
Mohammadreza Taikandi 180bf22b0b Fix namespace conflict if part of it shared by the system namespace. 2021-07-03 07:22:54 +01:00
Mohammadreza Taikandi 9ab0e4eb25 Optimized namespace discovery. 2021-07-02 14:55:50 +01:00
Mohammadreza Taikandi bfd6dafe78 Add mapping implicit type conversion tests. 2021-07-02 12:37:55 +01:00
Mohammadreza Taikandi 1bec4fbc64 Fix tests. 2021-07-02 09:24:46 +01:00
Mohammadreza Taikandi 0ad89b0d6b Use fully qualified name of the source type instead of adding usings if necessary. 2021-07-02 09:12:11 +01:00
Mohammadreza Taikandi 02e530156f Add support for c# records. 2021-06-30 19:17:56 +01:00
Mohammadreza Taikandi 98c899e078 Enabled nullable reference type check. 2021-06-29 07:14:00 +01:00
Mohammadreza Taikandi c3bdc8f008 Package upgrade. 2021-06-29 07:13:08 +01:00
Mohammadreza Taikandi e474ab86d0 Fixes issue #6. Move usings inside namespace declaration. 2021-06-23 09:13:19 +01:00
Mohammadreza Taikandi 9e662c7e90 Prevent generating the secondary constructor if one is available in the destination class. 2021-04-17 08:15:39 +01:00
Mohammadreza Taikandi 2f8a897676 Refactor DiagnosticProvider to DiagnosticsFactory. 2021-04-17 08:13:08 +01:00
Mohammadreza Taikandi 3d0f9e5bbb Fix cyclic reference issue. 2021-04-09 08:05:53 +01:00
Mohammadreza Taikandi c1a763a474 Simplified using statements and fix nested mappings. 2021-02-17 08:32:23 +00:00
Mohammadreza Taikandi 6ad7ea83f9 Fix base constructor call issue. 2021-02-13 11:27:32 +00:00
Mohammadreza Taikandi 542cdb05f8 Use extension method to map the nested objects. 2021-02-07 10:55:08 +00:00
Mohammadreza Taikandi 36161b728c Update sample project. 2021-02-07 10:51:49 +00:00
Mohammadreza Taikandi a54b15942a Fix semantic model for nested objects. 2021-02-07 10:51:01 +00:00
Mohammadreza Taikandi 4706bc22ef Improve tests output message. 2021-02-07 10:46:12 +00:00
Mohammadreza Taikandi 4693dcfa55 Add support for nested object property map. 2021-02-07 08:42:02 +00:00
Mohammadreza Taikandi 8ed331ed95 Use SourceBuilder instead of StringBuilder. 2021-01-30 09:09:58 +00:00
Mohammadreza Taikandi 2a2f46def7 Move tests into separate classes. 2021-01-30 08:59:39 +00:00
Mohammadreza Taikandi acd98e72ff Add MapProperty attribute. Makes it possible to map to a different property. 2021-01-29 08:28:43 +00:00
Mohammadreza Taikandi f7a755332e Add nullable reference types support. 2021-01-27 08:08:23 +00:00
Mohammadreza Taikandi 13c5279e15 Add parameter to ITypeConverter. 2021-01-23 11:05:58 +00:00
Mohammadreza Taikandi 2ef7ded450 Cleanup. 2021-01-22 08:24:00 +00:00
Mohammadreza Taikandi 0fc9540c58 Move to MapTypeConverter. 2021-01-21 16:41:12 +00:00
Mohammadreza Taikandi dd9254ab74 Initial implementation of TypeConverter. 2021-01-21 08:19:17 +00:00
Mohammadreza Taikandi ec21abcf0e Add MapProperty attribute. 2021-01-07 08:17:36 +00:00
Mohammadreza Taikandi e9e44b979a Add TypeConverter interface. 2021-01-06 08:52:50 +00:00
Mohammadreza Taikandi 8a3bbc095e Put source builders in different files and use IndentedTextWriter instead of StringBuilder. 2021-01-04 10:42:18 +00:00
Mohammadreza Taikandi f7ff6e4793 Use same access modifier as the declaring class. 2021-01-03 16:15:01 +00:00
Mohammadreza Taikandi c7d6d3ff27 Add option to set generated methods access modifier. 2021-01-03 15:38:03 +00:00
Mohammadreza Taikandi 85d47d67c3 Add option to generate xml docs. 2021-01-03 09:26:07 +00:00
Mohammadreza Taikandi 09d09430ef Add initial support for global configuration. 2020-12-31 10:01:27 +00:00
Mohammadreza Taikandi 7b03c7a55e Ignore properties with matching names but different types. 2020-12-24 20:05:52 +00:00
Mohammadreza Taikandi c2088c540e Add attribute to exclude a property from mapping. 2020-12-24 10:05:29 +00:00
Mohammadreza 9197835b31
Delete old csproj 2020-12-24 06:43:49 +00:00
Mohammadreza 000136f59d
Fix file case. 2020-12-24 06:43:05 +00:00
Mohammadreza Taikandi da6fb3e589 Report diagnostics error when no matching property found. 2020-12-22 17:35:20 +00:00
Mohammadreza Taikandi df34907d69 Housekeeping. 2020-12-22 16:37:19 +00:00