Daniel Grunwald
3f2abc2591
Fixed TypeSystemAstBuilder not using short type name when there is a property with the same name.
13 years ago
Mike Krüger
4805ac3b65
Added unit test for a reported bug.
13 years ago
Mike Krüger
c829bd6c27
[Completion] Refactored the completion data factory (shortType no
...
longer required - should be done lazy in the GUI).
13 years ago
Daniel Grunwald
80ba1b3dba
Always set ArrayCreateResolveResult.SizeArguments. Closes #111 .
13 years ago
Daniel Grunwald
fb7561e6dc
Hide EntityDeclaration.Name/NameToken via EditorBrowsableAttribute when they aren't usable in a derived class. ( #117 )
15 years ago
Mike Krüger
da2bdcfcbe
Fixed completion bug.
13 years ago
Mike Krüger
063a72c685
Merge pull request #116 from riviti/performance
...
Performance enhancements
13 years ago
Simon Lindgren
cdf2e04c81
Replace FindReferences with context.FindReferences in MultipleEnumerationIssue.
13 years ago
Simon Lindgren
1726ac4fcd
Replace FindReferences with context.FindReferences in ValueParameterUnusedIssue.
13 years ago
Simon Lindgren
6c2336b582
[CodeIssues] Add helper FindReferences(AstNode, IVariable) to BaseRefactoringContext.
13 years ago
Simon Lindgren
6458118ceb
Replace FindReferences with LocalReferenceFinder in ForControlVariableNotModifiedIssue.
13 years ago
Simon Lindgren
2e21c6e2f0
Add fast check to discard most invocations early in ReferenceEqualsCalledWithValueTypeIssue.
13 years ago
Simon Lindgren
db31f5f80d
Add fast check to discard most invocations early in FormatStringIssue.
13 years ago
Simon Lindgren
ea1c7410f0
Speed up RedundantToStringIssue a bit.
13 years ago
Simon Lindgren
7b86a384df
[CodeIssues] Optimize IncorrectExceptionParameterOrderingIssue.
13 years ago
Simon Lindgren
8be6f487e9
Replace FindReferences with LocalReferenceFinder in VariableNotUsedIssue.
13 years ago
Simon Lindgren
b6cbd38edd
Add check to disqualify most invocations early in OptionalParameterCouldBeSkippedIssue.
13 years ago
Simon Lindgren
1d129a6a74
Replace FindReferences with LocalReferenceFinder in RedundantAssignmentIssue.
13 years ago
Simon Lindgren
b1860b1f07
Replace FindReferences with LocalReferenceFinder in AccessToClosureIssue.
13 years ago
Simon Lindgren
6ec44d10d5
Replace FindReferences with LocalReferenceFinder in {Variable,Parameter}OnlyAssignedIssue.
13 years ago
Simon Lindgren
c518c640f1
[Refactoring] Add LocalReferenceFinder.
13 years ago
Daniel Grunwald
980a367bad
Merged some changes from SharpDevelop to NRefactory.
13 years ago
Daniel Grunwald
875ee8d079
Add test: implicit long constant expression conversion to short
13 years ago
Daniel Grunwald
42f5055b47
Fix potential NullReferenceException in GetAccessibleMembers() if GetDefinition() returns null
13 years ago
Mike Krüger
eb2d78e29a
Used new GetAccessibleMembers method in code completion.
13 years ago
Daniel Grunwald
6b977c69a7
Add MemberLookup.GetAccessibleMembers().
13 years ago
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