Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all 106942 articles
Browse latest View live

RSRP-412287: Inline parameter UI should remove duplicates

$
0
0
Reporter Dmitri Nesteruk (dnesteruk) Dmitri Nesteruk (dnesteruk)
Created Apr 7, 2014 1:13:37 PM
Updated Oct 23, 2018 5:44:50 PM
Resolved Oct 23, 2018 5:44:50 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Task
Fix version No Fix versions
Affected versions 8.0.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Having duplicate items in Inline Parameter UI is meaningless. I recommend removing duplicates from the list.


RSRP-462504: 'Inline parameter' refactoring silently breaks code by default

$
0
0
Reporter Andrey Dyatlov (Andrey.Dyatlov) Andrey Dyatlov (Andrey.Dyatlov)
Created Jan 10, 2017 6:51:05 PM
Updated Oct 23, 2018 5:48:32 PM
Resolved Oct 23, 2018 5:48:32 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions 2016.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Use the 'inline parameter' refactoring in the following code. Accept default settings in the UI.
public class A
{
protected int myTtt;
protected int myYyy;

private void fee()
{
GetFoo(myTtt); // use inline parameter here
GetFoo(myTtt);
}

public static void GetFoo(int i)
{
var int1 = i;
}
}

Expected result: either conflicts are reported or code is compilable. At least default settings should produce valid code.

Actual result - no conflicts reported, code is completely broken:
public class A
{
protected int myTtt;
protected int myYyy;

private void fee()
{
GetFoo();
GetFoo(this);
}

public static void GetFoo()
{
var int1 = (int) a.myTtt;
}
}

RSRP-471070: Allow to inline 'out parameters' with `Inline refactoring` action

$
0
0
Reporter Alexander Kirsanov (alexander_kirsanov) Alexander Kirsanov (alexander_kirsanov)
Created Aug 14, 2018 10:16:35 PM
Updated Oct 23, 2018 5:50:07 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.2, 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Consider the following code
`public static class Test
{
public static void Main()
{
int result;
Foo(out result);
Console.WriteLine(result);
}

public static void Foo(out int smth)
{
smth = 12;
}
}
`

I want to inline declaration, I press 'ctrl+alt-n', it says


At the same time there's a quick fix for that.

This is cool for discoverability of the feature, but what for us mere developers who know about inline refactoring?

RSRP-468882: Inline Parameter: signature preview shows extra comma.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 26, 2018 6:34:20 PM
Updated Oct 23, 2018 5:51:29 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Minor
State Submitted
Type Cosmetics
Fix version Backlog
Affected versions 2018.1, 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 EAP 4 D Build 12.0.20180322.125946-eap04d.

        private void PerformAction(Action action)
        {
            action();
        }

        private void Test(string key, string value)
        {
            PerformAction(() =>
                Console.WriteLine("{0} : {1}", key, value));
        }
  1. Invoke Refactor This -> Inline Parameter on action.
  2. Uncheck first parameter arg0 from Parameters.
  3. Inspect Signature preview

Actual result:
PerformAction(, string value)

Expected result:
PerformAction(string value)

RSRP-447767: Value analysis for integers

$
0
0
Reporter Ivan Serduk (IvanSerduk) Ivan Serduk (IvanSerduk)
Created Sep 1, 2015 11:28:06 AM
Updated Oct 23, 2018 5:53:10 PM
Subsystem Code Analysis - Control Flow
Assignee Ivan Serduk (IvanSerduk)
Priority Major
State Submitted
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

namespace ResharperInconsistentLoopVariableTest
{
public static class Class1
{
public static void Main()
{
while (true)
{
var response = GetResponse();
if ((response?.Value?.Count ?? 0) == 0)
break;
var foo = response.Value; // false "possible NRE" here
}
}

private static Response GetResponse()
{
return new Response();
}

public class Response
{
public IList<object> Value { get; set; }
}
}
}

RSRP-463510: False NRE warning for conditional unar operator

