// CS8147: `X.TestProp': property and indexer which return by reference cannot have set accessors // Line: 6 public class X { ref string TestProp { set { } get { } } }