Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

1.4 is broken - Expression must be writeable #42

Closed
304NotModified opened this issue Sep 3, 2018 · 0 comments · Fixed by #43
Closed

1.4 is broken - Expression must be writeable #42

304NotModified opened this issue Sep 3, 2018 · 0 comments · Fixed by #43
Milestone

Comments

@304NotModified
Copy link
Owner

304NotModified commented Sep 3, 2018

Unfortunately, there is a change that broke it.

On build we get:

Error		Fody: An unhandled exception occurred:
Exception:
Expression must be writeable
Parameter name: left
StackTrace:
   at System.Linq.Expressions.Expression.RequiresCanWrite(Expression expression, String paramName)
   at System.Linq.Expressions.Expression.Assign(Expression left, Expression right)
   at PropertyDelegateBuilder.TryBuildPropertySetDelegate[T](Type targetType, String propertyName, Action`2& action) in C:\projects\fody\FodyIsolated\DelegateBuilders\PropertyDelegateBuilder.cs:line 23
   at DelegateBuilder.BuildDelegateHolder(Type weaverType) in C:\projects\fody\FodyIsolated\DelegateBuilders\DelegateBuilder.cs:line 31
   at DelegateBuilder.GetDelegateHolderFromCache(Type weaverType) in C:\projects\fody\FodyIsolated\DelegateBuilders\DelegateBuilder.cs:line 15
   at InnerWeaver.InitialiseWeavers() in C:\projects\fody\FodyIsolated\InnerWeaver.cs:line 127
   at InnerWeaver.Execute() in C:\projects\fody\FodyIsolated\InnerWeaver.cs:line 82
Source:
System.Core
TargetSite:
Void RequiresCanWrite(System.Linq.Expressions.Expression, System.String)	

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant