Cannot refer to '<name>' because it is a member of the value-typed field '<name>' of class '<classname>' which has 'System.MarshalByRefObject' as a base class
System.MarshalByRefObject class enables applications that support remote access to objects across application domain boundaries. Types must inherit from the
MarshalByRejectObject class when the type is used across application domain boundaries. The state of the object must not be copied because the members of the object are not usable outside the application domain in which they were created.
Error ID: BC30310
To correct this error
Check the reference to make sure the member being referred to is valid.
Explicitly qualify the member with the