Anonymous methods, lambda expressions, and query expressions inside structs cannot access instance members of 'this'. Consider ...

Anonymous methods, lambda expressions, and query expressions inside structs cannot access instance members of 'this'. Consider copying 'this' to a local variable outside the anonymous method, lambda expression or query expression and using the local instead.