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

RSRP-458667: Convert property to method converts conditional invocation to normal invocation

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created May 5, 2016 5:16:49 PM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 9, 2018 12:11:30 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Fixed
Type Bug
Fix version 2018.1
Affected versions 2017.3.3, 2018.1
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions
After the refactoring the method Caller.Affected has changed behavior and now throws when its Thingy is null.

RSRP-466697: MvcUtil.IsPossibleViewsFolder is very slow in completion

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Oct 18, 2017 6:02:44 PM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 10, 2018 1:56:04 AM
Subsystem Live Templates
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Fixed
Type Performance Problem
Fix version 2018.1
Affected versions 2017.2.2
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion VS 2017 RTM
100,00% Work • 30 403 ms • JetBrains.ReSharper.Features.Intellisense.CodeCompletion.Sessions.AutomaticCodeCompletionSession+AsyncCompletionExecutor.Work
100,00% GetCompletionResult • 30 403 ms • JetBrains.ReSharper.Feature.Services.CodeCompletion.IntellisenseManager.GetCompletionResult(CodeCompletionParameters, ITextControl)
98,53% GetCompletionResult • 29 956 ms • JetBrains.ReSharper.Feature.Services.CodeCompletion.IntellisenseManager.GetCompletionResult(CodeCompletionParameters, ITextControl, IReadOnlyList, IReadOnlyList)
90,09% CatchIgnoreException • 27 390 ms • JetBrains.Util.Logging.Logger.CatchIgnoreException(Func, TValue)
89,75% <GetCompletionResult>b__28 • 27 287 ms • JetBrains.ReSharper.Feature.Services.CodeCompletion.IntellisenseManager+<>c__DisplayClass5a.<GetCompletionResult>b__28
89,75% AddLookupItems • 27 287 ms • JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure.ItemsProviderOfSpecificContext1.AddLookupItems(ISpecificCodeCompletionContext, IItemsCollector, Object)
89,68% AddLookupItems • 27 267 ms • JetBrains.ReSharper.Feature.Services.CodeCompletion.IncludeTemplatesRule.AddLookupItems(ISpecificCodeCompletionContext, IItemsCollector)
89,68% GetLookupItems • 27 267 ms • JetBrains.ReSharper.Feature.Services.LiveTemplates.Util.TemplateActionsUtil.GetLookupItems(ITextControl, ISolution, Boolean, Boolean, TemplateApplicability, ISpecificCodeCompletionContext)
89,58% MoveNext • 27 236 ms • JetBrains.ReSharper.Feature.Services.LiveTemplates.LiveTemplates.LiveTemplatesManager+<GetTemplatesInternal>d__e.MoveNext
88,18% List
1..ctor • 26 810 ms • System.Collections.Generic.List`1..ctor(IEnumerable)
87,51% MoveNext • 26 606 ms • JetBrains.ReSharper.Feature.Services.Razor.CSharp.LiveTemplates.RazorCSharpProjectScopeProvider+<ProvideScopePoints>d__d.MoveNext
87,51% IsPossibleViewsFolder • 26 606 ms • JetBrains.ReSharper.Feature.Services.Asp.CustomReferences.MvcUtil.IsPossibleViewsFolder(MvcCache, IPsiModule, IProjectFolder)
87,51% Any • 26 606 ms • System.Linq.Enumerable.Any(IEnumerable)
87,51% MoveNext • 26 606 ms • JetBrains.ReSharper.Feature.Services.Asp.CustomReferences.MvcUtil+<GetMvcViewNames>d__54.MoveNext
87,51% MoveNext • 26 606 ms • JetBrains.ReSharper.Feature.Services.Asp.CustomReferences.MvcCacheEx+<GetLocations>d__0.MoveNext
87,51% MoveNext • 26 606 ms • JetBrains.ReSharper.Feature.Services.Asp.Caches.MvcCache+<GetLocationsInternal>d__20.MoveNext
►87,39% MoveNext • 26 569 ms • JetBrains.ReSharper.Feature.Services.Asp.Caches.MvcCache+<GetData>d__17.MoveNext
►0,12% MoveNext • 37 ms • JetBrains.ReSharper.Feature.Services.Asp.Caches.MvcCache+<GetSuspiciousFiles>d__43.MoveNext
►0,28% <EnumerateRealScopePoints>b__0 • 84 ms • JetBrains.ReSharper.Feature.Services.LiveTemplates.Scope.TemplateScopeManager+<>c__DisplayClass2.<EnumerateRealScopePoints>b__0(IScopeProvider)
►0,15% MoveNext • 46 ms • JetBrains.ReSharper.LiveTemplates.CSharp.Scope.CSharpScopeProvider+<ProvideScopePoints>d__f.MoveNext
►1,18% GetCachedTemplates • 359 ms • JetBrains.ReSharper.Feature.Services.LiveTemplates.LiveTemplates.LiveTemplatesManager.GetCachedTemplates(TemplateApplicability, Func)
0,16% EnumerateMatchedRealScopePoints • 48 ms • JetBrains.ReSharper.Feature.Services.LiveTemplates.Scope.TemplateScopeManager.EnumerateMatchedRealScopePoints(IEnumerable, IEnumerable, Boolean)
►0,06% GetSourceTokenAtOffset • 18 ms • JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.GetSourceTokenAtOffset(ISolution, DocumentOffset)
►0,10% GetComponent • 31 ms • JetBrains.Application.Components.ComponentContainerEx.GetComponent(IComponentContainer)
►0,34% <GetCompletionResult>b__20 • 104 ms • JetBrains.ReSharper.Feature.Services.CodeCompletion.IntellisenseManager+<>c__DisplayClass51.<GetCompletionResult>b__20
►6,39% Using • 1 944 ms • JetBrains.DataFlow.Lifetimes.Using(Action)
►1,56% CatchIgnoreException • 475 ms • JetBrains.Util.Logging.Logger.CatchIgnoreException(Action)
►0,11% ToList • 34 ms • System.Linq.Enumerable.ToList(IEnumerable)
0,08% CheckAndThrow • 24 ms • JetBrains.Application.InterruptableActivityCookie.CheckAndThrow(IProgressIndicator)
0,07% [Garbage collection] • 21 ms
►1,47% SpecificCodeCompletionContexts • 447 ms • JetBrains.ReSharper.Feature.Services.CodeCompletion.IntellisenseManager.SpecificCodeCompletionContexts(CodeCompletionParameters, ITextControl)

RSRP-467725: Introduce parameter: impossible to complete refactoring with Enter key when name suggestion popup is opened

$
0
0
Reporter Alexander Shvedov (shvedov) Alexander Shvedov (shvedov)
Created Dec 22, 2017 4:14:05 PM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 9, 2018 5:03:35 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Fixed
Type Bug
Fix version 2018.1
Affected versions 2018.1
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions

Invoke "Introduce parameter", type the new name while having the suggestion list opened, press Enter — nothing happens. Tab also do nothing. I can't commit dialog from keyboard at all :(

RSRP-467783: Alt+R doesn't toggle checkbox on Rename Related Symbols screen

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Dec 28, 2017 9:54:22 PM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 9, 2018 5:03:27 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Fixed
Type Bug
Fix version 2018.1
Affected versions 2018.1, 2017.3
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions
1. Use the 'rename' refactoring
2. On the Rename Related Symbols, press Alt+R

Expected result: "Rename related symbols" checkbox gets unchecked
Actual result: The listview under the checkbox gets focused

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

$
0
0
Reporter José Manuel Nieto (José_Manuel_Nieto) José Manuel Nieto (José_Manuel_Nieto)
Created Mar 20, 2018 2:58:45 AM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 9, 2018 5:04:02 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Fixed
Type Exception
Fix version 2018.1
Affected versions 2018.1
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion VS 2017 RTM, VS 2015 RTM
ReSharperPlatformVs15 Wave 12 Hive _1504ecc1 — JetBrains ReSharper Ultimate 2018.1 EAP 2 Build 112.0.20180306.121807-eap02

JetBrains ReSharper 2018.1 EAP 2 Build 2018.1.20180306.122857-eap02

SubProducts.0 = JetBrains ReSharper 2018.1 EAP 2 Build 2018.1.20180306.122857-eap02

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
Data.ReentrancyGuard.ActionName = FilterText::Change
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.ReSharper.Feature.Services
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.UI.IconHostBase.UnTransform(Icon icon)
 at JetBrains.ReSharper.Feature.Services.UI.IconHostBase.UnTransform(Icon icon)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.CommonControls.TranslateCompletionEdit.<>c__DisplayClass9_0.<GetSettings>b__3(RefactoringCompletionItem item)
 at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
 at JetBrains.DataFlow.CollectionEvents`1.AddRange(IEnumerable`1 items)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.CommonControls.TranslateCompletionEdit.<>c__DisplayClass9_0.<GetSettings>b__2()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_0.<Queue>b__3()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 2 Build 112.0.20180306.121807-eap02”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 2 Build 2018.1.20180306.122857-eap02”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12-eap2-take2

Data.VsVersion = 15.6.27428.2011
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.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 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-468917: Not a valid identifier name

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 27, 2018 4:30:00 PM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 9, 2018 5:03:52 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Fixed
Type Exception
Fix version 2018.1
Affected versions 2018.1
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions
ReSharperPlatformVs14 Wave 12 — JetBrains ReSharper Ultimate 2018.1 EAP 5 D Build 112.0.20180326.210300-eap05d

JetBrains dotCover 2018.1 EAP 5 D Build 2018.1.20180327.90358-eap05d
JetBrains dotMemory 2018.1 EAP 5 D Build 2018.1.20180327.90402-eap05d
JetBrains dotTrace 2018.1 EAP 5 D Build 2018.1.20180327.90403-eap05d
JetBrains ReSharper 2018.1 EAP 5 D Build 2018.1.20180327.90211-eap05d
JetBrains ReSharper C++ 2018.1 EAP 5 D Build 2018.1.20180327.90203-eap05d
JetBrains TeamCity Add-in 2018.1 EAP 5 D Build 2018.1.20180327.90208-eap05d

SubProducts.0 = JetBrains dotCover 2018.1 EAP 5 D Build 2018.1.20180327.90358-eap05d
SubProducts.1 = JetBrains dotTrace 2018.1 EAP 5 D Build 2018.1.20180327.90403-eap05d
SubProducts.2 = JetBrains ReSharper C++ 2018.1 EAP 5 D Build 2018.1.20180327.90203-eap05d
SubProducts.3 = JetBrains TeamCity Add-in 2018.1 EAP 5 D Build 2018.1.20180327.90208-eap05d
SubProducts.4 = JetBrains ReSharper 2018.1 EAP 5 D Build 2018.1.20180327.90211-eap05d
SubProducts.5 = JetBrains dotMemory 2018.1 EAP 5 D Build 2018.1.20180327.90402-eap05d

Not a valid identifier name

— EXCEPTION #1/2 [AssertionException]
Message = “Not a valid identifier name”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.Util
StackTraceString = “
 at JetBrains.Util.AssertionWithSensitiveData.Fail(String message, Pair`2[] sensitiveData)
 at JetBrains.Util.AssertionWithSensitiveData.Fail(String message, Pair`2[] sensitiveData)
 at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpImplUtil.ReplaceIdentifier(ITreeNode parent, ICSharpIdentifier node, String name)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ClassDeclarationStub.SetName(String name)
 at JetBrains.ReSharper.Refactorings.MoveTypeToOuterScope.MoveTypeToOuterScopeBase`2.PasteDeclarations(Pair`2 declarationPair)
 at JetBrains.ReSharper.Refactorings.MoveTypeToOuterScope.MoveTypeToOuterScopeRefactoring.MoveDeclarations()
 at JetBrains.ReSharper.Refactorings.MoveTypeToOuterScope.MoveTypeToOuterScopeRefactoring.Execute(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.DrivenRefactoringConflictSearcher.<>c__DisplayClass2_1.<SearchConflicts>b__0()
 at JetBrains.ReSharper.Psi.Transactions.PsiTransactionCookie.ExecuteConditionally(IPsiServices psiServices, Func`1 action, String commandName)
 at JetBrains.ReSharper.Feature.Services.Refactorings.DrivenRefactoringConflictSearcher.SearchConflicts(IProgressIndicator pi, Boolean canPerformRefactoring)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c__DisplayClass42_0.<InitPage>b__0(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Not a valid identifier name”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 5 D Build 112.0.20180326.210300-eap05d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 5 D Build 2018.1.20180327.90358-eap05d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 5 D Build 2018.1.20180327.90403-eap05d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 5 D Build 2018.1.20180327.90203-eap05d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 5 D Build 2018.1.20180327.90208-eap05d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 5 D Build 2018.1.20180327.90211-eap05d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 5 D Build 2018.1.20180327.90402-eap05d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12::a65b9dffcb3dd34ca8ea9f95c38272c9a33d3399


Platform\VisualStudio:
    git::refs/heads/wave12::d337ce2cb88db4ce1bee01229269f4b8a696cdf9

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 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.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage()
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.<NextClick>b__18_0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e)
 at System.Windows.Forms.Control.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ButtonBase.WndProc(Message& m)
 at System.Windows.Forms.Button.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)

