Posted 18 years ago
by Jeff Hutt
-
Blade Games World
I found what seem to be a couple of issues in the parser. One of them is quite minor and the other is fairly major.
1. Minor issue
This is legal C#
"".Trim();
The Visual Studio intellisense correctly shows the members of string when you type the period after the quotes. With the current beta parser it doesn't show anything. It's a pretty fringe case but I thought I'd mention it.
2. Major issue
I don't see members on types defined in external assemblies that are passed in as function arguments.
For example a simple repro is this:
using System;
class Boo
{
void Foo(System.Array e)
{
e. // nothing displayed here
}
}
However this works great:
using System;
class Boo
{
void Foo()
{
System.Array e;
e. // lots of stuff displayed here
}
}
This is a bit of a showstopper for me as all my external types are passed in as arguments to a function, not obtained from a base class.
1. Minor issue
This is legal C#
"".Trim();
The Visual Studio intellisense correctly shows the members of string when you type the period after the quotes. With the current beta parser it doesn't show anything. It's a pretty fringe case but I thought I'd mention it.
2. Major issue
I don't see members on types defined in external assemblies that are passed in as function arguments.
For example a simple repro is this:
using System;
class Boo
{
void Foo(System.Array e)
{
e. // nothing displayed here
}
}
However this works great:
using System;
class Boo
{
void Foo()
{
System.Array e;
e. // lots of stuff displayed here
}
}
This is a bit of a showstopper for me as all my external types are passed in as arguments to a function, not obtained from a base class.