Daniel Grunwald
d4df4d9790
Fixed using implicit user-defined conversions as part of explicit conversions.
13 years ago
Daniel Grunwald
03f66e700f
CastExpressionOfIncompatibleTypeIssue: don't produce an issue when the source or target type is unknown.
13 years ago
Daniel Grunwald
eabc6dbfae
Don't warn on empty custom events.
13 years ago
Daniel Grunwald
c3f46aadfb
Move some code actions from 'CodeActions' namespace to refactoring namespace, to be consistent with all other code actions.
13 years ago
Daniel Grunwald
8f459c2460
Ensure IVariable.ConstantValue has the correct type when a local constant declaration involves an implicit conversion
...
E.g. "const int MAXSIZE = ushort.MaxValue;"
13 years ago
Daniel Grunwald
b500f468ac
Fix #120 : RedundantNamespaceUsageIssue bad handling of using aliases
13 years ago
Daniel Grunwald
27978f44c7
Add 'allowOptionalParameters' flag to MGRR.PerformOverloadResolution.
13 years ago
Daniel Grunwald
5e01d285d0
Fix InvalidCastException on invalid compile-time constant casts.
13 years ago
Daniel Grunwald
59cc439a30
Added delegate compatibility check to method-group conversions.
13 years ago
Mike Krüger
24e7b56613
Fixed cyclic constants.
13 years ago
Mike Krüger
8830b3fbac
Add unit test for cyclic constants.
13 years ago
Mike Krüger
5d20faf0c5
[Ast] Getting the end location of token nodes is now faster.
13 years ago
Daniel Grunwald
07fc74aaf4
Add special case for negative zero in CSharpOutputVisitor.
13 years ago
Lopatkin Ilja
4b3f83be72
Implemented code action to sort usings
13 years ago
Mike Krüger
eeec368713
Fixed completion bug.
13 years ago
Mike Krüger
f5cd8851cc
[CodeCompletion] Fixed completion bug.
13 years ago
Mike Krüger
5d8db35d10
Fixed ignored unit test.
13 years ago
Erik Källén
8d5536e2f6
Handle await expressions in find references.
13 years ago
Erik Källén
66f51bff3a
Added a separate AwaitResolveResult
13 years ago
Mike Krüger
be113cf37b
Fixed bug in parameter completion.
13 years ago
Mike Krüger
aebedfea27
Added test that exposes a problem with empty namespaces.
13 years ago
Mike Krüger
539db3bb43
[Completion] Fixed bug in object initializer context.
13 years ago
Mike Krüger
1f8b45f8d9
Fixed failing unit test.
13 years ago
Mike Krüger
0802ed7564
Fixed completion bug.
13 years ago
Mike Krüger
74296dbfd6
Activated ignored test.
13 years ago
Mike Krüger
057818f135
[Completion] Fixed bug in indexer context.
13 years ago
Mike Krüger
0df05c304f
Updated mcs.
13 years ago
Mike Krüger
74e7a2180c
Removed obsolete hack.
13 years ago
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
Mike Krüger
da2bdcfcbe
Fixed completion bug.
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
Mike Krüger
eb2d78e29a
Used new GetAccessibleMembers method in code completion.
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
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
mkrueger
bb8df03211
[CodeIssue] Fixed bug in redundant type cast issue.
13 years ago
Daniel Grunwald
b37698b39b
ICompilation.Import(IType): added support for importing open generic types
...
Renamed 'IResolved' to 'ICompilationProvider'.
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
90bea8ed51
Fixed Issue #109 'Code Completion shows 'ushort' in global scope'.
13 years ago
Mike Krüger
fa3cf3b6e1
Fixed completion bug.
13 years ago
Simon Lindgren
b71617d816
[CodeIssues] Fix handling of member references in AssignmentMadeToSameVariableIssue.
13 years ago
Simon Lindgren
704b5304d8
[CodeIssues] Also warn for null or empty checks using 'str.Length == 0'
13 years ago