RSRP-468993: Encapsulate Field: New property is not created when property which encapsulated field already exists.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 30, 2018 2:11:25 PM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 9, 2018 5:03:42 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Fixed
Type Bug
Fix version 2018.1
Affected versions 2018.1
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 EAP 6 D Build 12.0.20180330.53424-eap06d

        private string myString;

        protected string MyString
        {
            get { return myString; }
            set { myString = value; }
        }

        public void DoSomething(string input)
        {
            myString = input;
            var test = myString;
        }
  1. Invoke Encapsulate Field on myString field.
  2. In "Encapsulate Field" dialog set "Create new property" as "Choose property:"; "My" as "Property name:"; uncheck "To auto-property".
  3. Click Next

Actual result:
New property is not created.

Expected result:
New property is created.

RSRP-469003: Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 30, 2018 6:14:13 PM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 9, 2018 5:04:05 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Fixed
Type Exception
Fix version 2018.1
Affected versions 2018.1
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions
ReSharperPlatformVs14 Wave 12 — JetBrains ReSharper Ultimate 2018.1 EAP 6 D Build 112.0.20180330.30818-eap06d

JetBrains dotCover 2018.1 EAP 6 D Build 2018.1.20180330.50619-eap06d
JetBrains dotMemory 2018.1 EAP 6 D Build 2018.1.20180330.50622-eap06d
JetBrains dotTrace 2018.1 EAP 6 D Build 2018.1.20180330.53057-eap06d
JetBrains ReSharper 2018.1 EAP 6 D Build 2018.1.20180330.31812-eap06d
JetBrains ReSharper C++ 2018.1 EAP 6 D Build 2018.1.20180330.31815-eap06d
JetBrains TeamCity Add-in 2018.1 EAP 6 D Build 2018.1.20180330.31816-eap06d

Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

