Skip to content

Instantly share code, notes, and snippets.

@JonDouglas
Created December 28, 2016 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JonDouglas/09e57ec6312e9a421937c10f6ae60987 to your computer and use it in GitHub Desktop.
Save JonDouglas/09e57ec6312e9a421937c10f6ae60987 to your computer and use it in GitHub Desktop.
[0:] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: Interpreter of ref types
at Microsoft.Scripting.Interpreter.LightCompiler.CompileMethodCallExpression (System.Linq.Expressions.Expression expr) [0x00089] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/LightCompiler.cs:1283
at Microsoft.Scripting.Interpreter.LightCompiler.CompileNoLabelPush (System.Linq.Expressions.Expression expr) [0x001ba] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/LightCompiler.cs:1642
at Microsoft.Scripting.Interpreter.LightCompiler.Compile (System.Linq.Expressions.Expression expr) [0x00008] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/LightCompiler.cs:1729
at Microsoft.Scripting.Interpreter.LightCompiler.CompileTop (System.Linq.Expressions.LambdaExpression node) [0x00055] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/dlr/Runtime/Microsoft.Dynamic/Interpreter/LightCompiler.cs:221
at Microsoft.Scripting.Generation.CompilerHelpers.LightCompile (System.Linq.Expressions.LambdaExpression lambda) [0x00000] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/dlr/Runtime/Microsoft.Dynamic/Generation/CompilerHelpers.cs:619
at System.Linq.Expressions.Compiler.LambdaCompiler.Compile (System.Linq.Expressions.LambdaExpression lambda, System.Runtime.CompilerServices.DebugInfoGenerator debugInfoGenerator) [0x00000] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/System.Core/System.Linq.Expressions.Interpret/LambdaCompiler.cs:41
at System.Linq.Expressions.Expression`1[TDelegate].Compile () [0x00000] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/dlr/Runtime/Microsoft.Scripting.Core/Ast/LambdaExpression.cs:195
at Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessorsFactory.CreateValueBufferGetter (Microsoft.EntityFrameworkCore.Metadata.IProperty property) [0x00048] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessorsFactory.CreateGeneric[TProperty] (Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase) [0x00027] in <b004cff6238d4ed08011af53475172bf>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:305
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00050] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:313
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/referencesource/mscorlib/system/reflection/methodbase.cs:229
at Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyAccessorsFactory.Create (Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase) [0x00019] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBase+<>c.<get_Accessors>b__36_0 (Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBase p) [0x00005] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Internal.NonCapturingLazyInitializer.EnsureInitialized[TParam,TValue] (TValue& target, TParam param, System.Func`2[T,TResult] valueFactory) [0x00014] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBase.get_Accessors () [0x00000] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Metadata.Internal.PropertyBaseExtensions.GetPropertyAccessors (Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase) [0x0000b] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.KeyValueFactoryFactory.CreateSimpleFactory[TKey] (Microsoft.EntityFrameworkCore.Metadata.IKey key) [0x00018] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.KeyValueFactoryFactory.Create[TKey] (Microsoft.EntityFrameworkCore.Metadata.IKey key) [0x0001a] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Metadata.Internal.Key+<>c__21`1[TKey].<GetPrincipalKeyValueFactory>b__21_0 (Microsoft.EntityFrameworkCore.Metadata.Internal.Key k) [0x00005] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Internal.NonCapturingLazyInitializer.EnsureInitialized[TParam,TValue] (TValue& target, TParam param, System.Func`2[T,TResult] valueFactory) [0x00014] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Metadata.Internal.Key.GetPrincipalKeyValueFactory[TKey] () [0x00000] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Metadata.Internal.KeyExtensions.GetPrincipalKeyValueFactory[TKey] (Microsoft.EntityFrameworkCore.Metadata.IKey key) [0x0000b] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMapFactoryFactory.CreateFactory[TKey] (Microsoft.EntityFrameworkCore.Metadata.IKey key) [0x0000d] in <b004cff6238d4ed08011af53475172bf>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:305
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00050] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:313
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builder/data/lanes/3985/4d858103/source/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/referencesource/mscorlib/system/reflection/methodbase.cs:229
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.IdentityMapFactoryFactory.Create (Microsoft.EntityFrameworkCore.Metadata.IKey key) [0x0002e] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Metadata.Internal.Key+<>c.<get_IdentityMapFactory>b__18_0 (Microsoft.EntityFrameworkCore.Metadata.Internal.Key k) [0x00005] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Internal.NonCapturingLazyInitializer.EnsureInitialized[TParam,TValue] (TValue& target, TParam param, System.Func`2[T,TResult] valueFactory) [0x00014] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Metadata.Internal.Key.get_IdentityMapFactory () [0x00000] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Metadata.Internal.KeyExtensions.GetIdentityMapFactory (Microsoft.EntityFrameworkCore.Metadata.IKey key) [0x0000b] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.GetOrCreateIdentityMap (Microsoft.EntityFrameworkCore.Metadata.IKey key) [0x00008] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.StartTracking (Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry entry) [0x00072] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState (Microsoft.EntityFrameworkCore.EntityState oldState, Microsoft.EntityFrameworkCore.EntityState newState, System.Boolean acceptChanges) [0x00141] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState (Microsoft.EntityFrameworkCore.EntityState entityState, System.Boolean acceptChanges) [0x00026] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.PaintAction (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode node) [0x00034] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityEntryGraphIterator.TraverseGraph (Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntryGraphNode node, System.Func`2[T,TResult] handleNode) [0x00000] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.EntityGraphAttacher.AttachGraph (Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry rootEntry, Microsoft.EntityFrameworkCore.EntityState entityState) [0x00019] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.DbContext.SetEntityState (Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry entry, Microsoft.EntityFrameworkCore.EntityState entityState) [0x00025] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.DbContext.SetEntityState[TEntity] (TEntity entity, Microsoft.EntityFrameworkCore.EntityState entityState) [0x0000f] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.DbContext.Add[TEntity] (TEntity entity) [0x0000c] in <b004cff6238d4ed08011af53475172bf>:0
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1[TEntity].Add (TEntity entity) [0x00000] in <b004cff6238d4ed08011af53475172bf>:0
at EntityFrameworkXamarin.iOS.AppDelegate.FinishedLaunching (UIKit.UIApplication application, Foundation.NSDictionary launchOptions) [0x00116] in C:\Users\dougl\Documents\Visual Studio 2015\Projects\EntityFrameworkXamarin\EntityFrameworkXamarin.iOS\AppDelegate.cs:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment