Export (0) Print
Expand All
Expand Minimize

Compiler Error CS1653 

Visual Studio 2005

Error Message

Cannot pass fields of 'identifier' as a ref or out argument because it is read-only

This error occurs when you have a variable which is read-only because of its context and you attempt to pass members of this variable as a ref or out parameter.

Community Additions

ADD
Show:
© 2014 Microsoft