— EXCEPTION #1/1 [LoggerException]
Message = “Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 6 D Build 112.0.20180330.30818-eap06d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 6 D Build 2018.1.20180330.50619-eap06d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 6 D Build 2018.1.20180330.53057-eap06d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 6 D Build 2018.1.20180330.31815-eap06d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 6 D Build 2018.1.20180330.31816-eap06d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 6 D Build 2018.1.20180330.31812-eap06d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 6 D Build 2018.1.20180330.50622-eap06d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12::f77d4bd0f4a27f561da3b3205b878a6538465a0f


Platform\VisualStudio:
    git::refs/heads/wave12::a5e24cdb39368fa258fdf16eaf220d5b467255ac

Data.VsVersion = 14.0.25431.1
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.ReSharper.Psi.CompilationContextCookie.GetContext()
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.CaseSensitiveSymbolScope.GetTypeElementsByCLRName(IClrTypeName clrTypeName)
 at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeFromCLRName.GetTypeElementNoRetargeting()
 at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeBase.GetTypeElement()
 at JetBrains.ReSharper.Psi.Util.TypesUtil.IsTypeElementType[TTypeElement](IType type)
 at JetBrains.ReSharper.Psi.Util.TypesUtil.IsInterfaceType(IType type)
 at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
 at JetBrains.ReSharper.Psi.Impl.OverridableMemberImpl.<GetImmediateImplement>d__9.MoveNext()
 at JetBrains.ReSharper.Psi.Impl.OverridableMemberImpl.<GetImmediateSuperMembers>d__8.MoveNext()
 at JetBrains.ReSharper.Psi.Impl.OverridableMemberImpl.GetSuperMembers(OverridableMemberInstance member, Boolean searchQuasi, IProgressIndicator progressIndicator, Boolean consumeRootOnly)
 at JetBrains.ReSharper.Refactorings.MoveMembers.ImplExtractSuperclass.ExtractSuperclassDataModel.IsReferenced(DeclaredElementInfo info)
 at JetBrains.ReSharper.Refactorings.MoveMembers.Analysis.MoveDataModel.SelectDependent()
 at JetBrains.Platform.RdFramework.Util.ReactiveEx.<>c__DisplayClass1_0.<Advise>b__0(RdVoid _)
 at JetBrains.Platform.RdFramework.Util.Signal`1.Fire0(Action`1[] listeners, T value)
 at JetBrains.Platform.RdFramework.Util.Signal`1.Fire(T value)
 at JetBrains.Platform.RdFramework.Impl.RdSignal`1.Fire(T value)
 at JetBrains.Platform.RdFramework.Util.ReactiveEx.Fire(ISource`1 me)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWindows.DependentMembersControlWpf.<>c__DisplayClass1_0.<OnDependentClick>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.ReSharper.Resources.Shell.ReadLockCookie.<>c__DisplayClass7_0.<GuardedExecute>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.ReSharper.Resources.Shell.ReadLockCookie.GuardedExecute(Action action)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWindows.DependentMembersControlWpf.OnDependentClick(Object sender, RoutedEventArgs e)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
 at System.Windows.Controls.Primitives.ButtonBase.OnClick()
 at System.Windows.Controls.Button.OnClick()
 at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
 at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
 at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.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-469004: Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 30, 2018 6:16:04 PM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 9, 2018 5:04:08 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Fixed
Type Exception
Fix version 2018.1
Affected versions 2018.1
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions
ReSharperPlatformVs14 Wave 12 — JetBrains ReSharper Ultimate 2018.1 EAP 6 D Build 112.0.20180330.30818-eap06d

JetBrains dotCover 2018.1 EAP 6 D Build 2018.1.20180330.50619-eap06d
JetBrains dotMemory 2018.1 EAP 6 D Build 2018.1.20180330.50622-eap06d
JetBrains dotTrace 2018.1 EAP 6 D Build 2018.1.20180330.53057-eap06d
JetBrains ReSharper 2018.1 EAP 6 D Build 2018.1.20180330.31812-eap06d
JetBrains ReSharper C++ 2018.1 EAP 6 D Build 2018.1.20180330.31815-eap06d
JetBrains TeamCity Add-in 2018.1 EAP 6 D Build 2018.1.20180330.31816-eap06d

Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie

— EXCEPTION #1/1 [LoggerException]
Message = “Implicit UniversalModuleReferenceContext detected. Use CompilationContextCookie”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 6 D Build 112.0.20180330.30818-eap06d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 6 D Build 2018.1.20180330.50619-eap06d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 6 D Build 2018.1.20180330.53057-eap06d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 6 D Build 2018.1.20180330.31815-eap06d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 6 D Build 2018.1.20180330.31816-eap06d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 6 D Build 2018.1.20180330.31812-eap06d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 6 D Build 2018.1.20180330.50622-eap06d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12::f77d4bd0f4a27f561da3b3205b878a6538465a0f


Platform\VisualStudio:
    git::refs/heads/wave12::a5e24cdb39368fa258fdf16eaf220d5b467255ac

Data.VsVersion = 14.0.25431.1
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.Util.Logging.Logger.Fail(String messageText)
 at JetBrains.ReSharper.Psi.CompilationContextCookie.GetContext()
 at JetBrains.ReSharper.Psi.Impl.Types.DeclaredTypeBase.GetTypeElement()
 at JetBrains.ReSharper.Psi.DeclaredTypeExtensions.GetSuperTypes(IDeclaredType type)
 at JetBrains.ReSharper.Psi.Impl.OverridableMemberImpl.FindMembersInSuperInterfaces(OverridableMemberInstance member, IDeclaredType type, HashSet`1 visited, HashSet`1 ignored)
 at JetBrains.ReSharper.Psi.Impl.OverridableMemberImpl.<GetImmediateImplement>d__9.MoveNext()
 at JetBrains.ReSharper.Psi.Impl.OverridableMemberImpl.<GetImmediateSuperMembers>d__8.MoveNext()
 at JetBrains.ReSharper.Psi.Impl.OverridableMemberImpl.GetSuperMembers(OverridableMemberInstance member, Boolean searchQuasi, IProgressIndicator progressIndicator, Boolean consumeRootOnly)
 at JetBrains.ReSharper.Refactorings.MoveMembers.ImplExtractSuperclass.ExtractSuperclassDataModel.IsReferenced(DeclaredElementInfo info)
 at JetBrains.ReSharper.Refactorings.MoveMembers.Analysis.MoveDataModel.SelectDependent()
 at JetBrains.Platform.RdFramework.Util.ReactiveEx.<>c__DisplayClass1_0.<Advise>b__0(RdVoid _)
 at JetBrains.Platform.RdFramework.Util.Signal`1.Fire0(Action`1[] listeners, T value)
 at JetBrains.Platform.RdFramework.Util.Signal`1.Fire(T value)
 at JetBrains.Platform.RdFramework.Impl.RdSignal`1.Fire(T value)
 at JetBrains.Platform.RdFramework.Util.ReactiveEx.Fire(ISource`1 me)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWindows.DependentMembersControlWpf.<>c__DisplayClass1_0.<OnDependentClick>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.ReSharper.Resources.Shell.ReadLockCookie.<>c__DisplayClass7_0.<GuardedExecute>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.ReSharper.Resources.Shell.ReadLockCookie.GuardedExecute(Action action)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWindows.DependentMembersControlWpf.OnDependentClick(Object sender, RoutedEventArgs e)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
 at System.Windows.Controls.Primitives.ButtonBase.OnClick()
 at System.Windows.Controls.Button.OnClick()
 at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
 at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
 at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.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-469031: Object reference not set to an instance of an object.

$
0
0
Reporter Alexander Petrovsky (apetrov2) Alexander Petrovsky (apetrov2)
Created Apr 2, 2018 2:55:11 PM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 9, 2018 5:04:20 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Fixed
Type Exception
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _f483d342ReSharperUber — JetBrains ReSharper Ultimate 2018.1 EAP 6 D Build 112.0.20180401.0-eap06d

JetBrains ReSharper 2018.1 EAP 6 D Build 2018.1.20180401.0-eap06d

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
Data.ReentrancyGuard.ActionName = FilterText::Change
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.ReSharper.Feature.Services
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.UI.IconHostBase.UnTransform(Icon icon)
 at JetBrains.ReSharper.Feature.Services.UI.IconHostBase.UnTransform(Icon icon)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.CommonControls.TranslateCompletionEdit.<>c__DisplayClass9_0.<GetSettings>b__4(RefactoringCompletionItem item)
 at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
 at JetBrains.DataFlow.CollectionEvents`1.AddRange(IEnumerable`1 items)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.CommonControls.TranslateCompletionEdit.<>c__DisplayClass9_0.<GetSettings>b__3()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_1.<Queue>b__3()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 6 D Build 112.0.20180401.0-eap06d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 6 D Build 2018.1.20180401.0-eap06d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12-ap::715ed997ac9a38de9d78a9961915ac10df9e0dba

