Siegfried Pammer
6650d81cbf
Reimplement GenerateGetterAction
2017-02-18 09:25:48 +01:00
Siegfried Pammer
5409d483e7
Improve output of CSharpCodeRefactoringTestBase for xUnit
2017-02-18 09:15:20 +01:00
Siegfried Pammer
7e0d862f67
Fix broken test
2017-02-17 23:44:11 +01:00
Siegfried Pammer
c26a4926ea
Fix CheckIfParameterIsNullTests
2017-02-17 23:22:50 +01:00
Siegfried Pammer
9b5e99f7b2
Reimplement AutoLinqSumAction
2017-02-17 22:42:44 +01:00
Siegfried Pammer
80aa616a84
Reactivate disabled test in ConditionalTernaryEqualBranchTests
2017-02-17 13:48:49 +01:00
Siegfried Pammer
f477994b31
Clean up CSharpUtil
2017-02-17 12:45:35 +01:00
Siegfried Pammer
add77c5f73
Reimplement UseMethodAnyAnalyzer + Fix
2017-02-17 12:40:51 +01:00
Siegfried Pammer
1df45b9ac6
Do not show ToAbstractVirtualNonVirtualConversionCodeRefactoringProvider on private methods
2017-02-17 07:48:07 +01:00
Siegfried Pammer
b93c67d1f4
add test for #264 - NullReferenceException on ConvertConditionalTernaryToNullCoalescingAnalyzer
2017-02-16 19:49:03 +01:00
Siegfried Pammer
f9523f84ae
fix #262 - Hide some refactors when editing an interface.
2017-02-16 19:20:19 +01:00
Siegfried Pammer
30e8a832cf
Fix another threading problem: do not use Wait()
2017-02-16 18:58:55 +01:00
Siegfried Pammer
3b356f81f1
Workaround for strange MEF exception: No idea what's going on in VS 2015:
...
A MEF Component threw an exception at runtime: System.InvalidCastException: Unable to cast object of type 'System.Reflection.RuntimeMethodInfo' to type 'System.Reflection.ConstructorInfo'.
at Microsoft.VisualStudio.Composition.Reflection.ResolverExtensions.Resolve(ConstructorRef constructorRef)
at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimePart.get_ImportingConstructor()
at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)
at Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
at Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
2017-02-16 18:36:56 +01:00
Siegfried Pammer
2b0e31aebf
Move GetExplicitTypeSyntax to PutInsideUsingAction (as ReplaceVarWithExplicitTypeCodeRefactoringProvider will be removed in 2017)
2017-02-16 16:30:39 +01:00
Siegfried Pammer
6978347648
Merge branch 'SSkovboiSS-bugfix'
2017-02-16 15:15:50 +01:00
Siegfried Pammer
94d5312ba6
use GetExplicitTypeSyntax in PutInsideUsingAction
2017-02-16 15:13:20 +01:00
Siegfried Pammer
0ae1c70f58
Merge branch 'bugfix' of https://github.com/SSkovboiSS/RefactoringEssentials into SSkovboiSS-bugfix
2017-02-16 15:05:36 +01:00
Siegfried Pammer
c605f7a84e
Merge pull request #286 from Therzok/patch-1
...
[Refactoring] Optimize NotNull refactoring provider
2017-02-16 14:41:48 +01:00
Siegfried Pammer
03a3eb07c7
fix bug introduced by f1b429faaf
2017-02-16 14:33:20 +01:00
Marius Ungureanu
0c09d9d5e3
[Refactoring] Optimize NotNull refactoring provider
...
Move invariant of formatted strings outside the loop. Optimizes allocations done in HasReturnContract
2017-02-16 15:15:32 +02:00
Siegfried Pammer
afd4638808
Fix crashes in various property refactorings when working with expression-bodied properties
2017-02-16 12:49:16 +01:00
Siegfried Pammer
57bb92d06e
Set separate output path for 2017 projects
2017-02-16 11:23:23 +01:00
Siegfried Pammer
6c028307b5
Fix await calls (ALWAYS use ConfigureAwait(false))
2017-02-16 10:08:33 +01:00
Siegfried Pammer
47f5ac2e0b
Fix RE2015
2017-02-15 21:12:00 +01:00
Siegfried Pammer
3223cc5079
Fix reflection wrapper for InferType
2017-02-15 20:59:33 +01:00
Siegfried Pammer
699e6d0ac0
Ignore failing converter tests
2017-02-15 20:16:29 +01:00
Siegfried Pammer
35962e74bd
Fix RoslynReflection for 2017
2017-02-15 20:14:37 +01:00
Siegfried Pammer
554c37163c
Fix referenced packages in DocGenerator.2017
2017-02-15 20:13:57 +01:00
Christoph Wille
ff1bf28366
Fix up prerequisites for installation
2017-02-13 15:11:50 +01:00
Christoph Wille
1dc8f74e1e
Re-enable RE2017 build flag, see commit 89358253c9 (diff-a205231dd82fe7ae025b14b56d96617f)
for potentially better impl
2017-02-13 13:49:37 +01:00
Christoph Wille
adfbc8c8fc
Update packages in Tests
2017-02-13 09:03:24 +01:00
Christoph Wille
f118e3378e
rc3 -> rc4 packages
2017-02-13 08:41:22 +01:00
Christoph Wille
06985398f6
NUnit -> xUnit in 2017 project
2017-02-13 08:36:34 +01:00
Andrew Boklashko
2bf8201c66
Declaration is changing only for var-typed variables
2017-02-12 16:13:11 +02:00
Andrew Boklashko
ab4ac82f95
Fixed PutInsideUsingAction bug with impicitly typed variables
2017-02-11 01:40:22 +02:00
Siegfried Pammer
aafe550223
Merge pull request #282 from SSkovboiSS/bugfixes
...
Fixed some refactoring providers that could cause converting interface members into non-abstract ones
2017-02-10 14:28:48 +01:00
Siegfried Pammer
6ea7b04296
Squashed commit of the following:
...
commit 69db4df899ade1c8c82697978cf9a0637c132d68
Merge: 72bd927
7b1e9b9
Author: Siegfried Pammer <siegfriedpammer@gmail.com>
Date: Fri Feb 10 14:13:52 2017 +0100
Merge branch 'master' of https://github.com/SSkovboiSS/RefactoringEssentials into SSkovboiSS-master
commit 7b1e9b943d
Author: Andrew Boklashko <boclashco@i.ua>
Date: Thu Feb 2 01:46:51 2017 +0200
Update ConvertExpressionBodyToStatementBodyTests.cs
commit c5a9285297
Author: Andrew Boklashko <boclashco@i.ua>
Date: Thu Feb 2 01:36:12 2017 +0200
Update ConvertExpressionBodyToStatementBodyCodeRefactoringProvider.cs
commit b5b92fe38c
Author: Andrew Boklashko <boclashco@i.ua>
Date: Thu Feb 2 01:22:53 2017 +0200
Fixed void expressions were converting to ReturnStatement
2017-02-10 14:22:05 +01:00
Siegfried Pammer
72bd927524
fix converter tests
2017-02-10 14:10:14 +01:00
Siegfried Pammer
97aa06b032
fix tests for NUnit features
2017-02-10 14:09:19 +01:00
Siegfried Pammer
9d076f7240
Remove useless OfType-conversion tests
2017-02-10 14:08:35 +01:00
Andrew Boklashko
1b89060682
Fixed some refactoring providers that could cause
...
convertinginterface members into non-abstract ones
2017-02-06 22:42:54 +02:00
Siegfried Pammer
22a6073cae
Update Converter Tests to xunit
2017-02-01 13:15:42 +01:00
Siegfried Pammer
2d85026983
Fix RE.2017
2017-01-31 12:08:08 +01:00
Siegfried Pammer
bc83b142c3
Add basic tests for VB to C# converter
2017-01-31 12:08:08 +01:00
Siegfried Pammer
f080d6c5bd
Fix typo
2017-01-31 12:07:00 +01:00
Siegfried Pammer
f1a3552f3d
Replace .Result with .GetAwaiter().GetResult()
2017-01-31 10:32:27 +01:00
Siegfried Pammer
b80fa98dff
Move to xUnit test framework
2017-01-30 17:09:59 +01:00
Mike Krüger
f1b429faaf
Fixed 'Bug 51543 - Editor wrongly suggests a fix for extern static
...
functions in DllImport'
2017-01-16 08:59:42 +01:00
CeddlyBurge
29bb3d7941
Add implementation for ContractRequiresStringNotNullOrEmpty, fixes #209
2016-12-30 18:42:20 +00:00
CeddlyBurge
219b884280
Add tests for ContractRequiresStringNotNullOrEmpty
2016-12-29 08:27:21 +00:00