[Mono-devel-list] Hashtable not beforefieldinit ?

Varga Zoltan vargaz at freemail.hu
Mon Sep 15 06:22:24 EDT 2003


                                         Hi,

  I noticed the following comment in the static constructor for
Hashtable:

                static Hashtable () {
                        // NOTE: previously this static
constructor was used
                        //       to calculate primeTbl, now
primeTbl is
                        //       hardcoded and constructor
does nothing
                        //       useful except for forcing
compiler to
                        //       eliminate beforefieldinit
from signature.
                }


Can anybody tell me why the Hashtable class can't be
beforefieldinit ?

                                thanks

                                      Zoltan






More information about the Mono-devel-list mailing list