Data.VsVersion = 15.6.27428.2011
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.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 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-469166: Cannot resolve symbol in `asp-for` tag helper

$
0
0
Reporter Brett Stime (steamer25) Brett Stime (steamer25)
Created Apr 6, 2018 7:16:27 PM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 10, 2018 2:46:56 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Show-stopper
State Fixed
Type Bug
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions

Given code like the following:

<label asp-for="@Model.Name"></label>

Rider is marking the @Model property and saying "Cannot resolve symbol 'Model'". The example code is taken from https://docs.microsoft.com/en-us/aspnet/core/mvc/views/working-with-forms so it should be valid markup. It also seems to be a regression because Rider 2017.3 didn't have problems with it (although it's hard to tell for sure because 2017.3 would mark lots of Razor/.cshtml files with errors until you editted them and it reparsed).

I'm having other problems related to Roslyn in the 2018.1 EAP as well so I'm not sure if this issue is predicated on the other one or if it's independent.

I generally use @Html.EditorFor() syntax but some colleagues use the asp-for attribute and I'd prefer not to have to change their working code to appease Rider. A warning would be fine. Auto-fix to/from the static types would be pretty cool but low priority.

Thanks.

Version: 181.4379.538
Timezone: America/Chicago
Evaluation: true
Environment: RD-181.4379.538, JRE 1.8.0_152-release-1136-b23x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.3 unknown, screens 1440x900, 1920x1200

