A
Alex Sedow
Standart describe grammar for events as (in EBNF):
event-declaration:
[attributes] [event-modifiers] "event" type variable-declarators ";"
[attributes] [event-modifiers] "event" type member-name "{"
event-accessor-declarations "}"
variable-declarators:
variable-declarator
variable-declarators "," variable-declarator
variable-declarator:
identifier
identifier "=" variable-initializer
i.e. according this standart it is possible to use variable-initializer in
event declaration. But I not found any examples in standart or open source
projects where declarators was used.
Question: Is it possible to use declarators in event declaration?
Alex.
event-declaration:
[attributes] [event-modifiers] "event" type variable-declarators ";"
[attributes] [event-modifiers] "event" type member-name "{"
event-accessor-declarations "}"
variable-declarators:
variable-declarator
variable-declarators "," variable-declarator
variable-declarator:
identifier
identifier "=" variable-initializer
i.e. according this standart it is possible to use variable-initializer in
event declaration. But I not found any examples in standart or open source
projects where declarators was used.
Question: Is it possible to use declarators in event declaration?
Alex.