$
0
0
Reporter Igor Manushin (Igor.Manushin) Igor Manushin (Igor.Manushin)
Created Mar 9, 2017 9:11:00 PM
Updated Oct 23, 2018 5:53:19 PM
Resolved Oct 23, 2018 5:53:19 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Duplicate
Type Bug
Fix version No Fix versions
Affected versions 2016.3
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
Please see code below. ReSharper sais, that data in foreach can be null. However, it isn't, because of "if" above.

        public void ResetCollectedErrors([CanBeNull] Dictionary<SomeClass, string[]> data)
{
var errorsCount = data?.Count ?? 0;
if (errorsCount == 0) // <--- errorsCount == 0 is true for null data
{
MyProperty = null;

return;
}

var line = new StringBuilder();

foreach (var someVariable in data) // <---- ReSharper sais "Possible NullReferenceException"
{
/**/
}

MyProperty = line.ToString();
}

RSRP-471525: Invalid "Possible NullReferenceException"

$
0
0
Reporter Viacheslav Ivanov (_FRED_) Viacheslav Ivanov (_FRED_)
Created Sep 17, 2018 7:20:39 PM
Updated Oct 23, 2018 5:53:19 PM
Subsystem Code Analysis - Control Flow
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Open
Type Unspecified
Fix version No Fix versions
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have the next code:
private static int Test(string[] args) {
var length = args?.Length ?? 0;
if(length > 0) {
return args[0].Length;
// ^~~^ Possible NullReferenceException
} else {
return -1;
}
}
In case ?? 0 removed from the first line of the method, there are no warnings.

I'm not sure that it is same as https://youtrack.jetbrains.com/issue/RSRP-415031

RSRP-471958: Lexer must be MixedLexer but was JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpLexer

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 23, 2018 6:06:21 PM
Updated Oct 23, 2018 6:07:12 PM
Subsystem No Subsystem
Assignee Mikhail Senkov (micha)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _cfcc61ab — JetBrains ReSharper Ultimate 2018.3 EAP 4 D Build 183.0.20181023.115252-eap04d

JetBrains dotCover 2018.3 EAP 4 D Build 2018.3.20181023.120828-eap04d
JetBrains dotMemory 2018.3 EAP 4 D Build 2018.3.20181023.120651-eap04d
JetBrains dotTrace 2018.3 EAP 4 D Build 2018.3.20181023.120827-eap04d
JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181023.120529-eap04d
JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181023.120516-eap04d

SubProducts.0 = JetBrains dotCover 2018.3 EAP 4 D Build 2018.3.20181023.120828-eap04d
SubProducts.1 = JetBrains dotTrace 2018.3 EAP 4 D Build 2018.3.20181023.120827-eap04d
SubProducts.2 = JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181023.120516-eap04d
SubProducts.3 = JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181023.120529-eap04d
SubProducts.4 = JetBrains dotMemory 2018.3 EAP 4 D Build 2018.3.20181023.120651-eap04d

Lexer must be MixedLexer but was JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpLexer

— EXCEPTION #1/2 [AssertionException]
Message = “Lexer must be MixedLexer but was JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpLexer”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
Data.ReentrancyGuard.ActionName = AddSyntacticClassificationsGuarded
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
 at JetBrains.ReSharper.Psi.CachingLexers.MixedCachingLexerService.CreateCachingLexer(ISolution solution, ProjectFileType projectFileType, ITextControl textControl, PsiProjectFileTypeCoordinator projectFileTypeCoordinator, IPsiSourceFile sourceFile)
 at JetBrains.ReSharper.Psi.CachingLexers.MixedCachingLexerService.CreateCachingLexer(ISolution solution, ProjectFileType projectFileType, ITextControl textControl, PsiProjectFileTypeCoordinator projectFileTypeCoordinator, IPsiSourceFile sourceFile)
 at JetBrains.ReSharper.Psi.CachingLexers.CachingLexerServiceImpl.GetCachingLexerImpl(ITextControl textControl, ProjectFileType projectFileType, IPsiSourceFile sourceFile)
 at JetBrains.ReSharper.Psi.CachingLexers.CachingLexerServiceImpl.GetCachingLexer(ITextControl textControl, ProjectFileType projectFileType)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs14RoslynAware.ExperimentalRoslynKiller.RoslynEditorClassificationServiceHandler.AddSyntacticClassificationsGuarded(Document document, TextSpan textSpan, List`1 result, CancellationToken cancellationToken, ISolution solution)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs14RoslynAware.ExperimentalRoslynKiller.RoslynEditorClassificationServiceHandler.<>c__DisplayClass8_0.<AddSyntacticClassifications>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Lexer must be MixedLexer but was JetBrains.ReSharper.Psi.CSharp.Parsing.CSharpLexer”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 4 D Build 183.0.20181023.115252-eap04d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 4 D Build 2018.3.20181023.120828-eap04d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 4 D Build 2018.3.20181023.120827-eap04d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181023.120516-eap04d”
Data.SubProducts.#3 = “JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181023.120529-eap04d”
Data.SubProducts.#4 = “JetBrains dotMemory 2018.3 EAP 4 D Build 2018.3.20181023.120651-eap04d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183::e4f4838b36b9c39241814e27fca6f3ed60066cb1


Platform\VisualStudio:
    git::refs/heads/183-roslyn-killer::a74e6988e72488d6ea973b8adadf52fa882e3a8d

Data.VsVersion = 15.8.28010.2046
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs14RoslynAware.ExperimentalRoslynKiller.RoslynEditorClassificationServiceHandler.AddSyntacticClassifications(Document document, TextSpan textSpan, List`1 result, CancellationToken cancellationToken)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs14RoslynAware.ExperimentalRoslynKiller.RoslynEditorClassificationServiceHandler.Invoke(Object proxy, MethodInfo method, Object[] parameters)
 at Microsoft.CodeAnalysis.CSharp.Classification.CSharpEditorClassificationServiceProxy.AddSyntacticClassificationsAsync(Document , TextSpan , List`1 , CancellationToken )
 at Microsoft.CodeAnalysis.Editor.WorkspaceClassificationDelegationService.AddSyntacticClassificationsAsync(IClassificationService service, Document document, TextSpan textSpan, List`1 result, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SyntacticClassificationTaggerProvider.TagComputer.AddClassifiedSpansForCurrentTree[TClassificationService](IClassificationDelegationService`1 delegationService, TClassificationService classificationService, SnapshotSpan span, Document document, List`1 classifiedSpans)
 at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SyntacticClassificationTaggerProvider.TagComputer.AddClassifiedSpans[TClassificationService](IClassificationDelegationService`1 delegationService, TClassificationService classificationService, SnapshotSpan span, List`1 classifiedSpans)
 at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SyntacticClassificationTaggerProvider.TagComputer.GetTags[TClassificationService](NormalizedSnapshotSpanCollection spans, HostLanguageServices languageServices, IClassificationDelegationService`1 delegationService)
 at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SyntacticClassificationTaggerProvider.TagComputer.GetTags(NormalizedSnapshotSpanCollection spans)
 at Microsoft.CodeAnalysis.Editor.Implementation.Classification.SyntacticClassificationTaggerProvider.Tagger.GetTags(NormalizedSnapshotSpanCollection spans)
 at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__39.MoveNext()
 at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<InternalGetTags>d__40.MoveNext()
 at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierAggregator.InternalGetClassificationSpans(SnapshotSpan span, IEnumerable`1 tags)
 at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierAggregator.GetClassificationSpans(SnapshotSpan span)
 at Microsoft.VisualStudio.Text.Formatting.Implementation.NormalizedSpanGenerator.CreateClassifiedRuns(SnapshotSpan span, IAccurateClassifier classifier, IClassificationFormatMap classificationFormatMap, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Formatting.Implementation.NormalizedSpanGenerator.Create(ITextAndAdornmentCollection elements, ITextSnapshot sourceSnapshot, IAccurateClassifier classifier, IClassificationFormatMap classificationFormatMap, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Formatting.Implementation.FormattedLineSource.FormatLineInVisualBufferIfChanged(ITextSnapshotLine visualLine, IList`1 oldLines, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.FormatSnapshotLine(ITextSnapshotLine visualLine, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.LayoutLineCache.DoAnchorFormat(SnapshotPoint anchorPosition, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.DoAnchorLayout(LayoutDescription layout, SnapshotPoint anchorPosition, Double verticalDistance, Double topToBaselineDistance, ViewRelativePosition relativeTo, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.PerformLayout(ITextSnapshot newSnapshot, ITextSnapshot newVisualSnapshot, SnapshotPoint anchorPosition, Double verticalDistance, ViewRelativePosition relativeTo, Double effectiveViewportWidth, Double effectiveViewportHeight, Boolean preserveViewportTop, Nullable`1 cancel)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.PerformLayout(ITextSnapshot newSnapshot, ITextSnapshot newVisualSnapshot)
 at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.<QueueLayout>b__267_0()
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-471827: Unit Test sees two tests with the same name but different signatures as the same test and executes only the 1st one

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Oct 12, 2018 4:44:13 PM
Updated Oct 23, 2018 6:11:43 PM
Resolved Oct 23, 2018 6:11:43 PM
Subsystem Unit Testing
Assignee Dmitry Matveev (Dmitry.Matveev)
Priority Normal
State Fixed
Type Bug
Fix version 2018.3
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
When I have two tests with the same name but different signatures, the windows do not show the tests as separate tests. Have a look at the attached file OrderServiceTest.cs

Set a breakpoint on the second method OrderService_ShouldBeBackwardsCompatible and try to debug it. You'll note that the breakpoint doesn't get hit.

These may be two separate issues.


Reproduced with R# 2018.2.3



RSRP-471737: Inline parameter works incorrectly

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Oct 3, 2018 1:44:28 PM
Updated Oct 23, 2018 6:28:31 PM
Resolved Oct 23, 2018 6:28:31 PM
Subsystem Refactorings
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Normal
State Can't Reproduce
Type Bug
Fix version No Fix versions
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I am trying to inline one of my parameters but ReSharper breaks it completely.
1. after inlining it adds CancellationToken parameter even though it doesn't exist in inlined parameter
2. created parameters have identical names

RSRP-462507: 'Inline parameter' uses conflicting names producing incorrect code and doesn't report conflicts nor has a way to configure the names

$
0
0
Reporter Andrey Dyatlov (Andrey.Dyatlov) Andrey Dyatlov (Andrey.Dyatlov)
Created Jan 10, 2017 9:54:32 PM
Updated Oct 23, 2018 6:40:18 PM
Resolved Oct 23, 2018 6:40:18 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions 2016.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
use inline parameter refactoring over the 'ttt' argument.
  public class A
{
public A()
{
var ttt = 123;
boo(ttt); // use 'inline parameter' here
}

void boo(int i)
{
var ttt = i;
}
}

expected result:
1) by default a non-conflicting name should be chosen
2) there should be a way to configure parameters' names
3) refactoring should either produce valid code or report conflicts