RSRP-469165: Support `private protected` access level of C# 7.2

$
0
0
Reporter JasonMing (JasonMing) JasonMing (JasonMing)
Created Apr 7, 2018 9:36:41 AM
Updated Apr 11, 2018 12:03:16 AM
Resolved Apr 9, 2018 2:48:22 PM
Subsystem Code Analysis - C#
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.1
Affected versions 2017.3
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions

Version: RD-173.3994.2442
Timezone: Asia/Shanghai
Evaluation: false
Environment: RD-173.3994.2442, JRE 1.8.0_152-release-1024-b10x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.3 unknown, screens 1440x900; Retina

According to C# 7.2 specification, private protected is used to limit the member can only be accessed from the derived classes in the same assembly, i.e., protected AND internal.

But now, rider reports it as syntax error.

RSRP-469201: Cannot resolve symbol and ambiguous reference in Xamarin.Forms

$
0
0
Reporter Angelina Elycheva (Angelina.Elycheva) Angelina Elycheva (Angelina.Elycheva)
Created Apr 11, 2018 1:53:20 AM
Updated Apr 11, 2018 1:55:38 AM
Subsystem Code Analysis
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. Open attached solution
2. Build solution

Result: Cannot resolve symbol 'App'
There could be also: Ambiguous invocation: InitializeComponent()
Note that errors could appear/disappear/vary, sometimes cleaning/building solution is required.

