Message In this declaration, noshare has been ignored due to the presence of const or readonly. Description A variable declared with the readonly storage class modifier, or the const type modifier cannot also have the noshare storage class modifier. The compiler will ignore the noshare storage class modifier. User Action Remove either the noshare storage class modifier or the const or readonly modifiers.