Adam Connelly
|
fccd433299
|
[CodeIssues] Updating the NoDefaultConstructorIssue to ignore inaccessible constructors and to only look at the direct base type. I also updated the issue text to contain the compiler error number, and altered the way that the string was formatted so that the format string is passed into TranslateString.
|
13 years ago |
Adam Connelly
|
15d8b1bfc1
|
[CodeIssues] Updated the NoDefaultConstructorIssue so that the description and message match the compiler error.
|
13 years ago |
Adam Connelly
|
aba167fa4c
|
[CodeIssues] Updating the NoDefaultConstructorIssue to take into account multiple constructors in the child class. If no constructors are defined in the child, the issue is put against the class identifier, whereas if constructors are defined, the issue is put against each constructor that has an issue.
|
13 years ago |
Adam Connelly
|
4f3695ca03
|
[CodeIssues] Adding an issue that highlights when a base class does not have a parameterless constructor, and the child class does not invoke any of the base class constructors.
|
13 years ago |
Mike Krüger
|
d69edd3670
|
[CodeIssues] ')edundant field initializer' issue no longer greys out
the field name.
|
13 years ago |
Mike Krüger
|
3451f5cb38
|
[Analysis] Handle null reference in control flow graph builder.
btw. assumes that if true statement is null the if is incomplete.
|
13 years ago |
Mike Krüger
|
6c62b5b2c3
|
[Ast] Fixed end location of multi line strings.
|
13 years ago |
Mike Krüger
|
e639b4bcbb
|
[Analysis] Handled null conditions in do while & while statements.
|
13 years ago |
Mike Krüger
|
f43d5df0e2
|
[CodeIssues] New issue to convert .Where(p).Any() to .Any(p). (from shani)
|
13 years ago |
Daniel Grunwald
|
e2eef883e1
|
Add 'HasBody' property to IMethod. Closes #100.
|
13 years ago |
Mike Krüger
|
2ed6497dc3
|
Merge pull request #101 from mono-soc-2012/mansheng
GSoC Project
|
13 years ago |
Mansheng Yang
|
aedf4e20cc
|
[CodeActions] ConvertImplicitToExplicitImplementationAction: removed a redundant test
|
13 years ago |
Mansheng Yang
|
1d3c30b8e1
|
Merge remote-tracking branch 'upstream/master' into mansheng
Conflicts:
ICSharpCode.NRefactory.CSharp/ICSharpCode.NRefactory.CSharp.csproj
ICSharpCode.NRefactory.CSharp/Refactoring/BaseRefactoringContext.cs
ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj
|
13 years ago |
Mike Krüger
|
612ab59965
|
Merge pull request #99 from mono-soc-2012/simonl
My GSoC 2012 work
|
13 years ago |
Simon Lindgren
|
2a45c1e68e
|
Merge branch 'master' into simonl
Conflicts:
ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj
|
13 years ago |
Daniel Grunwald
|
aa55c206e0
|
Add AbstractUnresolvedEntity.Clone() method.
|
13 years ago |
Mike Krüger
|
e975667717
|
[Formatting] Fixed wrong default option.
|
13 years ago |
Mansheng Yang
|
4945fa5e4f
|
[CodeIssues] MultipleEnumerationIssue: added documentation
|
13 years ago |
Mansheng Yang
|
dc7fa56956
|
[CodeIssue] RedundantAssignmentIssue: fixed a bug in issue finding
|
13 years ago |
Simon Lindgren
|
b7f65011fa
|
[CodeIssues] Improve ParameterCanBeDemotedIssue.
|
13 years ago |
Simon Lindgren
|
408b29847d
|
[TypeSystem] Don't consider non-public members for interface implementors.
|
13 years ago |
Simon Lindgren
|
79b4c25ccc
|
[CodeIssues] ParameterCanBeDemotedIssue: Add Criterions for suitable indexer members and for array types. Also start resolving the method with the new type to check for errors.
|
13 years ago |
Simon Lindgren
|
458bd90f11
|
[CodeIssues] Add incomplete dependency tracking to VariableDeclaredInWideScopeIssue.
|
13 years ago |
Mansheng Yang
|
a27b0518ce
|
[CodeIssues] ConstantConditionIssue: check if condition is compile time constant to avoid fake warnings
|
13 years ago |
Mansheng Yang
|
352dcce314
|
[CodeIssues] CompareBooleanWithTrueOrFalseIssue: check if the expression being compared is of boolean type
|
13 years ago |
Mansheng Yang
|
588b127a42
|
[CodeIssues] MethodNeverReturnsIssue: handle 'throw' case
|
13 years ago |
Mansheng Yang
|
71e42df2f9
|
[CodeActions] Moved GetDefaultValueExpression back to CreateOverloadWithoutParameterAction class
|
13 years ago |
Mansheng Yang
|
6f063c60a6
|
[CodeIssues] RedundantFieldInitializerIssue: handle some number type initializer cases
|
13 years ago |
Daniel Grunwald
|
c403f389b7
|
Move the fix for #94 into CSharpConversions.IsConstraintConvertible.
Also added a couple of additional unit tests for constraint validation.
|
13 years ago |
Daniel Grunwald
|
40bbafda16
|
Set NET_4_0 preprocessor symbol for mcs.
Rename "NET45" to "NET_4_5" to be consistent with mcs and Mono.Cecil.
|
13 years ago |
Daniel Grunwald
|
284a4cc795
|
Fix InvalidCastException in MemberLookup.RemoveInterfaceMembersHiddenByClassMembers
|
13 years ago |
Daniel Grunwald
|
8ede23f8cb
|
Merge pull request #94 from erik-kallen/InvokeGenericMethodWithNullableTypeArgument
Invoke generic method with nullable type argument
|
13 years ago |
Daniel Grunwald
|
eb4de73fc3
|
Merge pull request #93 from erik-kallen/DuplicateUsingsIssue
Duplicate usings issue
|
13 years ago |
mkrueger
|
740a30c929
|
[Completion] CreateNamespace completion data now takes a INamespace
instead of a string.
|
13 years ago |
Mansheng Yang
|
f3ae264680
|
[Demo] Reverted an unnecessary change
|
13 years ago |
Mansheng Yang
|
f5c370a6cd
|
[CodeIssues] MethodOverloadHidesOptionalParameterIssue: fixed namespace
|
13 years ago |
Mansheng Yang
|
8d77f4bd9c
|
[CodeIssues] Removed some unused usings
|
13 years ago |
Mansheng Yang
|
f1dad51f27
|
[CodeActions] CreateCustomEventImplementationAction: removed TODO which is already done.
|
13 years ago |
Mansheng Yang
|
11b9fd1cbc
|
[CodeActions]ConvertLambdaBodyExpressionToStatementAction: removed unused usings
|
13 years ago |
Mansheng Yang
|
c461c7b382
|
[CodeActions] ConvertConditionalToIfAction: check context location
|
13 years ago |
Mansheng Yang
|
0140f2df18
|
[CodeActions] ConvertCastToAsAction: fixed tests
|
13 years ago |
Mansheng Yang
|
90356adce8
|
[CodeActions] ConvertCastToAsAction: check context location. Reorganized code.
|
13 years ago |
Mansheng Yang
|
f2b8be7a85
|
[CodeAction] ConvertAsToCastAction: check context location
|
13 years ago |
erikkallen
|
9c521f8992
|
Fixed issue with nullable types not being usable as generic arguments.
|
13 years ago |
erikkallen
|
a00495c22b
|
Test that demonstrates that a generic method cannot be invoked with a nullable type argument.
|
13 years ago |
Simon Lindgren
|
a9e0bd901d
|
[CodeIssues] IncorrectCallTogetHashCodeIssue: Only look at calls to members of 'base' or 'this'.
|
13 years ago |
erikkallen
|
5b29f2b292
|
Fixed issue with duplicate using directives.
|
13 years ago |
erikkallen
|
d857a8ba8d
|
Test demonstrating issue with duplicate using directive.
|
13 years ago |
Simon Lindgren
|
821e157bf6
|
[CodeIssues] VariableDeclaredInWideScopeIssue: Handle nested scopes that are not BlockStatements and don't suggest moving declarations into closures
|
13 years ago |
Simon Lindgren
|
713b88f963
|
[CodeIssues] Don't consider empty catches redundant.
|
13 years ago |