RSRP-469200: “Go to File” and “Search Everywhere” to support parenthesized column and line numbers in addition to colon-separated

$
0
0
Reporter Ruslan Khamidullin (HamRusTal) Ruslan Khamidullin (HamRusTal)
Created Apr 10, 2018 11:41:12 PM
Updated Apr 11, 2018 2:03:01 AM
Subsystem Navigation - Global
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Many build tools (e.g. cl.exe or QTest) output code location in parentheses: “(line) or (line-line) or (line-col) or (line,col-col) or (line,col,line,col)”.
When such tools are used in an external build system, it's often necessary to jump to such location in the IDE quickly. Currently, R# only supports line number and only column-separated. It would be very handy to be able to jump to a location by copying it from external tool's output and feeding it to R#'s “Go to File”/“Search Everywhere”.

As parentheses, commas, and hyphens are valid file name characters, R# should search for verbatim file name first, and if not found, parse the location.

RSRP-469202: CleanupCode.exe crashes on large solution file

$
0
0
Reporter Michael Swart (mswart) Michael Swart (mswart)
Created Apr 11, 2018 2:49:15 AM
Updated Apr 11, 2018 2:49:15 AM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Slava Trenogin (derigel)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Running CleanupCode.exe against our large solution (over 100 projects) resulted in a crash after ~2.5 hours of execution. A custom profile was used that only contained the following options:

  • C# Apply 'var' style
  • C# Optimize 'using' directives
  • XAML Collapse empty tags

