[CSharpCodeGenerator] Revert change for not ignoring Final attr on fields
authorLluis Sanchez <lluis@xamarin.com>
Wed, 28 Sep 2011 16:20:42 +0000 (18:20 +0200)
committerLluis Sanchez <lluis@xamarin.com>
Wed, 28 Sep 2011 16:20:42 +0000 (18:20 +0200)
commit296246af8456eccaebf2bac410069929ef1ec47e
tree550ccf588aea57e3e27d0b4510125f35b96bff0a
parent14d5c30b37a1b32f0799f67f2a5160d07b2e2725
[CSharpCodeGenerator] Revert change for not ignoring Final attr on fields

MS.NET does ignore the Final attribute for fields, so we
have to ignore it to be compatible. Also, CodeMemberField
objects are created with the Final flag set, so with this
change all fields were now generated as readonly, which
is a severe regression.
mcs/class/System/Microsoft.CSharp/CSharpCodeGenerator.cs