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

RSRP-469094: "Inline method" may change semantics for a particular combination of if + return + try + catch

$
0
0
Reporter Jakub Jiricek (jakub.jiricek@vodafone.com) Jakub Jiricek (jakub.jiricek@vodafone.com)
Created Apr 4, 2018 8:51:13 PM
Updated Apr 19, 2018 1:56:12 PM
Subsystem Refactorings - Inplace
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.5, 2018.1.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
in the following example,
    public void resharperTest1(int i)
{
int x = resharperTest2(i);
}

private int resharperTest2(int i)
{
try
{
if (i == 1) return 1;
return 2;
}
catch (Exception e)
{
return 3;
}
}

when I use "inline method" on resharperTest2() I get

    public void resharperTest1(int i)
{
int ret;
try
{
if (i == 1) ret = 1; //<---here is the bug
ret = 2;
}
catch (Exception e)
{
ret = 3;
}

int x = ret;
}
which is incorrect, as the ret=1 assignment is always overwritten by ret=2.

for a similar code without the try-catch block Resharper says it cannot inline the method so no problem is created in that case.

RSRP-469330: Generate deconstructor option is disabled for child class when properties and fields are located in parent.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 19, 2018 2:02:13 PM
Updated Apr 19, 2018 2:02:13 PM
Subsystem Generate
Assignee Andrew Karpov (andrew.karpov)
Priority Major
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

JetBrains ReSharper Ultimate 2018.1 12.0.20180418.213521-eap10d.

PersonBase

    public class PersonBase
    {
        public string Name;
        public int Phone;
        public string BirthDate;
        public string LName { get; set; }
        public string MiddleName;
        public string LastMiddleName;
    }

Person

    public class Person: PersonBase
    {
        public Person(string name1, int phone, string birthDate)
        {
            Name = name1;
            Phone = phone;
            BirthDate = birthDate;
        }
    }
  1. Invoke Generate Code.
  2. Inspect dropdown.

Actual result:
Deconstructor option is disabled.

Expected result:
Deconstructor option is enabled.

RSRP-469133: Code Cleanup: "Use auto-property if possible" with "Accessors with block body" in Code Style results in uncompilable code.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 6, 2018 3:36:32 PM
Updated Apr 19, 2018 2:15:16 PM
Resolved Apr 15, 2018 1:52:53 AM
Subsystem Code Style - Cleanup
Assignee Andrew Karpov (andrew.karpov)
Priority Major
State Verified
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 EAP 7 D 12.0.20180406.060450-eap07.

        private bool _isLoading2;

        public bool IsLoading
        {
            get => _isLoading2;
            set { _isLoading2 = value; }
        }
  1. In ReSharper -> Options -> Code Editing -> C# -> Code Style set "Accessors with block body" for Code Body -> Properties, indexers and events.
  2. In ReSharper -> Options -> Code Cleanup -> C# check "Apply code body style" and check "Use auto-property if possible".

Actual result:
Uncompilable code.

ublic bool IsLoading
        {
            get
            {
            }
            set;
        }

Expected result:
Compilable code.

        public bool IsLoading
        {
            get;
            set;
        }

RSRP-184099: Exception Template uses dead links

$
0
0
Reporter Kevin Jones (vcsjones) Kevin Jones (vcsjones)
Created Jun 26, 2010 6:57:30 PM
Updated Apr 19, 2018 2:22:02 PM
Subsystem Live Templates
Assignee Slava Tutushkin (slava.tutushkin)
Priority Critical
State Submitted
Type Cosmetics
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
The out-of-box exception template puts these links in the generated exception:

//
// For guidelines regarding the creation of new exception types, see
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconerrorraisinghandlingguidelines.asp
// and
// http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp
//

One link is dead, the other is out-of-date.

I recommend this link: http://msdn.microsoft.com/en-us/library/ms229014.aspx

RSRP-468535: "Configure settings to improve performance" message in VS notifications can't be disabled with "Always ignore"

$
0
0
Reporter Jozef Izso (jozefizso) Jozef Izso (jozefizso)
Created Mar 1, 2018 3:30:16 PM
Updated Apr 19, 2018 2:37:38 PM
Resolved Apr 19, 2018 2:37:38 PM
Subsystem Platform - VS Integration
Assignee Alexander Kurakin (Alexander.Kurakin)
Priority Normal
State Answered
Type Bug
Fix version No Fix versions
Affected versions 2017.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

ReSharper displays this annoying notification each time I start Visual Studio.