No files within the solution were modified as a result of the programs execution. I have attached the console output from the errors.


RSRP-469169: [Performance Report] Ultimate 2017.3.1 11.0 likely caused x seconds of unresponsiveness and slowdown

$
0
0
Reporter Kevin Beede (deverill) Kevin Beede (deverill)
Created Apr 9, 2018 5:39:38 PM
Updated Apr 11, 2018 4:57:30 AM
Subsystem No Subsystem
Assignee Sergey Kuks (coox)
Priority Show-stopper
State Waiting for Info
Type Performance Problem
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.16299.0
Product: dotTrace, Version: 2017.3.20171222.81241
Product: ReSharper, Version: 2017.3.20171222.81043
Time Zone: Eastern Standard Time

Description

Hi, I'm not sure when it started but Resharper is making VS 15.6.4 and .NET Framework 4.7.02556 dog-slow. It gives a warning when starting VS and remains slow throughout the entire development day. I have disabled Resharper and verified that is the cause.

Is there a fix for this? It is unusable as it is.

RSRP-467050: Optimize References, Find Code dependent on module, etc. don't understand PackageReference assemblies

$
0
0
Reporter Rian Stockbower (rianjs) Rian Stockbower (rianjs)
Created Nov 15, 2017 6:21:05 PM
Updated Apr 11, 2018 7:45:48 AM
Subsystem Optimize References
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Submitted
Type Bug
Fix version 2017.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
nuget now has two resolution mechanisms, as you probably know.

  • packages.config + references to assemblies on disk. This works fine, as always.
  • PackageReference entries in a csproj file. This doesn't work.

