find and solve || findandsolve.com
Please wait.....

Inspecting the state of an object in the debuggee of type System.Reflection.MethodBase is not supported in this context

I have getting an error like as 'Expression = Inspecting the state of an object in the debuggee of type System.Reflection.MethodBase is not supported in this context'.When i have call GetAll list from from my repository in .net core.

Answer


Option 1.

If you call ToArray on the IQueryable, you can use lambdas in debugging on that. It doesn't work on the AsEnumerable result though, so it doesn't simply seem to be about using IEnumerable methods vs. IQueryable methods.

Option 2.

var deserializer = _context.Engine.TypeSerializerProvider.GetEntityDeserializer(entityType);
if (deserializer != null)
    await deserializer(this, entity, token);


Selena  Kandakar

Selena Kandakar

I like working on projects with a team that cares about creating beautiful and usable interfaces.

If findandsolve.com felt valuable to you, feel free to share it.

Comments



Report Response