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

RSRP-445286: Feature request - make it possible to define default attribute order for XAML elements

$
0
0
Reporter Martin Suchan (Martin.Suchan) Martin Suchan (Martin.Suchan)
Created Jul 17, 2015 10:31:35 AM
Updated Oct 16, 2018 9:41:08 AM
Subsystem XAML
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
This really bugs me for a long time, when I use various ReSharper refactorings in XAML, it places attributes like x:Name, Grid.Row, Margin, Style, etc on random places and I need to manually reorder them according to our code guidelines.
I would really appreciate if ReSharper allowed us to define default attribute order for XAML elements like this:

{Default} : x:Name, Grid.Row, Grid.Column, Grid.RowSpan, Grid.ColumnSpan, Width, Height, Margin, HorizontalAlignment, VerticalAlignment, {other}

with the possibility to override this default order for custom elements like

{Image} : x:Name, Width, Height, Stretch, Source, {other}

RSRP-384774: Order xaml attributes during format

$
0
0
Reporter Jake Ginnivan (ginnivanj) Jake Ginnivan (ginnivanj)
Created Aug 31, 2013 11:53:24 AM
Updated Oct 16, 2018 9:41:21 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
https://xamlstyler.codeplex.com is a visual studio add-in which formats xaml, the killer feature it has which ReSharper does not have is attribute reordering.

Can you please add the option to reorder xaml attributes based on importance like xaml styler?

RSRP-471857: Sort XAML attributes

$
0
0
Reporter Paul Rogero (Paul.Rogero.1) Paul Rogero (Paul.Rogero.1)
Created Oct 15, 2018 9:30:01 PM
Updated Oct 16, 2018 9:45:36 AM
Subsystem Code Style - Cleanup
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

Would love the ability to sort XAML attributes alphabetically during code formatting. I see related issues that propose even fancier sorting capabilities which would be even better than this, but figure this would be easier to implement.

Example usage:

Before code format:

        <dxg:GridControl SelectionMode="MultipleRow"
                         AutoExpandAllGroups="True"
                         ItemsSource="{Binding OrderGridRows}">

After code format:

        <dxg:GridControl AutoExpandAllGroups="True"
                         ItemsSource="{Binding OrderGridRows}"
                         SelectionMode="MultipleRow">

Related issues:
RSRP-445286
RSRP-384774

Thanks,
Paul

RSRP-471858: One or more errors occurred., reason: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: I...

$
0
0
Reporter Soheil Alizadeh (dev.soheilalizadeh) Soheil Alizadeh (dev.soheilalizadeh)
Created Oct 15, 2018 11:38:54 AM
Updated Oct 16, 2018 9:53:30 AM
Subsystem Code Analysis - C#
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains Rider 2018.3 Build RD-183.3226.206 Date 2018-10-06T09:07:15.543+0000

