[Mono-list] Is class.cs broken for mono-snapshot-14-Aug-01.tar.gz ???
Stack Overflow
go_mono@hotmail.com
Wed, 15 Aug 2001 22:50:43 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_000D_01C125DC.B6CFF780
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
While compiling MCS I got the error
class.cs(360,4): error CS0246: The type or namespace name 'FieldBuilder' =
could
not be found (are you missing a using directive or an assembly
reference?)
class.cs(362,4): error CS0103: The name 'fb' does not exist in the class =
or
namespace 'CIR.TypeContainer'
The error went away when I added following statement,
using System.Reflection.Emit;
mandar
------=_NextPart_000_000D_01C125DC.B6CFF780
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4208.1700" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>While compiling MCS I got the=20
error</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>class.cs(360,4): error CS0246: The type =
or=20
namespace name 'FieldBuilder'=20
could<BR> not be found (are =
you=20
missing a using directive or an=20
assembly<BR> =20
reference?)<BR>class.cs(362,4): error CS0103: The name 'fb' does not =
exist in=20
the class or<BR> namespace=20
'CIR.TypeContainer'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The error went away when I added =
following=20
statement,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>using=20
System.Reflection.Emit;</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>mandar</FONT></DIV></BODY></HTML>
------=_NextPart_000_000D_01C125DC.B6CFF780--