Mike Krüger
11aa873815
Added alias resolve results that allows it to handle aliases more
...
easily. (for example showing them in the text editor UI or tooltips)
13 years ago
Mike Krüger
aebedfea27
Added test that exposes a problem with empty namespaces.
13 years ago
Daniel Grunwald
31474555b2
Avoid looking for inner classes when resolving a class constraint.
13 years ago
erikkallen
d857a8ba8d
Test demonstrating issue with duplicate using directive.
13 years ago
Simon Lindgren
4acb9b8ff6
[Resolver] Don't check the location of value parameters in accessors.
...
(Revert remaining parts of revision e60567ab86
)
13 years ago
Simon Lindgren
e60567ab86
[Resolver] Give the value parameter a domregion close to the setter or adder.
...
Previously the value parameters were given the start and end location (0, 0) which was problematic for the
FindReferences class which uses this information to decide if two variables are the same when finding references.
13 years ago
Mike Krüger
1ade7c4996
[Resolver] Fixed using statement.
13 years ago
Daniel Grunwald
4fe7c72b16
Fixed context for determining accessibility of protected inner classes when resolving a base type reference (NameLookupTests.InheritFromProtectedInnerClassTest)
13 years ago
Mike Krüger
f5b7f574b3
[UnitTest] Added failing unit test.
13 years ago
Daniel Grunwald
bb822e94d4
Allow using AstType.ToTypeReference().Resolve(compilation.TypeResolveContext) - this will now resolve in the global namespace.
...
Fixed increment operator on System.Char.
14 years ago
Daniel Grunwald
f1a1ab32ad
Added ResolverTest to consistency check and fixed some crashing bugs in the resolver.
14 years ago
Daniel Grunwald
b84c06e5b6
Make CSharpResolver immutable.
14 years ago
Daniel Grunwald
f410a2b5d5
Enum members are implicitly cast to the underlying type when used in an enum member initializer.
14 years ago
Daniel Grunwald
e2cb5467c2
Adjust CodeDomConvertVisitor and DefiniteAssignmentAnalysis to new type system.
14 years ago
Daniel Grunwald
9d7c018fb2
Adjusted C# resolver to refactored type system.
14 years ago
Daniel Grunwald
c02e801b5d
Introduce ResolvedUsingScope (serves as cache per using-scope; avoids resolving imported namespaces repeatedly).
14 years ago
Daniel Grunwald
f631199013
Type system refactoring: split unresolved/resolved type systems.
14 years ago
Daniel Grunwald
57d55c651d
Fixed resolving simple names within a generic class that refer to a non-generic inner class.
14 years ago
Daniel Grunwald
177fb85a00
Fix infinite recursion when resolving the base type of "class Test : Test.Base { public class Base {} }"
14 years ago
Daniel Grunwald
b7fcc55308
Re-enable resolver unit tests that failed due to the parser returning incorrect positions.
...
Fixed a bug that caused array initializers to fail to resolve when the parent variable initializer was not being resolved.
14 years ago
Daniel Grunwald
b7a17c206e
Adjust unit tests to InvocationResolveResult changes.
14 years ago
Daniel Grunwald
e37dc4b6c7
Move ResolveResults to NR.Semantics
14 years ago
Daniel Grunwald
5b17740bea
Use explicit interface implementation in ResolveVisitor to make it clear what the public API is supposed to be.
...
Added support for QueryJoinClause and QueryOrderClause to the resolver.
14 years ago
Daniel Grunwald
a93fd14efb
Adjust unit tests and fix bugs introduced by caching.
14 years ago
Daniel Grunwald
06b143bea6
Member lookup: Fix IsAccessible bug for protected static members.
...
Make CSharpResolver.ResolveMemberType() return a non-parameterized type when all type arguments are UnboundTypeArgument.
14 years ago
Daniel Grunwald
ea3e312438
Implemented grouping overloads by declared type.
...
Return overrides in most-derived class (necessary for determining the correct parameter names/IsOptional value), but keep them in the group where the virtual/abstract base method was.
14 years ago
Daniel Grunwald
7a2c59ae4a
Add GetMemberOptions.
14 years ago
Daniel Grunwald
c9c204439f
Fix type inference and overload resolution when a class type parameter gets substituted by a method type parameter.
14 years ago
Daniel Grunwald
5c585e110b
Apply license header to unit tests.
...
Add parser unit tests for ObjectCreateExpression.
14 years ago
Daniel Grunwald
e51e3a95cb
Add InvocationResolveResult.
14 years ago
Daniel Grunwald
77c7d08b9a
Implemented disambiguation for identical simple names and type names. (e.g. "public Color Color;")
14 years ago
Mike Krüger
7e708a653d
Worked on ast formatter tests.
14 years ago
Mike Krüger
dd4f73b314
Fixed bug in inner type result.
14 years ago
Daniel Grunwald
c9d4a5d0c9
Rename ITypeResolveContext extension methods to be consistent with the new names of the ITypeResolveContext methods.
14 years ago
Daniel Grunwald
878dbbff0b
Fixed some issues in resolver; enable resolver unit tests.
14 years ago
Daniel Grunwald
1c51b3ab05
Type storage: Fixed handling of namespaces that have sub-namespaces but do not directly contain classes.
14 years ago
Daniel Grunwald
3b6fe6ff0d
Adjust resolver to AST changes and disable failing unit tests.
15 years ago
Daniel Grunwald
9e42e6b6f4
Enable some unit tests that work with the type reference hack.
15 years ago
Daniel Grunwald
a665e39680
Add lots of resolver unit tests.
15 years ago
Daniel Grunwald
3ae0b71496
Renamed VariableResolveResult to LocalResolveResult and added some unit tests.
15 years ago
Daniel Grunwald
b9f9caaa9c
Added some unit tests and fixed some bugs.
15 years ago
Daniel Grunwald
b35f1f247c
Handle 'a::b' as MemberType (move aliases out of SimpleType).
15 years ago
Daniel Grunwald
7e530a90ac
Fixed some bugs; added support for type references to TypeSystemConvertVisitor.
15 years ago
Daniel Grunwald
24eb146c74
Add 'CommonTypeInference'.
15 years ago
Daniel Grunwald
0eeedc4d75
Add ResolveVisitor-based tests to SimpleNameLookupTests.
15 years ago
Daniel Grunwald
716a5f51fe
Add NRefactory.Demo (TreeView for visualization of C# DOM)
15 years ago
Daniel Grunwald
2f91b65b74
Add more SimpleNameLookupTests.
15 years ago
Daniel Grunwald
fe78216ca4
Started implementing type inference.
15 years ago