C# virtual automatic properties omit get / set
<p>Is it ok to omit get or set in an automatic property when it is declared virtual?</p>

<p>I am referring a book on C# which shows the members of System.Exception as follows : </p>

<pre>

// Properties
public virtual IDictionary Data { get; }
public virtual string HelpLink { get; set; }
public Exception InnerException { get; }
public virtual string Message { get; }
public virtual string Source { get; set; }
public virtual string StackTrace { get; }
public MethodBase TargetSite { get; }

</pre>

<p>If automatic properties need to have both get and set, then why is it ok here?</p>

<p>Thanks.</p>
