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

RSRP-471803: Under certain circumstances, dependencies between classes are not noticed by Resharper

$
0
0
Reporter Max Guernsey (maxguernseyiii) Max Guernsey (maxguernseyiii)
Created Oct 10, 2018 7:45:12 PM
Updated Oct 27, 2018 4:09:37 AM
Subsystem Code Analysis
Assignee Maltseva Ekaterina (Maltseva.Ekaterina)
Priority Normal
State Open
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

The problem is that sometimes some methods which are in fact used are treated as if there are no references to it even though there are several references to it. Practically speaking, this affects everything but its biggest impact on me is that it makes rename and safe delete unsafe operations. It also makes the code render stupidly - graying out public methods that are called by the method right above or below it in the same file.

I'm not going to engage in magical thinking and pretend I know the cause so I'll just dump what I think I know and hope someone with more context can figure out the problem.

Here are the circumstances, some of which probably matter:

  1. The code is in a .NET Standard project.
  2. The project has file references to copies of UnityEngine.dll et al
  3. The code references other .NET standard projects, which are functioning perfectly.
  4. All of the classes where the problem is happening inherit MonoBehaviour.

Here are things that I am pretty sure aren't sole causal factors:

  1. .NET Standard: I have other projects in the same solution and they work just fine.
  2. Just using Unity classes I have several classes which do not inherit MonoBehaviour and Resharper works fine with all of them.
  3. The presence or absence of the Unity plug-in. I can't figure out how that plug-in is supposed to help me but it has absolutely no impact on this problem either way.

I'd be glad to add any more information upon request.


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

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Oct 14, 2018 11:20:41 AM
Updated Oct 27, 2018 6:39:14 AM
Subsystem Platform - VS Integration
Assignee Dmitry Ivanov (daivanov)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _a49c12b7ReSharper — JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181010.0-eap03d

JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d
JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d

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.Features.Internal
StackTraceString = “
 at JetBrains.ReSharper.Features.Internal.ReSharper.Options.InternalPage.<.ctor>b__2_5()
 at JetBrains.ReSharper.Features.Internal.ReSharper.Options.InternalPage.<.ctor>b__2_5()
 at JetBrains.Util.Logging.Logger.Catch(Action action)


— 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.3 EAP 3 D Build 183.0.20181010.0-eap03d”
Data.SubProducts.#0 = “JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183::0b3e89e5377324113aad05d001883c846e4a6040

