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

RSRP-466535: Create method from usage with anonymous type

$
0
0
Reporter Matthias Koch (Matthias.Koch) Matthias Koch (Matthias.Koch)
Created Oct 6, 2017 2:51:27 PM
Updated Oct 16, 2018 12:49:31 PM
Resolved Oct 16, 2018 12:49:31 PM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Duplicate
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
As in the screenshot.

RSRP-471237: changeSignatureModel != null

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Aug 24, 2018 11:35:32 AM
Updated Oct 16, 2018 12:55:28 PM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Exception
Fix version Backlog
Affected versions 2018.2, 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2018.2 EAP 9 D Build 182.0.20180824.30057-eap09d

JetBrains dotCover 2018.2 EAP 9 D Build 2018.2.20180824.31536-eap09d
JetBrains dotMemory 2018.2 EAP 9 D Build 2018.2.20180824.40122-eap09d
JetBrains dotTrace 2018.2 EAP 9 D Build 2018.2.20180824.31535-eap09d
JetBrains ReSharper 2018.2 EAP 9 D Build 2018.2.20180824.31802-eap09d
JetBrains ReSharper C++ 2018.2 EAP 9 D Build 2018.2.20180824.40107-eap09d
JetBrains TeamCity Add-in 2018.2 EAP 9 D Build 2018.2.20180824.40112-eap09d

SubProducts.0 = JetBrains dotCover 2018.2 EAP 9 D Build 2018.2.20180824.31536-eap09d
SubProducts.1 = JetBrains dotTrace 2018.2 EAP 9 D Build 2018.2.20180824.31535-eap09d
SubProducts.2 = JetBrains ReSharper C++ 2018.2 EAP 9 D Build 2018.2.20180824.40107-eap09d
SubProducts.3 = JetBrains TeamCity Add-in 2018.2 EAP 9 D Build 2018.2.20180824.40112-eap09d
SubProducts.4 = JetBrains ReSharper 2018.2 EAP 9 D Build 2018.2.20180824.31802-eap09d
SubProducts.5 = JetBrains dotMemory 2018.2 EAP 9 D Build 2018.2.20180824.40122-eap09d

changeSignatureModel != null

— EXCEPTION #1/2 [AssertionException]
Message = “changeSignatureModel != null”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Intentions.CSharp
StackTraceString = “
 at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.CreateParameterFromUsageBulbAction.ChangeSignature(IExpression referenceExpression, IParametersOwner parametersOwner, IProgressIndicator progress, Int32& createdParameterIndex)
 at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.CreateParameterFromUsageBulbAction.ChangeSignature(IExpression referenceExpression, IParametersOwner parametersOwner, IProgressIndicator progress, Int32& createdParameterIndex)
 at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.CreateParameterFromUsageBulbAction.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 = “changeSignatureModel != null”
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 9 D Build 182.0.20180824.30057-eap09d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.2 EAP 9 D Build 2018.2.20180824.31536-eap09d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.2 EAP 9 D Build 2018.2.20180824.31535-eap09d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.2 EAP 9 D Build 2018.2.20180824.40107-eap09d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.2 EAP 9 D Build 2018.2.20180824.40112-eap09d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.2 EAP 9 D Build 2018.2.20180824.31802-eap09d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.2 EAP 9 D Build 2018.2.20180824.40122-eap09d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182::3410e2e38101c18b9d4a4bcd7a0088762da61380


Platform\VisualStudio:
    git::refs/heads/182::e3608e9fc9a6d409fd98ca9a9298aa2287e7b83f

