C# 语言规范
xvi
版权所有
Microsoft Corporation 1999-2010
。保留所有权利。
17.4.2.1 条件方法 .............................................................................................................................. 408
17.4.2.2 条件特性类........................................................................................................................... 410
17.4.3 Obsolete 特性 .............................................................................................................................. 411
17.5 互操作的特性 ................................................................................................................................... 412
17.5.1 与 COM 和 Win32 组件的互操作............................................................................................... 412
17.5.2 与其他 .NET 语言的互操作 ....................................................................................................... 412
17.5.2.1 IndexerName 特性 ................................................................................................................ 412
18. 不安全代码 ............................................................................................................................................. 413
18.1 不安全上下文 ................................................................................................................................... 413
18.2 指针类型 ........................................................................................................................................... 415
18.3 固定和可移动变量 ............................................................................................................................ 418
18.4 指针转换 ........................................................................................................................................... 418
18.4.1 指针数组 ..................................................................................................................................... 419
18.5 表达式中的指针 ................................................................................................................................ 420
18.5.1 指针间接寻址 ............................................................................................................................. 420
18.5.2 指针成员访问 ............................................................................................................................. 421
18.5.3 指针元素访问 ............................................................................................................................. 422
18.5.4 address-of 运算符 ........................................................................................................................ 422
18.5.5 指针递增和递减 ......................................................................................................................... 423
18.5.6 指针算术运算 ............................................................................................................................. 423
18.5.7 指针比较 ..................................................................................................................................... 424
18.5.8 sizeof 运算符............................................................................................................................... 425
18.6 fixed 语句 .......................................................................................................................................... 425
18.7 固定大小缓冲区 ................................................................................................................................ 429
18.7.1 固定大小缓冲区的声明 .............................................................................................................. 429
18.7.2 表达式中的固定大小缓冲区 ...................................................................................................... 430
18.7.3 明确赋值检查 ............................................................................................................................. 431
18.8 堆栈分配 ........................................................................................................................................... 431
18.9 动态内存分配 ................................................................................................................................... 432
A. 文档注释.................................................................................................................................................. 435
A.1 简介 .................................................................................................................................................... 435
A.2 建议的标记 ........................................................................................................................................ 436
A.2.1 <c> ............................................................................................................................................... 437
A.2.2 <code> .......................................................................................................................................... 437
A.2.3 <example> .................................................................................................................................... 437
A.2.4 <exception> .................................................................................................................................. 438
A.2.5 <include>...................................................................................................................................... 438
A.2.6 <list> ............................................................................................................................................ 439
A.2.7 <para> .......................................................................................................................................... 440
A.2.8 <param> ....................................................................................................................................... 440
A.2.9 <paramref> ................................................................................................................................... 441
A.2.10 <permission> .............................................................................................................................. 441
A.2.11 <remark> .................................................................................................................................... 441
A.2.12 <returns> .................................................................................................................................... 442
A.2.13 <see> .......................................................................................................................................... 442