Add a imports ("using" in C#) directive to the namespace:
System.Runtime.CompilerServices.Also, I do not see any class named "MyClass" as referenced in your TypeForwardedToAttribute. You will also probably need to fully qualify the name of the Class1.
