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

RSRP-469308: Using a validation utility method which has been properly annotated generates 'Expression is always true/false/null' warnings on usages

$
0
0
Reporter James McManus (MrLore) James McManus (MrLore)
Created Apr 18, 2018 12:38:01 PM
Updated Apr 18, 2018 12:38:01 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Usability Problem
Fix version No Fix versions
Affected versions 2017.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

Consider the following utility method, which I created to use in custom 'bool TryParse(object input, out T value)' methods:

[ContractAnnotation("=> true; value:null => toFill:null, true; value:notnull => toFill:notnull, true")]
public static bool ValidFill<T>(out T toFill, T value)
{
    toFill = value;
    return true;
}

It simply allows you to fill the out parameter and return true in the same line, however using this method will generate a warning saying 'Expression is always true'. This is actually exactly what I want, but I don't want to replace one of those saved lines of fill and return code with a disable resharper warning - is there any way I can tell resharper that I know all these methods always return the same value and that is precisely the point of them?


RSRP-469309: TypeScript cannot convert 'any' type to Specific type

$
0
0
Reporter Marcin Smółka (msmolka) Marcin Smółka (msmolka)
Created Apr 18, 2018 1:05:24 PM
Updated Apr 18, 2018 1:05:24 PM
Subsystem TypeScript
Assignee Nikita Popov (poksh)
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

After updating to 2018.1 the resharper complains about converting any to specific type in type script file. All is working except of Resharper complain:

let opt: SomeType = window.GetAny(); // first complain - get from javascript thirdparty, outside typescript 
opt = $.extend({}, opt, { myProp: true  } as SomeType); // second complain, property myProp exists on SomeType

RSRP-469310: xunit-Theory ren't started

$
0
0
Reporter Martin Demberger (MartinDemberger) Martin Demberger (MartinDemberger)
Created Apr 18, 2018 1:10:29 PM
Updated Apr 18, 2018 1:10:29 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
After a while of developing and testing my tests aren't started any more and following error is shown

2018.04.18 12:06:56.454 WARN Unit-test element not found for test-case <RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest.TestTo90> from <D:\ePlato\RootNine.GaebConvert.Tests\bin\Debug\net47\win7-x64\RootNine.GaebConvert.Tests.dll>
2018.04.18 12:06:56.984 WARN [xUnit.net 00:00:02.0273072] RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest.TestTo90(resource: "Accepted\\Easy.X83") [FAIL]
2018.04.18 12:06:57.040 WARN [xUnit.net 00:00:02.0838452] RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest.TestTo90(resource: "Accepted\\Musterdatei_3.1_2008-001.X84") [FAIL]
2018.04.18 12:06:57.245 WARN [xUnit.net 00:00:02.2882032] RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest.TestTo90(resource: "Accepted\\Musterdatei_3.1_2008-001.X83") [FAIL]
2018.04.18 12:06:57.264 WARN [xUnit.net 00:00:02.3071956] RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest.TestTo90(resource: "Accepted\\Musterdatei_3.1_2008-004.X83") [FAIL]
2018.04.18 12:06:57.283 WARN [xUnit.net 00:00:02.3265272] RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest.TestTo90(resource: "Accepted\\LV-077-Angebot2.X84") [FAIL]
2018.04.18 12:06:57.964 WARN Unit-test element not found for test-case <RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest.TestTo90> from <D:\ePlato\RootNine.GaebConvert.Tests\bin\Debug\net47\win7-x64\RootNine.GaebConvert.Tests.dll>
2018.04.18 12:06:58.733 WARN [xUnit.net 00:00:03.7763910] RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest.TestTo90(resource: "Accepted\\1462-LV-Elektro-Neubau-160518.X81") [FAIL]
2018.04.18 12:06:58.906 WARN dotnet exited with exit code (1)
Output stream: Microsoft (R) Testausfhrungs-Befehlszeilentool Version 15.7.0-preview-20180320-02
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.
Error stream:
2018.04.18 12:06:58.908 WARN Element RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest was left pending after its run completion.
2018.04.18 12:06:58.908 WARN Element RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest.TestTo2000 was left pending after its run completion.
2018.04.18 12:06:58.908 WARN Element RootNine.GaebConvert.Tests.BusinessLogic.GaebConvertManagerTest.TestToXML was left pending after its run completion.

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 18, 2018 1:17:07 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Fixed In Branch
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-469241: Dialog's validation: not displayed for name which consists only of spaces.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 12, 2018 6:54:22 PM
Updated Apr 18, 2018 2:11:46 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.

  1. Invoke Refactor This -> Convert Indexer To Method.
  2. Enter " " (space) into textbox for name.

