Posted 17 years ago
by Leif Zars
Version: 4.0.0260
Platform: .NET 3.0
Environment: Windows Vista (64-bit)

if i have a FieldDeclaration and LocalVariableDeclaration in your ast tree i can not find a way to determine if it is declared with a "New" modifier as in
Dim B As New NewItem
or
Friend WithEvents Button As New System.Windows.Forms.Button
the modifiers i get are 2048 (dim) and 33554434 ([Assembly] , WithEvents) respectively.
so maybe a bug???
thanks Leif
Dim B As New NewItem
or
Friend WithEvents Button As New System.Windows.Forms.Button
the modifiers i get are 2048 (dim) and 33554434 ([Assembly] , WithEvents) respectively.
so maybe a bug???
thanks Leif