[svn] r6822: nemerle/trunk/macros/compiler.n
pbludov
svnadmin at nemerle.org
Fri Nov 3 09:08:56 CET 2006
Log:
Mark compiler generated methods with CompilerGeneratedAttribute. It helps hide them from intellisense.
Author: pbludov
Date: Fri Nov 3 09:08:53 2006
New Revision: 6822
Modified:
nemerle/trunk/macros/compiler.n
Modified: nemerle/trunk/macros/compiler.n
==============================================================================
--- nemerle/trunk/macros/compiler.n (original)
+++ nemerle/trunk/macros/compiler.n Fri Nov 3 09:08:53 2006
@@ -360,6 +360,7 @@
//tb.Define (<[ decl: public override RelocateImpl (_info : RelocationInfo) : void {}]>);
tb.Define (
<[ decl:
+ [System.Runtime.CompilerServices.CompilerGenerated]
public override RelocateImpl (info : RelocationInfo/*, ident : string*/) : void
{
//info.NodeCount++;
@@ -383,7 +384,10 @@
if (code.IsEmpty)
{
//tb.Define (<[ decl: public virtual RelocateImpl (_info : RelocationInfo, _ident : string) : void { } ]>);
- tb.Define (<[ decl: public virtual RelocateImpl (_info : RelocationInfo) : void { } ]>);
+ tb.Define (<[ decl:
+ [System.Runtime.CompilerServices.CompilerGenerated]
+ public virtual RelocateImpl (_info : RelocationInfo) : void { }
+ ]>);
}
else
{
@@ -391,6 +395,7 @@
tb.Define (
<[ decl:
+ [System.Runtime.CompilerServices.CompilerGenerated]
public virtual RelocateImpl (info : RelocationInfo/*, ident : string*/) : void
{
//info.NodeCount++;
More information about the svn
mailing list