Actual result:
No error messages. After clicking Next exception is thrown.

Expected result:
Error message is shown.

NOTE:
Applicable for textboxes in all dialogs.

RSRP-469311: Symbol search bug

$
0
0
Reporter Andreas (soulfury) Andreas (soulfury)
Created Apr 18, 2018 2:03:27 PM
Updated Apr 18, 2018 2:45:00 PM
Subsystem Navigation - Search (Find Usages)
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

I'm working on a xamarin forms project.

This usages search used to work with 2017.3.5 or 2017.3.3 - I used one of those for the exact same search - so it is apparently a regression

RSRP-469312: Smart completion for C# 7.2 non-trailing named arguments

$
0
0
Reporter Julien Lebosquain (mrjul) Julien Lebosquain (mrjul)
Created Apr 18, 2018 2:53:46 PM
Updated Apr 18, 2018 2:53:46 PM
Subsystem IntelliSense (Code Completion)
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.3

new StreamWriter("foo.txt", append: false, {caret})

Invoke smart completion at caret, with a LangVersion of 7.2.

Expected: standard smart completion, showing applicable members of type Encoding.
Actual: only parameter names encoding: and bufferSize: are provided.

RSRP-162230: QF Initialize from constructor parameter produced erroneus code

$
0
0
Reporter Victor Kropp (kropp) Victor Kropp (kropp)
Created Feb 22, 2010 6:19:26 PM
Updated Apr 18, 2018 2:58:13 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Fixed In Branch
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
I had a constructor
public PatternCatalogue(ISolution solution)
I added field
private ISolution mySolution;
and invoked QF on it.
It added another ISolution solution parameter to my constructor. Produced code won't compile.

There're two ways to resolve it:
  1. Add parameter with different
  2. Use parameter already there

I suggest to give option to user.

RSRP-469204: Command Line Tools show warning

$
0
0
Reporter Ben Parks (benparks32) Ben Parks (benparks32)
Created Apr 11, 2018 11:16:03 AM
Updated Apr 18, 2018 3:01:35 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Slava Trenogin (derigel)
Priority Normal
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2017.3.5
Fixed In Version ReSharper Undefined
VsVersion All Versions

When I run the latest version of the Resharper command line tools I get the following warnings:

Warning: The system cannot find the path specified.
Warning: Unable to load assembly via MetadataLoader.TryLoad by name Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc The system cannot find the path specified.

I'm using the following command:

InspectCode MySolution.sln --output=code-inspection-results.txt --format=Text --profile=my-profile.DotSettings

The version information shown is

JetBrains Inspect Code 2017.3.5
Running in 64-bit mode, .NET runtime 4.0.30319.42000 under Microsoft Windows NT 6.2.9200.0

Please can you help resolve this issue?
Thanks,
Ben

RSRP-469151: [AspMvcAction]/[AspMvcController] do not work for webapi (asp.core)

$
0
0
Reporter Marcelo Volmaro (Marcelo.Volmaro) Marcelo Volmaro (Marcelo.Volmaro)
Created Apr 6, 2018 11:04:12 PM
Updated Apr 18, 2018 3:01:52 PM
Subsystem ASP.NET
Assignee Slava Trenogin (derigel)
Priority Critical
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Arguments decorated with those AspMvc attributes are not resolved (marked in red by RS) when they are pointing out to a webapi action/controller.

