Daniel Grunwald
47aa23e828
Add unit tests that check that a class hiding a field depends on the generics.
13 years ago
Mike Krüger
1ed352ca30
[Completion] Added a case to prevent recursive constructor calls:
...
'public A() : this()'.
13 years ago
Mike Krüger
979151a7c2
Added indexer parameter name test.
13 years ago
Daniel Grunwald
f558b300e7
Revert "[AST] Handled protected and/or internal on AST level."
...
"protected internal" and "internal protected" are the same thing in C#.
Both map to ProtectedOrInternal; the ProtectedAndInternal accessibility is
not usable from C#.
This reverts commit b5ad2882ca
.
13 years ago
Daniel Grunwald
89ef0aef0e
Add type system accessibility tests.
13 years ago
Daniel Grunwald
359bb7b848
GetClassTypeReference: remove redundant code
13 years ago
Mike Krüger
ab6f86fa9c
[TypeSystem] GetClassTypeReference: Fixed CurrentAssembly == null
...
case.
13 years ago
Mike Krüger
b5ad2882ca
[AST] Handled protected and/or internal on AST level.
13 years ago
Mike Krüger
fc72147b88
[Refactoring] Script now corrects the formatting of inserted &
...
replaced nodes.
13 years ago
Mike Krüger
07c8929aa2
[Ast] GetTypes now includes inner delegates as well.
13 years ago
Daniel Grunwald
bf62230dc1
Rename 'ExtensionMethods' to 'TypeSystemExtensions'.
...
This avoids a naming conflict with other extension method classes in the solution.
13 years ago
Mike Krüger
922b9d7e1d
Merge branch 'master' of github.com:icsharpcode/NRefactory
13 years ago
mkrueger
1f78013258
[Ast] GetTypes now includes delegate declarations as well.
13 years ago
mkrueger
bb8df03211
[CodeIssue] Fixed bug in redundant type cast issue.
13 years ago
mkrueger
02ff35d187
[Completion] Cleaned up some code.
13 years ago
Daniel Grunwald
d01a22564a
Implement ICompilationProvider in a few more places where we have the compilation available.
13 years ago
Daniel Grunwald
b37698b39b
ICompilation.Import(IType): added support for importing open generic types
...
Renamed 'IResolved' to 'ICompilationProvider'.
13 years ago
mkrueger
72f6449a5e
[Completion] Fixed little completion issue.
13 years ago
Mike Krüger
a8f4a606e2
[TypeSystem] Added old GetTypeDefinition method for compatibility
...
reasons.
13 years ago
Mike Krüger
904af4bfd2
[Completion] Paremeter completion offset checks now for comments.
13 years ago
Daniel Grunwald
5670248de8
Add 'FullTypeName' struct, and use it to represent type names.
...
Contains some breaking API changes:
- Renamed 'FullNameAndTypeParameterCount' to 'TopLevelTypeName'.
- IAssembly.GetTypeDefinition(string, string, int) -> IAssembly.GetTypeDefinition(TopLevelTypeName)
- IAssembly.GetTypeDefinition(IUnresolvedTypeDefinition) -> IAssembly.GetTypeDefinition(FullTypeName)
- GetClassTypeReference now supports nested types
13 years ago
Mike Krüger
12f2f2793e
Removed debug messages.
13 years ago
Mike Krüger
e4f7a8cf10
Merge pull request #114 from riviti/master
...
Fix build
13 years ago
Simon Lindgren
ac21fc0b32
[CodeIssues] Fix compilation errors in AssignmentMadeToSameVariable.
13 years ago
Mike Krüger
90bea8ed51
Fixed Issue #109 'Code Completion shows 'ushort' in global scope'.
13 years ago
Mike Krüger
fa3cf3b6e1
Fixed completion bug.
13 years ago
Mike Krüger
6a50e62a7e
Merge pull request #113 from riviti/master
...
Improvements to CodeIssues and Actions
13 years ago
Mike Krüger
a6b80b2953
Merge pull request #112 from riviti/gsoc-fixes
...
... More gsoc fixes
13 years ago
Simon Lindgren
b71617d816
[CodeIssues] Fix handling of member references in AssignmentMadeToSameVariableIssue.
13 years ago
Simon Lindgren
3cf3032f50
[CodeActions] Clean up StatementsToInitializerConverter and InitializerPath.
...
Also, rename InitializerPath to AccessPath.
13 years ago
Simon Lindgren
704b5304d8
[CodeIssues] Also warn for null or empty checks using 'str.Length == 0'
13 years ago
Simon Lindgren
964b91123a
Merge remote-tracking branch 'origin/master' into gsoc-fixes
13 years ago
Simon Lindgren
b0e1fac6b6
[CodeIssues] Don't suggest moving declarations into invalid or weird places.
13 years ago
Daniel Grunwald
f7d8e87183
Fix race condition caused by freezing cecil-loaded assemblies too late.
13 years ago
Daniel Grunwald
1098051271
Fix icsharpcode/NRefactory#110 : CecilLoader fails on System.Data v2.0.50727
13 years ago
Daniel Grunwald
6682aa6f92
NRefactory changes from SharpDevelop: add IDocument.FileName and IAssembly.FullAssemblyName,
13 years ago
Daniel Grunwald
79db6fe54c
Change ISupportsInterning so that objects are interned immediately after they are created.
...
This lets us get rid of the hidden mutation due to interning; ISupportsInterning objects can now be truly immutable.
13 years ago
Simon Lindgren
3b5e5731ea
[CodeIssues] Don't warn for unused parameters on overrides and interface implementations.
13 years ago
Simon Lindgren
f829d5833c
[CodeIssues] Don't mark calls to IFormattable.ToString() as redundant.
13 years ago
Daniel Grunwald
76f3da7ccf
[CodeDomConvertVisitor] fixed converting fully-qualified references to static members
13 years ago
Mike Krüger
6efd3b949a
Revered patch from erik kallen/ignored failing test.
13 years ago
Daniel Grunwald
d0bed831ae
Add a mechanism to the FastSerializer that allows us to invalidate cached project contents when fixing a bug in one of the type system loaders.
13 years ago
Mike Krüger
637a7daae2
Updated mcs (fixed parser bug).
13 years ago
Mike Krüger
2e6d06b109
Merge pull request #69 from erik-kallen/AttributeFix
...
Add attributes also to the "Attribute.Attrs" member, not only to Sections
13 years ago
Mike Krüger
0ea9ee107c
Merge pull request #103 from konrad-kruczynski/master
...
Don't report parameter not used issue if it is out or ref
13 years ago
Mike Krüger
d37a7ba16d
[CodeActions] Added check for resolve error.
13 years ago
Mike Krüger
4e8b01df03
[Completion] Fixed type 'overloads'.
13 years ago
Mike Krüger
59982767c1
[Refactoring] Added option to the ast builder to control the behavior
...
of unbound type arguments.
13 years ago
Mike Krüger
ffe7c2ac3d
Merge pull request #107 from riviti/gsoc-fixes
...
More fixes to my GSoC work
13 years ago
Simon Lindgren
af16dc305c
Merge branch 'master' into gsoc-fixes
13 years ago