actual result: no conflicts, no way to change names, bad defaults
  public class A
{
public A()
{
var ttt = 123;
boo(ttt);
}

private void boo(int ttt)
{
var ttt = ttt; // error: ttt is already declared
}
}

RSRP-470872: The “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null” lifetime has never been terminated

$
0
0
Reporter Thomas Stocker (thomas.stocker) Thomas Stocker (thomas.stocker)
Created Jul 4, 2018 9:38:46 AM
Updated Oct 23, 2018 6:51:29 PM
Resolved Aug 1, 2018 7:40:30 AM
Subsystem Platform - Project Model
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Duplicate
Type Exception
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _cb16f37c — JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01

JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01
JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01

The “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null” lifetime has never been terminated. Some resources might have leaked.

— EXCEPTION #1/3 [InvalidOperationException]
Message = “The “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null” lifetime has never been terminated. Some resources might have leaked.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509

— Outer —

— EXCEPTION #2/3 [FinallyException]
Message = “The “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null” lifetime has never been terminated. Some resources might have leaked.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.DataFlow.Disposable+FinallyException
Data.CreationStackTrace = “-=[ Stack trace logging disabled. ]=-”
Data.ObjectId = “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null”
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_APPLICATION=80131600
ObjectId = “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null”
CreationStackTrace = “-=[ Stack trace logging disabled. ]=-”

— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “The “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null” lifetime has never been terminated. Some resources might have leaked.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01”
Data.SubProducts.#0 = “JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01”
Data.SubProducts.#1 = “JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-eap1::389b2b0a5d2b33c46224f8f1850bc61276990d1e


Platform\VisualStudio:
    git::refs/heads/182-eap1

Data.VsVersion = 15.8.27825.0
Data.VsPreview = True
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.DataFlow.Disposable.FinallyException.LogMissedDispose(String id, String message, String sOriginatingStackTrace)
 at JetBrains.DataFlow.Disposable.FinallyException.LogMissedDispose(String id, String message, String sOriginatingStackTrace)
 at JetBrains.DataFlow.Disposable.FinalizableDisposable.Finalize()

RSRP-471093: Cannot resolve symbol from moment timezone library

RSRP-471790: Sequence contains no elements

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 9, 2018 12:24:44 PM
Updated Oct 23, 2018 9:49:07 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Submitted
Type Exception
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2018.3 EAP 2 D Build 183.0.20181008.115722-eap02d

JetBrains dotCover 2018.3 EAP 2 D Build 2018.3.20181008.121226-eap02d
JetBrains dotMemory 2018.3 EAP 2 D Build 2018.3.20181008.121228-eap02d
JetBrains dotTrace 2018.3 EAP 2 D Build 2018.3.20181008.121231-eap02d
JetBrains ReSharper 2018.3 EAP 2 D Build 2018.3.20181008.120956-eap02d
JetBrains ReSharper C++ 2018.3 EAP 2 D Build 2018.3.20181008.120854-eap02d
JetBrains TeamCity Add-in 2018.3 EAP 2 D Build 2018.3.20181008.121021-eap02d

Sequence contains no elements

— EXCEPTION #1/2 [InvalidOperationException]
Message = “Sequence contains no elements”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
 at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func)
 at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func)
 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessionController.GetJoinedFieldsRange(IDocument document)
 at JetBrains.ReSharper.Feature.Services.LiveTemplates.LiveTemplates.LiveTemplatesManager.CreateHotspotSessionAtopExistingText(ISolution solution, DocumentRange endSelectionRange, ITextControl textControl, EscapeAction escapeAction, HotspotInfo[] hotspotInfos)
 at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.InitializeVariablesFixBase.<>c__DisplayClass8_0.<ExecutePsiTransaction>b__0(ITextControl textControl)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.Execute(ISolution solution, ITextControl textControl)
 at JetBrains.ReSharper.Feature.Services.QuickFixes.QuickFixBase.Execute(ISolution solution, ITextControl textControl)
 at JetBrains.ReSharper.Feature.Services.Intentions.IntentionAction.MyExecutableProxi.Execute()
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Sequence contains no elements”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 2 D Build 183.0.20181008.115722-eap02d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 2 D Build 2018.3.20181008.121226-eap02d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 2 D Build 2018.3.20181008.121231-eap02d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.3 EAP 2 D Build 2018.3.20181008.120854-eap02d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.3 EAP 2 D Build 2018.3.20181008.121021-eap02d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.3 EAP 2 D Build 2018.3.20181008.120956-eap02d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.3 EAP 2 D Build 2018.3.20181008.121228-eap02d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183::abb3efa7eef3dbe69c9083ac8f2f4470e9e7aac5


