Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
C-sharp language specification.2004.pdf
Скачиваний:
14
Добавлен:
23.08.2013
Размер:
2.55 Mб
Скачать

 

C# LANGUAGE SPECIFICATION

 

1

attribute-section:

 

2

[ attribute-target-specifieropt

attribute-list ]

3

[ attribute-target-specifieropt attribute-list , ]

4

attribute-target-specifier:

 

5

attribute-target :

 

6

attribute-target:

 

7

identifier

 

8

keyword

 

9

attribute-list:

 

10

attribute

 

11

attribute-list , attribute

 

12

attribute:

 

13

attribute-name attribute-argumentsopt

14

attribute-name:

 

15

type-name

 

16

attribute-arguments:

 

17

( positional-argument-listopt

)

18

( positional-argument-list ,

named-argument-list )

19( named-argument-list )

20positional-argument-list:

21

positional-argument

22

positional-argument-list , positional-argument

23

positional-argument:

24

attribute-argument-expression

25

named-argument-list:

26

named-argument

27

named-argument-list , named-argument

28

named-argument:

29

identifier = attribute-argument-expression

30

attribute-argument-expression:

31

expression

32A.2.13 Generics

33type-parameter-list:

34< type-parameters >

35type-parameters:

36

attributesopt type-parameter

37

type-parameters , attributesopt type-parameter

38

type-parameter:

39

identifier

40 type-argument-list:

41< type-arguments >

42type-arguments:

43

type-argument

44

type-arguments , type-argument

45

type-argument:

46

type

458

Соседние файлы в предмете Электротехника