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

RSRP-467075: Wrap chained method calls introduces whitespace in interpolated strings

$
0
0
Reporter Steven Coco (steevcoco) Steven Coco (steevcoco)
Created Nov 17, 2017 2:31:14 AM
Updated Apr 8, 2018 2:08:35 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
With the option "wrap chained method calls", ReSharper inserts whitespace in an interpolated string:

$"{GetType() .Name}";

---- There is space between GetType() and .Name. Presumably because R# wants to wrap, but it can't wrap the interpolated expression.

ALSO: it APPEARS that this particular example MAY show ANOTHER BUG: should the .Name be wrapped at all? It isn't a method.

Turning this option off stops that behavior — so it is coming from that option.

RSRP-329571: Granular control over HTML code cleanup

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Aug 29, 2012 6:29:34 PM
Updated Apr 8, 2018 3:09:15 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Major
State Submitted
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
For example, for some tags (e.g. <h1>, <span>) I would like to be able to specify that these are always on one line (e.g. <h1>Title</h1>) while for others (e.g. <p>) I would like to be able to specify that these have line breaks (e.g.:
<p>
Some text
</p>
Or, going one step further, if the content of the tag is very simple, always keep it on one line.

RSRP-465805: ReSharper tries to connect to all databases

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Aug 10, 2017 4:50:59 PM
Updated Apr 8, 2018 11:31:26 AM
Subsystem Crash
Assignee Kirill Falk (kfalk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.1.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
Steps to reproduce:
1. Install ReSharper + dotCover (2017.2 EAP 11)
2. Install Microsoft.Azure.DataLakeAndStreamAnalyticsToolsForVS2015
3. Open attached solution by double clicking from File Explorer

Result:

RSRP-469158: Test is not running without any error message shown.

$
0
0
Reporter Michael Freidgeim (mfreidge) Michael Freidgeim (mfreidge)
Created Apr 8, 2018 1:27:43 PM
Updated Apr 8, 2018 1:27:43 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

I’ve tried to debug a test method, but it wasn’t started. I couldn’t find any error message explaining why.
Finally I found that it was because TestMethod was async void.
You can see that a few people had the same issue https://stackoverflow.com/questions/18311108/test-method-is-inconclusive-test-wasnt-run-error/36016279#36016279.
Is it possible that error will be shown in visual Studio error list?
Also other problems in the same SO thread also not generate t error messages, which make us guess why tests are not started.

RSRP-468259: Length cannot be less than zero. Parameter name: length

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Feb 6, 2018 6:19:50 AM
Updated Apr 8, 2018 4:02:31 PM
Subsystem Typing Assistance
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed In Branch
Type Exception
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _a5b92070 — JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180130.130149-eap01d

JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180130.130149-eap01d

SubProducts.0 = JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180130.130149-eap01d

Length cannot be less than zero. Parameter name: length

— EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Length cannot be less than zero.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = mscorlib
ParamName = length
StackTraceString = “
 at System.String.Substring(Int32 startIndex, Int32 length)
 at System.String.Substring(Int32 startIndex, Int32 length)
 at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.TrimWhitespaceInLineCommentOnEnter(IDocument document, CachingLexer lexer, String commentStart, Int32& caretPosition) in W:\ReSharper\Psi.Features\Core\Services\CSharp\Src\TypingAssist\CSharpTypingAssistBase.cs:line 1613
 at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.DoHandleEnterInLineCommentPressed(ITextControl textControl) in W:\ReSharper\Psi.Features\Core\Services\CSharp\Src\TypingAssist\CSharpTypingAssistBase.cs:line 1596
 at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.HandleEnterPressed(IActionContext context) in W:\ReSharper\Psi.Features\Core\Services\CSharp\Src\TypingAssist\CSharpTypingAssistBase.cs:line 1083
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.ChainedContextBase`2.CallNext() in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 175
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Handle[TContext,THandler](TContext context, List`1 handlers, ChainedContextBase`2 chainedContextFactory) in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 71
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Act(ITextControl textControl, String actionId, DelegateExecute nextExecute) in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 80
 at JetBrains.ReSharper.Feature.Services.TypingAssist.ExternalActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\ExternalActionHandler.cs:line 33
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\ExececutableActionEvaluator.cs:line 50
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<ExecuteWithoutRequirements>b__23_0(Lifetime lt) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 83
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) in W:\ReSharper\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetimes.cs:line 287
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 75
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_0.<PrepareRequirementsAsync>b__1() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 52
 at JetBrains.Util.Logging.Logger.Catch(Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 339


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
Length cannot be less than zero.
Parameter name: length

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180130.130149-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180130.130149-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12::c230aa3719beb488627585059513aa45b19cc644

Data.VsVersion = 15.4.27004.2010
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\ILogger.cs:line 24
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\ILogger.cs:line 24
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message) in W:\ReSharper\Platform\Core\Shell\RdCore\Src\Logging\LogEx.cs:line 213
 at JetBrains.Util.Logging.Logger.LogException(Exception ex) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 974
 at JetBrains.Util.Logging.Logger.Catch(Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 343
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_0.<PrepareRequirementsAsync>b__0() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 52
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionSystem\ActionsRevised\Handlers\RequirementsManager.cs:line 94
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 48
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 70
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass26_0.<TryDelegateToTypingHandlers_NonTyping>b__0() in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 290
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 349
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 290
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 263
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass29_0.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__0() in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 396
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 300
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 524
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 383
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CompoundTextViewWindow.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-467862: Analyzer 'JetBrains.ReSharper.Daemon.CSharp.Stages.InvocationProblemAnalyzer' thrown exception: rule != null

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Nov 1, 2017 4:55:18 PM
Updated Apr 8, 2018 4:06:16 PM
Resolved Apr 8, 2018 4:06:16 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Obsolete
Type Exception
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains Rider 2017.3 Build RD-173.3389.532 Date 2017-11-01T09:23:11.921+0000

— EXCEPTION #1/2 [AssertionException]
Message = “rule != null”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.Core
StackTraceString = “
 at JetBrains.Util.Assertion.Fail(String message) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\Logging\Assertion.cs:line 95
 at JetBrains.Util.Assertion.Fail(String message) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\Logging\Assertion.cs:line 95
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterInfoProviderBase`2.FindAndProcessWrappingRegions(ITreeNode node, WrapType typeMask, IWrappingStage`1 callback, TContext context) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\FormatterInfoProviderBase.cs:line 237
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.WrappingStage`2.PreProcessNextSolidNode(ITreeNode prevNode, ITreeNode nextNode) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\WrappingStage.cs:line 724
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.SequentialNodeIterator`1.IterateOnce(ITreeNode untilNode, IteratorState untilState) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\SequentialNodeIterator.cs:line 263
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.SequentialNodeIterator`1.Iterate(ITreeNode untilNode, IteratorState untilState) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\SequentialNodeIterator.cs:line 276
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage`2.DoIndent(ITreeNode onlyChange) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\IndentingStage.cs:line 269
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.WrappingStage`2.DoFormat() in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\WrappingStage.cs:line 1012
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.CodeFormatterBase`1.DoDeclarativeFormat[TContext](FmtSettings`1 settings, FormatterInfoProviderBase`2 provider, ICustomFormatterInfoProvider customProvider, FormatTask[] formatTasks, AdditionalFormatterParameters parameters, Func`2 shouldDoIntAlign, Action`3 beforeFormat, Action`3 afterFormat, Boolean doAdditionalFormat) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\CodeFormatterBase.cs:line 407
 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.Formatter.CSharpCodeFormatter.DoFormatWithNewEngine(FmtSettings`1 settings, ICSharpCustomFormattingInfoProvider customProvider, FormatTask[] formatTasks, AdditionalFormatterParameters parameters) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\CSharp\Src\Impl\CodeStyle\Formatter\CSharpCodeFormatter.cs:line 410
 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.Formatter.CSharpCodeFormatter.Format(FormatTask[] formatTasks, AdditionalFormatterParameters parameters) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\CSharp\Src\Impl\CodeStyle\Formatter\CSharpCodeFormatter.cs:line 293
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.FormatInsertedNodesHelperViaTasks(ICodeFormatterImpl codeFormatter, ITreeNode nodeFirst, ITreeNode nodeLast, Boolean formatSurround, Action`2 customFormatLeftOuterSpace, Action`2 customFormatRightOuterSpace) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\FormatterImplHelper.cs:line 2230
 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.Formatter.CSharpCodeFormatter.FormatInsertedNodes(ITreeNode nodeFirst, ITreeNode nodeLast, Boolean formatSurround) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\CSharp\Src\Impl\CodeStyle\Formatter\CSharpCodeFormatter.cs:line 603
 at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.ModificationUtil.AddChildAfter[T](ITreeNode anchor, T child) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\ExtensionsAPI\ModificationUtil.cs:line 68
 at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpSharedImplUtil.AddListItemAfter[TTreeNode](ITreeNode holder, Int16 listRole, Int16 elementRole, TokenNodeType separator, TTreeNode element, ITreeNode anchor) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\CSharp\Src\Impl\CSharpSharedImplUtil.cs:line 107
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.InvocationExpression.AddArgumentAfter(ICSharpArgument argument, ICSharpArgument anchor) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\CSharp\Src\Impl\Tree\InvocationExpression.cs:line 224
 at JetBrains.ReSharper.Daemon.CSharp.Stages.InvocationProblemAnalyzer.RedundantStringFormatAnalyzer.CheckOuterInvocationIsAlsoFormat(IInvocationExpression invocationExpression, ICSharpArgumentsOwner outerInvocation, IHighlightingConsumer consumer) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\src\Daemon\CSharp\Src\Stages\InvocationProblemAnalyzer.cs:line 426
 at JetBrains.ReSharper.Daemon.CSharp.Stages.InvocationProblemAnalyzer.RedundantStringFormatAnalyzer.Run(IInvocationExpression invocationExpression, DeclaredElementInstance`1 instance, IHighlightingConsumer consumer, ElementProblemAnalyzerData data) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\src\Daemon\CSharp\Src\Stages\InvocationProblemAnalyzer.cs:line 397
 at JetBrains.ReSharper.Daemon.CSharp.Stages.InvocationProblemAnalyzer.Run(IInvocationExpression expression, ElementProblemAnalyzerData data, IHighlightingConsumer consumer) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\src\Daemon\CSharp\Src\Stages\InvocationProblemAnalyzer.cs:line 39
 at JetBrains.ReSharper.Daemon.Stages.Dispatcher.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\src\Daemon\Engine\Src\Stages\Dispatcher\ElementProblemAnalyzerRegistrar.cs:line 199


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Analyzer 'JetBrains.ReSharper.Daemon.CSharp.Stages.InvocationProblemAnalyzer' thrown exception: rule != null”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\Logging\ILoggerEx.cs:line 421
 at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\Logging\ILoggerEx.cs:line 421
 at JetBrains.ReSharper.Daemon.Stages.Dispatcher.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\src\Daemon\Engine\Src\Stages\Dispatcher\ElementProblemAnalyzerRegistrar.cs:line 199
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpErrorStageProcess.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\src\Daemon\CSharp\Src\Stages\CSharpErrorStage.cs:line 122
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants(ITreeNode root, IRecursiveElementProcessor processor) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\IRecursiveElementProcessor.cs:line 103
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessThisAndDescendants(ITreeNode root, IRecursiveElementProcessor processor) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\IRecursiveElementProcessor.cs:line 44
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.<>c__DisplayClass5.<Execute>b__1(ICSharpTypeMemberDeclaration declaration) in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\src\Daemon\CSharp\Src\Stages\CSharpDaemonStageBase.cs:line 170
 at JetBrains.ReSharper.Psi.Extensions.<>c__DisplayClass1.<EnqueueJob>b__0() in c:\Build Agent\work\10282fe47e6c6213\Psi.Features\Core\Psi\_Core\Src\CompilationContextCookie.cs:line 328
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 141
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 199
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task) in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetScheduler.cs:line 216
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask() in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetSchedulerThread.cs:line 200
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc() in c:\Build Agent\work\ee51aa07abc92c2a\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetSchedulerThread.cs:line 150
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()



last.action = null

app.eap = true
app.internal = true
app.build = RD-173.3389.532
app.version.major = 2017
app.version.minor = 3
app.build.date = 2017-11-01T09:23:11.921+0000
app.build.date.release = 2017-10-12T00:00:11.921+0000
app.build.date.release = 2017-10-12T00:00:11.921+0000
app.compilation.timestamp = null
app.product.code = RD

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

UIUtil.isRetina = false
UIUtil.isAppleRetina = false
JBUI.isHiDPI() = true
ImageScaleFactor = 2

RSRP-469159: Error "Property 'DataContext' is not attachable to elements of type 'Style'" is produced by VS when d:DataContext attribute put on non-control elements

$
0
0
Reporter Alexander Prokhorov (Athari) Alexander Prokhorov (Athari)
Created Apr 8, 2018 5:10:42 PM
Updated Apr 8, 2018 5:13:40 PM
Subsystem XAML
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Improvement
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

ReSharper supports attaching Blend's d:DataContext attribute to more elements than the attribute was originally designed for, including ControlTemplate and Style which do not support any way of specifying data context (DataTemplate has DataType, d:DataContext isn't required in this case). However, using this feature causes Visual Studio to produce IntelliSense errors on every usage:

Property 'DataContext' is not attachable to elements of type 'ControlTemplate'

According to a post on StackOverflow, ReSharper's developers were searching for solution for over six years. Apparently it wasn't found.

I propose the following solution:

  • Add support for alternative XML namespace of http://schemas.microsoft.com/expression/blend/2008, like urn:jetbrains:resharper:xaml. It could then be used instead of xmlns:d="http://schemas.microsoft.com/expression/blend/2008" or in addition to it. It should not cause any issues with compiling, it can just be added to xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable attribute just like Blend's namespaces.

Adding support for it is currently as simple as interpreting some other namespace as http://schemas.microsoft.com/expression/blend/2008. This trivial change would solve the problem of numerous errors in Visual Studio.

Furthermore, the namespace can be extended further. For example, you can add attributes to ignore warnings within a XAML subtree, specify context on bindings, specify type of data in properties other than DataContext. I suspect some of these features have been requested already.

RSRP-468932: Exceptions aren't visible in the opened Exception browser window.

$
0
0
Reporter Fedor Buyvol-Kot (Fedor.Buyvol-Kot) Fedor Buyvol-Kot (Fedor.Buyvol-Kot)
Created Mar 27, 2018 7:43:00 PM
Updated Apr 8, 2018 7:03:18 PM
Resolved Apr 6, 2018 5:57:40 PM
Subsystem Exception submitter
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Critical
State Fixed
Type Usability Problem
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper 2018.1 EAP 6
VsVersion All Versions
You need to expand it.

