4

当我使用 windbg !do查看地址时,它输出:

0:000> !do 01ef30f4 
Name:        System.Collections.Generic.List`1[[System.Byte[], mscorlib]]
MethodTable: 0021285c
EEClass:     6313a530
Size:        24(0x18) bytes
File:        C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll
Fields:
      MT    Field   Offset                 Type VT     Attr    Value Name
633b70a0  4000ca6        4      System.Object[]  0 instance 01eed1b8 _items
63402df0  4000ca7        c         System.Int32  1 instance        0 _size
63402df0  4000ca8       10         System.Int32  1 instance        0 _version
633ffa60  4000ca9        8        System.Object  0 instance 00000000 _syncRoot
633b70a0  4000caa        0      System.Object[]  0   shared   static _emptyArray

     **Domain:Value dynamic statics NYI 002a8428:NotInit**  

Domain:Value dynamic statics NYI 002a8428:NotInit是什么意思?

4

1 回答 1

1

对于静态字段,!do在您拥有的每个 AppDomain 中显示静态字段的值。第一个值002a8428是 AppDomain 地址,第二个值是该 AppDomain 中静态字段的值。

于 2015-07-23T11:29:06.350 回答