Data.VsVersion = 15.8.28010.2041
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.ReSharper.Features.Internal.ReSharper.Options.InternalPage..ctor(Lifetime lifetime, OptionsSettingsSmartContext optionsSettingsSmartContext, IOptionsDialogViewOwner optionsDialogOwner, IMultiCoreFibersPoolStrategyOptionsProvider multiCoreFibersPoolStrategyOptionsProvider)
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)
 at JetBrains.Application.Components.SingletonTypeComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)
 at JetBrains.Application.Components.SingletonTypeComponentDescriptor.CreateInstance(IValueResolveContext context)
 at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)
 at JetBrains.Application.Components.SingletonDescriptor.GetValue()
 at JetBrains.Application.Components.InitializationStrategyDefault.Schedule(Lifetime lifetime, ICollection`1 dscs, IComponentContainer container)
 at JetBrains.Application.Components.ComponentStorage.InstantiateDescriptors(ICollection`1 descriptors)
 at JetBrains.Application.Components.ComponentStorage.ComposeDescriptors(ICollection`1 descriptors)
 at JetBrains.Application.Components.ComponentStorage.Compose()
 at JetBrains.Application.Components.ComponentContainer.Compose()
 at JetBrains.Application.Components.FactoryComponentContainer.CreateInstanceCore(Lifetime lifetime, Type type, IComponentContainer parent, Object[] args)
 at JetBrains.Application.Components.FactoryComponentContainer.CreateInstance(Lifetime lifetime, Type objecttype, IComponentContainer parent, Object[] args)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsPageFactory.CreateOptionsPage(OptionsPageDescriptor pagedescriptor, IComponentContainer containerParent, OptionsSettingsSmartContext injectSettingsStoreSmartContext, IShellLocks locks)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsPageInOptionsContextAutomation.GetOrCreateOptionsPage()
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsPageInOptionsContextAutomation.GetControlFromExistingOptionsPage()
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsPageInOptionsContextAutomation.get_HasContent()
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsAutomation.GetSearchablePage(OptionsPageWithoutContextAutomationFactory factoryPagesWithoutContext, OptionsPageWithoutContextAutomation node, OptionsPageInOptionsContextAutomationFactory fact, UserFriendlySettingsLayer optContext, IContextBoundSettingsStoreLive trans)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsAutomation.<>c__DisplayClass12_0.<HandleSearchRequest>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F, TaskPriority priority)
 at JetBrains.Application.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, Lifetime lifetime, String name, Action action, TaskPriority priority)
 at JetBrains.Application.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, Lifetime lifetime, String name, Action action)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsAutomation.HandleSearchRequest(Lifetime currentSearchLifetime, OptionsModel model, IShellLocks locks, String searchText, IProperty`1 propFactoryPagesInContext, OptionsPageWithoutContextAutomationFactory factoryPagesWithoutContext, StaticKeywordsPerPageKeeper staticKeywordsPerPageKeeper, UsageStatistics activityTracking)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsAutomation.<>c__DisplayClass11_4.<.ctor>b__33(LifetimeDefinition definition, Lifetime currentSearchLifetime)
 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILog logger)
 at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)
 at JetBrains.Application.UI.Options.OptionsDialog.OptionsAutomation.<>c__DisplayClass11_1.<.ctor>b__22(String args)
 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.UI.Options.OptionsDialog2.OptionsView.<>c__DisplayClass14_0.<CreateTemplate_PagesTree>b__6(Object o, SearchViewEventArgs e)
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Delegate.DynamicInvokeImpl(Object[] args)
 at System.Windows.RoutedEventArgs.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.RaiseEvent(RoutedEventArgs e)
 at JetBrains.UI.Controls.Misc.SearchTextBox.RaiseSearchEvent()
 at JetBrains.UI.Controls.Misc.SearchTextBox.OnSeachEventDelayTimerTick(Object o, EventArgs e)
 at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
 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)
 at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
 at System.Windows.Window.ShowHelper(Object booleanBox)
 at System.Windows.Window.Show()
 at System.Windows.Window.ShowDialog()
 at JetBrains.Application.UI.WindowManagement.ShellWindowUtil.ShowDialog(Window window, IWin32Window ownerwin)
 at JetBrains.UI.Extensions.WindowUtil.<>c__DisplayClass15_2.<ShowDialogWithGuardedCreation>b__5()
 at JetBrains.Application.UI.Components.UIApplication.ApplicationModalStateEx.<>c__DisplayClass0_0`1.<WithModalState>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.Application.UI.Components.UIApplication.ApplicationModalStateEx.WithModalState[T](IApplicationModalState appModalState, Func`1 modalAction)
 at JetBrains.UI.Extensions.WindowUtil.ShowDialogWithGuardedCreation(Lifetime lifetime, WindowModality modality, Func`3 FCreateView, IThreading threading, Object ownerwindow, IApplicationModalState applicationModalState)
 at JetBrains.UI.Extensions.WindowUtil.<>c__DisplayClass15_0.<ShowDialogWithGuardedCreation>b__1()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.Threading.IThreadingEx.<>c__DisplayClass18_1.<ExecuteOrQueueWhenNotGuarded>b__4()
 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)

RSRP-471974: Set language version: change from "all projects" to "projects with level less than ..."

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 24, 2018 5:21:54 PM
Updated Oct 27, 2018 8:28:56 AM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Fixed In Branch
Type Usability Problem
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains.ReSharperUltimate.2018.3.EAP4D.Checked.(183.0.20181023.132155-eap04d).

Please change wording for bulk QF from "Set language version for all projects" to more real life message (like "Set language version for projects with level less than ...").

RSRP-472037: Failed to set language version 'default' for project ClassLibraryVB

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 27, 2018 9:00:55 AM
Updated Oct 27, 2018 9:06:38 AM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
ReSharperPlatformVs14 Wave 183 Hive Uninstall — JetBrains ReSharper Ultimate 2018.3 EAP 5 D Build 183.0.20181025.222228-eap05d

JetBrains ReSharper 2018.3 EAP 5 D Build 2018.3.20181025.223516-eap05d
JetBrains ReSharper C++ 2018.3 EAP 5 D Build 2018.3.20181025.223507-eap05d

Failed to set language version 'default' for project ClassLibraryVB

— EXCEPTION #1/2 [LanguageVersionUpdateException]
Message = “Failed to set language version 'default' for project ClassLibraryVB”
ExceptionPath = Root.InnerException
ClassName = JetBrains.ProjectModel.Properties.LanguageVersionUpdateException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.VisualStudio.SinceVs11
StackTraceString = “
 at JetBrains.Platform.VisualStudio.SinceVs11.ProjectModel.VBLanguageVersionModifierSinceVs11.SetLanguageVersion(VBLanguageVersion languageVersion, IProject project)
 at JetBrains.Platform.VisualStudio.SinceVs11.ProjectModel.VBLanguageVersionModifierSinceVs11.SetLanguageVersion(VBLanguageVersion languageVersion, IProject project)
 at JetBrains.ReSharper.Intentions.QuickFixes.SetLanguageLevelFixBase`2.SetCompilerLanguageVersionBulbAction.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 = “Failed to set language version 'default' for project ClassLibraryVB”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = vb
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 5 D Build 183.0.20181025.222228-eap05d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2018.3 EAP 5 D Build 2018.3.20181025.223507-eap05d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.3 EAP 5 D Build 2018.3.20181025.223516-eap05d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183::9895956ce84e9a9ba737e11f689084849f2dddf6


Platform\VisualStudio:
    git::refs/heads/183-ak-newlangver

Data.VsVersion = 14.0.25431.1
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 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.HandleItemClicked(Object objKey, LifetimeDefinition viewModelDefinition, Boolean terminateAllViewModels)
 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.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, TaskPriority priority)
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteOrQueueReadLock(IShellLocks thіs, String name, Action F, TaskPriority priority)
 at JetBrains.Platform.VisualStudio.SinceVs10.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-472036: Couldn't get 'VBProjectProperties6' object

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 27, 2018 9:00:35 AM
Updated Oct 27, 2018 9:10:54 AM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
ReSharperPlatformVs14 Wave 183 Hive Uninstall — JetBrains ReSharper Ultimate 2018.3 EAP 5 D Build 183.0.20181025.222228-eap05d