I don't want to me nagged about this. When I click Always ignore, ReSharper must disable this annoying notification.

RSRP-469331: Red code for class usage before deconstructed class declaration.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 19, 2018 3:05:31 PM
Updated Apr 19, 2018 3:05:31 PM
Subsystem Psi - C#
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

JetBrains ReSharper Ultimate 2018.1 12.0.20180418.033450-eap10d.

    public class Class1
    {
        private readonly Person person = new Person("John Smith", 1234567890, "10/10/1900");

        private void Test()
        {
            person //<------------------------------------------ Normal code
            var test = 1;
            person //<------------------------------------------ Red code
            var (s, b) = person;
        }
    }
    public class Person 
    {
        public string Name;
        public int Phone;

        public void Deconstruct(out string name, out bool phone)
        {
            name = Name;
            phone = Phone;
        }
    }

Actual result:
Red code appears for second person declaration (see screenshot).

Expected result:
No red code.

RSRP-469332: Major performance problems/UI freezes after 2018.1 update

$
0
0
Reporter Vilen Tambovtsev (v.tambovtsev) Vilen Tambovtsev (v.tambovtsev)
Created Apr 19, 2018 3:16:27 PM
Updated Apr 19, 2018 3:16:27 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Performance Problem
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
2017.3 was OK
Perf snapshots uploaded here:
https://yadi.sk/d/1s-aQm7G3UZnxj

BTW, I've never managed to successfully upload perf snapshots via builtin tool, always get "One or more errors occured"

RSRP-427896: Code analysis is single threading (uses single core only)

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Nov 19, 2014 5:11:37 PM
Updated Apr 19, 2018 3:53:14 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Mikhail Senkov (micha)
Priority Major
State Fixed In Branch
Type Feature
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Multithreading would definitely provide a major performance improvement. Especially at continuous integration servers like the ones we’re using, featuring 24 cores and code inspections taking more than 10 minutes after cache has been build.

RSRP-465742: R# doesn't handle EditorConfig options for "this" keyword usage

$
0
0
Reporter Alex Povar (zvirja) Alex Povar (zvirja)
Created Aug 3, 2017 4:27:13 PM
Updated Apr 19, 2018 3:55:22 PM
Subsystem Code Style - Cleanup
Assignee Razmik Seysyan (razmik)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
R# ignores the following EditorConfig directives related to "this" keyword usage:
dotnet_style_qualification_for_field = true:warning
dotnet_style_qualification_for_property = true:warning
dotnet_style_qualification_for_method = true:warning
dotnet_style_qualification_for_event = true:warning
It creates a mess, as VS suggests to insert this keyword highlighting that as a warning, while R# shows that it's redundant and should be removed.

These settings are already present in R# and exactly the same, so it will costs nothing to add support:


I often work with OSS projects and I cannot push R# team-settings there :(

RSRP-469334: Xaml Intellisense broken for Xamarin.forms project

$
0
0
Reporter Andreas (soulfury) Andreas (soulfury)
Created Apr 19, 2018 4:21:41 PM
Updated Apr 19, 2018 4:21:41 PM
Subsystem IntelliSense (Code Completion)
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

I was unable to reproduce the broken intellisense in a sample project but the problem does exist in a production solution. In the production sample it is 100% non functional. In the sample project it works perfectly fine.

Whatever the source of this issue is might also be causing https://youtrack.jetbrains.com/issue/RSRP-469311.

Is there any way i can put resharper into a diagnostics mode which provides you with verbose logging?

This used to work with r# 2017.3.5

Other than intellisense being broken for my solution now i really have to say that the new intellisense is super quick and slick and i really enjoy it. I will have to downgrade to 2017.3.5 for now though.

RSRP-469333: Object reference not set to an instance of an object.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 19, 2018 4:15:19 PM
Updated Apr 19, 2018 4:21:49 PM
Subsystem Context Actions
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Submitted
Type Exception
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM
ReSharperPlatformVs15 Wave 12 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2018.1 EAP 10 D Build 112.0.20180418.190948-eap10d

JetBrains ReSharper 2018.1 EAP 10 D Build 2018.1.20180418.192737-eap10d

SubProducts.0 = JetBrains ReSharper 2018.1 EAP 10 D Build 2018.1.20180418.192737-eap10d

Object reference not set to an instance of an object.

— EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.ReSharper.Intentions.CSharp
StackTraceString = “
 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.ForeachToForAction.GetLocalVariableType(IForeachStatement foreachStatement)
 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.ForeachToForAction.GetLocalVariableType(IForeachStatement foreachStatement)
 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.ForeachToForAction.CreateForStatement(IForeachStatement foreachStatement, TreeNodeMarker indexIdentifierMarker, IBlock& forBlock)
 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.ForeachToForAction.ExecutePsiTransaction(ISolution solution, IProgressIndicator progress)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.<>c__DisplayClass0_4.<Execute>b__1()
 at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute(String commandName, Action handler)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
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.1 EAP 10 D Build 112.0.20180418.190948-eap10d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 10 D Build 2018.1.20180418.192737-eap10d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12::4e3065f37fa0899b41bc270f4faadf35dc379613


Platform\VisualStudio:
    git::refs/heads/wave12::8a4e37480b226d55ad702f22dc2c5e6611b9ca07

Data.VsVersion = 15.6.27428.2037
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute(String commandName, Action handler)
 at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute(String commandName, Action handler)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.<>c__DisplayClass0_3.<Execute>b__0(IProgressIndicator progress)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.<>c__DisplayClass11_0.<RunStartTask>b__0()
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
 at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 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)
 at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
 at System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(Form form)
 at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
 at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
 at System.Windows.Forms.Application.RunDialog(Form form)
 at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
 at System.Windows.Forms.Form.ShowDialog()
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRuns.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.Execute(ISolution solution, ITextControl textControl)
 at JetBrains.ReSharper.Feature.Services.Intentions.IntentionAction.MyExecutableProxi.Execute()
 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.OnMouseUp(MouseEventArgs e)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuMainpartView.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.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.ShowMenuOnKeys(LifetimeDefinition viewLifetimeDefinition, PopupWindowContextSource context, ICollection`1 rootItems, IAutomation menuCaptionAutomation, Action`1 beforeShow, ShowWhen showWhen)
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.ShowBulbMenu(ICollection`1 keys, PopupWindowContextSource context, IAutomation captionControl, Action`1 beforeShow, LifetimeDefinition viewLifetimeDefinition)
 at JetBrains.Platform.VisualStudio.SinceVs10.IDE.TextControl.GutterMargin.VsGutterMarginControl.MouseProcessor.<>c__DisplayClass10_0.<MouseUp>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass1_0.<ExecuteOrQueueReadLock>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.Application.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, String name, Action action)
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteOrQueueReadLock(IShellLocks thіs, String name, Action F)
 at JetBrains.Platform.VisualStudio.SinceVs10.IDE.TextControl.GutterMargin.VsGutterMarginControl.MouseProcessor.MouseUp(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
 at System.Windows.Input.InputManager.ProcessStagingArea()
 at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
 at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
 at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
 at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at System.Windows.Interop.HwndSource.InputFilterMessage(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-469311: Symbol search bug

$
0
0
Reporter Andreas (soulfury) Andreas (soulfury)
Created Apr 18, 2018 2:03:27 PM
Updated Apr 19, 2018 4:58:25 PM
Subsystem Navigation - Search (Find Usages)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

I'm working on a xamarin forms project.

This usages search used to work with 2017.3.5 or 2017.3.3 - I used one of those for the exact same search - so it is apparently a regression

RSRP-469086: Close datatips menu if user press on 'Next step'

$
0
0
Reporter Maltseva Ekaterina (Maltseva.Ekaterina) Maltseva Ekaterina (Maltseva.Ekaterina)
Created Apr 4, 2018 5:12:38 PM
Updated Apr 19, 2018 4:58:43 PM
Resolved Apr 19, 2018 4:58:43 PM
Subsystem Debugger features
Assignee Mikhail Senkov (micha)
Priority Critical
State Fixed
Type Bug
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
When you call datdatip menu - left click on the datatip it's stay opened even if user click on Step over
Also, it can stay open after debug is finished.
I'm offering to close datatips menu if user press on 'Next step' (probably this behaviour leads to https://youtrack.jetbrains.com/issue/RSRP-467396)

RSRP-469060: Multiple opening of the form 'Filter issues' in the 'Find code issues results'

$
0
0
Reporter Maltseva Ekaterina (Maltseva.Ekaterina) Maltseva Ekaterina (Maltseva.Ekaterina)
Created Apr 3, 2018 8:46:20 PM
Updated Apr 19, 2018 5:03:21 PM
Subsystem Code Analysis - Find Code Issues
Assignee Mikhail Senkov (micha)
Priority Normal
State Fixed In Branch
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Open 'Inspections' / 'Code issues in solution'
In the window 'Code issues in <solution>' there is a button 'Filter issues'
You can click on in a lot of times and every time the new window will be open over the last

RSRP-469335: Deconstruction: Introduce variable is available for deconstructed class.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 19, 2018 5:04:56 PM
Updated Apr 19, 2018 5:07:13 PM
Subsystem Refactorings
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

JetBrains ReSharper Ultimate 2018.1 12.0.20180418.033450-eap10d.

Class1

    public class Class1
    {
        private readonly Person person = new Person("John Smith", 1234567890, "10/10/1900");

        private void Test()
        {
            var (name, phone) = person;

            var test = person;
        }
    }

Person

    public class Person
    {
        public string Name;
        public int Phone;
        public string BirthDate;

        public Person(string name, int phone, string birthDate)
        {
            Name = name;
            Phone = phone;
            BirthDate = birthDate;
        }
        public void Deconstruct(out string name, out int phone)
        {
            name = Name;
            phone = Phone;
        }
    }
  1. Invoke Refactor This menu on var (name, phone) = person;

Actual result:
"Introduce variable" option is available.

Expected result:
"Introduce variable" option is not available.

NOTE:
If "Introduce variable" refactoring is invoked then uncompilable code is generated:

            var foo = var (name, phone) = person;

If Refactor This menu is invoked on var test = person; then "Introduce variable" option is not available.


RSRP-469336: Remove Data Sharing Options dialog

$
0
0
Reporter Jozef Izso (jozefizso) Jozef Izso (jozefizso)
Created Apr 19, 2018 5:10:41 PM
Updated Apr 19, 2018 5:10:41 PM
Subsystem UI
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.3

I close the Data Sharing Options dialog and yet ReSharper displays this dialog each time I open the solution.

Remove this useless dialog and do not spy on users.

ReSharper also completly freezes the Visual Studio until the dialog is shown.

RSRP-14075: Extend MethodParemeters Class (see #11019)

$
0
0
Reporter Amir Kolsky (kolsky) Amir Kolsky (kolsky)
Created Aug 5, 2006 8:19:15 PM
Updated Apr 19, 2018 5:13:54 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
See: http://www.intellij.net/tracker/resharper/viewSCR?publicId=11019

Given
public class SomeFunctionClass
{
public double X;
...
}

public void SomeMethod(SomeMethodParameters params, int i)
{
Use(i);
...
}
I can add a method parameter:
public void SomeMethod(SomeMethodParameters params) {...}

It would be nice to add a context action to add the new parameter to the parameter class:
public class SomeFunctionClass
{
public double X;
...
public int i; // <--------- new parameter
}

public void SomeMethod(SomeMethodParameters params, int i)
{
Use(params.i);
...
}
(assuming i is not already in the parameters class...)

RSRP-468457: Rework the window shown after reporting a bug from Feedback Center

$
0
0
Reporter Konstantin Katsnelson (Konstantin.Katsnelson) Konstantin Katsnelson (Konstantin.Katsnelson)
Created Feb 14, 2018 10:30:24 PM
Updated Apr 19, 2018 5:14:55 PM
Subsystem Exception submitter
Assignee Arseny Chernyaev (Arseny.Chernyaev)
Priority Critical
State Fixed In Branch
Type Cosmetics
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

  • Remove "You can also..." text and the line;
  • Decrease window's size;
  • Remove a scroller;
  • Forbid maximization of the window;

RSRP-464283: Feedback Center asks to remove attachments even if there are no attachments

$
0
0
Reporter Konstantin Katsnelson (Konstantin.Katsnelson) Konstantin Katsnelson (Konstantin.Katsnelson)
Created Apr 7, 2017 10:16:15 PM
Updated Apr 19, 2018 5:19:28 PM
Subsystem Exception submitter
Assignee Arseny Chernyaev (Arseny.Chernyaev)
Priority Show-stopper
State Fixed In Branch
Type Bug
Fix version 2018.1.1
Affected versions 2017.1.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-468462: Types with custom equality operators should not mark `this == null` as always false

$
0
0
Reporter Matt Ellis (citizenmatt) Matt Ellis (citizenmatt)
Created Feb 20, 2018 6:51:56 PM
Updated Apr 19, 2018 5:28:25 PM
Subsystem Code Analysis
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Normal
State Fixed In Branch
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Given a type that implements a custom equality operator, the expression this == null cannot be determined to be always false.

This highlight is shown in Unity projects, which implement a custom null check in the == operator - certain classes are wrappers around unmanaged objects and return false if the unmanaged object has been destroyed.
Viewing all 106942 articles
Browse latest View live


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