Data.VsVersion = 15.8.28010.2003
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.OnKeyDownLowPriority(KeyEventArgs args)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args)
 at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
 at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
 at System.Windows.Forms.Control.WmKeyChar(Message& m)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 at System.Windows.Forms.Form.WndProc(Message& m)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
 at JetBrains.UI.Utils.DpiUtil.TopLevelWindowDpiTracker.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.JetPopupMenuOverlordView.Show(Boolean isModal)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowCore(JetPopupMenu menu, ShowWhen when, Boolean isModal, LifetimeDefinition lifetimeDefinitionOptional, IJetPopupMenuOverlordView parentView)
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.ShowBulbMenuAdvanced(IEnumerable`1 menuItems, PopupWindowContextSource contextSource, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition viewLifetimeDefinition, IAutomation captionAutomation, Action`1 beforeShow)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.ExecuteIndicator(IDataContext context, BulbItemsReadyState readyState)
 at JetBrains.ReSharper.Intentions.Bulbs.IndicatorControllerBase.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterHandlers.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterActionHandler.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0()
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass17_0.<CommandTargetExec>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.CommandTargetExec(CommandID commandid, OLECMDEXECOPT cmdExecOpt)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<.ctor>b__12_2(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out)
 at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut)

RSRP-466738: 'Create Class' from usage could add base type 'C' for class 'XXX'.

$
0
0
Reporter Olga Lukianova (olka) Olga Lukianova (olka)
Created Oct 20, 2017 8:50:52 PM
Updated Oct 16, 2018 1:02:52 PM
Subsystem Quick Fixes - Create From Usage
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Improvement
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
  class O
{
public void Foo((C,int) c)
{
(XXX{caret}, int) x = default((XXX,int));
(XXX, int) t = default((XXX, int));
Foo(t);
}
}

RSRP-465984: Code generation within nameof()

$
0
0
Reporter Davyd McColl (Davyd_McColl) Davyd McColl (Davyd_McColl)
Created Aug 24, 2017 11:54:32 AM
Updated Oct 16, 2018 1:03:55 PM
Subsystem Quick Fixes - Create From Usage
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Submitted
Type Usability Problem
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Typically, if I have an instance of a class and I type something like:

{instance}.SomeNewPropertyWhichDoesntExistYet;

I can alt-enter on the property name above and R# will offer to generate the property for me – which works like a charm.

I'd like to request that this also be added for nameof(), where instance properties are referred to as if they were static. So in the example above, I could have:

var foo = nameof(SomeClass.SomeNewPropertyWhichDoesntExistYet);

and be able to alt-enter on the property SomeNewPropertyWhichDoesntExistYet to get the regular R# code-generation. Currently, the property is marked red (because it's missing), but alt-enter does nothing.

RSRP-333285: Bracket highlighting does not work for vb.net in vs8-9

$
0
0
Reporter Anton Lobov (Anton.Lobov) Anton Lobov (Anton.Lobov)
Created Oct 26, 2012 3:50:02 PM
Updated Oct 16, 2018 1:04:31 PM
Resolved Oct 16, 2018 1:04:31 PM
Subsystem Matching Elements
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Obsolete
Type Feature
Fix version Backlog
Affected versions 7.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Works for C# in all VS versions.
Does not work for vb.net in vs8-9.
Works for vb.net in vs10-11.

RSRP-191396: Matching braces in VB should work on all reasonable constructs

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Sep 23, 2010 8:16:08 PM
Updated Oct 16, 2018 1:07:21 PM
Subsystem Matching Elements
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. XXX/ End XXX etc
2. If/ End if (what to do with ElseIf inside)
3. Queries?

RSRP-471862: Can't get solution active configuration

$
0
0
Reporter Igor Akhmetov (Igor.Akhmetov) Igor Akhmetov (Igor.Akhmetov)
Created Oct 16, 2018 1:11:18 PM
Updated Oct 16, 2018 1:12:08 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Major
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _69eb6bd4ReSharper — 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 ReSharper C++ 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d

Can't get solution active configuration

— EXCEPTION #1/1 [LoggerException]
Message = “Can't get solution active configuration”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181010.0-eap03d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SubProducts.#1 = “JetBrains ReSharper C++ 2018.3 EAP 3 D Build 2018.3.20181010.0-eap03d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183-cpp::a790c4d47adfe71281476b25a5609c99d1373bc1

