Daniel Grunwald
760a2ae10b
Remove more usages of WorkbenchSingleton.
13 years ago
Daniel Grunwald
643223761d
Move MultiHighlighter to AvalonEdit.AddIn
13 years ago
Daniel Grunwald
7f18d1d432
Remove usages of WorkbenchSingleton.
13 years ago
Daniel Grunwald
81361f7a12
Use named pipe instead of temporary file for sending the unit tests results to SharpDevelop.
13 years ago
Daniel Grunwald
725bf76535
Fixed override completion.
13 years ago
Daniel Grunwald
e5313f4b40
Adjust to NRefactory API changes + disable failing unit tests.
13 years ago
Daniel Grunwald
971cd13e08
Merge NRefactory 5.2.0-464-g536b9b0 into SharpDevelop newNR branch.
13 years ago
Daniel Grunwald
536b9b0b1c
Add issue provider for missing StringComparison argument to string.StartsWith/EndsWith/IndexOf/LastIndexOf calls.
13 years ago
Daniel Grunwald
99bbb11ded
Add 'ResultOfAsyncCallShouldNotBeIgnored' issue.
13 years ago
Daniel Grunwald
e6bc300e1e
Don't show "expression is never of the provided type" warning if the type could not be resolved.
13 years ago
Daniel Grunwald
fe815dc2a0
Fixed false positive that caused a 'is operator always returns true' warning even though it returns false. (e.g. 'intVar is double')
13 years ago
Mike Krüger
a50b205d6b
[CodeIssues] Fixed unused parameters for methods used as delegates and
...
event handlers.
13 years ago
Mike Krüger
28c635f11d
[CodeIssues] Removed LocalVariableOnlyAssignedIssue - it's redundant
...
and handled by RedundantAssignmentIssue
13 years ago
Mike Krüger
4d49d61ab5
[CodeIssues] Added type checking to string is null or empty issue.
13 years ago
Mike Krüger
810a1e8911
[Refactoring] Corrected formatting region.
13 years ago
Mike Krüger
8e1ed7e962
[Refactoring] Format text can now take a node list to format / fixed a
...
formatting issue.
13 years ago
Mike Krüger
be94aebdcc
[Refactoring] FormatText now specifies a formatting region. (speed
...
purposes)
13 years ago
Daniel Grunwald
c3bd806532
Use BeginHighlighting()/EndHighlighting() to improve performance of CSharpSemanticHighlighter.
13 years ago
Daniel Grunwald
c1787fbd2d
Fixed performance bugs in issue search:
...
- Avoid excessive file name normalization by changing IProject.FileName from string to class FileName.
- Dispose CSharpSemanticHighlighter to fix memory leak and avoid excessive number of ParseInformationUpdated listeners.
13 years ago
Daniel Grunwald
e62e9469a7
Simplified ExpressionIsNeverOfProvidedTypeIssue and fixed false positive when converting from System.Object to value types.
13 years ago
Daniel Grunwald
211c6a1b05
Implemented ITypeParameter.EffectiveInterfaceSet
13 years ago
Daniel Grunwald
e272d518b6
AssignmentMadeToSameVariableIssue: don't warn on "a += a;"
13 years ago
Daniel Grunwald
81c09524d6
Reference to static member via derived type: ignore curiously recurring template pattern
13 years ago
Daniel Grunwald
912017d123
RedundantWhereWithPredicateIssue: in addition to Any(), handle Count(),First(),FirstOrDefault(),Last(),LastOrDefault(),LongCount(),Single() and SingleOrDefault().
13 years ago
Daniel Grunwald
3e42bc1e6a
Don't show 'Method with optional parameter is hidden by overload' issue if the overloads have different type parameters.
13 years ago
Daniel Grunwald
9cdf7e71f9
Don't show 'method never returns' for iterators containing 'yield break;'
13 years ago
Daniel Grunwald
75925d5aaf
Fix #119 : LocalVariableOnlyAssignedIssue does not recognize usage through unary operator expression
13 years ago
Daniel Grunwald
b105d57dc6
Disable MultipleEnumerationIssue and RedundantAssignmentIssue because they can cause stack overflows (see icsharpcode/NRefactory#123 )
13 years ago
Daniel Grunwald
ad431543a3
Fix NullReferenceException in IncorrectExceptionParameterOrderingIssue.
13 years ago
Daniel Grunwald
d12c306c84
Handle NotSupportedException in Properties.GetList().
13 years ago
Daniel Grunwald
caa61c79ca
Add helper method for exporting the control flow graph to GraphViz.
13 years ago
Daniel Grunwald
3eb4ea84f8
Fix NullReferenceException in IterateViaForeachAction.
13 years ago
Daniel Grunwald
1a2689edcb
CompareFloatWithEqualityOperatorIssue: use short name for System.Math if possible.
13 years ago
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
709f13bfa5
Tell WPF we don't have theme-specific resources so that it doesn't try to load missing assemblies.
13 years ago
Daniel Grunwald
4d75ecc36c
Fix InvalidCastException in AccessToClosureIssue.
13 years ago
Daniel Grunwald
0cdb73aad6
Add setter for the refactoring context's service container.
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
2f8e356c77
Improve error handling in SearchForIssuesCommand.
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
5878b3a8bf
Merge NRefactory 5.2.0-435-gb500f46 into SharpDevelop newNR branch.
13 years ago
Daniel Grunwald
cec4ef5156
Fix category for SD4->SD5 issue
13 years ago
Daniel Grunwald
a69e79474f
Enable the GSOC context actions and issue providers.
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
ee2bf2d209
Fix method-group conversions involving extension methods.
13 years ago
Daniel Grunwald
59cc439a30
Added delegate compatibility check to method-group conversions.
13 years ago