I have a class (that I cannot modify) that simplifies to this:
public class Foo { public static string MyProperty { get {return \"Metho
typeof(Foo<>) .MakeGenericType(typeof(string)) .GetProperty("MyProperty") .GetValue(null, null);