I am working on some legacy code that is currently in VB.NET running on the .NET 1.1 Framework. I went to add a property to a class and received this error:
Property without a 'ReadOnly' or 'WriteOnly' specifier must provide both a 'Get' and a 'Set'.
Seriously? So I have to tell you that it is ReadOnly
in addition to the fact that I did not provide a Set
procedure? Talk about annoying. At least it works properly in C#.NET. Well, that’s it for today’s rant and I will not get off of my soapbox. Though it wasn’t really that much of a soapbox.