Probably because they are trying to resolve (internally, I guess) against Controller instead of ControllerBase...

RSRP-179566: Do not suggest 'Merge variables' if they could not be merged

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created May 14, 2010 4:54:27 PM
Updated Apr 18, 2018 3:26:27 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.1, 10.0.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
using System;

class Program
{
static void Main()
{
var x = 1;
Foo(x => x); // here
}

static void Foo(Func<int, int> x) {}
}

RSRP-469071: ReSharper not changing @namespace directory on "Adjust Namespace"Refactoring in RazorPages Project (ASP.NET Core)

$
0
0
Reporter Albert Weinert (der-albert.com) Albert Weinert (der-albert.com)
Created Apr 4, 2018 2:03:43 PM
Updated Apr 18, 2018 3:44:47 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Normal
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2017.3.5, 2018.1
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM
If you create a Razor Pages Project in ASP.NET Core. Then a Pages\_ViewImports.cshtml will be generated.

This includes a

@namespace WebApplicationWhatEver

directive.

If you change the Default Namespace of the Project, and after that you to a 'Adjust Namespace' refactoring from the Solution Explorer. Then this directive get's not updated. And leads to a broken appliation.

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 18, 2018 3:52:05 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.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-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 18, 2018 3:58:21 PM
Resolved Apr 18, 2018 3:58:21 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Duplicate
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-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 18, 2018 3:58:21 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions 7.1
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 18, 2018 3:58:48 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions 7.1
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-469313: Module should not be referenced (bis)

$
0
0
Reporter Vianney PHILIPPE (vianney) Vianney PHILIPPE (vianney)
Created Apr 18, 2018 4:00:15 PM
Updated Apr 18, 2018 4:00:45 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Similar to RSRP-468697.

New code :

ProjectTest.csproj

class StuffCollection
{
public StuffCollection(IEnumerable<Stuff> array)
{
Values = array;
}
public IEnumerable<Stuff> Values { get; }
}

[TestFixture]
class Fixture
{
[Test] public void Test()
{
var details = new[] { new Stuff("foo") };
var collection = new StuffCollection(details);
Assert.IsNotNull(details);
}
}

Expected

No error.

Actual

At new StuffCollection(details), Module Api should be referenced.

Alternative solution

Cast details array as IEnumerable<Stuff> fixes the problem.

Versions

Resharper Ultimate 2018.1.

RSRP-467852: To string.Format invocation is broken

$
0
0
Reporter Marcel (aureole82) Marcel (aureole82)
Created Jan 9, 2018 6:24:24 PM
Updated Apr 18, 2018 4:24:37 PM
Subsystem Context Actions
Assignee Andrey Dyatlov (Andrey.Dyatlov)
Priority Critical
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

Did you forget how string.Format() works???
!RSRP-467852 - Wrong string.Format translation.gif!

RSRP-466871: Missing css props.

$
0
0
Reporter Marcelo Volmaro (Marcelo.Volmaro) Marcelo Volmaro (Marcelo.Volmaro)
Created Oct 31, 2017 4:56:13 PM
Updated Apr 18, 2018 4:28:37 PM
Subsystem CSS
Assignee Vladimir Belousov (Vladimir.Belousov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-424170: VB Completion inserts extra "()".

$
0
0
Reporter Mikhail Senkov (micha) Mikhail Senkov (micha)
Created Sep 18, 2014 5:39:58 PM
Updated Apr 18, 2018 4:38:05 PM
Resolved Apr 18, 2018 4:38:05 PM
Subsystem No Subsystem
Assignee Andrew Serebryansky (marcus23)
Priority Critical
State Fixed
Type Bug
Fix version Unidentified prior version
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>