readonly property setter
Posted
by Anonymous Coward
on Stack Overflow
See other posts from Stack Overflow
or by Anonymous Coward
Published on 2010-04-22T13:18:16Z
Indexed on
2010/04/22
13:23 UTC
Read the original article
Hit count: 140
c#
|properties
Hi Everyone
After a extensive debugging session I found that the problem was that I called the setter of a readonly property. Is there a trick to provoke a compiler warning when this happens? Because marking the setter private does not work.
Cheers,
CA
© Stack Overflow or respective owner