[Mono-list] System.Reflection.MemberAttributes
Mandar
go_mono@hotmail.com
Wed, 29 Aug 2001 01:10:20 +0530
This is a multi-part message in MIME format.
------=_NextPart_000_0017_01C13027.5FB12FF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
In class.cs file various access modifiers =20
for classes like Property, Constructor, Method
are given.
They also include modifiers like=20
Modifiers.NEW, Modifiers.OVERRIDE, Modifiers.INTERNAL,
Modifiers.PROTECTED.
In modifiers.cs MethodAttributes or FieldAttributes methods
do not check for Modifiers.NEW, Modifiers.PROTECTED etc.
The enums internal, new, protected, override belong
to System.Reflection.MemberAttributes.=20
(Surprisingly I could not find any match for Modifiers.PROTECTED )
I was just wondering why are they not handled because when
a new method is created even these should be passed?
do we need to check for them in Modifiers.cs
mandar
------=_NextPart_000_0017_01C13027.5FB12FF0
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 6.00.2462.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>In class.cs file various access=20
modifiers </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>for classes like Property, Constructor, =
Method</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>are given.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>They also include modifiers like =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Modifiers.NEW, Modifiers.OVERRIDE, =
Modifiers.INTERNAL,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Modifiers.PROTECTED.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>In modifiers.cs MethodAttributes or =
FieldAttributes=20
methods</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>do not check for Modifiers.NEW,=20
Modifiers.PROTECTED etc.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The enums internal, new, protected, =
override=20
belong</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>to System.Reflection.MemberAttributes.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(Surprisingly I could not find any =
match for=20
Modifiers.PROTECTED )</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I was just wondering why are they not =
handled=20
because when</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>a new method is created even these =
should be=20
passed?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>do we need to check for them in=20
Modifiers.cs</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>mandar</FONT></DIV></BODY></HTML>
------=_NextPart_000_0017_01C13027.5FB12FF0--