One or more errors occurred., reason: System.AggregateException: One or more errors occurred. —> System.AggregateException: One or more errors occurred. —> System.ArgumentOutOfRangeException: Index and count must refer to a location within the string. Parameter name: sourceIndex at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.MoreChars() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.PeekChar() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifier_SlowPath(TokenInfo& info) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifierOrKeyword(TokenInfo& info) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanSyntaxToken(TokenInfo& info) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.LexSyntaxToken() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.Lex(LexerMode mode) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser.PreLex() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser..ctor(Lexer lexer, LexerMode mode, CSharpSyntaxNode oldTree, IEnumerable1 changes, Boolean allowModeReset, Boolean preLexIfNotIncremental, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.LanguageParser..ctor(Lexer lexer, CSharpSyntaxNode oldTree, IEnumerable1 changes, LexerMode lexerMode, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChanges(SourceText newText, IReadOnlyList1 changes) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChangedText(SourceText newText) at Microsoft.CodeAnalysis.DocumentState.IncrementallyParse(TextAndVersion newTextAndVersion, TreeAndVersion oldTreeAndVersion, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.DocumentState.<IncrementallyParseTreeAsync>d__14.MoveNext() --- End of inner exception stack trace --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentState.<GetSyntaxTreeAsync>d__39.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.SolutionState.<UpdateDocumentInCompilationAsync>d__97.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildDeclarationCompilationFromInProgressAsync>d__28.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildFinalStateFromInProgressStateAsync>d__27.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetOrBuildCompilationInfoAsync>d__22.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetCompilationSlowAsync>d__19.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at JetBrains.ReSharper.Roslyn.Worker.RoslynWorkerController.<GetHighlightersAsync>d__4.MoveNext() in C:\Build Agent\work\77fc1ba851adb19c\ReSharperAutomationTools\src\ReSharperHost\Roslyn.Worker\src\RoslynWorkerController.cs:line 163 — End of inner exception stack trace — —> (Inner Exception #0) System.AggregateException: One or more errors occurred. —> System.ArgumentOutOfRangeException: Index and count must refer to a location within the string. Parameter name: sourceIndex at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.MoreChars() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.PeekChar() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifier_SlowPath(TokenInfo& info) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifierOrKeyword(TokenInfo& info) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanSyntaxToken(TokenInfo& info) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.LexSyntaxToken() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.Lex(LexerMode mode) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser.PreLex() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser..ctor(Lexer lexer, LexerMode mode, CSharpSyntaxNode oldTree, IEnumerable1 changes, Boolean allowModeReset, Boolean preLexIfNotIncremental, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.LanguageParser..ctor(Lexer lexer, CSharpSyntaxNode oldTree, IEnumerable1 changes, LexerMode lexerMode, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChanges(SourceText newText, IReadOnlyList1 changes) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChangedText(SourceText newText) at Microsoft.CodeAnalysis.DocumentState.IncrementallyParse(TextAndVersion newTextAndVersion, TreeAndVersion oldTreeAndVersion, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.DocumentState.<IncrementallyParseTreeAsync>d__14.MoveNext() --- End of inner exception stack trace --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.DocumentState.<GetSyntaxTreeAsync>d__39.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult() at Microsoft.CodeAnalysis.SolutionState.<UpdateDocumentInCompilationAsync>d__97.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildDeclarationCompilationFromInProgressAsync>d__28.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildFinalStateFromInProgressStateAsync>d__27.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetOrBuildCompilationInfoAsync>d__22.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetCompilationSlowAsync>d__19.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at JetBrains.ReSharper.Roslyn.Worker.RoslynWorkerController.<GetHighlightersAsync>d__4.MoveNext() in C:\Build Agent\work\77fc1ba851adb19c\ReSharperAutomationTools\src\ReSharperHost\Roslyn.Worker\src\RoslynWorkerController.cs:line 163 —> (Inner Exception #0) System.ArgumentOutOfRangeException: Index and count must refer to a location within the string. Parameter name: sourceIndex at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.MoreChars() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.PeekChar() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifier_SlowPath(TokenInfo& info) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifierOrKeyword(TokenInfo& info) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanSyntaxToken(TokenInfo& info) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.LexSyntaxToken() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.Lex(LexerMode mode) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser.PreLex() at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser..ctor(Lexer lexer, LexerMode mode, CSharpSyntaxNode oldTree, IEnumerable1 changes, Boolean allowModeReset, Boolean preLexIfNotIncremental, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.LanguageParser..ctor(Lexer lexer, CSharpSyntaxNode oldTree, IEnumerable1 changes, LexerMode lexerMode, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChanges(SourceText newText, IReadOnlyList1 changes) at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChangedText(SourceText newText) at Microsoft.CodeAnalysis.DocumentState.IncrementallyParse(TextAndVersion newTextAndVersion, TreeAndVersion oldTreeAndVersion, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.DocumentState.<IncrementallyParseTreeAsync>d__14.MoveNext()<--- <---

--- EXCEPTION #1/2 [RdFault]
Message = “
One or more errors occurred., reason: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: sourceIndex
at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count)
at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.MoreChars()
at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.PeekChar()
at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifier_SlowPath(TokenInfo& info)
at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifierOrKeyword(TokenInfo& info)
at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanSyntaxToken(TokenInfo& info)
at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.LexSyntaxToken()
at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.Lex(LexerMode mode)
at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser.PreLex()
at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser..ctor(Lexer lexer, LexerMode mode, CSharpSyntaxNode oldTree, IEnumerable
1 changes, Boolean allowModeReset, Boolean preLexIfNotIncremental, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.LanguageParser..ctor(Lexer lexer, CSharpSyntaxNode oldTree, IEnumerable`1 changes, LexerMode lexerMode, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.LanguageParser..ctor(Lexer lexer, CSharpSyntaxNode oldTree, IEnumerable`1 changes, LexerMode lexerMode, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChanges(SourceText newText, IReadOnlyList`1 changes)
 at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChangedText(SourceText newText)
 at Microsoft.CodeAnalysis.DocumentState.IncrementallyParse(TextAndVersion newTextAndVersion, TreeAndVersion oldTreeAndVersion, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.DocumentState.<IncrementallyParseTreeAsync>d__14.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.DocumentState.<GetSyntaxTreeAsync>d__39.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()
 at Microsoft.CodeAnalysis.SolutionState.<UpdateDocumentInCompilationAsync>d__97.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildDeclarationCompilationFromInProgressAsync>d__28.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildFinalStateFromInProgressStateAsync>d__27.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetOrBuildCompilationInfoAsync>d__22.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetCompilationSlowAsync>d__19.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at JetBrains.ReSharper.Roslyn.Worker.RoslynWorkerController.<GetHighlightersAsync>d__4.MoveNext() in C:\Build Agent\work\77fc1ba851adb19c\ReSharperAutomationTools\src\ReSharperHost\Roslyn.Worker\src\RoslynWorkerController.cs:line 163
--- End ---
--- > ---
> System.ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: sourceIndex
 at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count)
 at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.MoreChars()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.PeekChar()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifier_SlowPath(TokenInfo& info)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifierOrKeyword(TokenInfo& info)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanSyntaxToken(TokenInfo& info)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.LexSyntaxToken()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.Lex(LexerMode mode)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser.PreLex()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser..ctor(Lexer lexer, LexerMode mode, CSharpSyntaxNode oldTree, IEnumerable`1 changes, Boolean allowModeReset, Boolean preLexIfNotIncremental, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.LanguageParser..ctor(Lexer lexer, CSharpSyntaxNode oldTree, IEnumerable`1 changes, LexerMode lexerMode, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChanges(SourceText newText, IReadOnlyList`1 changes)
 at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChangedText(SourceText newText)
 at Microsoft.CodeAnalysis.DocumentState.IncrementallyParse(TextAndVersion newTextAndVersion, TreeAndVersion oldTreeAndVersion, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.DocumentState.<IncrementallyParseTreeAsync>d__14.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.DocumentState.<GetSyntaxTreeAsync>d__39.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()
 at Microsoft.CodeAnalysis.SolutionState.<UpdateDocumentInCompilationAsync>d__97.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildDeclarationCompilationFromInProgressAsync>d__28.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildFinalStateFromInProgressStateAsync>d__27.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetOrBuildCompilationInfoAsync>d__22.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetCompilationSlowAsync>d__19.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at JetBrains.ReSharper.Roslyn.Worker.RoslynWorkerController.<GetHighlightersAsync>d__4.MoveNext() in C:\Build Agent\work\77fc1ba851adb19c\ReSharperAutomationTools\src\ReSharperHost\Roslyn.Worker\src\RoslynWorkerController.cs:line 163
--- > ---
<—

ExceptionPath = Root.InnerException
ClassName = JetBrains.Platform.RdFramework.Tasks.RdFault
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.RdFramework
StackTraceString = “
 at JetBrains.Platform.RdFramework.Tasks.RdTaskResult`1.Unwrap() in C:\Build Agent\work\5baaf81f3cd96b24\Platform\RdProtocol\RdFramework\src\Tasks\RdTask.cs:line 171
 at JetBrains.Platform.RdFramework.Tasks.RdTaskResult`1.Unwrap() in C:\Build Agent\work\5baaf81f3cd96b24\Platform\RdProtocol\RdFramework\src\Tasks\RdTask.cs:line 171
 at JetBrains.ReSharper.Roslyn.Host.RoslynWorkerHost.GetResults(IProjectFile projectFile) in C:\Build Agent\work\77fc1ba851adb19c\ReSharperAutomationTools\src\ReSharperHost\Roslyn.Host\src\RoslynWorkerHost.cs:line 405
 at JetBrains.ReSharper.Roslyn.Host.Daemon.RoslynDaemonProcess.Execute(Action`1 committer) in C:\Build Agent\work\77fc1ba851adb19c\ReSharperAutomationTools\src\ReSharperHost\Roslyn.Host\src\Daemon\RoslynDaemonStage.cs:line 49
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Services\_Core\Src\Daemon\Impl\DaemonProcessBase.cs:line 537


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
One or more errors occurred., reason: System.AggregateException: One or more errors occurred. —> System.AggregateException: One or more errors occurred. —> System.ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: sourceIndex
 at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count)
 at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.MoreChars()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.PeekChar()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifier_SlowPath(TokenInfo& info)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifierOrKeyword(TokenInfo& info)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanSyntaxToken(TokenInfo& info)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.LexSyntaxToken()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.Lex(LexerMode mode)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser.PreLex()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser..ctor(Lexer lexer, LexerMode mode, CSharpSyntaxNode oldTree, IEnumerable`1 changes, Boolean allowModeReset, Boolean preLexIfNotIncremental, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.LanguageParser..ctor(Lexer lexer, CSharpSyntaxNode oldTree, IEnumerable`1 changes, LexerMode lexerMode, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChanges(SourceText newText, IReadOnlyList`1 changes)
 at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChangedText(SourceText newText)
 at Microsoft.CodeAnalysis.DocumentState.IncrementallyParse(TextAndVersion newTextAndVersion, TreeAndVersion oldTreeAndVersion, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.DocumentState.<IncrementallyParseTreeAsync>d__14.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.DocumentState.<GetSyntaxTreeAsync>d__39.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()
 at Microsoft.CodeAnalysis.SolutionState.<UpdateDocumentInCompilationAsync>d__97.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildDeclarationCompilationFromInProgressAsync>d__28.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildFinalStateFromInProgressStateAsync>d__27.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetOrBuildCompilationInfoAsync>d__22.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetCompilationSlowAsync>d__19.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at JetBrains.ReSharper.Roslyn.Worker.RoslynWorkerController.<GetHighlightersAsync>d__4.MoveNext() in C:\Build Agent\work\77fc1ba851adb19c\ReSharperAutomationTools\src\ReSharperHost\Roslyn.Worker\src\RoslynWorkerController.cs:line 163
--- End ---
--- > ---
> System.ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Parameter name: sourceIndex
 at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count)
 at System.String.CopyTo(Int32 sourceIndex, Char[] destination, Int32 destinationIndex, Int32 count)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.MoreChars()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SlidingTextWindow.PeekChar()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifier_SlowPath(TokenInfo& info)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanIdentifierOrKeyword(TokenInfo& info)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.ScanSyntaxToken(TokenInfo& info)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.LexSyntaxToken()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.Lexer.Lex(LexerMode mode)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser.PreLex()
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.SyntaxParser..ctor(Lexer lexer, LexerMode mode, CSharpSyntaxNode oldTree, IEnumerable`1 changes, Boolean allowModeReset, Boolean preLexIfNotIncremental, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.CSharp.Syntax.InternalSyntax.LanguageParser..ctor(Lexer lexer, CSharpSyntaxNode oldTree, IEnumerable`1 changes, LexerMode lexerMode, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChanges(SourceText newText, IReadOnlyList`1 changes)
 at Microsoft.CodeAnalysis.CSharp.CSharpSyntaxTree.WithChangedText(SourceText newText)
 at Microsoft.CodeAnalysis.DocumentState.IncrementallyParse(TextAndVersion newTextAndVersion, TreeAndVersion oldTreeAndVersion, CancellationToken cancellationToken)
 at Microsoft.CodeAnalysis.DocumentState.<IncrementallyParseTreeAsync>d__14.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.DocumentState.<GetSyntaxTreeAsync>d__39.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()
 at Microsoft.CodeAnalysis.SolutionState.<UpdateDocumentInCompilationAsync>d__97.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildDeclarationCompilationFromInProgressAsync>d__28.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<BuildFinalStateFromInProgressStateAsync>d__27.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetOrBuildCompilationInfoAsync>d__22.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.CodeAnalysis.SolutionState.CompilationTracker.<GetCompilationSlowAsync>d__19.MoveNext()
--- End ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at JetBrains.ReSharper.Roslyn.Worker.RoslynWorkerController.<GetHighlightersAsync>d__4.MoveNext() in C:\Build Agent\work\77fc1ba851adb19c\ReSharperAutomationTools\src\ReSharperHost\Roslyn.Worker\src\RoslynWorkerController.cs:line 163
--- > ---
<—

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.LogException(Exception ex) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 983
 at JetBrains.Util.Logging.Logger.LogException(Exception ex) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 983
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Services\_Core\Src\Daemon\Impl\DaemonProcessBase.cs:line 537
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass47_1.<DoHighlighting>g__Stage|2(IDaemonStage stage) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Services_Core\Src\Daemon\Impl\DaemonProcessBase.cs:line 259
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_1.<EnqueueDependentJobs>b__2() in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskBarrier.cs:line 151
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_1.<EnqueueDependentJobs>b__2() in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskBarrier.cs:line 151
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 158
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 216
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetScheduler.cs:line 218
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask() in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetSchedulerThread.cs:line 203
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc() in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetSchedulerThread.cs:line 153
 at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Reflection\CallStackAnnotation.cs:line 122
 at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Reflection\CallStackAnnotation.cs:line 138
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()



last.action = null

app.eap = true
app.internal = false
app.build = RD-183.3226.206
app.version.major = 2018
app.version.minor = 3
app.build.date = 2018-10-06T09:07:15.543+0000
app.build.date.release = 2018-08-24T00:00:15.543+0000
app.build.date.release = 2018-08-24T00:00:15.543+0000
app.compilation.timestamp = null
app.product.code = RD

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

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

RSRP-80754: OutOfMemoryException

$
0
0
Reporter Ilya Ryzhenkov (orangy) Ilya Ryzhenkov (orangy)
Created Sep 16, 2008 10:30:37 AM
Updated Oct 16, 2018 9:55:17 AM
Subsystem Crash
Assignee Sergey Shkredov (serjic.shkredov)
Priority Critical
State Reopened
Type Exception
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-467608: Ambiguous invocation: DevExtreme.AspNet.Mvc.Builders.DataGridColumnBuilder.Add

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Dec 15, 2017 2:16:57 PM
Updated Oct 16, 2018 10:10:33 AM
Subsystem ASP.NET
Assignee Andrey Simukov (Andrey.Simukov)
Priority Normal
State To Reproduce
Type Bug
Fix version 2018.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I am getting an error in VS 2017 IDE with the following message:
"Ambiguous invocation: DevExtreme.AspNet.Mvc.Builders.DataGridColumnBuilder.Add".

This is when adding in columns to the DevExtreme DataGrid, but only where it includes a CUSTOM CELL TEMPLATE.

The project builds and publishes fine with no error.

RSRP-471678: .NET Core / ASP.NET Core can't resolve types in referenced .NET Framework assembly

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Sep 28, 2018 4:25:27 PM
Updated Oct 16, 2018 10:46:19 AM
Subsystem Platform - Project Model
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have an ASP.NET Core project that is referencing .NET Framework project from the same solution. All types from this referenced project is shown red with error "Cannot resolve symbol "<typename>". The solution can be compiled without errors. If I disable ReSharper in VS Options then red types are shown again normaly. After ReSharper is reenabled, types are red again.


Analyze Project Reference Problems says
WebApplication1 -> ReSharperBug: no matching pair [.NETCoreApp,Version=v2.1] -> [.NETFramework,Version=v4.7.2]
ConsoleApp1 -> ReSharperBug: no matching pair [.NETCoreApp,Version=v2.1] -> [.NETFramework,Version=v4.7.2]

RSRP-380663: Wrong context menu entry

$
0
0
Reporter vilinski (python) vilinski (python)
Created Jul 25, 2013 6:19:40 PM
Updated Oct 16, 2018 10:58:14 AM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Usability Problem
Fix version Backlog
Affected versions 8.0, 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
See the screenshot. If you try to generate method for the Select() attribute R# shows it's full type names instead of usually two method signatures - with counter and without. However it works anyway.

RSRP-428175: Generated parameter names for a method after applying Create from Usage

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Nov 25, 2014 5:57:12 PM
Updated Oct 16, 2018 11:08:40 AM
Resolved Oct 16, 2018 11:08:39 AM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Obsolete
Type Feature
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
if there is a field in the same class, the name of a parameter may be:
  • the same as type name, but with first letter in lowercase (e.g. dateTime);

  • the same as the field has but with some digit at the end

RSRP-471860: TextView has disconnected from TextControl on TextViewDataChanged.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Oct 9, 2018 6:07:02 PM
Updated Oct 16, 2018 11:48:33 AM
Subsystem No Subsystem
Assignee Denis Korneev (Denis.Korneev)
Priority Critical
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _c04239a4 — JetBrains ReSharper Ultimate 2018.3 EAP 1 Build 183.0.20181005.161021-eap01

JetBrains dotCover 2018.3 EAP 1 Build 2018.3.20181005.162547-eap01
JetBrains dotMemory 2018.3 EAP 1 Build 2018.3.20181005.162416-eap01
JetBrains dotTrace 2018.3 EAP 1 Build 2018.3.20181005.162553-eap01
JetBrains ReSharper 2018.3 EAP 1 Build 2018.3.20181005.162249-eap01

TextView has disconnected from TextControl on TextViewDataChanged.

— EXCEPTION #1/1 [LoggerException]
Message = “TextView has disconnected from TextControl on TextViewDataChanged.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 Build 183.0.20181005.161021-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 1 Build 2018.3.20181005.162547-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 1 Build 2018.3.20181005.162553-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper 2018.3 EAP 1 Build 2018.3.20181005.162249-eap01”
Data.SubProducts.#3 = “JetBrains dotMemory 2018.3 EAP 1 Build 2018.3.20181005.162416-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183-eap1::0eb0065d062c9bfc4eb1590bcaf200021b887a20


Platform\VisualStudio:
    git::refs/heads/183-eap1::e3ef340faae02e8bc8af03a0370466b734b63622

Data.VsVersion = 15.8.28010.2041
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.VsTextViewDataForTextControlCollectorDevTen.<>c__DisplayClass0_1.<.ctor>b__6(EventArgs`1 args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.<>c__DisplayClass0_0.<FireTextViewDataChanged>b__0()
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.FireTextViewDataChangedImpl(ITrackVsTextViewDataForTextControlChanges trackVsTextViewDataForTextControlChanges, Lifetime lifetime, IShellLocks locks, Action action)
 at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.AttachTextControlsToTextViews.TrackVsTextViewDataForTextControlChangesEx.FireTextViewDataChanged(ITrackVsTextViewDataForTextControlChanges trackVsTextViewDataForTextControlChanges, Lifetime lifetime, IShellLocks locks, Func`1 isEventStillActual, IWpfTextView wpfTextView)
 at JetBrains.Platform.VisualStudio.SinceVs10.IDE.VsDocumentManagerWhidbey_TrackVsTextViewDataForTextControlChanges.<>c__DisplayClass0_0.<.ctor>b__2()
 at JetBrains.UI.Application.LocalReentrancyGuard.TryExecute(Action action)
 at JetBrains.Platform.VisualStudio.SinceVs10.IDE.VsDocumentManagerWhidbey_TrackVsTextViewDataForTextControlChanges.<>c__DisplayClass0_1.<.ctor>b__0(EventArgs`1 args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.OnRegisterTextBuffer(VsTextBufferData textBufferData, Boolean forceReregisterEventProjectFileIsTheSame)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.<>c__DisplayClass26_0.<OnRdtAfterFirstDocumentLock>b__0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.<>c__DisplayClass23_0.<ExecuteOrQueueOrMergeUnguardedCallbackWithLog>b__0()
 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass8_1.<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.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.ExecuteOrQueueOrMergeUnguardedCallbackWithLog(String eventName, VSCOOKIE docCookie, Action action)
 at JetBrains.VsIntegration.ProjectDocuments.VsDocumentManagerWhidbey.OnRdtAfterFirstDocumentLock(EventArgs`1 args)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.<>c__DisplayClass4_0.<OnAfterFirstDocumentLock>b__0()
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.<>c__DisplayClass3_0.<FireSignalWithLog>b__0()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.FireSignalWithLog(Action fireAction, String format, Object[] args)
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.OnAfterFirstDocumentLock(UInt32 docCookie, UInt32 dwRdtLockType, UInt32 dwReadLocksRemaining, UInt32 dwEditLocksRemaining)
 at JetBrains.VsIntegration.Interop.Events.DocumentModel.VsRunningDocumentTableEvents.Sink.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnAfterFirstDocumentLock(UInt32 docCookie, UInt32 dwRdtLockType, UInt32 dwReadLocksRemaining, UInt32 dwEditLocksRemaining)
 at Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2.FindOrRegisterAndLockDocument(UInt32 grfRDTLockType, String pszMkDocument, IVsHierarchy pHierPreferred, UInt32 itemidPreferred, IntPtr punkDocData, IVsHierarchy& ppHierActual, UInt32& pitemidActual, IntPtr& ppunkDocDataActual, UInt32& pdwCookie)
 at Microsoft.VisualStudio.Platform.WindowManagement.Rdt.FindOrRegisterAndLockDocument(RdtFlags flags, String moniker, IVsHierarchy hier, UInt32 itemID, IntPtr punkDocData, RdtLock& rdtLock)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.RegisterAndLockDocData(String lpstrMkDoc, RdtFlags rdtLockType, Object docData)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.set_DocumentSite(DocumentObjectSite value)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(FrameMoniker frameMoniker, Boolean isDocument, String lpstrMkDoc, UInt32 eCreateWindowFlags, Object punkView, Object punkData, IServiceProvider pServiceProvider, IVsUIHierarchy pUIHierarchy, UInt32 vsid, Guid rguidCmdUI, ViewGroup parent, IVsWindowFrame& ppWindowFrame)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(String pszName, Int32 fDockViewOn, Int32 fDocument, String lpstrMkDoc, UInt32 eCreateWindowFlags, UInt32 dwToolWinId, Object punkView, Object punkData, IServiceProvider pServiceProvider, IVsUIHierarchy pUIHierarchy, UInt32 vsid, Int32& pfDefaultPosition, Guid& rguidCmdUI, IVsWindowFrame& ppWindowFrame)
 at Microsoft.VisualStudio.Shell.Interop.IVsProject2.ReopenItem(UInt32 itemid, Guid& rguidEditorType, String pszPhysicalView, Guid& rguidLogicalView, IntPtr punkDocDataExisting, IVsWindowFrame& ppWindowFrame)
 at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(WindowManagerService windowManager, StubWindowInfo stubInfo, ReopenDocumentOptions options, DocumentGroup docGroup, Int32& hr)
 at Microsoft.VisualStudio.Platform.WindowManagement.SolutionOptions.ReopenDocumentFrame(IWindowManagerPrivate windowManager, StubWindowInfo stubInfo, ReopenDocumentOptions options, DocumentGroup docGroup, Int32& hr)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.EnsureStubFrameInitialized(Boolean show, StubWindowInitializationReason reason)
 at Microsoft.VisualStudio.Platform.WindowManagement.StubWindowInfo.Microsoft.Internal.VisualStudio.Shell.Interop.IVsStubWindowPrivate.EnsureLoaded()
 at Microsoft.Internal.VisualStudio.Shell.Interop.IVsRunningDocumentTablePrivate.NotifyOnBeforeShow(UInt32 docCookie, Int32 fFirstShow, IVsWindowFrame pFrame)
 at Microsoft.VisualStudio.Platform.WindowManagement.Rdt.NotifyOnBeforeShow(UInt32 cookie, Boolean firstShow, IVsWindowFrame frame)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.NotifyFrameShowing(UInt32 cookie, Boolean firstShow)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.EnsureContentConstructed()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
 at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
 at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.ActivateViewFromTabControl(TabControl tabControl, ActivationType type)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnTabControlSelectionChanged(Object sender, SelectionChangedEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.<>c.<.cctor>b__23_27(Object sender, SelectionChangedEventArgs args)
 at System.Windows.Controls.SelectionChangedEventArgs.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.RaiseEvent(RoutedEventArgs e)
 at System.Windows.Controls.TabControl.OnSelectionChanged(SelectionChangedEventArgs e)
 at Microsoft.VisualStudio.PlatformUI.LayoutSynchronizedTabControl.OnSelectionChanged(SelectionChangedEventArgs e)
 at System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedInfos, List`1 selectedInfos)
 at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
 at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection)
 at System.Windows.Controls.Primitives.Selector.OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
 at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
 at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
 at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange)
 at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
 at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
 at MS.Internal.Data.PropertyPathWorker.OnDependencyPropertyChanged(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)
 at MS.Internal.Data.ClrBindingWorker.OnSourceInvalidation(DependencyObject d, DependencyProperty dp, Boolean isASubPropertyChange)
 at System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
 at System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
 at System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
 at System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
 at Microsoft.VisualStudio.PlatformUI.Shell.NestedGroup.UpdateSelectionCore(Int32 oldIndex)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewGroup.UpdateSelection(Int32 previousSelectionIndex)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewGroup.OnChildVisibilityChanged(ViewElement item)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewElement.OnIsVisibleChanged()
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewElement.OnIsVisibleChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
 at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
 at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
 at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
 at Microsoft.VisualStudio.PlatformUI.Shell.View.Hide()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Hide>b__480_0()
 at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method, Boolean reportError, Boolean setShellErrorInfo)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Hide()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.DisposeManagedResources()
 at Microsoft.VisualStudio.PlatformUI.DisposableObject.Dispose(Boolean disposing)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<>c__DisplayClass452_0.<CloseFrame>b__0()
 at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method, Boolean reportError, Boolean setShellErrorInfo)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.CloseFrame(__FRAMECLOSE frameClose)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.frameView_Hiding(Object sender, CancelEventArgs e)
 at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent(CancelEventHandler eventHandler, Object source, CancelEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.View.RaiseHiding()
 at Microsoft.VisualStudio.PlatformUI.Shell.View.Hide()
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnHideViewCore(ViewElement closingViewElement, Boolean hideOnlyActiveView)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnHideView(Object sender, ExecutedRoutedEventArgs args)
 at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.<>c.<.cctor>b__23_9(Object sender, ExecutedRoutedEventArgs args)
 at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
 at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
 at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
 at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
 at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
 at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
 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.RaiseEvent(RoutedEventArgs args, Boolean trusted)
 at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
 at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentTabItemStyle.OnMouseDown(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-456820: Add Task as result to generated Method on Interface declaration if it is awaited in a property initializer

$
0
0
Reporter Albert Weinert (der-albert.com) Albert Weinert (der-albert.com)
Created Mar 31, 2016 4:46:04 PM
Updated Oct 16, 2018 12:01:51 PM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
        public async Task<IHttpActionResult> ConvertEntriesAsync()
{
return this.Ok(new
{
Count = await this.service.ConvertEntriesAsync()
});
}

this.service is an interface. if i generate the method method, it generates it as void ConvertEntriesAsync()
i except

Task<[PlaceHolder]> ConvertEntriesAsync()

RSRP-471861: ReSharper reports typo in literal string with interpolation

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Oct 16, 2018 12:01:49 PM
Updated Oct 16, 2018 12:02:01 PM
Subsystem ReSpeller
Assignee Artem Bukhonov (Artem.Bukhonov)
Priority Normal
State Submitted
Type Improvement
Fix version No Fix versions
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

I have ignore typos in literal strings turned on and it works, but not in conjunction with string interpolation.

For example,

"asdf" correctly reports spelling issue
@"asdf" correctly reports no spelling issue
$"asdf {variable}" correctly reports spelling issue
however,
$@"asdf {variable}" incorrectly reports spelling issue.

RSRP-447644: Quick fixes don't copy XML docs for members

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Aug 27, 2015 4:24:36 PM
Updated Oct 16, 2018 12:03:32 PM
Subsystem Quick Fixes
Assignee Andrew Karpov (andrew.karpov)
Priority Major
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
When using the quick fix "Initialize field from constructor parameter" at a time where no constructor exist it creates a new constructor but no XML docs are copied from the base class despite that the option for copying xml docs is enabled.

RSRP-471625: Failed to install NuGet package Sequence contains no elements

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Sep 12, 2018 5:16:38 PM
Updated Oct 16, 2018 12:04:06 PM
Subsystem Platform - VS Integration
Assignee Alexander Ulitin (alexander.ulitin)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2018.3
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _138bc0bdReSharper_Uber — JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180912.74724-eap01d

JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180912.74724-eap01d

Failed to install NuGet package Sequence contains no elements

— EXCEPTION #1/2 [InvalidOperationException]
Message = “Sequence contains no elements”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
 at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>g__FindExtProject|26(FileSystemPath projectFilePath)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>b__24(Lifetime lifetime, ValueTuple`5 tuple)
 at JetBrains.Platform.VisualStudio.SinceVs10.ProjectDocumentsNuget.Thin.NugetServicesWrapper.<>c__DisplayClass8_0.<PublishServices>b__24(Lifetime lifetime, ValueTuple`5 tuple)
 at JetBrains.Platform.RdFramework.Tasks.InprocRpc`2.Start(TReq request, IScheduler responseScheduler)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.BeginInstallAssemblyAsNuGetPackage(IList`1 assemblyLocations, ProjectFileDescriptor projectDescriptor, FileSystemPath& installedLocation)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.BeginInstallAssemblyAsNuGetPackage(IList`1 assemblyLocations, IProject project, FileSystemPath& installedLocation)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Failed to install NuGet package Sequence contains no elements”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = vb
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 1 D Build 183.0.20180912.74724-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.3 EAP 1 D Build 2018.3.20180912.74724-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/183::e94232bd8cec4ec1413dcbcd6d497d049b747558

Data.VsVersion = 15.8.28010.2026
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(String comment, Exception ex)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.BeginInstallAssemblyAsNuGetPackage(IList`1 assemblyLocations, IProject project, FileSystemPath& installedLocation)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.Common.NuGetApi.InstallNuGetPackageFromAssemblyFiles(IList`1 assemblyLocations, IProject project, FileSystemPath& installedLocation)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.AddReference.NuGetModuleReferencer.ReferenceModule(IPsiModule module, IPsiModule moduleToReference)
 at JetBrains.PsiFeatures.VisualStudio.SinceVs10.NuGet.AddReference.NuGetModuleReferencer.ReferenceModuleWithType(IPsiModule module, ITypeElement typeToReference)
 at JetBrains.ReSharper.Psi.Modules.ModuleReferencerService.ReferenceModuleWithType(IPsiModule module, ITypeElement typeToReference)
 at JetBrains.ReSharper.Intentions.QuickFixes.ReferenceModuleAndTypeFixItem.ExecuteBeforePsiTransaction(ISolution solution, IProjectModelTransactionCookie cookie, IProgressIndicator progress)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.<>c__DisplayClass0_3.<Execute>b__0(IProgressIndicator progress)
 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.<>c__DisplayClass11_0.<RunStartTask>b__0()
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
 at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
 at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
 at System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(Form form)
 at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
 at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
 at System.Windows.Forms.Application.RunDialog(Form form)
 at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
 at System.Windows.Forms.Form.ShowDialog()
 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.UITaskExecutorRuns.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.Execute(ISolution solution, ITextControl textControl)
 at JetBrains.ReSharper.Feature.Services.Intentions.IntentionAction.MyExecutableProxi.Execute()
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.<>c__DisplayClass29_0.<InitMenuGeneral>b__0(Object objKey)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenu.<>c__DisplayClass49_0.<InitViewModel>b__3(JetPopupMenuItem item)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.Application.UI.Controls.JetPopupMenu.Detail.JetPopupMenuDoc.ExecuteSelectedItem()
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args)
 at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
 at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
 at System.Windows.Forms.Control.WmKeyChar(Message& m)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 at System.Windows.Forms.Form.WndProc(Message& m)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
 at System.Windows.Forms.NativeWindow.WndProc(Message& m)
 at JetBrains.UI.Utils.DpiUtil.TopLevelWindowDpiTracker.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
 at JetBrains.Threading.JetDispatcher.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.JetPopupMenuOverlordView.Show(Boolean isModal)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowCore(JetPopupMenu menu, ShowWhen when, Boolean isModal, LifetimeDefinition lifetimeDefinitionOptional, IJetPopupMenuOverlordView parentView)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowModal(JetPopupMenu menu, ShowWhen when, LifetimeDefinition lifetimeDefinitionOptional)
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.ShowBulbMenuAdvanced(IEnumerable`1 menuItems, PopupWindowContextSource contextSource, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition viewLifetimeDefinition, IAutomation captionAutomation, Action`1 beforeShow)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.ExecuteIndicator(IDataContext context, BulbItemsReadyState readyState)
 at JetBrains.ReSharper.Intentions.Bulbs.IndicatorControllerBase.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterHandlers.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterActionHandler.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0()
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass17_0.<CommandTargetExec>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.CommandTargetExec(CommandID commandid, OLECMDEXECOPT cmdExecOpt)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<.ctor>b__12_2(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out)
 at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut)

RSRP-471859: Cannot create ITypeUsageNode element '0' with type:anonymous type

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Oct 16, 2018 10:42:04 AM
Updated Oct 16, 2018 12:05:11 PM
Subsystem Quick Fixes - Create From Usage
Assignee Andrew Karpov (andrew.karpov)
Priority Major
State Submitted
Type Exception
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 183 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181015.230227-eap03d

JetBrains dotCover 2018.3 EAP 3 D Build 2018.3.20181015.231726-eap03d
JetBrains dotMemory 2018.3 EAP 3 D Build 2018.3.20181016.40401-eap03d
JetBrains dotTrace 2018.3 EAP 3 D Build 2018.3.20181015.231713-eap03d
JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181015.231946-eap03d
JetBrains ReSharper C++ 2018.3 EAP 3 D Build 2018.3.20181016.40407-eap03d
JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181016.40359-eap03d

SubProducts.0 = JetBrains dotCover 2018.3 EAP 3 D Build 2018.3.20181015.231726-eap03d
SubProducts.1 = JetBrains dotTrace 2018.3 EAP 3 D Build 2018.3.20181015.231713-eap03d
SubProducts.2 = JetBrains ReSharper C++ 2018.3 EAP 3 D Build 2018.3.20181016.40407-eap03d
SubProducts.3 = JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181016.40359-eap03d
SubProducts.4 = JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181015.231946-eap03d
SubProducts.5 = JetBrains dotMemory 2018.3 EAP 3 D Build 2018.3.20181016.40401-eap03d

Cannot create ITypeUsageNode element '0' with type:anonymous type

— EXCEPTION #1/2 [ElementFactoryException]
Message = “Cannot create ITypeUsageNode element '0' with type:anonymous type”
ExceptionPath = Root.InnerException
ClassName = JetBrains.ReSharper.Psi.ElementFactoryException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi.CSharp
StackTraceString = “
 at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpElementFactoryImpl.SubstituteWithType(IType type, Int32 index, ITreeNode node, ITreeNode root)
 at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpElementFactoryImpl.SubstituteWithType(IType type, Int32 index, ITreeNode node, ITreeNode root)
 at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpElementFactoryImpl.SubstituteNodes(ITreeNode root, ParameterMarker[] markers, Object[] args)
 at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpElementFactoryImpl.CreateTypeMemberDeclaration(String format, Object[] args)
 at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpElementFactoryImpl.CreateParameterDeclaration(ParameterKind kind, Boolean isParametric, Boolean isVarArg, IType type, String name, ICSharpExpression defaultValue)
 at JetBrains.ReSharper.Psi.CSharp.Impl.CSharpElementFactoryImpl.CreateParameterDeclaration(IParametersOwnerDeclaration ownerDeclaration, ParameterKind kind, Boolean isParameterArray, Boolean isVarArg, IType type, String name, ICSharpExpression defaultValue)
 at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.CreateMethodForDelegateAction.TextForSignature(MemberSignature memberSignature, String methodName, IPsiModule psiModule)
 at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.CreateMethodForDelegateAction.<>c__DisplayClass6_0.<UpdateContextAndExecute>b__0(MemberSignature _)
 at JetBrains.ReSharper.Intentions.Util.BeforeExecutionOptionSelector`1.<>c__DisplayClass6_0.<SelectOptionByJpm>b__1(DescribeItemEventArgs e)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Cannot create ITypeUsageNode element '0' with type:anonymous type”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 3 D Build 183.0.20181015.230227-eap03d”
Data.SubProducts.#0 = “JetBrains dotCover 2018.3 EAP 3 D Build 2018.3.20181015.231726-eap03d”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.3 EAP 3 D Build 2018.3.20181015.231713-eap03d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.3 EAP 3 D Build 2018.3.20181016.40407-eap03d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.3 EAP 3 D Build 2018.3.20181016.40359-eap03d”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.3 EAP 3 D Build 2018.3.20181015.231946-eap03d”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.3 EAP 3 D Build 2018.3.20181016.40401-eap03d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/183::472d66c0c4f3a4272b65915c601b878a824d8320


Platform\VisualStudio:
    git::refs/heads/183::3db86b89c79dc4489e14add321cd67aa91cf4cd9

Data.VsVersion = 15.8.28010.2046
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenu.<InitViewModel>b__49_4(Object key)
 at JetBrains.DataFlow.ListBridge`2.<Init>b__18_3(AddRemoveIndexEventArgs`1 args)
 at JetBrains.DataFlow.ICollectionSignalEx.<>c__DisplayClass1_0`1.<Advise_Add>b__0(AddRemoveIndexEventArgs`1 args)
 at JetBrains.DataFlow.ListEvents`1.OnAcknowledgeSinkAddRemove_Add(Action`1 handler)
 at JetBrains.DataFlow.Infra.SignalWithDelegates`1.OnAfterAdvise(Action`1 handler)
 at JetBrains.DataFlow.Signal`1.<>c__DisplayClass19_0.<AdviseCore>b__0()
 at JetBrains.DataFlow.LifetimeDefinition.Bracket(Action opening, Action closing)
 at JetBrains.DataFlow.Signal`1.AdviseCore(Action`1 handler, Lifetime lifetime)
 at JetBrains.DataFlow.Signal`1.Advise(Lifetime lifetime, Action`1 handler)
 at JetBrains.DataFlow.ICollectionSignalEx.Advise_Add[TValue](ISignal`1 thіs, Lifetime lifetime, Action`1 FHandler)
 at JetBrains.DataFlow.ListBridge`2.Init(Lifetime lifetime)
 at JetBrains.DataFlow.ListBridge`2..ctor(Lifetime lifetime, IListEvents`1 source, IListEvents`1 target, Func`2 funcConverter, Func`2 funcFilter, MappingInfo mappinginfo, Object oTaregtModificationCookie)
 at JetBrains.DataFlow.ListBridge.BridgeInto[TSource,TTarget](IListEvents`1 source, Lifetime lifetime, IListEvents`1 target, Func`2 funcConverter, Func`2 funcFilter, MappingInfo mappinginfo, Object cookie)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenu.InitViewModel(ShowWhen when, LifetimeDefinition lifetimeDefinitionOptional)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowCore(JetPopupMenu menu, ShowWhen when, Boolean isModal, LifetimeDefinition lifetimeDefinitionOptional, IJetPopupMenuOverlordView parentView)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.<>c__DisplayClass14_0.<ShowModal>b__0(LifetimeDefinition defMenu, Lifetime lifeMenu)
 at JetBrains.DataFlow.Lifetimes.Define(Lifetime lifetime, String id, Action`2 FAtomic, ILog logger)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowModal(ShowWhen when, Action`2 FFillMenu)
 at JetBrains.ReSharper.Intentions.Util.BeforeExecutionOptionSelector`1.SelectOptionByJpm(ITextControl textControl, IEnumerable`1 options, Func`2 iconForOption, Func`2 textForOption, Action`1 onOptionSelected)
 at JetBrains.ReSharper.Intentions.Util.MethodSignatureSelector.SelectOptionByJpm(ITextControl textControl, IEnumerable`1 options, Func`2 textForSignature, Action`1 onOptionSelected)
 at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.CreateMethodForDelegateAction.UpdateContextAndExecute(CreateMethodDeclarationContext context, ISolution solution, ITextControl textControl)
 at JetBrains.ReSharper.Intentions.CreateFromUsage.CreateFromUsageActionBase2`2.Execute(ISolution solution, ITextControl textControl)
 at JetBrains.ReSharper.Feature.Services.Intentions.IntentionAction.MyExecutableProxi.Execute()
 at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked()
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.<>c__DisplayClass29_0.<InitMenuGeneral>b__0(Object objKey)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenu.<>c__DisplayClass49_0.<InitViewModel>b__3(JetPopupMenuItem item)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value)
 at JetBrains.Application.UI.Controls.JetPopupMenu.Detail.JetPopupMenuDoc.ExecuteSelectedItem()
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args)
 at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
 at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
 at System.Windows.Forms.Control.WmKeyChar(Message& m)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
 at System.Windows.Forms.Form.WndProc(Message& m)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.Impl.JetPopupMenuView.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
 at JetBrains.UI.Utils.DpiUtil.TopLevelWindowDpiTracker.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout)
 at JetBrains.UI.SrcView.Controls.JetPopupMenu.JetPopupMenuOverlordView.Show(Boolean isModal)
 at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenus.ShowCore(JetPopupMenu menu, ShowWhen when, Boolean isModal, LifetimeDefinition lifetimeDefinitionOptional, IJetPopupMenuOverlordView parentView)
 at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.ShowBulbMenuAdvanced(IEnumerable`1 menuItems, PopupWindowContextSource contextSource, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition viewLifetimeDefinition, IAutomation captionAutomation, Action`1 beforeShow)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.<ExecuteIndicator>b__18_0(IList`1 menuItems, PopupWindowContextSource contextSource, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition definition)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.DoExecuteIndicator(IDataContext context, BulbItemsReadyState readyState, Action`5 showBulbAction)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.ExecuteIndicator(IDataContext context, BulbItemsReadyState readyState)
 at JetBrains.ReSharper.Intentions.Bulbs.IndicatorControllerBase.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterHandlers.HandleAction(IDataContext context)
 at JetBrains.ReSharper.Intentions.Bulbs.AltEnterActionHandler.Execute(IDataContext context, DelegateExecute nextExecute)
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection`1 allActions, IDataContext dataContext)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0()
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith)
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass17_0.<CommandTargetExec>b__0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.CommandTargetExec(CommandID commandid, OLECMDEXECOPT cmdExecOpt)
 at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<.ctor>b__12_2(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out)
 at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut)

RSRP-458748: Merge conditional expression result in missing conditional access x?.y

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created May 12, 2016 1:52:05 PM
Updated Oct 16, 2018 12:09:52 PM
Resolved Oct 16, 2018 12:09:52 PM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
As you can see in the images the second (Conditional Access) is missing:
decimal forecastCost = (interval?.ETC + interval(missing ? here).TempReportedTime) * res.CostPerHour ?? 0;

RSRP-372025: Using Create property 'NewProperty' quick-fix no longer prompts for Auto Property, create and use 'newProperty' as backing field, or default member body.

$
0
0
Reporter Nathan Brown (shiften) Nathan Brown (shiften)
Created Jun 20, 2013 8:34:16 PM
Updated Oct 16, 2018 12:09:58 PM
Subsystem Quick Fixes - Create From Usage
Assignee Andrew Karpov (andrew.karpov)
Priority Normal
State Submitted
Type Usability Problem
Fix version Backlog
Affected versions 2018.2, 8.0 EAP
Fixed In Version ReSharper Undefined
VsVersion All Versions
This is a regression from ReSharper 7.1.2 and before. This hasn't been working for the last several versions of ReSharper 8 EAP.

When I assign a value against a non-existing property on own class or another class, I am prompted with a quick fix to create the property. On selecting the quick-fix, the property is created and I am prompted to specify the type. However, on hitting 'tab' or 'enter', the normal prompt to specify "Auto Property", "Create and use 'fieldName' as backing field", or "Default member body" does not appear. I am left with "throw new NotImplementedException()" in both the get and set handlers.

I am using Visual Studio 2012 and C# projects.

JetBrains ReSharper 8 EAP Full Edition Checked
Build 8.0.9.1171 on 2013-06-19T06:42:24
Plugins: 3
  1. 1. ReSharper.RazorExtensions v1.0.0.0 by “Xavier Decoster”
  2. 2. “Create Test Plugin” v1.0.0.0 by “Victor Kropp, JetBrains”
  3. 3. “NuGet support for ReSharper” v1.2.0.42457 by JetBrains
Visual Studio 11.0.60315.1.

RSRP-464460: Created method access modifier should match return type modifier

$
0
0
Reporter Pedro Magueija (pedromagueija) Pedro Magueija (pedromagueija)
Created Apr 20, 2017 9:34:02 AM
Updated Oct 16, 2018 12:23:14 PM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Improvement
Fix version Backlog
Affected versions 2017.1, 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
This is not a bug, it is more like an enhancement.

When creating a method (quick fix) the access modifier of the created method should match the access modifier of the return type (if any).

e.g.:
internal class SomeClass {
}

...
public SomeClass CallingMethod() {
return NonExistentMethod(); // we ask the quick fix to generate this method for us
}
...

public SomeClass NonExistentMethod() { // this is the generated stub (should be internal to match the return type)
...
}

RSRP-464631: Variable naming convention is not followed when generating class from "Quick Fixes"

$
0
0
Reporter Denis Abramov (sparky2708) Denis Abramov (sparky2708)
Created May 2, 2017 8:12:08 PM
Updated Oct 16, 2018 12:34:07 PM
Resolved Oct 16, 2018 12:34:07 PM
Subsystem Quick Fixes - Create From Usage
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Declined
Type Bug
Fix version No Fix versions
Affected versions 2017.1.2, 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have a naming convention setup in R# to name all class variables as "its<Pascal Case>". When I have the following code:

IFinalLabelAdjustment lblAdjustment = new TestLabel(headerRow);

And I select to "Generate class "TestLabel" in new file" from the "Quick Fixes" menu I get:

  internal class TestLabel : IFinalLabelAdjustment {
private MyObject headerRow;

public TestLabel(MyObject headerRow) {
this.headerRow = headerRow;
}
}

It should be;

internal class TestLabel : IFinalLabelAdjustment {
private MyObject itsHeaderRow;

public TestLabel(MyObject headerRow) {
this.itsHeaderRow = headerRow;
}
}

RSRP-471328: ReSharper Options: not possible to scroll to bottom of options using scrollbar.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Aug 31, 2018 10:05:35 AM
Updated Oct 16, 2018 12:35:08 PM
Resolved Oct 8, 2018 10:26:17 AM
Subsystem UI
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Major
State Fixed
Type Usability Problem
Fix version 2018.3
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains.ReSharperUltimate.2018.2.EAP9D.Checked.(182.0.20180831.43533-eap09d).

Actual result:
See attached video. It's not possible to scroll to bottom of options using scrollbar:

"Outdent commas" is not the last option here but dragging scrollbar down/using mouse wheel does not display other options.

Expected result:
It's possible to scroll to bottom using scrollbar only.

Viewing all 106942 articles
Browse latest View live


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