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

RSRP-392220: ReSharper not reporting "Auto-implemented property accessor is never used"

$
0
0
Reporter Michael Sloane (Michael_Sloane) Michael Sloane (Michael_Sloane)
Created Nov 11, 2013 8:42:34 PM
Updated Apr 17, 2018 10:58:48 AM
Subsystem Code Analysis - Solution-wide
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version 9.0
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have several cases where ReSharper (within the VisualStudio IDE) is not reporting the following issue:

<IssueType Id="UnusedAutoPropertyAccessor.Global" Category="Potential Code Quality Issues" Description="Auto-implemented property accessor is never used: Non-private accessibility" Severity="WARNING"/>

However, this issue is reported by the ReSharper command line tools.
Both ReSharper in the IDE and the ReSharper command line tools are using the same solution settings file (i.e. <solution_name>.sln.DotSettings)

ReSharper version: 8.0.2000.2660
ReSharper Command Line Tools version: 8.0.0.39
Microsoft Visual Studio Ultimate 2013- Version 12.0.21005.1 REL

My problem is that that the command line tool and IDE tool are inconsistent. If I could disable the warning so that it was not reported by the command line tool, that would be an acceptable solution. Unfortunately, I don't know what comment to insert to disable the warning, since the IDE tool does not show it.

Alternatively, if I had a version of the IDE tool that showed the warning, that would be acceptable too.

The code that is causing the warning is very simple:

public class TodoItem
{
public string ModelName { get; set; }
public string IpAddress { get; set; }
public string Status { get; set; }
}

Status is set, but not used, which is causing the warning to be reported by the Command Line tools. The same warning is not reported by the IDE tool.

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

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 17, 2018 10:51:19 AM
Updated Apr 17, 2018 11:02:23 AM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2018.2
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _faa9f169 — JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180416.124047-eap00d

JetBrains dotCover 2018.2 EAP 0 D Build 2018.2.20180416.132021-eap00d
JetBrains dotMemory 2018.2 EAP 0 D Build 2018.2.20180416.132041-eap00d
JetBrains dotTrace 2018.2 EAP 0 D Build 2018.2.20180416.132046-eap00d
JetBrains ReSharper 2018.2 EAP 0 D Build 2018.2.20180416.125243-eap00d
JetBrains ReSharper C++ 2018.2 EAP 0 D Build 2018.2.20180416.125242-eap00d
JetBrains TeamCity Add-in 2018.2 EAP 0 D Build 2018.2.20180416.125317-eap00d

SubProducts.0 = JetBrains dotCover 2018.2 EAP 0 D Build 2018.2.20180416.132021-eap00d
SubProducts.1 = JetBrains dotTrace 2018.2 EAP 0 D Build 2018.2.20180416.132046-eap00d
SubProducts.2 = JetBrains ReSharper C++ 2018.2 EAP 0 D Build 2018.2.20180416.125242-eap00d
SubProducts.3 = JetBrains TeamCity Add-in 2018.2 EAP 0 D Build 2018.2.20180416.125317-eap00d
SubProducts.4 = JetBrains ReSharper 2018.2 EAP 0 D Build 2018.2.20180416.125243-eap00d
SubProducts.5 = JetBrains dotMemory 2018.2 EAP 0 D Build 2018.2.20180416.132041-eap00d

Object reference not set to an instance of an object.

— EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.ReSharper.NewRefactorings
StackTraceString = “
 at JetBrains.ReSharper.Refactorings.Anotype2DeclaredType.Search.AnotypeUsageSearchRequest.get_SearchTargets()
 at JetBrains.ReSharper.Refactorings.Anotype2DeclaredType.Search.AnotypeUsageSearchRequest.get_SearchTargets()
 at JetBrains.ReSharper.Feature.Services.Navigation.Descriptors.SearchDescriptor..ctor(SearchRequest request, StructuredPresenter`2 customPresenter)
 at JetBrains.ReSharper.Refactorings.Anotype2DeclaredType.Anonymous2DeclaredWorkflow.SuccessfulFinish(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<ProcessTransactionResult>b__44_2(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180416.124047-eap00d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.2 EAP 0 D Build 2018.2.20180416.132021-eap00d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.2 EAP 0 D Build 2018.2.20180416.132046-eap00d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.2 EAP 0 D Build 2018.2.20180416.125242-eap00d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.2 EAP 0 D Build 2018.2.20180416.125317-eap00d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.2 EAP 0 D Build 2018.2.20180416.125243-eap00d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.2 EAP 0 D Build 2018.2.20180416.132041-eap00d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-alisa.refactorings::c748d0f658c10738d00319a0a01217587d01fbff


Platform\VisualStudio:
    git::refs/heads/182-alisa.refactorings::5eb4034d4cfbb1cf58531e74f23a45bdc7f56b8d

Data.VsVersion = 15.7.27604.0
Data.VsPreview = True
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.ProcessTransactionResult(TransactionCommitResult transactionResult)
 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-469114: NUnit TestCase output not working (2018.1 EAP 6)

$
0
0
Reporter Janne Westberg (jannewestberg) Janne Westberg (jannewestberg)
Created Apr 5, 2018 4:43:59 PM
Updated Apr 17, 2018 11:06:02 AM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

Hi, this bug was found in following versions:

ReSharper 2018.1 EAP 5.
ReSharper 2018.1 EAP 6.

When executing NUnit tests that have a TestCase attribute, the output does not work when using TestContext.Progress.
It works fine in tests that have a Test attribute.

Example below that reproduces the issue.
Output in test methods 1 and 2 work OK.
Output in test methods 3 and 4 does not work.

[Test]
public void TestMethod1_TestAttribute_UsingProgressInConsoleOut()
{
Console.SetOut(TestContext.Progress);
Console.WriteLine("Hello world"); // Output works OK.
}

[Test]
public void TestMethod2_TestAttribute_UsingProgressWriteLine()
{
TestContext.Progress.WriteLine("Hello world"); // Output works OK.
}

[TestCase]
public void TestMethod3_TestCaseAttribute_UsingProgressInConsoleOut()
{
Console.SetOut(TestContext.Progress);
Console.WriteLine("Hello world"); // Output does not work - nothing is shown.
}

[TestCase]
public void TestMethod4_TestCaseAttribute_UsingProgressWriteLine()
{
TestContext.Progress.WriteLine("Hello world"); // Output does not work - nothing is shown.
}

RSRP-469283: Replace Anonymous Type With Named Class: Uncompilable code when generating Equals for type with name "int".

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 17, 2018 11:22:40 AM
Updated Apr 17, 2018 11:22:40 AM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 182.0.20180416.132916-eap00d.

    internal class Book
    {
        public string Author { get; set; }
        public string Title { get; set; }
    }

    public class ConvertAnonymousToNamedType
    {
        private string Test(List<Book> books)
        {
            var bookList = from book in books
                select new { book.Author, book.Title };

            var bookListNotApplied = from book in books
                select new { book.Author, title = new { book.Title } };

            var bookNew = bookList.ToList().FirstOrDefault(book => book.Author == "King");
            return bookNew?.Author;
        }
    }
  1. Invoke Refactor This -> Replace Anonymous Type With Named Class on new { book.Author, book.Title }.
  2. Set "int" as Name; "Solution" as Scope; "Top Level" as Location; "Writable auto properties" as How to generate; check both Generate checkboxes (see screenshot).
  3. Click Next.

Actual result:
Uncompilable code is generated.

    public class @int
    {
        public string Author { get; set; }
        public string Title { get; set; }

        public override string ToString()
        {
            return $"{{ Author = {Author}, Title = {Title} }}";
        }

        public override bool Equals(object value)
        {
            var type = value as int; // <------------------------------------- Should be @int
            return (type != null) && EqualityComparer<string>.Default.Equals(type.Author, Author) && EqualityComparer<string>.Default.Equals(type.Title, Title);
        }

        public override int GetHashCode()
        {
            int num = 0x7a2f0b42;
            num = (-1521134295 * num) + EqualityComparer<string>.Default.GetHashCode(Author);
            return (-1521134295 * num) + EqualityComparer<string>.Default.GetHashCode(Title);
        }
    }

Expected result:
Code is compilable.

RSRP-469284: Block aligning object initialization does not align property/field-names

$
0
0
Reporter Bendik August Nesbø (XplittR) Bendik August Nesbø (XplittR)
Created Apr 17, 2018 11:24:35 AM
Updated Apr 17, 2018 11:24:35 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

When using the new block alignment, it does not align the field/propertynames when initializing multiple objects on single lines.
Example input:

var objs = new[]{
  new MyObj {Id = 9, SomeField = "short", SomeValue = true,},
  new MyObj {Id = 10, SomeField = "longer description", SomeValue = true,},
}

Expected formatting, option 1:

var objs = new[]{
  new MyObj {Id = 9,  SomeField = "short",              SomeValue = true,},
  new MyObj {Id = 10, SomeField = "longer description", SomeValue = true,},
}

Expected formatting, option 2:

var objs = new[]{
  new MyObj {Id = 9 , SomeField = "short"             , SomeValue = true,},
  new MyObj {Id = 10, SomeField = "longer description", SomeValue = true,},
}

Actual formatting:

var objs = new[]{
  new MyObj {Id = 9, SomeField  = "short", SomeValue              = true,},
  new MyObj {Id = 10, SomeField = "longer description", SomeValue = true,},
}

As you can see, the formatting does not align the SomeField -names (one space difference), and not the SomeValue-names (multiple spaces difference).
In option 1 (and even more so in option2), it would be very easy to mass-insert a new field-initialization between SomeField and SomeValue

RSRP-466153: Live templates expansion is slow

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Sep 5, 2017 6:44:57 PM
Updated Apr 17, 2018 11:50:11 AM
Subsystem ASP.NET - MVC
Assignee Slava Tutushkin (slava.tutushkin)
Priority Critical
State Reopened
Type Performance Problem
Fix version 2018.1
Affected versions 2017.3.5, 2017.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM
100,00% DataFactory • 4 028 ms • JetBrains.ReSharper.Feature.Services.Asp.Caches.MvcCache.DataFactory(IMvcCacheProcessor, IFile, Boolean)
100,00% ProcessDescendants • 4 028 ms • JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants(ITreeNode, IRecursiveElementProcessor, TContext)
100,00% ProcessAfterInterior • 4 028 ms • JetBrains.ReSharper.Feature.Services.Asp.CSharp.Caches.MvcCSharpCacheProcessor.ProcessAfterInterior(ITreeNode, Tuple)
100,00% Accept • 4 028 ms • JetBrains.ReSharper.Psi.CSharp.Impl.Tree.PropertyInitializer.Accept(TreeNodeVisitor, TContext)
100,00% VisitPropertyInitializer • 4 028 ms • JetBrains.ReSharper.Feature.Services.Asp.CSharp.Caches.MvcCSharpCacheProcessor.VisitPropertyInitializer(IPropertyInitializer, Tuple)
100,00% DetectLayoutChanges • 4 028 ms • JetBrains.ReSharper.Feature.Services.Asp.CSharp.Caches.MvcCSharpCacheProcessor.DetectLayoutChanges(IReference, IExpression, Tuple, Boolean)
99,25% Expand • 3 998 ms • JetBrains.ReSharper.Feature.Services.ValueTracking.Model.ValueTrackingFilteredModel.Expand(IList, IProgressIndicator)
93,17% Expand • 3 753 ms • JetBrains.ReSharper.Feature.Services.ValueTracking.Model.ValueTrackingFilteredModel.Expand(IList, IProgressIndicator)
93,17% Expand • 3 753 ms • JetBrains.ReSharper.Feature.Services.ValueTracking.Engine.ValueTrackingEngine.Expand(IList, IProgressIndicator)
93,17% FindUsages • 3 753 ms • JetBrains.ReSharper.Feature.Services.Util.CachingFinder.FindUsages(ICollection, IProgressIndicator)
►86,88% FindReferences • 3 499 ms • JetBrains.ReSharper.Feature.Services.Util.CachingFinder.FindReferences(ICollection, ISearchDomain, IProgressIndicator)
►6,29% UnionSearchDomains • 253 ms • JetBrains.ReSharper.Psi.Search.DeclaredElementSearchExtensions.UnionSearchDomains(IEnumerable)
►6,09% Expand • 245 ms • JetBrains.ReSharper.Feature.Services.ValueTracking.Engine.ValueTrackingEngine.Expand(IList, IProgressIndicator)
►0,75% CheckViewLocationType • 30 ms • JetBrains.ReSharper.Feature.Services.Asp.Caches.MvcCacheProcessorHelper.CheckViewLocationType(IReference, IExpression, Boolean)

RSRP-469285: Failed to modify document. Exception from HRESULT: 0x80041001

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 17, 2018 11:56:30 AM
Updated Apr 17, 2018 11:56:30 AM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharper 7.1 Version=7.1.3000.2259, Built=2013-04-10T18:34:56, Configuration=“Csharp PublicMode Vbnet VS1100”
Failed to modify document. Exception from HRESULT: 0x80041001

— EXCEPTION #1/2 [COMException]
Message = “Exception from HRESULT: 0x80041001”
ExceptionPath = Root.InnerException
ClassName = System.Runtime.InteropServices.COMException
HResult = BUFFER_E_READONLY=80041001
Source = mscorlib
StackTraceString = “
 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
 at JetBrains.UI.Interop.HResultsEx.AssertSucceeded(Int32 hresult) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Interop\HResultsEx.cs:line 53
 at JetBrains.VsIntegration.Interop.Shim.TextManager.IVsTextBuffer.ReplaceStreamEx(REPLACE_TEXT_FLAGS dwFlags, Int32 iPos, Int32 iOldLen, String pszText, Int32 iNewLen) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\Interop\Shim\TextManager\IVsTextBuffer.cs:line 511
 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 380


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Failed to modify document.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.Document = C:\Projects\AutonetMotorQuoteEngine_3.5\branches\8897_Lexelle_QuoteZoneClickThroughFailure\src\Autonet.Providers.Orchestrator\ProviderOrchestrator\Translators\BikeTranslator.cs
Data.DocumentRange = “(0 - 54,745)”
Data.RangeToReplace = “(7,753 - 7,753)”
Data.OldTextLen = 0
Data.NewText = OrDefault
Data.NewTextLen = 9
Data.AroundOldText = “
var foundDuq = duqs.First(x => x.number == duq.number);


Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.61030.0
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 384
 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 384
 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.JetBrains.VsIntegration.Whidbey.DocumentModel.IDocumentOperationsHandlerWhidbey.ReplaceText(TextRange range, String newText) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 574
 at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.ApplyInternalDocumentChange(DocumentChange documentChange, Boolean underWriteLock, Int32 timestamp) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 210
 at JetBrains.DocumentModel.impl.ManagedDocumentBase.ChangeDocument(DocumentChange documentChange, Int32 timestamp) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 105
 at JetBrains.DocumentModel.impl.ManagedDocumentBase.ReplaceText(TextRange atRange, String text) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 130
 at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.DoReplaceText(ITextControl textcontrol, TextRange replaceRange, String typeInName) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\TextLookupItemBase.cs:line 249
 at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpMethodsLookupItem.DoReplaceText(ITextControl textcontrol, TextRange replaceRange, String typeInName) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpMethodsLookupItem.cs:line 52
 at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\TextLookupItemBase.cs:line 158
 at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpMethodsLookupItem.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpMethodsLookupItem.cs:line 45
 at JetBrains.ReSharper.Feature.Services.Lookup.LookupItemCompletor.CompleteItem(Action executeInsideCommandScope) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\LookupItemCompletor.cs:line 107
 at JetBrains.ReSharper.Feature.Services.Lookup.LookupActions.CompleteHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\LookupActions.cs:line 116
 at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36
 at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 187
 at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1388
 at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass3.<ExecuteActionUnsafe>b__2(Lifetime lifetime) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 149
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
 at JetBrains.ActionManagement.ActionManager.ExecuteActionUnsafe(IExecutableAction action, IDataContext dataContextOverride) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 150
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClasse.<TryDelegateToTypingHandlers_NonTyping>b__d() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 291
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 362
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 291
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 270
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass19.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__17() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 414
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 401
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.VsCodeWindowAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

RSRP-469286: The Unadvise VS Connection Point\r\n object has not been disposed of, gotten into the finalizer.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 17, 2018 11:57:20 AM
Updated Apr 17, 2018 11:57:20 AM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharper 7.1 Version=7.1.3000.2259, Built=2013-04-10T18:34:56, Configuration=“Csharp PublicMode Vbnet VS1100”
The Unadvise VS Connection Point\r\n object has not been disposed of, gotten into the finalizer.

— EXCEPTION #1/3 [InvalidOperationException]
Message = “The Unadvise VS Connection Point\r\n object has not been disposed of, gotten into the finalizer.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509

— Outer —

— EXCEPTION #2/3 [FinallyException]
Message = “The Unadvise VS Connection Point\r\n object has not been disposed of, gotten into the finalizer.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.DataFlow.Disposable+FinallyException
Data.CreationStackTrace = “-=[ Stack trace logging disabled. ]=-”
Data.ObjectId = “Unadvise VS Connection Point\r\n”
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_APPLICATION=80131600

— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “The Unadvise VS Connection Point\r\n object has not been disposed of, gotten into the finalizer.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.61030.0
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.DataFlow.Disposable.FinalizableDisposable.Finalize() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\DataFlow\Lifetime\Disposable.cs:line 187


RSRP-469287: Failed to modify document. Exception from HRESULT: 0x80041001

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 17, 2018 11:58:11 AM
Updated Apr 17, 2018 11:58:11 AM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharper 7.1 Version=7.1.3000.2259, Built=2013-04-10T18:34:56, Configuration=“Csharp PublicMode Vbnet VS1100”
Failed to modify document. Exception from HRESULT: 0x80041001

— EXCEPTION #1/2 [COMException]
Message = “Exception from HRESULT: 0x80041001”
ExceptionPath = Root.InnerException
ClassName = System.Runtime.InteropServices.COMException
HResult = BUFFER_E_READONLY=80041001
Source = mscorlib
StackTraceString = “
 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
 at JetBrains.UI.Interop.HResultsEx.AssertSucceeded(Int32 hresult) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Interop\HResultsEx.cs:line 53
 at JetBrains.VsIntegration.Interop.Shim.TextManager.IVsTextBuffer.ReplaceStreamEx(REPLACE_TEXT_FLAGS dwFlags, Int32 iPos, Int32 iOldLen, String pszText, Int32 iNewLen) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\Interop\Shim\TextManager\IVsTextBuffer.cs:line 511
 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 380


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Failed to modify document.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.Document = C:\Projects\AutonetMotorQuoteEngine_3.5\branches\8897_Lexelle_QuoteZoneClickThroughFailure\src\Autonet.Providers.Orchestrator\ProviderOrchestrator\Translators\BikeTranslator.cs
Data.DocumentRange = “(0 - 54,745)”
Data.RangeToReplace = “(7,748 - 7,749)”
Data.OldText = F
Data.OldTextLen = 1
Data.NewText = “First(x => x.n”
Data.NewTextLen = 14
Data.AroundOldText = “ var foundDuq = duqs.First(x => x.number == duq.number”
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.61030.0
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 384
 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 384
 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.JetBrains.VsIntegration.Whidbey.DocumentModel.IDocumentOperationsHandlerWhidbey.ReplaceText(TextRange range, String newText) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 574
 at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.ApplyInternalDocumentChange(DocumentChange documentChange, Boolean underWriteLock, Int32 timestamp) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 210
 at JetBrains.DocumentModel.impl.ManagedDocumentBase.ChangeDocument(DocumentChange documentChange, Int32 timestamp) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 105
 at JetBrains.DocumentModel.impl.ManagedDocumentBase.ReplaceText(TextRange atRange, String text) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 130
 at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpLookupServiceProvider.BindToDeclaredElements[T](ISolution solution, ICollection`1 pointers, ITextControl textControl, TextRange range) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpLookupServiceProvider.cs:line 268
 at JetBrains.ReSharper.Feature.Services.Lookup.LookupUtil.BindRange[T](ISolution solution, ITextControl textControl, TextRange nameRange, ICollection`1 pointers, PsiLanguageType languageType) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\LookupUtil.cs:line 492
 at JetBrains.ReSharper.Feature.Services.Lookup.MethodsLookupItem.OnAfterComplete(ITextControl textControl, TextRange& nameRange, TextRange& decorationRange, TailType tailType, Suffix& suffix, IRangeMarker& caretPositionRangeMarker) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\MethodsLookupItem.cs:line 75
 at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpMethodsLookupItem.OnAfterComplete(ITextControl textControl, TextRange& nameRange, TextRange& decorationRange, TailType tailType, Suffix& suffix, IRangeMarker& caretPositionRangeMarker) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpMethodsLookupItem.cs:line 58
 at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\TextLookupItemBase.cs:line 193
 at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpMethodsLookupItem.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpMethodsLookupItem.cs:line 45
 at JetBrains.ReSharper.Feature.Services.Lookup.LookupItemCompletor.CompleteItem(Action executeInsideCommandScope) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\LookupItemCompletor.cs:line 107
 at JetBrains.ReSharper.Feature.Services.Lookup.LookupActions.CompleteHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\LookupActions.cs:line 116
 at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36
 at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 187
 at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1388
 at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass3.<ExecuteActionUnsafe>b__2(Lifetime lifetime) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 149
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
 at JetBrains.ActionManagement.ActionManager.ExecuteActionUnsafe(IExecutableAction action, IDataContext dataContextOverride) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 150
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClasse.<TryDelegateToTypingHandlers_NonTyping>b__d() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 291
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 362
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 291
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 270
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass19.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__17() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 414
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415
 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 401
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.VsCodeWindowAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

RSRP-469288: Path block in .editorconfig not applied in settings window

$
0
0
Reporter Robin Masters (Sc0tTy) Robin Masters (Sc0tTy)
Created Apr 17, 2018 12:01:03 PM
Updated Apr 17, 2018 12:03:00 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.3

Hi there,

When I add a [*.cs] block to the .editorconfig, the underlying settings are not blocked in the R# settings window:

If I comment the block it does apply all the styles:

RSRP-468840: Conflicts dialog: UI issues

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 23, 2018 4:02:54 PM
Updated Apr 17, 2018 12:04:15 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 EAP 4 D Build 12.0.20180322.125946-eap04d.

  1. Conflicts dialog is too small by default. See screenshot "Conflicts.png". - Fixed in branch 182-alisa.refactorings.
  2. See screenshot "Conflicts dialog.png". - Fixed in branch 182-alisa.refactorings.
  3. After click Back on Conflicts dialog very small "Replace Anonymous Type" dialog is shown. See screenshot "After Back.png".

Also applicable for "Convert Property To Method" Conflicts dialog.

RSRP-469251: EditorConfig overridden severities are not shown in the options window

$
0
0
Reporter Manuel Pallier (manuel.pallier) Manuel Pallier (manuel.pallier)
Created Apr 13, 2018 10:35:46 AM
Updated Apr 17, 2018 12:09:55 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Submitted
Type Feature
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

The ReSharper options window doesn't hightligh overridden severity settings from EditorConfig files. It also doesn't show the EditorConfig value in a tooltip.

This applies both to severities from Rolyn settings like "csharp_style_var_for_built_in_types = false:suggestion" and to ReSharpers own settings like "resharper_arrange_static_member_qualifier_highlighting = hint".

Tested with 2018.1 EAP 8

RSRP-468461: Wrong jQuery $(this) resolution

$
0
0
Reporter Albert Weinert (der-albert.com) Albert Weinert (der-albert.com)
Created Feb 20, 2018 5:24:41 PM
Updated Apr 17, 2018 12:31:06 PM
Subsystem TypeScript
Assignee Nikita Popov (poksh)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1, 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM
`
import 'jquery';

export function initializeLayoutSwitch(selector: string) {

const checkboxes = $(selector) as JQuery<HTMLInputElement>;


checkboxes.each(function () {
$(this).change(function () {
const checked = $(this).prop('checked');
});
});
}
`
This first $(this) is been marked as an error.




@types/jquery 3.3.0 is used and TypeScript 2.6.2

RSRP-469289: Rectangle around Undo label in dialogs is not shown when first time navigate to it by Tab.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 17, 2018 12:38:56 PM
Updated Apr 17, 2018 12:38:56 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Minor
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM

JetBrains ReSharper Ultimate 182.0.20180416.132916-eap00d.

VS 2017: 15.7.0 Preview 3; 15.6.6.
Gif is attached.

If Undo checkbox is selected using keyboard-only input (tabs) then the rectangle around the label is NOT shown first time.

Expected result:
Rectangle around the label is shown.

RSRP-469191: Make Method Non-Static: Issues.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 10, 2018 5:33:17 PM
Updated Apr 17, 2018 12:40:10 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Fixed In Branch
Type Bug
Fix version 2018.2
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 182.0.20180410.111135-eap00d.

        class MetaInfo
        {
            public string Id { get; set; }
            public string Name { get; set; }

            public static MetaInfo Merge(MetaInfo m1, MetaInfo m2)
            {
                return new MetaInfo
                {
                    Id = m1.Id + m2.Id,
                    Name = m1.Name + m2.Name
                };
            }
        }
  1. Invoke Make Method Non-Static on Merge.
  2. Inspect dialog.

Results:

  1. When dialog just opens and keyboard down arrow is pressed (1 - n times) then nothing happens (second parameter is not selected). Expected result: second parameter is selected after down arrow is pressed one time. NOTE: if keyboard up arrow is pressed and after that down arrow is pressed then second parameter is selected. - Fixed in branch 182-alisa.refactorings.
  2. When dialog just opens and mouse click on second parameter then second parameter is not selected (see screenshot). Expected result: second parameter is selected. - Fixed in branch 182-alisa.refactorings.
  3. If Undo checkbox is selected using keyboard-only input (tabs) then the rectangle around the label is NOT shown (first time). Expected result: rectangle around the label is shown. - Also applicable for "Make Static", "Replace Constructor With Factory Method". - Duplicate of RSRP-469289
  4. If Conflicts dialog appears and Back button is clicked then "Make Method Non-Static" dialog appears small. - Duplicate of RSRP-468840

RSRP-469233: Breaking change in allowed values of resharper_xmldoc_indent_*

$
0
0
Reporter Manuel Pallier (manuel.pallier) Manuel Pallier (manuel.pallier)
Created Apr 12, 2018 11:06:51 AM
Updated Apr 17, 2018 12:49:45 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

If I have those two lines in my EditorConfig file, the ReSharper options window doesn't highlight the options in yellow and doesn't show the overridden value in the tooltip:

resharper_xmldoc_indent_child_elements = zeroindent
resharper_xmldoc_indent_text = zeroindent

But if I change the values to "zero_indent" the options window correctly show the overridden values.

The change of possible values can also be seen on the documentation pages. Compare
https://www.jetbrains.com/help/resharper/EditorConfig_XMLDOC_XmlDocCodeStylePageSchema.html#Tag_Content and
https://www.jetbrains.com/help/resharper/2018.1/EditorConfig_XMLDOC_XmlDocCodeStylePageSchema.html#Tag_Content

As discussed in RSRP-468863 for a different EditorConfig property I'd suggest to also add an alias for these.

Tested with 2018.1 EAP 8

RSRP-469234: EditorConfig property "xmldoc_indent_size" has no effect

$
0
0
Reporter Manuel Pallier (manuel.pallier) Manuel Pallier (manuel.pallier)
Created Apr 12, 2018 11:34:12 AM
Updated Apr 17, 2018 12:50:50 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

My EditorConfig file contains the following:

[*.{cs,csx,vb,vbx,fs,c,cpp,h,xaml,htm,html,cshtml,vbhtml,js,ts,css,scss,less,sql}]
indent_size = 4

[*.{cs,csx}]
xmldoc_indent_size = 2

The ReSharper options window correctly shows the overridden value of 2 in tooltips in the XML Doc Comments pane. The File Formatting Info window shows both settings as active (not strike through) and an overall indent setting of 4 spaces. I think this is also ok because it makes more sense to show the C# setting here.

But the actual idention used by the "Build-in: Full Cleanup" Code Cleanup is 4 spaces for the XML documentation. For example, the following code is changed to an indent size of 4 after the cleanup:

        /// <summary>
        ///   Summary line
        /// </summary>
        /// <remarks>
        ///   <para>Some longer text.</para>
        ///   <para>Some other longer text.</para>
        /// </remarks>
        public void DemoMethod()

Tested with 2018.1 EAP 8

Btw, not related to the issue, but why doesn't this property (and similar indent related properties) allow a "resharper_" prefix like most other custom ReSharper properties?

RSRP-469290: Set breakpoint in "Find results" should be available not only on occurrence, but on the function name as well

$
0
0
Reporter Igor Akhmetov (Igor.Akhmetov) Igor Akhmetov (Igor.Akhmetov)
Created Apr 17, 2018 1:18:20 PM
Updated Apr 17, 2018 1:18:20 PM
Subsystem Debugger features
Assignee Alexander Ulitin (alexander.ulitin)
Priority Major
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-469214: Extract Members To Partial: Issues.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 11, 2018 2:45:45 PM
Updated Apr 17, 2018 1:27:42 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 182.0.20180410.111135-eap00d.

  1. No icons in "Select existing part:" dropdown. - Fixed in branch 182-alisa.refactorings.
  2. File name in dropdown does not contain underscore (actual file name does contain underscore).
  3. Accelerator Alt+e (for "Select existing part") not working.
  4. After Navigate link is clicked (and focus go to code) it takes 2 clicks to open dropdown.
  5. Layout of items in dropdown is incorrect (see screenshot).- Fixed in branch 182-alisa.refactorings.
  6. Double click on parameter does not navigate to it from another file (file that does not contain that parameter). NOTE: if currently file that contains parameter is focused than navigation works.
  7. When some existing part is selected in "Select existing part:" dropdown and then "Create new part" is selected the members still moved to previously selected existing part instead of new one.- Fixed in branch 182-alisa.refactorings.

RSRP-468926: Autosuggest issues.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 27, 2018 6:10:55 PM
Updated Apr 17, 2018 1:38:00 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Fixed In Branch
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 EAP 4 D Build 12.0.20180322.125946-eap04d.

  1. Can't select suggested item by Enter. Instead of choose an item Enter clicks on Next and closes the dialog. (Can be checked on "Replace Constructor With Factory Method" dialog, "Extract Members To Partial").
  2. Autosuggest is not refreshed. See screenshot.

Steps to reproduce issue #2 (keyboard-only input should be used):

  1. Open "Replace Constructor With Factory Method" dialog.
  2. Type something valid (autosuggest should actually suggest something) in "In class:" textbox. Inspect autosuggest.
  3. Proceed with typing the whole class name.
  4. Select the class from autosuggest by pressing Tab to navigate further.
  5. Clear "In class:" textbox.
  6. Type value from step 2.
  7. Inspect autosuggest.

Actual result:
Not all values that were displayed after step 2 is displaying after step 7. See screenshot.

Expected result:
Autosuggest should display the same value after step 2 and 7.

Viewing all 106942 articles
Browse latest View live


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