public string Source { get { /* if ( Source == null ){ return string . Empty; } else { return Source;
The ternary operator (?:) is not designed for control flow, it's only designed for conditional assignment. If you need to control the flow of your program, use a control structure, such as if/else.
?:
if
else