JetBrains ReSharper 2018.3 EAP 5 D Build 2018.3.20181025.223516-eap05d
JetBrains ReSharper C++ 2018.3 EAP 5 D Build 2018.3.20181025.223507-eap05d

Couldn't get 'VBProjectProperties6' object

— EXCEPTION #1/1 [LoggerException]
Message = “Couldn't get 'VBProjectProperties6' object”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = vb
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 5 D Build 183.0.20181025.222228-eap05d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2018.3 EAP 5 D Build 2018.3.20181025.223507-eap05d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.3 EAP 5 D Build 2018.3.20181025.223516-eap05d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183::9895956ce84e9a9ba737e11f689084849f2dddf6


Platform\VisualStudio:
    git::refs/heads/183-ak-newlangver

Data.VsVersion = 14.0.25431.1
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Platform.VisualStudio.SinceVs11.ProjectModel.VBLanguageVersionModifierSinceVs11.TrySetLanguageVersion(IProject project, String languageVersion)
 at JetBrains.Platform.VisualStudio.SinceVs11.ProjectModel.VBLanguageVersionModifierSinceVs11.TrySetLanguageVersion(IProject project, String languageVersion)
 at JetBrains.Platform.VisualStudio.SinceVs11.ProjectModel.VBLanguageVersionModifierSinceVs11.SetLanguageVersion(VBLanguageVersion languageVersion, IProject project)
 at JetBrains.ReSharper.Intentions.QuickFixes.SetLanguageLevelFixBase`2.SetCompilerLanguageVersionBulbAction.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)
 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 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.HandleItemClicked(Object objKey, LifetimeDefinition viewModelDefinition, Boolean terminateAllViewModels)
 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.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, TaskPriority priority)
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteOrQueueReadLock(IShellLocks thіs, String name, Action F, TaskPriority priority)
 at JetBrains.Platform.VisualStudio.SinceVs10.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-472038: Add option "Max chain method calls on a single line"

$
0
0
Reporter Angelina Elycheva (Angelina.Elycheva) Angelina Elycheva (Angelina.Elycheva)
Created Oct 27, 2018 3:03:53 PM
Updated Oct 27, 2018 3:04:05 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I noticed that there is no possibility to adjust allowed amount of methods on single line when method chain calls setting is set chop always.
I see that there are similar settings for another settings: "max invocation arguments on a single line", "max format parameters on a single line", "max array initializer elements on a single line", "max object and collection initializer elements on a single line"
Could you add setting "Max chain method calls on a single line", please?

//Before cleanup
var numbers = Enumerable.Range(0, 10).Select(x => x*x).ToList(); //Chain of 3 methods
var apple = new Apple()
{
Id = Guid.NewGuid().ToString(), //Chain of 2 methods
Color = "Red",
};

//After cleanup (now)
var numbers = Enumerable.Range(0, 10)
.Select(x => x*x)
.ToList(); //chopped
var apple = new Apple()
{
Id = Guid.NewGuid()
.ToString(), //chopped
Color = "Red",
};

//After cleanup (when "Max chain method calls on a single line" = 2)
var numbers = Enumerable.Range(0, 10)
.Select(x => x*x)
.ToList(); //chopped
var apple = new Apple()
{
Id = Guid.NewGuid().ToString(), //doesn't chopped
Color = "Red",
};

RSRP-468821: Allow customizing NUnit CurrentDirectory

$
0
0
Reporter Andrey Akinshin (Andrey.Akinshin) Andrey Akinshin (Andrey.Akinshin)
Created Mar 22, 2018 9:41:52 PM
Updated Oct 27, 2018 7:50:44 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Major
State Fixed In Branch
Type Feature
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Currently, CurrentDirectory in NUnit test is always the location of the NUnit runner. It's not the best idea (especially for Rider).
I suggest introducing a setting which controls the default CurrentDirectory. This setting should provide three possible values:
  • A folder in temp directory (default)
  • User bin folder
  • Custom user folder

It will be also nice to provide a link to a help page which explains why do we have such default.

Related links:
https://github.com/nunit/nunit/issues/1110
https://github.com/nunit/nunit/issues/1072
https://stackoverflow.com/questions/36222532/resharper-unit-test-not-run-in-bin-directory
https://resharper-support.jetbrains.com/hc/en-us/community/posts/115000337390-NUnit-test-doesn-t-run-in-BIN-folder
https://resharper-support.jetbrains.com/hc/en-us/community/posts/115000337390-NUnit-test-doesn-t-run-in-BIN-folder

RSRP-470138: Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Jun 9, 2018 2:29:03 PM
Updated Oct 28, 2018 6:05:34 AM
Subsystem External Sources
Assignee Nikita Raba (nikita.raba)
Priority Major
State Submitted
Type Exception
Fix version Backlog
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180608.131001-eap00d

JetBrains dotCover 182 Build 182.0.20180608.201415-eap00d
JetBrains dotMemory 182 Build 182.0.20180608.214431-eap00d
JetBrains dotTrace 182 Build 182.0.20180608.214446-eap00d
JetBrains ReSharper 182 Build 182.0.20180608.202422-eap00d
JetBrains ReSharper C++ 182 Build 182.0.20180608.214427-eap00d
JetBrains TeamCity Add-in 182 Build 182.0.20180608.214439-eap00d

Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

— EXCEPTION #1/1 [LoggerException]
Message = “Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie”
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 0 D Build 182.0.20180608.131001-eap00d”
Data.SubProducts.#0 = “JetBrains dotCover 182 Build 182.0.20180608.201415-eap00d”
Data.SubProducts.#1 = “JetBrains dotTrace 182 Build 182.0.20180608.214446-eap00d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 182 Build 182.0.20180608.214427-eap00d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 182 Build 182.0.20180608.214439-eap00d”
Data.SubProducts.#4 = “JetBrains ReSharper 182 Build 182.0.20180608.202422-eap00d”
Data.SubProducts.#5 = “JetBrains dotMemory 182 Build 182.0.20180608.214431-eap00d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182

Platform\VisualStudio:
    git::refs/heads/182::5b674ab0e210b1ed77a8260ce2bdbbb7531d8548

Data.VsVersion = 15.7.27703.2026
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.ReSharper.Psi.CompilationContextCookie.GetContext()
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.AssemblyExport.AssemblyExporter.DecompileToTempFolder()
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.AssemblyExport.AssemblyExporter.Export(IAssemblyExportParameters assemblyExportParameters)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.AssemblyExport.AssemblyExportManagerBase.Export(IAssemblyExportParameters assemblyExportParameters, IProgressIndicator progressIndicator)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.AssemblyExport.AssemblyExportManagerBase.Export(Int32 parametersIndex)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.SymbolServer.PdbManager.GeneratePdb(Int32 parametersIndex, IAssemblyFile assemblyFile, IList`1 debugInfos, FileSystemPath rootFolderForPresentation)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.SymbolServer.PdbManager.GeneratePdbsForAssembly(Int32 parametersIndex, IAssemblyFile assemblyFile, FileSystemPath rootFolderForPresentation)
 at JetBrains.ReSharper.Feature.Services.ExternalSources.CSharp.SymbolServer.PdbManager.PutPdbsForAssemblyIntoFolder(IAssemblyFile assemblyFile, FileSystemPath rootFolder, Action successContinuation)
 at JetBrains.ReSharper.ExternalSources.Generation.NonexistentPdbGenerator.Generate(IList`1 assemblies, Action`1 loadSymbolsForAssembly)
 at JetBrains.ReSharper.ExternalSources.Generation.NonexistentPdbGenerator.EnableDebuggingForAssemblies(IEnumerable`1 assemblies, IDebugProgram program)
 at JetBrains.ReSharper.ExternalSources.Generation.NonexistentPdbGenerator.<>c__DisplayClass18_0.<EnableDebuggingForDecompiledSource>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F, TaskPriority priority)
 at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueueEx(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F)
 at JetBrains.Application.Threading.IThreadingEx.ExecuteOrQueueEx(IThreading thіs, Lifetime lifetime, String name, Action action)
 at JetBrains.ReSharper.ExternalSources.Generation.EnableDebuggingFeatureSuggester.<>c__DisplayClass11_0.<SuggestEnableDebugging>b__0()
 at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass0_0`1.<Advise>b__0(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.ReSharper.Feature.Services.FeatureSuggestion.SuggestionNotification.Accept()
 at JetBrains.Application.UI.Commands.DelegateCommand.<>c__DisplayClass3_0.<.ctor>b__0(Object o)
 at JetBrains.Application.UI.Commands.DelegateCommand.Execute(Object parameter)
 at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
 at System.Windows.Documents.Hyperlink.OnClick()
 at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender)
 at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender)
 at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
 at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs e)
 at System.Windows.UIElement.OnMouseLeftButtonUpThunk(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.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
 at System.Windows.UIElement.OnMouseUpThunk(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.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
 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-472039: Intention to flip two arguments

$
0
0
Reporter Dave Yost (daveyost) Dave Yost (daveyost)
Created Oct 28, 2018 5:53:12 AM
Updated Oct 28, 2018 10:24:15 AM
Subsystem Context Actions
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Consider this code:
  foo(arg1, arg2, arg3, arg4);
If the caret is to the left of arg2, Rider should offer to
  • flip arguments arg1 arg2
If the caret is inside arg2 Rider should offer to
  • flip arguments arg1 arg2
  • flip arguments arg2 arg3
If the caret is between arg2 and arg3, Rider should offer to
  • flip arguments arg2 arg3
etc.

RSRP-471926: declaredType.IsValid()

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 6, 2018 1:15:24 PM
Updated Oct 28, 2018 12:37:09 PM
Subsystem Parameter Info
Assignee Sergey Kuks (coox)
Priority Critical
State Submitted
Type Exception
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 182 — JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01

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

SubProducts.0 = JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01
SubProducts.1 = JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01
SubProducts.2 = JetBrains dotMemory 182 Build 182.0.20180628.132247-eap01

declaredType.IsValid()

— EXCEPTION #1/2 [AssertionException]
Message = declaredType.IsValid()
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
 at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeBase.Equals(IType type, IEqualityComparer`1 childrenComparer)
 at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeBase.Equals(IType type, IEqualityComparer`1 childrenComparer)
 at JetBrains.ReSharper.Psi.TypeEqualityComparer.VisitType(IType type, IType otherType)
 at JetBrains.ReSharper.Psi.TypeEqualityComparer.VisitDeclaredType(IDeclaredType declaredType, IType otherType)
 at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeBase.Accept[TContext,TResult](TypeVisitor`2 typeVisitor, TContext context)
 at JetBrains.ReSharper.Psi.TypeEqualityComparer.Equals(IType x, IType y)
 at JetBrains.ReSharper.Psi.DeclaredElementInstance.Compare(DeclaredElementInstance lhs, DeclaredElementInstance rhs, IEqualityComparer`1 typeComparer)
 at JetBrains.ReSharper.Psi.DeclaredElementInstance.Equals(Object obj)
 at JetBrains.ReSharper.Feature.Services.ParameterInfo.ParameterInfoCandidate.Equals(Object obj)
 at JetBrains.ReSharper.Feature.Services.ParameterInfo.ParameterInfoContextBase.Equals(Object obj)
 at System.Object.Equals(Object objA, Object objB)
 at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
 at JetBrains.DataFlow.Property`1.set_Value(TValue value)
 at JetBrains.ReSharper.Feature.Services.ParameterInfo.EditorParameterInfoHandler.SetContextActivity.Finish()
 at JetBrains.Application.Threading.InterruptableReadActivity.FinishingProc()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = declaredType.IsValid()
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.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.SubProducts.#2 = “JetBrains dotMemory 182 Build 182.0.20180628.132247-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-eap1::389b2b0a5d2b33c46224f8f1850bc61276990d1e


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

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.Threading.InterruptableReadActivity.FinishingProc()
 at JetBrains.Application.Threading.InterruptableReadActivity.FinishingProc()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
 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 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-472040: False "Usage of possibly unassigned value" warning in TypeScript

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Oct 28, 2018 5:23:50 PM
Updated Oct 28, 2018 5:25:06 PM
Subsystem TypeScript
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I’ve come across an oddity in typescript code analysis:
class TestClass {

async incorrectUnassignedValueWarning() {

let evt: Event;

try {

evt = await this.getPromise();

} catch (error) {

throw new Error("oops");

} finally {

// no code needed to make the analysis fail

}

evt.preventDefault(); // “Usage of possibly unassigned value”

}

async test() {

let evt: Event;

try {

evt = await this.getPromise();

} catch (error) {

throw new Error("oops");

}

evt.preventDefault();

}

getPromise(): Promise<Event> {

return Promise.resolve(new Event("event"));

}

}
In the first method, I get a warning that evt is possibly unassigned.

The warning does not appear in the second method, so it appears that it is the presence of the finally clause that causes the warning to appear.


Reproduced with 2018.3 EAP 4

RSRP-468080: JavaScript/TypeScript React support for React Fragment syntax

$
0
0
Reporter Brian Ricketts (briman94) Brian Ricketts (briman94)
Created Jan 25, 2018 1:52:25 AM
Updated Oct 28, 2018 5:29:56 PM
Subsystem JavaScript
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

ReSharper does not seem to support the new React Fragment syntax introduced in React 16.2. This syntax replaces needing to type <React.Fragment>{ /* children */ }</React.Fragment> with a much simpler <>{ /* children */ }</>. A tag counts as a Fragment if it is empty or contains only whitespace.

Example usage:

class MyComponent extends React.Component<{}, {}> {
    render() {
        return <>
            Some plain text without formatting.
            <br />
            <b>Some bold text</b>
        </>;
    }
}

Expected behavior would be no errors, and for the ReSharper formatter to indent children of the <>...</> fragment tags.

Actual behavior (with TypeScript; unsure about JS) is that it reports two errors: "(TS) Operator '>' cannot be applied to types 'boolean' and 'Element'" ("boolean" may depend on surrounding code), and "(TS) Expression expected."
The formatter completely un-indents the immediate children of Fragment tags to the leftmost column.

RSRP-471967: Set language version [VS 2010]: QF to set C# 4.0 is suggested.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 24, 2018 1:37:55 PM
Updated Oct 28, 2018 5:48:25 PM
Resolved Oct 28, 2018 5:48:25 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Fixed
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper 2018.3 EAP 5
VsVersion VS10 (2010)

JetBrains.ReSharperUltimate.2018.3.EAP4D.Checked.(183.0.20181023.132155-eap04d).
VS 2010

    class NamedExample
    {
        static void Main(string[] args)
        {
            PrintOrderDetails(orderNum: 31, productName: "Red Mug", sellerName: "Gift Shop");
            PrintOrderDetails(productName: "Red Mug", sellerName: "Gift Shop", orderNum: 31);
        }

        static void PrintOrderDetails(string sellerName, int orderNum, string productName)
        {
            throw new NotImplementedException();
        }
    }
  1. Invoke Alt+Enter on orderNum parameter name.

Actual result:

If C# 4.0 is selected then

Expected result:
QF to set C# 4.0 is not suggested.

RSRP-471968: Set language version [VS 2012]: set latest version is suggested.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 24, 2018 2:50:43 PM
Updated Oct 28, 2018 5:48:51 PM
Resolved Oct 28, 2018 5:48:51 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Fixed
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper 2018.3 EAP 5
VsVersion VS 2012 RTM U2

JetBrains.ReSharperUltimate.2018.3.EAP4D.Checked.(183.0.20181023.132155-eap04d).
VS 2012

        static void Main(string[] args)
        {
            // C# 4.0
            PrintOrderDetails(orderNum: 31, productName: "Red Mug", sellerName: "Gift Shop");
            PrintOrderDetails(productName: "Red Mug", sellerName: "Gift Shop", orderNum: 31);
        }
  1. Set C# 3.0 language version.
  2. Invoke Alt+Enter on orderNum named parameter.

Actual result:
QF to set latest version is suggested:

If this QF is selected then:

Expected result:
QF to set latest version is not shown.

RSRP-471969: Failed to set language version '11' for project ClassLibraryVB Value does not fall within the expected range.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 24, 2018 3:00:10 PM
Updated Oct 28, 2018 5:49:15 PM
Resolved Oct 28, 2018 5:49:15 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Fixed
Type Exception
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper 2018.3 EAP 5
VsVersion VS 2012 RTM U2, VS 2013 RTM
ReSharperPlatformVs11 Wave 183 Hive Uninstall — JetBrains ReSharper Ultimate 2018.3 EAP 4 D Build 183.0.20181023.123859-eap04d

JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181023.125137-eap04d
JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181023.125148-eap04d

Failed to set language version '11' for project ClassLibraryVB Value does not fall within the expected range.

— EXCEPTION #1/3 [ArgumentException]
Message = “Value does not fall within the expected range.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.ArgumentException
HResult = E_INVALIDARG=COR_E_ARGUMENT=80070057
Source = VSLangProj110
StackTraceString = “
 at VSLangProj110.VBProjectProperties6.set_LanguageVersion(String pbstrLanguageVersion)
 at VSLangProj110.VBProjectProperties6.set_LanguageVersion(String pbstrLanguageVersion)
 at JetBrains.Platform.VisualStudio.SinceVs11.ProjectModel.VBLanguageVersionModifierSinceVs11.TrySetLanguageVersion(IProject project, String languageVersion)
 at JetBrains.Platform.VisualStudio.SinceVs11.ProjectModel.VBLanguageVersionModifierSinceVs11.SetLanguageVersion(VBLanguageVersion languageVersion, IProject project)


— Outer —

— EXCEPTION #2/3 [LanguageVersionUpdateException]
Message = “Failed to set language version '11' for project ClassLibraryVB”
ExceptionPath = Root.InnerException
ClassName = JetBrains.ProjectModel.Properties.LanguageVersionUpdateException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.VisualStudio.SinceVs11
StackTraceString = “
 at JetBrains.Platform.VisualStudio.SinceVs11.ProjectModel.VBLanguageVersionModifierSinceVs11.SetLanguageVersion(VBLanguageVersion languageVersion, IProject project)
 at JetBrains.Platform.VisualStudio.SinceVs11.ProjectModel.VBLanguageVersionModifierSinceVs11.SetLanguageVersion(VBLanguageVersion languageVersion, IProject project)
 at JetBrains.ReSharper.Intentions.QuickFixes.SetLanguageLevelFixBase`2.SetCompilerLanguageVersionBulbAction.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 #3/3 [LoggerException]
Message = “Failed to set language version '11' for project ClassLibraryVB”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = vb
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 4 D Build 183.0.20181023.123859-eap04d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2018.3 EAP 4 D Build 2018.3.20181023.125148-eap04d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.3 EAP 4 D Build 2018.3.20181023.125137-eap04d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183-ak-newlangver::f4a6474fd3473a525ce8ad8160f443cd020d894e


Platform\VisualStudio:
    git::refs/heads/183-ak-newlangver

Data.VsVersion = 11.0.60315.1
InnerException = “Exception #2 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 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.HandleItemClicked(Object objKey, LifetimeDefinition viewModelDefinition, Boolean terminateAllViewModels)
 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.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, TaskPriority priority)
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteOrQueueReadLock(IShellLocks thіs, String name, Action F, TaskPriority priority)
 at JetBrains.Platform.VisualStudio.SinceVs10.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-471973: Set language version: latest is changed to C# 7.3/ VB 15.5.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 24, 2018 5:14:02 PM
Updated Oct 28, 2018 5:50:03 PM
Resolved Oct 28, 2018 5:50:03 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper 2018.3 EAP 5
VsVersion VS 2017 RTM

JetBrains.ReSharperUltimate.2018.3.EAP4D.Checked.(183.0.20181023.132155-eap04d).
Test solution is attached.

  1. Navigate to Program.cs.
  2. Invoke Alt+Enter -> "Set language version to 7.3 for all projects" on out var j (line 18).
  3. Inspect ClassLibrary1.csproj

Actual result:

 <LangVersion>7.3</LangVersion>

Expected result:
Language version does not change from latest to 7.3.

RSRP-465850: MsTest TestCategories attribute is not always recognized

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Aug 14, 2017 2:30:05 PM
Updated Oct 28, 2018 6:05:17 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.3
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have a solution written in VB.NET, including 2 test projects with over 3000 tests. The solution was migrated over from VS10 to VS12 to VS15 for now. I wanted to start with one test project to switch from "the old" MSTest (Microsoft.VisualStudio.QualityTools.UnitTestFramework) to MSTest V2 (Microsoft.VisualStudio.TestPlatform.TestFramework) to be able to use Row Tests and the ability to place the TestCategory attribute at class or assembly level.

By changing one project to target MSTest V2 I saw the followng things:
  • the attributes I placed at class level are not discoverd by Resharper TestExplorer, though they are by VS TestExplorer (grouping in both by categories.)

  • after the rebuild all tests are discovered as uncategorized
  • openeing a file that is categorized at class level and changing the grouping to Project and Namespaces and back to Categories updates the test explorer and displays the, but only the opened file(s) as correctly categorized
  • when openeing a file where the category is placed at the method definition I do not have to change the grouping in test explorer. The tests in that file are immediately corretly displayed in test explorer, but also only when opened

(- reference to another issue that also occurs during this actions
-> after rebuild it happens frequently, that not all tests are discovered by resharper as mentioned here (RSRP-462731 Test runner not recognizing MSTest tests), but the refresh button is a workarouond for that most of the times)


I created a little sample solution with two test projects. One targeting MSTestV1, the other MSTestV2. The solution was created in VS 2015. I used the "Add new item" dialog and added the Unit test Project template from that. For the MSTestV2 Project, I removed the reference to the TestFramework V1, added the V2 and the Testadapter with Nuget and last added the proper references to the project.
The V2 project includes two TestClasses in separate files, one with the TestCategory-attribute (named "IntegrationTest") at class level, the othe has none.
If you now "rebuild all" the first time Resharper TestExplorer Shows everything correct.
Now remove the Attribute,
rebuild,
R# test explorer does not update.
Change "Group by:" to anything else and back,
everything is fine.

RSRP-459217: MSTest's custom category isn't recognized if test's code is opened

$
0
0
Reporter Alexandra Kuks (Asia.Rudenko) Alexandra Kuks (Asia.Rudenko)
Created Jun 10, 2016 9:03:02 PM
Updated Oct 28, 2018 6:15:38 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.3
Affected versions 2016.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. open the attached solution, clean it, don't open any files in code editor
2. run all tests from solution
3. group unit test session's tree by category - the only test is in 'CustomCategory'
4. double-click on the test - its code is opened, and 'CustomCategory' node turns into '<Uncategorized>'
If at some point it becomes unreproducible, clean solution once again and restart Studio.

RSRP-466499: Transition failed: Transition from state on event . Cause: System.InvalidOperationException: Test-cases are miss

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Oct 4, 2017 12:22:09 AM
Updated Oct 28, 2018 6:43:52 PM
Resolved Jan 19, 2018 2:53:19 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Fixed
Type Exception
Fix version 2017.3.2
Affected versions 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 11 Hive _7ca6e00d — JetBrains ReSharper Ultimate 2017.3 EAP 1 PRE Build 111.0.20171002.71102-eap01pre

JetBrains dotCover 2017.3 EAP 1 PRE Build 2017.3.20171002.135724-eap01pre
JetBrains dotMemory 2017.3 EAP 1 PRE Build 2017.3.20171002.135717-eap01pre
JetBrains dotTrace 2017.3 EAP 1 PRE Build 2017.3.20171002.135706-eap01pre
JetBrains ReSharper 2017.3 EAP 1 PRE Build 2017.3.20171002.164125-eap01pre
JetBrains ReSharper C++ 2017.3 EAP 1 PRE Build 2017.3.20171002.72247-eap01pre
JetBrains TeamCity Add-in 2017.3 EAP 1 PRE Build 2017.3.20171002.72303-eap01pre

Transition failed: Transition from state <HandShake> on event <remote::.ProtocolVersion>. Cause: System.InvalidOperationException: Test-cases are missing for the selected tests. Did discovery succeed? at JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestExecution.SendGetProcessStartInfo() at Appccelerate.StateMachine.Machine.ActionHolders.ArgumentLessActionHolder.Execute(Object argument) at Appccelerate.StateMachine.Machine.States.State2.ExecuteEntryAction(IActionHolder actionHolder, ITransitionContext2 context)

— EXCEPTION #1/1 [LoggerException]
Message = “
Transition failed: Transition from state <HandShake> on event <remote::.ProtocolVersion>.
Cause: System.InvalidOperationException: Test-cases are missing for the selected tests. Did discovery succeed?
 at JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestExecution.SendGetProcessStartInfo()
 at JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestExecution.SendGetProcessStartInfo()
 at Appccelerate.StateMachine.Machine.ActionHolders.ArgumentLessActionHolder.Execute(Object argument)
 at Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryAction(IActionHolder actionHolder, ITransitionContext`2 context)

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.3 EAP 1 PRE Build 111.0.20171002.71102-eap01pre”
Data.SubProducts.#0 = “JetBrains dotCover 2017.3 EAP 1 PRE Build 2017.3.20171002.135724-eap01pre”
Data.SubProducts.#1 = “JetBrains dotTrace 2017.3 EAP 1 PRE Build 2017.3.20171002.135706-eap01pre”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2017.3 EAP 1 PRE Build 2017.3.20171002.72247-eap01pre”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2017.3 EAP 1 PRE Build 2017.3.20171002.72303-eap01pre”
Data.SubProducts.#4 = “JetBrains ReSharper 2017.3 EAP 1 PRE Build 2017.3.20171002.164125-eap01pre”
Data.SubProducts.#5 = “JetBrains dotMemory 2017.3 EAP 1 PRE Build 2017.3.20171002.135717-eap01pre”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave11::a18e9b4e2bb12ba2a195257a38fc485809a24926

Data.VsVersion = 15.3.26730.16
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestProtocol.<.ctor>b__e(Object sender, TransitionExceptionEventArgs`2 args)
 at JetBrains.ReSharper.UnitTestFramework.DotNetCore.DotNetVsTest.DotNetVsTestProtocol.<.ctor>b__e(Object sender, TransitionExceptionEventArgs`2 args)
 at Appccelerate.StateMachine.Machine.StateMachine`2.RaiseEvent[T](EventHandler`1 eventHandler, T arguments, ITransitionContext`2 context, Boolean raiseEventOnException)
 at Appccelerate.StateMachine.Machine.StateMachine`2.OnExceptionThrown(ITransitionContext`2 context, Exception exception)
 at Appccelerate.StateMachine.Machine.Contexts.TransitionContext`2.OnExceptionThrown(Exception exception)
 at Appccelerate.StateMachine.Machine.States.State`2.HandleException(Exception exception, ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.HandleEntryActionException(ITransitionContext`2 context, Exception exception)
 at Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryAction(IActionHolder actionHolder, ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.ExecuteEntryActions(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.Entry(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.EnterShallow(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.EnterHistoryNone(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.EnterByHistory(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.Transitions.Transition`2.Fire(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.States.State`2.Fire(ITransitionContext`2 context)
 at Appccelerate.StateMachine.Machine.StateMachine`2.Fire(TEvent eventId, Object eventArgument)
 at Appccelerate.StateMachine.PassiveStateMachine`2.ProcessQueuedEvents()
 at Appccelerate.StateMachine.PassiveStateMachine`2.Execute()
 at Appccelerate.StateMachine.PassiveStateMachine`2.Fire(TEvent eventId, Object eventArgument)
 at JetBrains.ReSharper.UnitTestFramework.DotNetCore.Channel.DotNetCoreMessageListener.<>c__DisplayClass2`1.<RegisterMessage>b__1(JToken payload)
 at JetBrains.ReSharper.UnitTestFramework.DotNetCore.Channel.DotNetCoreMessageListener.OnMessage(String rawMessage)
 at JetBrains.ReSharper.UnitTestFramework.Channel.Json.JsonBasedRemoteChannel.ReaderThreadProc()
 at JetBrains.ReSharper.TaskRunnerFramework.RemoteChannelBase.<Start>b__0(Object _)
 at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
 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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
 at System.Threading.ThreadPoolWorkQueue.Dispatch()
 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

RSRP-472041: Incorrect code formatting in property declaration

$
0
0
Reporter Maxim (mogikanin) Maxim (mogikanin)
Created Oct 28, 2018 6:50:50 PM
Updated Oct 28, 2018 6:50:50 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Please take a look into videos, how it behaves with Resharper, and how without. Resharper does something weird.

===
JetBrains ReSharper Ultimate 2018.2.3 Build 182.0.20180912.70621
ReSharper 2018.2.20180912.160227

Viewing all 106942 articles
Browse latest View live


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