DynamicExpresso icon indicating copy to clipboard operation
DynamicExpresso copied to clipboard

Add support of net3.5

Open Alex141 opened this issue 10 years ago • 3 comments

Hello David!

It would be nice to make DynamicExpresso support of net 3.5. It is possible or there is some fundamental problems?

Alex141 avatar Jun 09 '15 12:06 Alex141

Hello Alex,

Yes I think it should be possible. Probably there is only some .NET features that I have used but we can rewrite the code in a different way or remove some small feature.

I appreciate any code contribution :smiley: otherwise I can try to work on it in the future but I don't know when...

davide

davideicardi avatar Jun 09 '15 14:06 davideicardi

I undestand :smile: . Recently I had experience for multitargeting library, so if I have time in the near future I might try solve this task

Alex141 avatar Jun 09 '15 14:06 Alex141

I inspected the code in net35, the following are the major compilation errors :

  • Error CS0246 The type or namespace name 'ISet<>' (isn't available for net35, generics is suported in net40)
  • Error CS0122 'ExpressionVisitor' is inaccessible due to its protection level (It's available in net40)
  • Error CS0234 The type or namespace name 'Dynamic' does not exist in the namespace 'System' (supported in net40)
  • Error CS0234 The type or namespace name 'ExceptionServices' does not exist in the namespace 'System.Runtime' (supported by net40)
  • Error CS0115 'DisableReflectionVisitor.VisitMethodCall(MethodCallExpression)': no suitable method found to override (part of ExpressionVisitor)
  • Error CS0115 'DisableReflectionVisitor.VisitMember(MemberExpression)': no suitable method found to override (part of ExpressionVisitor)

moh-hassan avatar Jan 15 '19 20:01 moh-hassan