This is problematic for mixing and matching Framework and NetStandard libraries. The PackageReference entry will compute the dependency graph, and pull down everything it needs automagically. If you use the old packages.config way, you have to flatten the dependency graph into the packages.config file, and manually reference each required DLL.

Immo Landwerth has basically said that PackageReference is the future. It would be nice to have support for it:
https://github.com/dotnet/standard/issues/481

RSRP-466657: ReShaper build does not restore nuget packages that use PackageReference format

$
0
0
Reporter Michael Scrivo (mscrivo) Michael Scrivo (mscrivo)
Created Oct 16, 2017 9:32:38 PM
Updated Apr 11, 2018 7:47:10 AM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
We've recently switched all of our nuget packages to use PackageReferences instead of packages.config because of all the tooling issues they introduced in VS2017 15.3 regarding .NET standard and traditional .NET framework apps. (see https://github.com/dotnet/standard/issues/481 for details). Anyhow, what we discovered is that our beloved ReSharper build does not restore any packages that use the PackageReference format. It essentially ignores them. So you end up having to switch back to VS build whenever there are nuget package changes to get it to build properly.

RSRP-469117: Support PackageReference in NuGetModuleReferencer

$
0
0
Reporter Alexander Ulitin (alexander.ulitin) Alexander Ulitin (alexander.ulitin)
Created Apr 5, 2018 5:32:00 PM
Updated Apr 11, 2018 7:47:32 AM
Subsystem Platform - Project Model
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Submitted
Type Feature
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
https://twitter.com/foonpm/status/981896002746667009
Please add a package reference rather than referencing a nuget path for net standard csproj when adding a missing library.

RSRP-464686: Can't resolve symbols from 'aurelia-fetch-client', falling back to pure JS resolve

$
0
0
Reporter Anton Lobov (Anton.Lobov) Anton Lobov (Anton.Lobov)
Created May 4, 2017 9:04:31 PM
Updated Apr 11, 2018 8:35:59 AM
Subsystem TypeScript
Assignee Nikolay Glushakov (Nikolay.Glushakov)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Viewing all 106942 articles
Browse latest View live


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