RSRP-465762: Javascript multi line import closing brace should not be indented

$
0
0
Reporter Shravan Rajinikanth (hele) Shravan Rajinikanth (hele)
Created Aug 7, 2017 4:47:40 AM
Updated Apr 8, 2018 7:05:50 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2018.1.1
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 RTM


When the "Indent parenthesis" option is set to "Inside parenthesis BSD/K&R style", the closing brace of a multi line import is indented when it should not be. The screencaps should make my point clear.

RSRP-465954: Whitespace formatting for import statement braces

$
0
0
Reporter Anton Lobov (Anton.Lobov) Anton Lobov (Anton.Lobov)
Created Aug 22, 2017 4:42:17 PM
Updated Apr 8, 2018 7:06:04 PM
Resolved Apr 8, 2018 7:06:04 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Major
State Duplicate
Type Improvement
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions


I haven't been able to figure out how to set format to add or retain the spaces within braces for TypeScript / ES6 import/export.

So I want
import { Component, EventEmitter, OnInit, Output, Input } from '@angular/core’;

Instead of

import {Component, EventEmitter, OnInit, Output, Input} from '@angular/core';

RSRP-459286: TypeScript Import formatting

$
0
0
Reporter Marco Bachmann (Marco.Bachmann) Marco Bachmann (Marco.Bachmann)
Created Jun 15, 2016 9:09:33 PM
Updated Apr 8, 2018 7:06:30 PM
Subsystem TypeScript
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Major
State Fixed In Branch
Type Bug
Fix version 2018.1.1
Affected versions 2017.3.3, 2016.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

R# doesn't format the white spaces within an import statement (see image)

RSRP-469135: API for getting StyleCop-rule IDs for formatter inspections via ReShaprer plugin

$
0
0
Reporter Dmitry Matveev (dmitry.matveev@jetbrains.com) Dmitry Matveev (dmitry.matveev@jetbrains.com)
Created Apr 6, 2018 3:41:48 PM
Updated Apr 8, 2018 7:59:12 PM
Subsystem Code Style
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Submitted
Type Feature
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-469134: API for getting MS .NET-coding-convention (aka Roslyn) EditorConfig properties via ReShaprer plugin

$
0
0
Reporter Dmitry Matveev (dmitry.matveev@jetbrains.com) Dmitry Matveev (dmitry.matveev@jetbrains.com)
Created Apr 6, 2018 3:40:03 PM
Updated Apr 8, 2018 7:59:49 PM
Subsystem Code Style
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Submitted
Type Feature
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-466688: Formatting of verbatim interpolated string

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Oct 18, 2017 2:56:00 PM
Updated Apr 8, 2018 10:06:49 PM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2017.2.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
При форматировании C#-кода:
Logger.Warn(ex,
$@"При удалении пакета с идентификатором {id} персистентного кэша возникла ошибка.
{Environment.NewLine} Возможно, в персистентном кэше остаются лишние данные.");
он превращается вот в такой:
Logger.Warn(ex,
$@"При удалении пакета с идентификатором {
id
} персистентного кэша возникла ошибка.
{
Environment.NewLine
} Возможно, в персистентном кэше остаются лишние данные.");

RSRP-469160: Missing space on code complete for argument names

$
0
0
Reporter Martin (IAmMartin) Martin (IAmMartin)
Created Apr 8, 2018 10:47:23 PM
Updated Apr 8, 2018 10:47:23 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
2018.1 EAP 7
public sealed class OptionalParameterSpaceTests
{
public void NameTest()
{
// | Code complete after the "isO"
// this.ThisCanTakeABool(isO);
// Actual this.ThisCanTakeABool(isOptional:);
// Expected this.ThisCanTakeABool(isOptional: );
// | Caret after the space
this.ThisCanTakeABool(isOptional: true);
}

public void ThisCanTakeABool(bool isOptional = false) { }
}

RSRP-469161: Code complete of full enum members is broken

$
0
0
Reporter Martin (IAmMartin) Martin (IAmMartin)
Created Apr 8, 2018 11:47:04 PM
Updated Apr 8, 2018 11:47:04 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
2018.1 EAP 7
This would only make sense if I would complete TestEnum, but it's more then that.

public sealed class EnumReplaceTests
{
public enum TestEnum
{
First,
Second,
}

public void ReplaceTest()
{
// | Code complete after the "Test" and choose "TestEnum.Second" with TAB
// this.Method(TestEnum.First);
// Actual this.Method(TestEnum.Second.First);
// Expected this.Method(TestEnum.Second);

this.Method(TestEnum.First);
}

public void Method(TestEnum value) { }
}

RSRP-80754: OutOfMemoryException

$
0
0
Reporter Ilya Ryzhenkov (orangy) Ilya Ryzhenkov (orangy)
Created Sep 16, 2008 10:30:37 AM
Updated Apr 9, 2018 6:14:42 AM
Resolved Feb 8, 2018 12:58:28 PM
Subsystem Crash
Assignee Sergey Shkredov (serjic.shkredov)
Priority Critical
State Obsolete
Type Exception
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-463451: Invocation of event in partial file not recognised in Visual Basic

$
0
0
Reporter Rachel Davids (RachelD) Rachel Davids (RachelD)
Created Mar 7, 2017 2:11:40 PM
Updated Apr 9, 2018 7:51:57 AM
Subsystem Code Analysis - VB.NET
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.1, 2016.3.1, 2016.3
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
Using 2017.1 EAP3 but problem has been observed in prior versions

To replicate:
New VB Project
New VB Class and additional partial class file

Define event in one file, invoke in the other



If the partial class is in the SAME file, then event is recognised as Invoked.

RSRP-469130: Failed to unmarshal 20 at 612 An item with the same key has already been added.

$
0
0
Reporter Maltseva Ekaterina (Maltseva.Ekaterina) Maltseva Ekaterina (Maltseva.Ekaterina)
Created Apr 6, 2018 2:48:31 PM
Updated Apr 9, 2018 9:58:58 AM
Subsystem Platform - Project Model
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _8ca9bb57 — JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.62948-eap07

JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.82524-eap07
JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.71202-eap07
JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.71156-eap07
JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.64659-eap07
JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.64407-eap07

SubProducts.0 = JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.82524-eap07
SubProducts.1 = JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.71156-eap07
SubProducts.2 = JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.64407-eap07
SubProducts.3 = JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.64659-eap07
SubProducts.4 = JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.71202-eap07

Failed to unmarshal 20 at 622 An item with the same key has already been added.

— EXCEPTION #1/2 [ArgumentException]
Message = “An item with the same key has already been added.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = E_INVALIDARG=COR_E_ARGUMENT=80070057
Source = mscorlib
StackTraceString = “
 at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
 at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
 at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
 at JetBrains.ProjectModel.Model2.Assemblies.Impl.AssemblyCollection.AddAssembly(Assembly assembly)
 at JetBrains.ProjectModel.Persistence.Marshallers.AssemblyMarshaller.UnmarshallImpl(UnsafeReader reader, ProjectModelCaches projectModelCaches)
 at JetBrains.ProjectModel.Persistence.Marshallers.ProjectModelElementMarshallerBase`1.Unmarshall(UnsafeReader reader, ProjectModelCaches projectModelCaches)
 at JetBrains.ProjectModel.Persistence.UnsafeProjectModelElementMarshaller.Unmarshal(UnsafeReader reader)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Failed to unmarshal 20 at 622 An item with the same key has already been added.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.62948-eap07”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.82524-eap07”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.71156-eap07”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.64407-eap07”
Data.SubProducts.#3 = “JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.64659-eap07”
Data.SubProducts.#4 = “JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.71202-eap07”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12-eap7::b6d4fc267b98dd6dc689ea7e69e4dd615e877e0e


Platform\VisualStudio:
    git::refs/heads/wave12-eap7::354ded50254700719df3b367deb0035883f54de7

Data.VsVersion = 15.6.27428.2027
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ProjectModel.Persistence.UnsafeProjectModelElementMarshaller.Unmarshal(UnsafeReader reader)
 at JetBrains.ProjectModel.Persistence.UnsafeProjectModelElementMarshaller.Unmarshal(UnsafeReader reader)
 at JetBrains.Application.PersistentMap.LevelDbMap`2.TryGetValue(TKey key, TValue& value)
 at JetBrains.Application.PersistentMap.OptimizedPersistentSortedMap`2.TryGetValue(TKey key, TValue& value)
 at JetBrains.ProjectModel.Persistence.ProjectModelCaches.<Load>b__20_0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.ProjectModel.Persistence.ProjectModelCaches.Load()
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.VsSolutionManager10.<>c__DisplayClass5_0.<EnqueueLoadFromCache>b__0()
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.<>c__DisplayClass24_0.<ExecuteOneTask>b__1()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.ExecuteOneTask(SolutionLoadTask task)
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.ExecuteTask()
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.DispatchTasks(Boolean background)
 at JetBrains.ProjectModel.SolutionManagerBase.CreateSolutionInstance(SolutionElement solutionElement, SolutionInstance solutionInstance)
 at JetBrains.VsIntegration.ProjectDocuments.VSSolutionManager.<>c__DisplayClass37_0.<OpenVSSolution>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.SequentialLifetimes.<>c__DisplayClass4_0.<Next>b__0(LifetimeDefinition definition, Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILog logger)
 at JetBrains.DataFlow.SequentialLifetimes.DefineNext(Action`2 FNext)
 at JetBrains.DataFlow.SequentialLifetimes.Next(Action`1 FNext)
 at JetBrains.VsIntegration.ProjectDocuments.VSSolutionManager.OpenVSSolution(Boolean openSolution, Boolean sync)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.VsSolutionManager10.<OnAfterBackgroundSolutionLoadComplete>b__15_1()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.VsSolutionManager10.<OnAfterBackgroundSolutionLoadComplete>b__15_0()
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass8_0.<ExecuteOrQueueOrMerge>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F, TaskPriority priority)
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocuments.VsSolutionManager10.OnAfterBackgroundSolutionLoadComplete()
 at Microsoft.VisualStudio.Shell.Interop.IVsSolution.OpenSolutionFile(UInt32 grfOpenOpts, String pszFilename)
 at Microsoft.VisualStudio.PlatformUI.Packages.MRU.ExtensionMethods.TryOpenProject(IVsSolution solution, String projectPath, Guid projectGuid)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager.<OpenLocalCodeContainerAsync>d__9.MoveNext()
 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager.OpenLocalCodeContainerAsync(CodeContainer codeContainer)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager.<OpenAsync>d__6.MoveNext()
 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerAccessManager.OpenAsync(CodeContainer codeContainer)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerListViewModel.<>c__DisplayClass17_0.<<OnOpen>b__0>d.MoveNext()
 at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerListViewModel.<>c__DisplayClass17_0.<OnOpen>b__0()
 at Microsoft.VisualStudio.Threading.JoinableTaskFactory.ExecuteJob[T](Func`1 asyncMethod, JoinableTask job)
 at Microsoft.VisualStudio.Threading.JoinableTaskFactory.RunAsync(Func`1 asyncMethod, Boolean synchronouslyBlocking, JoinableTaskCreationOptions creationOptions, Delegate entrypointOverride)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerListViewModel.OnOpen(CodeContainerViewModelBase codeContainerViewModel)
 at Microsoft.VisualStudio.PlatformUI.CodeContainerViewModelBase.<>c__DisplayClass49_0.<.ctor>b__0(Object o)
 at Microsoft.VisualStudio.PlatformUI.DelegateCommand.Execute(Object parameter)
 at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
 at System.Windows.Controls.Primitives.ButtonBase.OnClick()
 at System.Windows.Controls.Button.OnClick()
 at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
 at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
 at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
 at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
 at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
 at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
 at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
 at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
 at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
 at System.Windows.Input.InputManager.ProcessStagingArea()
 at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
 at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
 at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
 at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-469070: 2018.1 EAP6 object.GetHashCode or ReferenceEquals shown as Errors

$
0
0
Reporter Roman Kern (sfpay2s) Roman Kern (sfpay2s)
Created Apr 4, 2018 2:00:49 PM
Updated Apr 9, 2018 10:00:49 AM
Subsystem Platform - VS Integration
Assignee Sergey Kuks (coox)
Priority Normal
State Waiting for Info
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Sometimes I got some funny error Messages in Resharper, that object do not have GetHashCode or ReferenceEquals. Resolving the Problem required to restart the visual Studio 2017.5.6
Error

Viewing all 106942 articles
Browse latest View live


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