Platform\VisualStudio:
    git::refs/heads/183::68c59afe9ec7fd1dbca996bd1dc2331d488b2cda

Data.VsVersion = 15.8.28010.2041
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.<>c__DisplayClass29_0.<InitMenuGeneral>b__0(Object objKey)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenu.<>c__DisplayClass49_0.<InitViewModel>b__3(JetPopupMenuItem item)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.Application.UI.Controls.JetPopupMenu.Detail.JetPopupMenuDoc.ExecuteSelectedItem()
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args)
 at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
 at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
 at System.Windows.Forms.Control.WmKeyChar(Message& m)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 at System.Windows.Forms.Form.WndProc(Message& m)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
 at JetBrains.UI.Utils.DpiUtil.TopLevelWindowDpiTracker.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.JetPopupMenuOverlordView.Show(Boolean isModal)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowCore(JetPopupMenu menu, ShowWhen when, Boolean isModal, LifetimeDefinition lifetimeDefinitionOptional, IJetPopupMenuOverlordView parentView)
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.ShowBulbMenuAdvanced(IEnumerable`1 menuItems, PopupWindowContextSource contextSource, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition viewLifetimeDefinition, IAutomation captionAutomation, Action`1 beforeShow)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.<ExecuteIndicator>b__18_0(IList`1 menuItems, PopupWindowContextSource contextSource, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition definition)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.DoExecuteIndicator(IDataContext context, BulbItemsReadyState readyState, Action`5 showBulbAction)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.ExecuteIndicator(IDataContext context, BulbItemsReadyState readyState)
 at JetBrains.ReSharper.Intentions.Bulbs.IndicatorControllerBase.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterHandlers.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterActionHandler.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0()
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass17_0.<CommandTargetExec>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.CommandTargetExec(CommandID commandid, OLECMDEXECOPT cmdExecOpt)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<.ctor>b__12_2(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out)
 at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut)

RSRP-470172: Rider/ReSharper run the square of xUnit theory cases

$
0
0
Reporter Josiah Roberts (josiahroberts) Josiah Roberts (josiahroberts)
Created Jun 13, 2018 8:45:06 PM
Updated Oct 23, 2018 9:50:13 PM
Resolved Aug 29, 2018 5:00:04 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Declined
Type Bug
Fix version No Fix versions
Affected versions 2018.1.2, 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

When Rider encounters an xUnit theory, it repeats each test case n times, where n is the total number of test cases. In contrast, the console runner runs each test case once.

Reproduction attached.

This issue, combined with https://youtrack.jetbrains.com/issue/RIDER-16827, may end up preventing us from using Rider if the n^2 test cases become a performance issue.


RSRP-471043: Horizontal rule in BeControls

$
0
0
Reporter Ivan Pashchenko (Ivan.Pashchenko) Ivan Pashchenko (Ivan.Pashchenko)
Created Aug 13, 2018 7:43:08 PM
Updated Oct 23, 2018 10:08:23 PM
Subsystem UI
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Would be great to have horizontal rules in new ui system (see attached mock-up)

RSRP-471952: Enum.GetNames is not annotated with ItemNotNull

RSRP-471951: XContainer.Elements is not annotated NotNull, ItemNotNull

RSRP-471949: MethodBase.GetParameters isn't annotated with ItemNotNull

RSRP-449753: Support .runsettings file for NUnit tests

$
0
0
Reporter Alexandra Kuks (Asia.Rudenko) Alexandra Kuks (Asia.Rudenko)
Created Oct 21, 2015 5:41:15 PM
Updated Oct 23, 2018 11:25:05 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Major
State Submitted
Type Feature
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
With .runsettings file you now can configure how NUnit tests will be run; it works for VS + NUnit Test Adapter, but ReSharper ignores the file.
https://msdn.microsoft.com/ru-ru/library/jj635153(v=vs.110).aspx
Viewing all 106942 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>