MBOTH
660
Modifier cannot be both modifier
You’ve declared two mutually exclusive modifiers for the same item. The following modifiers are mutually exclusive:
- SEALED and ABSTRACT on a class
- VIRTUAL and ABSTRACT on a method
- PRIVATE and VIRTUAL or ABSTRACT on a method
- PUBLIC, PROTECTED, and PRIVATE
- NEW and OVERRIDE on a class member
- LOCAL, STACK, or STATIC
- STATIC and VIRTUAL, ABSTRACT, or OVERRIDE
- STATIC and CONST
- CONST and READONLY
- VOLATILE and READONLY
- VOLATILE and CONST
- BYREF and BYVAL
- BYVAL or ^VAL and OUT or INOUT
- BYVAL or ^VAL and OPTIONAL
- IN, OUT, and INOUT
- REQUIRED and OPTIONAL