[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/image lib_attrs.c,1.4,1.5
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/image lib_attrs.c,1.4,1.5 |
Date: |
Wed, 20 Nov 2002 23:24:43 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/image
In directory subversions:/tmp/cvs-serv18319/image
Modified Files:
lib_attrs.c
Log Message:
Remove "IndexerName" from the underlying assembly because it isn't
supposed to exist outside the compiler.
Index: lib_attrs.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/image/lib_attrs.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** lib_attrs.c 21 Nov 2002 02:05:49 -0000 1.4
--- lib_attrs.c 21 Nov 2002 04:24:41 -0000 1.5
***************
*** 725,728 ****
--- 725,737 ----
/*
+ * Process an indexer name attribute.
+ */
+ static int IndexerNameAttribute(ILProgramItem *item, ILSerializeReader
*reader)
+ {
+ /* We must use this on a property, and we just remove it when found */
+ return (ILProgramItemToProperty(item) != 0);
+ }
+
+ /*
* Attribute lookup tables.
*/
***************
*** 749,752 ****
--- 758,766 ----
static AttrConvertInfo const compilerAttrs[] = {
{"MethodImplAttribute", MethodImplAttribute},
+ {"IndexerNameAttribute", IndexerNameAttribute},
+ {0, 0}
+ };
+ static AttrConvertInfo const compilerCSharpAttrs[] = {
+ {"IndexerNameAttribute", IndexerNameAttribute},
{0, 0}
};
***************
*** 789,792 ****
--- 803,810 ----
{
info = compilerAttrs;
+ }
+ else if(!strcmp(namespace, "System.Runtime.CompilerServices.CSharp"))
+ {
+ info = compilerCSharpAttrs;
}
else if(!strcmp(namespace, "System"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/image lib_attrs.c,1.4,1.5,
Rhys Weatherley <address@hidden> <=