Data.VsVersion = 15.8.28010.0
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.ILoggerEx.LogMessage(ILogger this, LoggingLevel level, String message)
 at JetBrains.Util.ILoggerEx.LogMessage(ILogger this, LoggingLevel level, String message)
 at JetBrains.Util.ILoggerEx.Error(ILogger this, String message)
 at JetBrains.VsIntegration.IDE.SolutionBuilder.ConfigHolders.SolutionConfigurationHolderNew.Recalculate(Action afterRecalculate)
 at JetBrains.VsIntegration.IDE.SolutionBuilder.ConfigHolders.SolutionConfigurationHolder.<.ctor>b__9_1(Lifetime lt, ConfigurationCalculationMode val)
 at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass26_0`1.<ForEachValue>b__0(Lifetime lf, TValue value, Object cookie)
 at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass27_1`1.<ForEachValue>b__1(Lifetime lifetimeValue)
 at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass4_0.<Next>b__0(LifetimeDefinition definition, Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILog logger)
 at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)
 at JetBrains.DataFlow.SequentialLifetimes.Next(Action`1 FNext)
 at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass27_0`1.<ForEachValue>b__0(PropertyChangedEventArgs`1 args)
 at JetBrains.DataFlow.Property`1.PropertyChangeSignal.Acknowledge(Action`1 handler, AddRemove addremove)
 at JetBrains.DataFlow.Property`1.PropertyChangeSignal.OnAfterAdvise(Action`1 handler)
 at JetBrains.DataFlow.Signal`1.<>c__DisplayClass19_0.<AdviseCore>b__0()
 at JetBrains.DataFlow.LifetimeDefinition.Bracket(Action opening, Action closing)
 at JetBrains.DataFlow.Lifetime.Bracket(Action opening, Action closing)
 at JetBrains.DataFlow.Lifetime.AddBracket(Action FOpening, Action FClosing)
 at JetBrains.DataFlow.Signal`1.AdviseCore(Action`1 handler, Lifetime lifetime)
 at JetBrains.DataFlow.Signal`1.Advise(Lifetime lifetime, Action`1 handler)
 at JetBrains.DataFlow.IPropertyEx.ForEachValue[TValue](IProperty`1 property, Lifetime lifetime, Func`2 FCondition, Action`3 FHandler)
 at JetBrains.DataFlow.IPropertyEx.ForEachValue[TValue](IProperty`1 property, Lifetime lifetime, Func`2 FCondition, Action`2 FHandler)
 at JetBrains.DataFlow.IPropertyEx.ForEachValue[TValue](IProperty`1 property, Lifetime lifetime, Action`2 FHandler)
 at JetBrains.VsIntegration.IDE.SolutionBuilder.ConfigHolders.SolutionConfigurationHolder..ctor(Lifetime lifetime, ILogger logger, ISolution solution, IShellLocks locks, ISettingsStore store, DTE dte, ProjectActiveConfigurationAccessor accessor, IVsHierarchies hierarchies, VsActiveConfigurationManager vsActiveConfigurationManager)
 at JetBrains.Platform.VisualStudio.SinceVs15.IDE.SolutionBuilder.SolutionConfigurationHolder15..ctor(Lifetime lifetime, ILogger logger, ISolution solution, IShellLocks locks, ISettingsStore store, DTE dte, ProjectActiveConfigurationAccessor accessor, IVsHierarchies hierarchies, ISolutionConfigurationBuilder15 solutionConfigurationBuilder15, LightSolutionLoadSettingsHolder holder, VsActiveConfigurationManager vsActiveConfigurationManager)
 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.Extensibility.PartCatalogTypeComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)
 at JetBrains.Application.Extensibility.PartCatalogTypeComponentDescriptor.CreateInstance(IValueResolveContext context)
 at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)
 at JetBrains.Application.Components.SingletonDescriptor.GetValue()
 at JetBrains.Application.Components.SignatureResolution.BindArguments(List`1 argumentDescriptors, Object origin)
 at JetBrains.Application.Extensibility.PartCatalogTypeComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)
 at JetBrains.Application.Extensibility.PartCatalogTypeComponentDescriptor.CreateInstance(IValueResolveContext context)
 at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)
 at JetBrains.Application.Components.SingletonDescriptor.GetValue()
 at JetBrains.Application.Components.SignatureResolution.BindArguments(List`1 argumentDescriptors, Object origin)
 at JetBrains.Application.Extensibility.PartCatalogTypeComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)
 at JetBrains.Application.Extensibility.PartCatalogTypeComponentDescriptor.CreateInstance(IValueResolveContext context)
 at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container)
 at JetBrains.Application.Components.SingletonDescriptor.GetValue()
 at JetBrains.Application.Components.SignatureResolution.BindArguments(List`1 argumentDescriptors, Object origin)
 at JetBrains.Application.Extensibility.PartCatalogTypeComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context)
 at JetBrains.Application.Extensibility.PartCatalogTypeComponentDescriptor.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.ProjectModel.SolutionInstance.OpenSolutionInstance(ISolutionLoadTasksScheduler taskScheduler)
 at JetBrains.ProjectModel.SolutionManagerBase.CreateSolutionInstance(SolutionElement solutionElement, SolutionInstance solutionInstance)
 at JetBrains.VsIntegration.ProjectDocuments.VSSolutionManager.<>c__DisplayClass36_0.<OpenVSSolution>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass4_0.<Next>b__0(LifetimeDefinition definition, Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILog logger)
 at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)
 at JetBrains.DataFlow.SequentialLifetimes.Next(Action`1 FNext)
 at JetBrains.VsIntegration.ProjectDocuments.VSSolutionManager.OpenVSSolution(Boolean openSolution, Boolean sync)
 at JetBrains.VsIntegration.ProjectDocuments.VSSolutionManager.<>c__DisplayClass33_0.<OnAfterOpenProject>b__0()
 at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
 at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin)
 at JetBrains.VsIntegration.Interop.VsInteropController.ExecuteActionsUnderProperLock(Boolean isWriteLockTaken)
 at JetBrains.VsIntegration.Interop.VsInteropController.ExecuteActionsUnderWriteLockOrReschedule()
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass8_1.<ExecuteOrQueueOrMerge>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.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F)
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F)
 at JetBrains.VsIntegration.Interop.VsInteropController.DispatchActions()
 at JetBrains.VsIntegration.Interop.VsInteropController.ExecuteOrQueueOrMergeWithReadLockWhenTalkingToVsAllowed(Lifetime lifetime, String name, Boolean requiresWriteLock, Action action)
 at JetBrains.VsIntegration.ProjectDocuments.VSSolutionManager.OnAfterOpenProject(IVsHierarchy pHierarchy, Int32 fAdded)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.VsSolutionManager10.OnAfterOpenProject(IVsHierarchy pHierarchy, Int32 fAdded)
 at JetBrains.Platform.VisualStudio.SinceVs15.ProjectDocuments.VsSolutionManager15.<>c__DisplayClass3_0.<.ctor>b__2(Lifetime openFolderLifetime, FakeOpenFolderHierarchy hierarchy)
 at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass26_0`1.<ForEachValue>b__0(Lifetime lf, TValue value, Object cookie)
 at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass27_1`1.<ForEachValue>b__1(Lifetime lifetimeValue)
 at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass4_0.<Next>b__0(LifetimeDefinition definition, Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILog logger)
 at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)
 at JetBrains.DataFlow.SequentialLifetimes.Next(Action`1 FNext)
 at JetBrains.DataFlow.IPropertyEx.<>c__DisplayClass27_0`1.<ForEachValue>b__0(PropertyChangedEventArgs`1 args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie)
 at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie)
 at JetBrains.DataFlow.Property`1.set_Value(TValue value)
 at JetBrains.Platform.VisualStudio.SinceVs15.ProjectDocuments.OpenFolderSynchronizer.<>c__DisplayClass20_0.<.ctor>b__1(VsHierarchyEventArgs 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.Platform.VisualStudio.SinceVs15.ProjectModel.VsSolutionEventsTracker15.OnAfterOpenFolder(String folderPath)
 at Microsoft.VisualStudio.Shell.Interop.IVsSolution7.OpenFolder(String folderPath)
 at Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceExplorerToolWindow.OpenViaSolution(String path, String commandSource)
 at Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceExplorerToolWindow.BrowseOpenWorkspace(String workspacePath, String commandSource, Boolean multiRoot)
 at Microsoft.VisualStudio.Workspace.VSIntegration.SourceExplorerPackage.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(String verb, Object pvaIn, Object& pvaOut)
 at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(String verb, Object pvaIn, Object& pvaOut)
 at Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(Object parameter)
 at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
 at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-471863: Exception when closing a VS instance with an open folder project

$
0
0
Reporter Igor Akhmetov (Igor.Akhmetov) Igor Akhmetov (Igor.Akhmetov)
Created Oct 16, 2018 1:27:02 PM
Updated Oct 16, 2018 1:27:02 PM
Subsystem Platform - Project Model
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
---------------------------
ReSharper – Runtime Error – Technical Data
---------------------------
JetBrains ReSharper has encountered a runtime error.
Technical data follows.
Hint: Ctrl+C copies the text of system message boxes to Clipboard.
________________________________________________________________

A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. Exception of type 'JetBrains.ProjectModel.Update.ProjectModelNeedsToBeChangedException' was thrown.



--- EXCEPTION #1/3 [ProjectModelNeedsToBeChangedException]

ExceptionPath.1 = Root.InnerException.InnerException

ExceptionPath.2 = Root.InnerException.InnerExceptions.#0

ClassName = JetBrains.ProjectModel.Update.ProjectModelNeedsToBeChangedException

HResult = COR_E_EXCEPTION=80131500

Source = JetBrains.Platform.ProjectModel

StackTraceString = “

at JetBrains.ProjectModel.Update.LateWriteLockCookie.AcquireWriteLockIfNecessary(CallerInfo callerInfo)

at JetBrains.ProjectModel.Update.LateWriteLockCookie.AcquireWriteLockIfNecessary(String callerFilePath, String callerMemberName)

at JetBrains.ProjectModel.Update.ProjectModelUpdater.UpdateFolderContent(LateWriteLockCookie lateWriteLockCookie, IProjectFolder folder, IProjectFolderDescriptor descriptor, UpdateFlags flags)

at JetBrains.ProjectModel.Update.ProjectModelUpdater.UpdateOrCreateProject(LateWriteLockCookie lateWriteLockCookie, IProjectDescriptor descriptor, UpdateFlags flags)

at JetBrains.ProjectModel.Update.ProjectModelUpdater.UpdateOrCreateProject(IProjectDescriptor projectDescriptor, UpdateFlags flags, Boolean isReadOnly)

at JetBrains.ProjectModel.Update.ProjectModelUpdaterImpl.<>c__DisplayClass32_0.<UpdateOrCreateProjectAsyncImpl>b__0()

at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher[T](Func`1 action)

at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass34_0`1.<Create>b__1(Object state)

at System.Threading.Tasks.Task`1.InnerInvoke()

at System.Threading.Tasks.Task.Execute()





--- Outer ---



--- EXCEPTION #2/3 [AggregateException]

Message = “A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.”

ExceptionPath = Root.InnerException

ClassName = System.AggregateException

InnerException = “Exception #1 at Root.InnerException.InnerException”

HResult = COR_E_EXCEPTION=80131500

InnerExceptions.#0 = “Exception #1 at Root.InnerException.InnerException”



--- Outer ---



--- EXCEPTION #3/3 [LoggerException]

Message = “A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.”

ExceptionPath = Root

ClassName = JetBrains.Util.LoggerException

Data.ManagedThreadName = <NULL>

InnerException = “Exception #2 at Root.InnerException”

HResult = COR_E_APPLICATION=80131600

StackTraceString = “

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.Application.Threading.Tasks.TaskHost.OnUnobservedTaskException(Object sender, UnobservedTaskExceptionEventArgs args)

at System.EventHandler`1.Invoke(Object sender, TEventArgs e)

at System.Threading.Tasks.TaskScheduler.PublishUnobservedTaskException(Object sender, UnobservedTaskExceptionEventArgs ueea)

at System.Threading.Tasks.TaskExceptionHolder.Finalize()




---------------------------
OK
---------------------------

RSRP-335087: Current line highlighting is sometimes on top on the matching braces outline

$
0
0
Reporter Julien Lebosquain (mrjul) Julien Lebosquain (mrjul)
Created Nov 10, 2012 6:20:32 PM
Updated Oct 16, 2018 1:31:48 PM
Resolved Oct 16, 2018 1:31:48 PM
Subsystem Matching Elements
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Obsolete
Type Cosmetics
Fix version Backlog
Affected versions 7.0.1, 7.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Please see the attached screenshot: the current line highlighting border (which is black here) gets over the top of the matching braces outline.

I cannot reproduce this issue consistently. I had this happen twice already, usually after installing or uninstalling VS or R# addins. Note that none were affecting this directly, and that the screenshot has been taken with only R# installed. It seems that somehow the current line highlighting registration doesn't have the correct order anymore. Repairing ReSharper always solves the problem.

RSRP-189569: CA 'Compute constant value' breaks code

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 26, 2010 5:14:12 PM
Updated Oct 16, 2018 1:36:28 PM
Resolved Oct 16, 2018 1:36:28 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
class A
{
static void Foo()
{
var x = (uint)1.1; // here
var y = new []{x, (uint)1};
}
}

Result:

class A
{
static void Foo()
{
var x = 1;
var y = new []{x, (uint)1}; // error CS0826: No best type found for implicitly-typed array
}
}

RSRP-189658: [C#] "Invert if" produces weird result

$
0
0
Reporter Michael (mteper) Michael (mteper)
Created Aug 27, 2010 2:36:11 AM
Updated Oct 16, 2018 1:37:07 PM
Resolved Oct 16, 2018 1:37:07 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Initial code:
            if (WorkTypeGeneralRadioButton.Checked ||
                WorkTypeSoftwareRadioButton.Checked ||
                WorkTypeLegalRadioButton.Checked ||
                WorkTypeTechnicalRadioButton.Checked ||
                WorkTypeOtherRadioButton.Checked)
            {
                
            }

After "Invert if ..."
            if ((((!WorkTypeGeneralRadioButton.Checked && !WorkTypeSoftwareRadioButton.Checked) &&
             !WorkTypeLegalRadioButton.Checked) && !WorkTypeTechnicalRadioButton.Checked) &&
             !WorkTypeOtherRadioButton.Checked)
            {
            }

Expected:
            if (!WorkTypeGeneralRadioButton.Checked &&
                !WorkTypeSoftwareRadioButton.Checked &&
                !WorkTypeLegalRadioButton.Checked &&
                !WorkTypeTechnicalRadioButton.Checked &&
                !WorkTypeOtherRadioButton.Checked)
            {
                
            }

Note that ReSharper added extraneous parans and removed line breaks.

RSRP-189916: Merge 2 if's context action should be smarter and avoid unnecessary parenthesis

$
0
0
Reporter Valentin Kipiatkov (valentin) Valentin Kipiatkov (valentin)
Created Aug 31, 2010 10:02:02 PM
Updated Oct 16, 2018 1:39:52 PM
Resolved Oct 16, 2018 1:39:52 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
if (a)
if (b && c)

should not be converted to:

if (a && (b && c))

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

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

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

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

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

— Outer —

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

— Outer —

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


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

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

RSRP-190718: VB [CA] To single line statement

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Sep 10, 2010 10:40:05 AM
Updated Oct 16, 2018 2:22:12 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
      Return New ReparseParameters() { _
New ReparseParameters(SelectionRange,"__",True), _
New ReparseParameters(SelectionRange,"__" & Environment.NewLine,True) _
}

RSRP-190838: Action to convert reassignment of variable to declaration of new variable with updated usages

$
0
0
Reporter Drew Noakes (drewnoakes) Drew Noakes (drewnoakes)
Created Sep 12, 2010 8:26:37 PM
Updated Oct 16, 2018 2:26:47 PM
Resolved Oct 16, 2018 2:26:46 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Feature
Fix version No Fix versions
Affected versions 5.0, 5.1, 5.1.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
I generally avoid reassigning values to parameters. It's not uncommon for me to apply the following transformation to code, regardless of whether a parameter is involved or not.

Based on some code I was working on today...

public IEnumerable<Suggestion> SuggestCorrections(string input)
{
input = UnicodeUtil.NormaliseToAscii(input); // caret on this line somewhere
// usages of 'input'
}
Offer a CA 'Convert reassignment to new variable' to convert to:

public IEnumerable<Suggestion> SuggestCorrections(string input)
{
var newVariable = UnicodeUtil.NormaliseToAscii(input);
// usages updated to 'newVariable' and can still use original 'input' as needed
}
Note the current 'Introduce variable' refactoring doesn't work. It gives:

var s = input = UnicodeUtil.NormaliseToAscii(input);

RSRP-190920: Convert to overload that uses format string

$
0
0
Reporter Drew Noakes (drewnoakes) Drew Noakes (drewnoakes)
Created Sep 14, 2010 6:39:49 PM
Updated Oct 16, 2018 2:32:13 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 5.0, 5.1, 5.1.1, 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Console.Out.WriteLine(metadata);
Via context action:

Console.Out.WriteLine("{0}", metadata);
And vice-versa for any [StringFormatMethod] that has an overload that accepts a single argument.

This could also be applied, with more knowledge of the API, for specific types where the alternative method has a different name:

stringBuilder.Append(metadata);

stringBuilder.AppendFormat("{0}", metadata);

RSRP-448117: To string.Format invocation + custom methods

$
0
0
Reporter Matt Ellis (citizenmatt) Matt Ellis (citizenmatt)
Created Sep 21, 2015 12:33:38 PM
Updated Oct 16, 2018 2:32:13 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
The "To string.Format invocation" has some known methods - StringBuilder.Append/StringBuilder.AppendFormat and Console.Write, etc. Instead of calling string.Format, an existing method call to Append is rewritten to use the AppendFormat method. If custom code defines e.g. Error and ErrorFormat, and the ErrorFormat method is marked with the StringFormatMethod annotation attribute, the "To string.Format invocation" should use simple heuristics to look for the formatting version. Something simple, such as a method with the same method name prefix, ending in "Format" and marked with StringFormatMethodAttribute would do this.

RSRP-191016: Language opportunities suggestions in VB

$
0
0
Reporter Olga Lukianova (olka) Olga Lukianova (olka)
Created Sep 16, 2010 6:36:52 PM
Updated Oct 16, 2018 2:37:53 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Feature
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
      MEMBER_WITH_QUALIFIED_NAME_PRESENTER = New DeclaredElementPresenterStyle()
MEMBER_WITH_QUALIFIED_NAME_PRESENTER.ShowName = NameStyle.QUALIFIED
MEMBER_WITH_QUALIFIED_NAME_PRESENTER.ShowParameterTypes = True
MEMBER_WITH_QUALIFIED_NAME_PRESENTER.ShowParameterNames = False
MEMBER_WITH_QUALIFIED_NAME_PRESENTER.ShowType = TypeStyle.DEFAULT

to

      MEMBER_WITH_QUALIFIED_NAME_PRESENTER = New DeclaredElementPresenterStyle() With
{
.ShowName = NameStyle.QUALIFIED,
.ShowParameterTypes = True,
.ShowParameterNames = False,
.ShowType = TypeStyle.DEFAULT
}

RSRP-191206: QuickFix priority

$
0
0
Reporter Olga Lukianova (olka) Olga Lukianova (olka)
Created Sep 20, 2010 7:22:22 PM
Updated Oct 16, 2018 2:41:07 PM
Resolved Oct 16, 2018 2:41:07 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. Usually I expect removing declaration with initialization expression. Remove declaration only is too rare case.

2. Just for me text 'Remove 'defaultImportedNamespaces' and initialization expression' is too difficult for visual perception. My caret is already on 'defaultImportedNamespaces' variable so it is useless information. I expect text like:
'Remove declaration and initialization expression'.

RSRP-191208: [CA] Make method static should read "Make method Shared" in VB case

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Sep 20, 2010 7:43:56 PM
Updated Oct 16, 2018 2:42:03 PM
Resolved Oct 16, 2018 2:42:03 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Duplicate
Type Cosmetics
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Viewing all 106942 articles
Browse latest View live