Are you sure you just haven't stumbled on the VS.NET attribute syntax?
I can't say about C#, but in VB.NET, if you want to mark a class member with
a compiler flag, you put <> in front of the member and inside the <>,
intelliSense will pop up to help you decide which attribute to use.
>I don't know if this will be fixed this side of Whidbey, but I just
> discovered an IntelliSense error in Visual Studio .NET 2003.
[quoted text clipped - 6 lines]
> the original line was "(bar > foo)" and I'm inverting the direction of
> comparison via cut & paste, by the way. That's how I found the error.
Christoph Nahr - 12 Oct 2004 06:53 GMT
>Are you sure you just haven't stumbled on the VS.NET attribute syntax?
>
>I can't say about C#, but in VB.NET, if you want to mark a class member with
>a compiler flag, you put <> in front of the member and inside the <>,
>intelliSense will pop up to help you decide which attribute to use.
Hmm... I guess that's another possible source for the bug but it's
still a bug nonetheless. :) C# surrounds attributes are by square
brackets, not angled ones. I can't think of any C# language element
that is surrounded by <>.

Signature
http://www.kynosarges.de