Daniel Grunwald
418f7090cb
Fixed resolving NamedExpressions in anonymous type creation expressions.
14 years ago
Daniel Grunwald
040b841c3b
Fixed resolving equality and relational operators on nullable types.
14 years ago
Daniel Grunwald
70e62f42a1
Fixed DefaultMemberReference for methods with parameters.
14 years ago
Daniel Grunwald
453aac367f
Ensure that IMember.InterfaceImplementations does not contain nulls if there were resolve errors.
15 years ago
Daniel Grunwald
3b95e5a2e3
Fixed IsExplicitInterfaceImplementation.
...
Implemented IMember.InterfaceImplementations for explicitly implemented members.
15 years ago
Daniel Grunwald
0fd4f5b297
Rename unresolved InterfaceImplementations to ExplicitInterfaceImplementations.
15 years ago
Daniel Grunwald
06f96bf068
Remove IAccessor and use IMethod instead.
15 years ago
Daniel Grunwald
3c6cbeeae7
Add IMember.UnresolvedMember property.
15 years ago
Daniel Grunwald
942b4f70ef
Move ConversionResoleResult to ICSharpCode.NRefactory.Semantics.
...
Boxing conversion for attribute arguments is now used consistently in C# type system and Cecil-loaded type system.
15 years ago
Daniel Grunwald
44b1c40e70
Remove some dead code.
15 years ago
Daniel Grunwald
f1a1ab32ad
Added ResolverTest to consistency check and fixed some crashing bugs in the resolver.
15 years ago
Daniel Grunwald
93a5c13825
FindReferences: add support for searching in a different compilation than the entity is defined in.
15 years ago
Daniel Grunwald
92c8bd671a
Fix NullReferenceException in DefaultResolvedField.ConstantValue when the field is not a constant.
15 years ago
Daniel Grunwald
1464b5d0b7
For IAssembly.GetTypeDefinition, treat ns==null the same as ns==string.Empty.
15 years ago
Mike Krüger
27f18d79b4
Fixed possible null reference exception.
15 years ago
Mike Krüger
9606b56130
Added GetTypeResolveContext to IParsedFile.
15 years ago
Mike Krüger
b1bfe5c8b1
Added full name constructor to defaultunresolvedTypeDefinition.
15 years ago
Daniel Grunwald
36c9caec10
Add ICompilation.Import() extension methods.
15 years ago
Mike Krüger
45bcad49fb
Added getsubtype definitions helper method.
15 years ago
Mike Krüger
a564ebbd37
Added easy to access enumerables for various member types.
15 years ago
Daniel Grunwald
a71670f2bc
Fixed some issues with code round-tripping; and added unit tests for some parser failures.
15 years ago
Daniel Grunwald
b0b9942522
Add ISolutionSnapshot for creating compilations for multiple projects from a single consistent snapshot.
15 years ago
Daniel Grunwald
c4ce9344f0
Fixed bug when resolving base constructor calls.
15 years ago
Daniel Grunwald
0b263b0b74
TypeSystemConvertVisitor: implemented ConvertInterfaceImplementation for methods and properties.
...
Implemented 'goto case' support in control flow analysis.
15 years ago
Daniel Grunwald
f11eed9d15
Introduce a named unknown type (this allows TypeSystemAstBuilder to work better when there are resolve errors).
15 years ago
Daniel Grunwald
e2cb5467c2
Adjust CodeDomConvertVisitor and DefiniteAssignmentAnalysis to new type system.
15 years ago
Daniel Grunwald
73438b7288
Make CSharpResolveVisitor internal and expose CSharpAstResolver instead.
15 years ago
Daniel Grunwald
9d7c018fb2
Adjusted C# resolver to refactored type system.
15 years ago
Daniel Grunwald
54851a741f
C# Type System implementation
15 years ago
Daniel Grunwald
f9916d89ef
WIP: Type system refactoring.
15 years ago
Mike Krüger
0ab566c3c0
Fixed "partial" context.
15 years ago
Daniel Grunwald
f631199013
Type system refactoring: split unresolved/resolved type systems.
15 years ago
Daniel Grunwald
18e088e688
SpecializedMethod: Perform type substitution in the type parameter constraints.
15 years ago
Daniel Grunwald
69360a2c1c
Implemented constraint inheritance.
15 years ago
Daniel Grunwald
57d55c651d
Fixed resolving simple names within a generic class that refer to a non-generic inner class.
15 years ago
Mike Krüger
a81096dff8
Included interfaces in type parameter base types.
15 years ago
Mike Krüger
2bc61057e9
Fixed some completion unit tests.
...
I'm not 100% sure if that's the best solution fixing this, but makes
things easier for now.
15 years ago
Mike Krüger
1c0ce1dc7c
Added default parameters for type parameter count.
15 years ago
Mike Krüger
434ec17d9a
Correctly set kind of compound types.
15 years ago
Daniel Grunwald
475f8381ef
Make DefaultTypeDefinition.FullName cache thread-safe.
15 years ago
Mike Krüger
8c3899f134
Cached TypeDefiniton FullName.
...
This is required for the navigate to feature which checks the full
name as well as the name. Otherwise it would cause thousands of slow
string concats. Since the type system should be treaded as read only
namespaces & declaring type definitions can't change.
15 years ago
Daniel Grunwald
25176ef7d5
Fixed IMember.IsOverridable to return true for abstract members.
15 years ago
Daniel Grunwald
0c3d5e06d7
Fix bug in ParameterListComparer: the method signatures "Method<T>(T a)" and "Method<S>(S b)" were considered unequal.
15 years ago
Daniel Grunwald
4d73e48488
Add GetEffectiveBaseClass() and GetEffectiveInterfaceSet() to ITypeParameter, and fixed a bug in DefaultTypeParameter.IsReferenceType().
15 years ago
Daniel Grunwald
d0e9ce023b
CodeDomConvertVisitor: choose between CodeIndexerExpression and CodeArrayIndexerExpression.
...
DefaultParameter: fixed bug in interning - two parameters with different names were considered equal for interning.
15 years ago
Daniel Grunwald
e4d1f545fd
Add CodeDomConvertVisitor.
15 years ago
Mike Krüger
d683689d05
added serializable attributes.
15 years ago
Siegfried Pammer
e6d84ff111
moved Ambience to NRefactory
15 years ago
Daniel Grunwald
952696941a
Adjust SharpDevelop to NRefactory changes (move ICSharpCode.Editor -> ICSharpCode.NRefactory.Editor; put NR.C# in separate assembly)
15 years ago
Daniel Grunwald
b5b2408cbc
Move NRefactory.CSharp to separate assembly.
15 years ago