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

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 26, 2018 10:06:04 AM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
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-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 26, 2018 10:06:38 AM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
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-472006: myReadWriteLockAcquisitionForbidden == 0

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Oct 22, 2018 9:09:08 AM
Updated Oct 26, 2018 11:02:29 AM
Resolved Oct 26, 2018 10:55:12 AM
Subsystem No Subsystem
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Duplicate
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _fec4ed46 — JetBrains ReSharper Ultimate 2018.3 EAP 3 Build 183.0.20181017.142146-eap03

JetBrains ReSharper 2018.3 EAP 3 Build 2018.3.20181017.143746-eap03

SubProducts.0 = JetBrains ReSharper 2018.3 EAP 3 Build 2018.3.20181017.143746-eap03

myReadWriteLockAcquisitionForbidden == 0

— EXCEPTION #1/1 [LoggerException]
Message = “myReadWriteLockAcquisitionForbidden == 0”
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 Build 183.0.20181017.142146-eap03”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 3 Build 2018.3.20181017.143746-eap03”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183-eap3::e973b4d5f748b509166e6f51671725b46f49a980


Platform\VisualStudio:
    git::refs/heads/183-eap3::fc454ab6515ce285326e0ae10a24a4a54fba27b6

Data.VsVersion = 15.8.28010.2046
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Application.Threading.ContentModelReadWriteLock.AcquireReadLock()
 at JetBrains.ReSharper.Resources.Shell.ReadLockCookie.Create()
 at JetBrains.ReSharper.Psi.Modules.PsiModulesExtensions.HasSourceProject(IPsiModules psiModules, IAssembly assembly)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.SolutionDeclarationsScope.Accepts(IPsiModule module)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.DeclarationsScopeBase.Accepts(ITypeElement typeElement)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.SymbolScopeBase.GetElementsByQualifiedName(String qualifiedName)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.DebugPropertyPresenter.ProcessQualifiedTypeName(String text, TextStyle style, Boolean highlightType, String begin, String end)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.DebugPropertyPresenter.PresentObjectValue(DebugProperty2 value, Boolean showHex)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.DebugPropertyPresenter.Present(DebugProperty2 value, IPresentableItem item, TreeModelNode structureelement, PresentationState state)
 at JetBrains.Application.UI.Controls.TreeView.StructuredPresenter`2.PresentationCallbackWrapper`1.UpdateItem(Object value, TStructureElement structureElement, TPresentableItem item, PresentationState state)
 at JetBrains.Application.UI.Controls.TreeView.StructuredPresenter`2.UpdateItem(Object value, TStructureElement structureElement, TPresentableItem item, PresentationState state)
 at JetBrains.ReSharper.Feature.Services.Tree.TreeModelBrowserPresenter.UpdateItemWithReadlock(Object value, TreeModelNode structureElement, IPresentableItem item, PresentationState state)
 at JetBrains.ReSharper.Feature.Services.Tree.TreeModelBrowserPresenter.UpdateItem(Object value, TreeModelNode structureElement, IPresentableItem item, PresentationState state)
 at JetBrains.ReSharper.Feature.Services.Tree.Async.WrappedPresenter.UpdateItem(Object value, TreeModelNode structureElement, IPresentableItem item, PresentationState state)
 at JetBrains.Application.UI.Controls.TreeView.StructuredPresenter`2.UpdateItem(TStructureElement structureElement, TPresentableItem item, PresentationState state)
 at JetBrains.ReSharper.Feature.Services.Tree.RichTextLiveTreeModel.UpdateItem(ITreeModelNode child)
 at JetBrains.ReSharper.Feature.Services.Tree.RichTextLiveTreeModel.OnChildAdded(ITreeModelNode parent, ITreeModelNode child)
 at JetBrains.Application.UI.TreeModels.New.LiveTreeNode`1.LiveTreeNodeCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
 at JetBrains.Application.UI.BindableLinq.Collections.BindableCollection`1.Add(T item)
 at JetBrains.Application.UI.TreeModels.New.LiveTreeNode`1.LiveTreeNodeCollection`1.System.Collections.Generic.ICollection<JetBrains.Application.UI.TreeModels.New.ITreeModelNode>.Add(ITreeModelNode item)
 at JetBrains.Util.CollectionUtil.AddRange[TTarget,TSource](ICollection`1 to, IEnumerable`1 from)
 at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModel.ResetChildren(IEnumerable`1 nodesWithChildren)
at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModel.<>c__DisplayClass11_0.<Expand>g__InvokeResetChildren|8(List1 nodeWithChildrens)
at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModel.<>c__DisplayClass11_0.<Expand>g__WhenAll|2(Task task)
at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModel.<>c__DisplayClass11_0.<Expand>b__0(Task t, Object __)
at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
at System.Threading.Tasks.Task.ExecutionContextCallback(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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
at System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(Task task, Boolean needsProtection)
at System.Threading.Tasks.StandardTaskContinuation.Run(Task completedTask, Boolean bCanInlineContinuationTask)
at System.Threading.Tasks.Task.ContinueWithCore(Task continuationTask, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions options)
at System.Threading.Tasks.Task.ContinueWith(Action
2 continuationAction, Object state, TaskScheduler scheduler, CancellationToken cancellationToken, TaskContinuationOptions continuationOptions, StackCrawlMark& stackMark)
 at System.Threading.Tasks.Task.ContinueWith(Action`2 continuationAction, Object state, TaskContinuationOptions continuationOptions)
 at System.Threading.Tasks.Task.ContinueWith(Action`2 continuationAction, Object state, TaskContinuationOptions continuationOptions)
 at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModel.Expand(ICollection`1 items, ISubProgressAggregator progress, Boolean runSynchronous)
 at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModelBrowserDescriptor.ExpandRequestedNodes(ICollection`1 nodesToEvaluate)
 at JetBrains.ReSharper.Feature.Services.Tree.Async.AsyncLiveTreeModelBrowserDescriptor.<>c__DisplayClass35_0.<EvaluateNodes>b__0()
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
 at System.Threading.ThreadPoolWorkQueue.Dispatch()
 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

RSRP-472015: Sequence contains no elements

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Oct 26, 2018 9:26:10 AM
Updated Oct 26, 2018 11:34:04 AM
Subsystem Unit Testing
Assignee Andrey Akinshin (Andrey.Akinshin)
Priority Major
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 _e549e6b0 — JetBrains ReSharper Ultimate 2018.3 EAP 4 Build 183.0.20181024.141733-eap04

JetBrains dotCover 2018.3 EAP 4 Build 2018.3.20181024.144030-eap04
JetBrains dotMemory 2018.3 EAP 4 Build 2018.3.20181024.144006-eap04
JetBrains dotTrace 2018.3 EAP 4 Build 2018.3.20181024.144016-eap04
JetBrains ReSharper 2018.3 EAP 4 Build 2018.3.20181024.143751-eap04
JetBrains ReSharper C++ 2018.3 EAP 4 Build 2018.3.20181024.143752-eap04
JetBrains TeamCity Add-in 2018.3 EAP 4 Build 2018.3.20181024.143749-eap04

SubProducts.0 = JetBrains dotCover 2018.3 EAP 4 Build 2018.3.20181024.144030-eap04
SubProducts.1 = JetBrains dotTrace 2018.3 EAP 4 Build 2018.3.20181024.144016-eap04
SubProducts.2 = JetBrains ReSharper C++ 2018.3 EAP 4 Build 2018.3.20181024.143752-eap04
SubProducts.3 = JetBrains TeamCity Add-in 2018.3 EAP 4 Build 2018.3.20181024.143749-eap04
SubProducts.4 = JetBrains ReSharper 2018.3 EAP 4 Build 2018.3.20181024.143751-eap04
SubProducts.5 = JetBrains dotMemory 2018.3 EAP 4 Build 2018.3.20181024.144006-eap04

Sequence contains no elements

— EXCEPTION #1/2 [InvalidOperationException]
Message = “Sequence contains no elements”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
 at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>g__FindExtProject|28(FileSystemPath projectFilePath)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>b__25(Lifetime lifetime, ValueTuple`5 tuple)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>b__25(Lifetime lifetime, ValueTuple`5 tuple)
 at JetBrains.Platform.RdFramework.Tasks.InprocRpc`2.Start(TReq request, IScheduler responseScheduler)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.InstallLatestPackage(String source, IProject project, String packageId, Boolean prerelease, Boolean ignoreDependencies, IInstallationStateController installationStateController)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.VsNuGetNativePackageManager.InstallLatestPackage(IProject project, String packageId, Boolean prerelease)
 at JetBrains.ReSharper.UnitTestFramework.Highlighting.BrokenUnitTestElementGutterMark.Resolve(BrokenUnitTestElementHighlighting highlighting, MissedNuGetPertinenceResult missedNuGet)
 at JetBrains.ReSharper.UnitTestFramework.Highlighting.BrokenUnitTestElementGutterMark.<>c__DisplayClass1_1.<GetBulbMenuItems>b__0()
 at JetBrains.Application.UI.Controls.BulbMenu.Items.ExecutableItem.Execute()
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Sequence contains no elements”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 4 Build 183.0.20181024.141733-eap04”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 4 Build 2018.3.20181024.144030-eap04”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 4 Build 2018.3.20181024.144016-eap04”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.3 EAP 4 Build 2018.3.20181024.143752-eap04”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.3 EAP 4 Build 2018.3.20181024.143749-eap04”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.3 EAP 4 Build 2018.3.20181024.143751-eap04”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.3 EAP 4 Build 2018.3.20181024.144006-eap04”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183-eap4

Data.VsVersion = 15.8.28010.2046
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.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-471932: Type.GetInterfaces not marked as ItemNotNull

$
0
0
Reporter NN __ (NN) NN __ (NN)
Created Oct 22, 2018 11:41:47 AM
Updated Oct 26, 2018 12:07:14 PM
Subsystem Code Analysis - Annotations
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Fixed In Branch
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Type.GetInterfaces returns array of interfaces without null values.

https://docs.microsoft.com/en-us/dotnet/api/system.type.getinterfaces?view=netframework-4.7.2#System_Type_GetInterfaces

var e = typeof(object).GetInterfaces()[0].Assembly; // Possible NullReferenceException

RSRP-471950: Assembly.GetManifestResourceNames is not annotated NotNull, ItemNotNull

RSRP-470033: ?. incorrectly converted to conditional expression

$
0
0
Reporter Alex Kasaurov (devion) Alex Kasaurov (devion)
Created May 19, 2018 2:15:42 PM
Updated Oct 26, 2018 12:18:42 PM
Subsystem Context Actions
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Я могу написать вот такое выражение. В этом случае в качестве первого аргумента попадет null:

Rider предложил мне исправить этот код.
После исправления я получу код

В нем ToDevList - метод-расширение
Вроде пока все правильно - т.к. выражение с оператором находится внутри скобок, то оно обособлено от вызова функции (я же правильно это понимаю?)

Я могу преобразовать его, нажав Alt+Enter около оператора ?.

При этом оно развернется в вот такое выражение:

И вот тут обратите внимание. Наш код преобразовался так, словно у нас и не было никаких скобок. Естественно выражение в первом скрине и последнем уже принципиально по разному сработают - в первом случае null подставится в качестве аргумента метода, в последнем - метод вообще не вызовется и мы получим null.

Коротко
Как сейчас:

(a?.b).c --> a != null ? (a.b).c : null;

Как правильно:

(a?.b).c --> (a != null ? a.b : null).c;

Version: 181.4952.220
Timezone: Europe/Moscow
Evaluation: true
Environment: RD-181.4952.220, JRE 1.8.0_152-release-1136-b38x64 JetBrains s.r.o, OS Windows 7(amd64) v6.1 Service Pack 1, screens 1280x1024, 1440x900

RSRP-471754: Analyzer 'JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer' thrown exception: Control-Flow analysis Sequence contains more than one element

$
0
0
Reporter Kirill Falk (kfalk) Kirill Falk (kfalk)
Created Oct 4, 2018 4:07:33 PM
Updated Oct 26, 2018 12:19:19 PM
Resolved Oct 15, 2018 6:27:46 PM
Subsystem Code Analysis - Control Flow
Assignee Ivan Serduk (IvanSerduk)
Priority Show-stopper
State Fixed
Type Exception
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains Rider 2018.3 Build RD-183.3226.62 Date 2018-10-03T15:54:56.642+0000

— EXCEPTION #1/3 [InvalidOperationException]
Message = “Sequence contains more than one element”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
 at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
 at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
 at JetBrains.ReSharper.Psi.CSharp.Impl.ControlFlow.CSharpControlFlowGraph.get_RedundantJumpStatements() in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Psi\CSharp\Src\Impl\ControlFlow\CSharpControlFlowGraph.cs:line 199
 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowProblemAnalyzerBase.StaticAnalysis(IDeclaration declaration, ICSharpTreeNode body, ICSharpControlFlowGraph graph, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\Analysis\ControlFlowProblemHighlighter.cs:line 45
 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer.Analyze(ICSharpDeclaration declaration, IParametersOwner parametersOwner, ICSharpTreeNode functionBody, ElementProblemAnalyzerData data, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\Analysis\ControlFlowFunctionProblemAnalyzer.cs:line 138


— Outer —

— EXCEPTION #2/3 [InvalidOperationException]
Message = “Control-Flow analysis”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Daemon.CSharp
StackTraceString = “
 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer.Analyze(ICSharpDeclaration declaration, IParametersOwner parametersOwner, ICSharpTreeNode functionBody, ElementProblemAnalyzerData data, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\Analysis\ControlFlowFunctionProblemAnalyzer.cs:line 163
 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer.Analyze(ICSharpDeclaration declaration, IParametersOwner parametersOwner, ICSharpTreeNode functionBody, ElementProblemAnalyzerData data, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\Analysis\ControlFlowFunctionProblemAnalyzer.cs:line 163
 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer.Run(ITreeNode element, ElementProblemAnalyzerData data, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\Analysis\ControlFlowFunctionProblemAnalyzer.cs:line 103
 at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Services\_Core\Src\Daemon\ElementProblemAnalyzerRegistrar.cs:line 217


— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “Analyzer 'JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer' thrown exception: Control-Flow analysis”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.LogException(String comment, Exception ex) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 992
 at JetBrains.Util.Logging.Logger.LogException(String comment, Exception ex) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 992
 at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Services\_Core\Src\Daemon\ElementProblemAnalyzerRegistrar.cs:line 217
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpErrorStageProcess.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\CSharpErrorStage.cs:line 111
at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.<>c__DisplayClass4_0.<Execute>g__MemberHighlighter|0(ICSharpTypeMemberDeclaration declaration) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\CSharpIncrementalDaemonStageProcessBase.cs:line 73
 at JetBrains.ReSharper.Psi.Extensions.<>c__DisplayClass0_0.<EnqueueJob>b__0() in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Psi\_Core\Src\CompilationContextCookie.cs:line 330
 at JetBrains.ReSharper.Psi.Extensions.<>c__DisplayClass0_0.<EnqueueJob>b__0() in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Psi\_Core\Src\CompilationContextCookie.cs:line 330
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 158
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 216
 at System.Threading.Tasks.Task.Execute()
 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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetScheduler.cs:line 218
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask() in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetSchedulerThread.cs:line 203
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc() in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetSchedulerThread.cs:line 153
 at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Reflection\CallStackAnnotation.cs:line 122
 at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Reflection\CallStackAnnotation.cs:line 138
 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 System.Threading.ThreadHelper.ThreadStart()



last.action = null

app.eap = true
app.internal = false
app.build = RD-183.3226.62
app.version.major = 2018
app.version.minor = 3
app.build.date = 2018-10-03T15:54:56.642+0000
app.build.date.release = 2018-08-24T00:00:56.642+0000
app.build.date.release = 2018-08-24T00:00:56.642+0000
app.compilation.timestamp = null
app.product.code = RD

os.name = Windows 10
java.version = 1.8.0_152-release
java.vm.vendor = JetBrains s.r.o

UIUtil.isRetina = false
JBUI.isHiDPI() = false
ImageScaleFactor = 1

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

RSRP-466583: Wrong assembly retargeting in .NET Core

$
0
0
Reporter Angelina Elycheva (Angelina.Elycheva) Angelina Elycheva (Angelina.Elycheva)
Created Oct 11, 2017 3:05:22 PM
Updated Oct 26, 2018 12:33:43 PM
Subsystem External Sources
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Reopened
Type Bug
Fix version 2018.3
Affected versions 2017.3.1, 2017.2.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. Create Core Console application.
2. Select Console.Writeline and navigate to sources

Result: stub file is opened containing only method declarations

RSRP-472020: Can not compile expression

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 6, 2018 6:05:00 PM
Updated Oct 26, 2018 1:03:54 PM
Subsystem Debugger features
Assignee Mikhail Senkov (micha)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
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

Can not compile expression

— EXCEPTION #1/1 [LoggerException]
Message = “Can not compile expression”
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
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.<CalculateExpressionsInRegion>d__26.MoveNext()
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.<CalculateExpressionsInRegion>d__26.MoveNext()
 at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
 at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.CalculateAdornments(Lifetime lifetime, ITextControl editor, FramePosition frame, IEnumerable`1 accumulatedReturnValues, IPsiSourceFile psiSourceFile)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.<>c__DisplayClass23_1.<ShowEditorAdornments>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.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.ShowEditorAdornments(Lifetime editorLifetime, ITextControl editor, IProjectFile projectItem, FramePosition frame, IEnumerable`1 accumulatedReturnValues)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.<>c__DisplayClass19_2.<OnStackFrameChanged>b__7()
 at JetBrains.ReSharper.Psi.Files.PsiFiles.CommitAllDocumentsAsync(Action success, Action interrupted)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.<>c__DisplayClass19_2.<OnStackFrameChanged>b__5()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass5_0.<ExecuteOrQueueReadLock>b__0()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_1.<Queue>b__3()
 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-471790: Sequence contains no elements

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

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

Sequence contains no elements

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


— Outer —

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


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

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

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

RSRP-471771: "x:Key attribute required" reported as error on XAML resource reference

$
0
0
Reporter Diego Ponce de Leon (xleon) Diego Ponce de Leon (xleon)
Created Sep 14, 2018 4:25:20 PM
Updated Oct 26, 2018 1:40:12 PM
Subsystem XAML
Assignee Kirill Falk (kfalk)
Priority Critical
State Waiting for Info
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

This is not an error. It shouldn´t be a warning either. The project compiles fine. Adding a key attribute prevents the project to build correctly.
If I set the same reference without any other style inside <ContentPage.Resources>, then it works fine, as you can see on the second screenshot

Version: RD-182.4231.496
Timezone: Europe/Paris
Evaluation: false
Environment: RD-182.4231.496, JRE 1.8.0_152-release-1248-b8x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1200x1920, 1680x1050, 3440x1440

RSRP-471576: Type reference could be only for type reference but is used on

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Sep 20, 2018 4:58:04 PM
Updated Oct 26, 2018 1:57:22 PM
Subsystem JavaScript
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Exception
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _3f3919c0ProjectModel — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180918.154710-eap01d

JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180918.160255-eap01d

Type reference could be only for type reference but is used on

— EXCEPTION #1/1 [LoggerException]
Message = “Type reference could be only for type reference but is used on”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(L) #7”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180918.154710-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180918.160255-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183-deferred-projects::f881e303bc575e4fd458361426a27fbf97c94603


Platform\VisualStudio:
    git::refs/heads/183-deferred-projects

Data.VsVersion = 15.8.28010.2026
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.FailWithSensitiveData(String messageText, Pair`2[] sensitiveData)
 at JetBrains.Util.Logging.Logger.FailWithSensitiveData(String messageText, Pair`2[] sensitiveData)
 at JetBrains.ReSharper.Psi.JavaScript.Resolve.PrimitiveTypeExtensions.GetTypeReferenceType(JsPrimitive primitive, String name)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeBase.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeWithSignaturesBase.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsNamedType.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ProcessDerivedTypes(JsTypeResolveResult type, JsResolveContext context, JsTypeDescriptionOpInfo derivedTypeInfo, StrongTypeMode mode, Boolean expectedType, JsUnresolvedTypeFlags flags, Boolean addStandardTypes, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.<>c.<.cctor>b__58_1(JsResolveContext context1, JsUnresolvedTypeBase me, MyCalculationIdentifier ident)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ExpandRecursively(JsResolveContext context, Boolean standardTypes, Boolean expectedTypes, JsUnresolvedTypeFlags flags, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.<>c.<.cctor>b__58_1(JsResolveContext context1, JsUnresolvedTypeBase me, MyCalculationIdentifier ident)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ExpandRecursively(JsResolveContext context, Boolean standardTypes, Boolean expectedTypes, JsUnresolvedTypeFlags flags, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ResolveType(JsResolveContext context, Boolean standardTypes, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.VisitTsReferenceName(ITsReferenceName tsReferenceNameParam, IHighlightingConsumer context)
 at JetBrains.ReSharper.Psi.JavaScript.Impl.Tree.TypeScript.TsReferenceName.Accept[TContext](TsTreeNodeVisitor`1 visitor, TContext context)
 at JetBrains.ReSharper.Daemon.JavaScript.Prelude.TypeScript.TsDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.<Execute>b__10_0(IJavaScriptFile file, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.JavaScript.Prelude.TypeScript.TsDaemonStageProcessBase.HighlightInFile(Action`2 fileHighlighter, Action`1 commiter)
 at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Syntax.TypeScriptOwnInspectionsProcess.Execute(Action`1 committer)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass47_1.<DoHighlighting>g__Stage|2(IDaemonStage stage)
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass49_1.<PrepareRunActionForStages>b__0()
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass49_1.<PrepareRunActionForStages>b__0()
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_1.<EnqueueDependentJobs>b__2()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
at ANNOTATED: JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread #D.JetPool(L) #7(Action )
 at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<Start>b__20_0()
 at System.Threading.ThreadHelper.ThreadStart_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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()

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

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 6, 2018 8:06:46 AM
Updated Oct 26, 2018 2:56:23 PM
Subsystem Debugger features
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions 2018.2
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

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.PsiFeatures.VisualStudio.Debugger
StackTraceString = “
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.Synchronize()
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.Synchronize()
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.<.ctor>b__26_0()
 at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass0_0`1.<Advise>b__0(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)


— 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.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.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.Threading.GroupingEvent.Execute()
 at JetBrains.Threading.GroupingEventHost.ExecuteExpiredEvents()
 at JetBrains.Threading.GroupingEventHost.<OnClockTimerTick>b__22_0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.Threading.GroupingEventHost.OnClockTimerTick()
 at JetBrains.Threading.GroupingEventHost.ClockTimer.OnTimerTick(Object sender, EventArgs e)
 at System.Windows.Forms.Timer.OnTick(EventArgs e)
 at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

RSRP-463819: ReSharper CLT InspectCode.exe variance

$
0
0
Reporter Josh Pharis (jrpharis) Josh Pharis (jrpharis)
Created Mar 20, 2017 6:59:11 PM
Updated Oct 26, 2018 2:58:22 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Slava Trenogin (derigel)
Priority Critical
State Submitted
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I am having issues using InspectCode.exe as a MSBuild build step to fail a build when errors and warnings against the ReSharper code inspection rules occur. If I run ReSharper -> Inspect -> Code Issues in Solution, I get no errors (using default rules). When I run inspectcode.exe (either from the command line or as a build step), I get numerous errors with the message "Cannot resolve symbol '<type>'".

I have tried this with the inspectcode.exe executable that is downloaded with the JetBrains.ReSharper.CommandLineTools (v2016.3.20170126.124346) Nuget package and with the download from the JetBrains website. I confirmed I am able to build my solution with MsBuild.exe with no parameters.

RSRP-471918: False positive "IQueryable is possibly untintentionally used as IEnumerable" + wrong fix

$
0
0
Reporter Alexander Shvedov (shvedov) Alexander Shvedov (shvedov)
Created Oct 19, 2018 5:39:02 PM
Updated Oct 26, 2018 3:03:58 PM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Critical
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
  • packages variable is of IQueryable type.
  • Function type is:
public static IEnumerable<Task<Page<T>>> QueryAsyncPaged<T>(
[NotNull] this IQueryable<T> query, [NotNull] DataServiceContext context, CancellationToken cancellationToken)

Suggested fix produces packages.AsEnumerable() and .QueryAsyncPaged() cannot be resolved anymore.



Expected: no suggestion here, QueryAsyncPaged() takes IQueryable as an input and produces materalized IEnumerables, there are no issues in this code.

RSRP-471909: Consider Singleton Instances in Type Instance Resolution Suggestions

$
0
0
Reporter Michael DeMond (Mike-EEE76) Michael DeMond (Mike-EEE76)
Created Oct 19, 2018 8:52:25 AM
Updated Oct 26, 2018 3:04:20 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Would be handy to be able to point to a singleton instance if it exists on the class type.

RSRP-471890: "Reorder using statements" Rosylyn Code Fix does not respect existing indentation

$
0
0
Reporter Ben Wallis (Ben.Wallis) Ben Wallis (Ben.Wallis)
Created Oct 18, 2018 3:47:22 PM
Updated Oct 26, 2018 3:06:13 PM
Subsystem Code Style
Assignee Razmik Seysyan (razmik)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.8.6
When running the "Reorder using statements" code fix (for Stylecop rule SA1210), existing indentation is lost and always replaced with 4 spaces rather than a more sensible option such as using the existing indentation of the using statements (if they're uniform), or using the Indent size Resharper setting.

This has the annoying knock-on effect of subsequently triggering SA1137 "Elements should have the same indentation" since it results in the rest of the file being a different indentation from the using statements.
Viewing all 106942 articles
Browse latest View live


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