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

RSRP-187847: 'Move to outer scope' neither automatically resolves nor reports a conflict

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 6, 2010 10:08:00 PM
Updated Oct 4, 2018 3:57:17 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Open
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
abstract class A
{
public class B {}

public abstract void Foo(B x);
}

class C : A
{
public override void Foo(B x) { }

class D
{
class B { }
}
}

Move class B to outer scope. Result:

abstract class A
{
public class B {}

public abstract void Foo(B x);
}

class C : A
{
public override void Foo(B x) { } // error CS0115: 'C.Foo(C.B)': no suitable method found to override

class D
{
}

internal class B { }
}

Expected:

abstract class A
{
public class B {}

public abstract void Foo(B x);
}

class C : A
{
public override void Foo(A.B x) { } // OK

class D
{
}

internal class B { }
}

RSRP-379925: Resharper fails to move a type to outer scope

$
0
0
Reporter Mike Andrews (seablade) Mike Andrews (seablade)
Created Jul 20, 2013 1:13:40 AM
Updated Oct 4, 2018 3:57:39 PM
Subsystem Refactorings
Assignee Lilia Shamsutdinova (Lilia.Shamsutdinova)
Priority Normal
State To Reproduce
Type Bug
Fix version No Fix versions
Affected versions 8.0 EAP
Fixed In Version ReSharper Undefined
VsVersion VS 2012 RTM U2
Resharper fails to move a type to outer scope when using the Microsoft git plugin and the project is under git source control.

You get an error stating that "The files are still read only."

RSRP-415372: 'Move to outer scope' extracts nested type with incorrect accessibility in partial class definition

$
0
0
Reporter Thomas Levesque (Thomas.Levesque) Thomas Levesque (Thomas.Levesque)
Created May 26, 2014 4:05:48 AM
Updated Oct 4, 2018 3:59:47 PM
Resolved Oct 4, 2018 3:59:47 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions 8.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Consider a class Foo split in two files Foo1.cs and Foo2.cs:

Foo1.cs:
    public partial class Foo
{
}

Foo2.cs:
    partial class Foo
{
public void Test(Bar bar) { }
public class Bar { }
}

(note that the accessibility is not specified in Foo2.cs)

If I try to apply the Move to outer scope refactoring to the Bar class, I get this:

    partial class Foo
{
public void Test(Bar bar) { }
}

internal class Bar { }

Bar's accessibility has been changed from public to internal.

This is probably because Resharper only looks at the current partial class definition, so it assumes the class is internal.

RSRP-459193: "Move to outer scope" refactoring does not honor code style

$
0
0
Reporter Martin (IAmMartin) Martin (IAmMartin)
Created Jun 9, 2016 9:14:42 PM
Updated Oct 4, 2018 4:07:39 PM
Resolved Oct 4, 2018 4:07:39 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Duplicate
Type Bug
Fix version No Fix versions
Affected versions 2016.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
internal sealed class TestClass
{
public string WriteLine(string format, params object[] args)
{
return string.Format(format, args);
}
}
Refactors to
internal sealed class TestClass
{
public string WriteLine(string format, params object[] args)
{
return String.Format(format, args);
}
}

even though prefer using Keyword is set in code style and String should be string

RSRP-196359: "Refactor - Move method" changes "string" to "String"

$
0
0
Reporter Alex Berezoutsky (fergard) Alex Berezoutsky (fergard)
Created Oct 27, 2010 6:22:04 PM
Updated Oct 4, 2018 4:08:25 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Critical
State Open
Type Bug
Fix version Backlog
Affected versions 2018.2, 6.0
Fixed In Version ReSharper Undefined
VsVersion All Versions
Here's a simple way to reproduce:

1) Create a simple class and add the following method:

        public static string CreateMoveBug()
{
if (string.IsNullOrEmpty("Test"))
{
return null;
}

int.Parse("33");

decimal.Parse("2.2");

return string.Empty;
}
2) Add an inner class to the class created above and name it whatever.

3) Do a refactor Move Method and move the above method into the inner class, the result is the following:

            public static string CreateMoveBug()
{
if (String.IsNullOrEmpty("Test"))
{
return null;
}

Int32.Parse("33");

Decimal.Parse("2.2");

return String.Empty;
}
I would expect it not to change any of the code of the method but it replaces all the C# aliases with their respective class.

RSRP-187849: QF 'Create method in base class' does not use substitution of type paramaters

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 6, 2010 10:22:28 PM
Updated Oct 4, 2018 4:13:40 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Submitted
Type Bug
Fix version Backlog
Affected versions 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
class A<T>
{

}

class B<S> : A<S>
{
public override void Foo(S x) { } // Apply QF
}

Result:

using System;

class A<T>
{
public virtual void Foo(S x) // error CS0246: The type or namespace name 'S' could not be found (are you missing a using directive or an assembly reference?)
{
throw new NotImplementedException();
}
}

class B<S> : A<S>
{
public override void Foo(S x) { }
}

Expected:

using System;

class A<T>
{
public virtual void Foo(T x) // OK
{
throw new NotImplementedException();
}
}

class B<S> : A<S>
{
public override void Foo(S x) { }
}

Sometimes the anti-substitution is ambiguous, but R# should make its best guess.

RSRP-471555: Class diagram does not show in the ultimate update running under vs2017 enterprise

$
0
0
Reporter xuan tran (xtranfamily) xuan tran (xtranfamily)
Created Sep 19, 2018 10:13:26 PM
Updated Oct 4, 2018 4:15:49 PM
Resolved Oct 4, 2018 4:15:49 PM
Subsystem Platform - VS Integration
Assignee Maria Pleskunina (Maria.Pleskunina)
Priority Normal
State Incomplete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

My last Resharper I can see the class diagram referenced now with the ultimate update I do not see the class diagram any more

RSRP-471460: Get errors in typescript

$
0
0
Reporter Kiran Nandedkar (nandedkarkiran) Kiran Nandedkar (nandedkarkiran)
Created Sep 11, 2018 12:13:28 PM
Updated Oct 4, 2018 4:16:40 PM
Resolved Oct 4, 2018 4:16:40 PM
Subsystem TypeScript
Assignee Nikita Popov (poksh)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

I get error in typescript file as Cannot resolve symbol. I am able to compile project successfully so why i get errors. When i disable resharper then i dont see any error. I am using VS 2017 community edition.


RSRP-187853: QF 'Add constraint' adds constraint to an overridden method, which is not allowed

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 6, 2010 10:32:38 PM
Updated Oct 4, 2018 4:17:29 PM
Subsystem Quick Fixes
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
abstract class A
{
public abstract void Foo<T>();
}

class B : A
{
public override void Foo<T>()
{
new T(); // Apply QF
}
}

Result:

abstract class A
{
public abstract void Foo<T>();
}

class B : A
{
public override void Foo<T>() where T : new() // error CS0460: Constraints for override and explicit interface implementation methods are inherited from the base method, so they cannot be specified directly
{
new T();
}
}

Expected:

abstract class A
{
public abstract void Foo<T>() where T : new(); // OK
}

class B : A
{
public override void Foo<T>()
{
new T();
}
}

RSRP-187855: QF 'Add constraint' should replace 'dynamic' with 'object' because 'dynamic' cannot be used in constraints

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 6, 2010 10:42:02 PM
Updated Oct 4, 2018 4:18:19 PM
Subsystem Quick Fixes
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
using System.Collections.Generic;

class B
{
public void Foo<T>(D<T, IList<dynamic>> x) { } // Apply QF
}

class D<T,S> where T : S
{

}

Result:

using System.Collections.Generic;

class B
{
public void Foo<T>(D<T, IList<dynamic>> x) where T : IList<dynamic> // error CS1968: Constraint cannot be a dynamic type 'System.Collections.Generic.IList<dynamic>'
{ }
}

class D<T,S> where T : S
{

}

Expected:

using System.Collections.Generic;

class B
{
public void Foo<T>(D<T, IList<dynamic>> x) where T : IList<object> // OK
{ }
}

class D<T,S> where T : S
{

}

RSRP-187856: Should not suggest to add a constraint, which is impossible to add

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 6, 2010 10:48:28 PM
Updated Oct 4, 2018 4:21:52 PM
Subsystem Quick Fixes
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 2016.1, 2018.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
class B<S>
{
public void Foo<T>(D<S, T> x) { }
}

class D<T,S> where T : S
{

}

It is impossible to add constraint T to S, because T is visible only in method Foo.

RSRP-471754: Analyzer 'JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer' thrown exception: Control-Flow analysis Sequence contains more than one element

$
0
0
Reporter Kirill Falk (kfalk) Kirill Falk (kfalk)
Created Oct 4, 2018 4:07:33 PM
Updated Oct 4, 2018 4:22:34 PM
Subsystem Code Analysis - Control Flow
Assignee Ivan Serduk (IvanSerduk)
Priority Show-stopper
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.62 Date 2018-10-03T15:54:56.642+0000

— EXCEPTION #1/3 [InvalidOperationException]
Message = “Sequence contains more than one element”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = System.Core
StackTraceString = “
 at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
 at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
 at JetBrains.ReSharper.Psi.CSharp.Impl.ControlFlow.CSharpControlFlowGraph.get_RedundantJumpStatements() in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Psi\CSharp\Src\Impl\ControlFlow\CSharpControlFlowGraph.cs:line 199
 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowProblemAnalyzerBase.StaticAnalysis(IDeclaration declaration, ICSharpTreeNode body, ICSharpControlFlowGraph graph, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\Analysis\ControlFlowProblemHighlighter.cs:line 45
 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer.Analyze(ICSharpDeclaration declaration, IParametersOwner parametersOwner, ICSharpTreeNode functionBody, ElementProblemAnalyzerData data, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\Analysis\ControlFlowFunctionProblemAnalyzer.cs:line 138


— Outer —

— EXCEPTION #2/3 [InvalidOperationException]
Message = “Control-Flow analysis”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Daemon.CSharp
StackTraceString = “
 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer.Analyze(ICSharpDeclaration declaration, IParametersOwner parametersOwner, ICSharpTreeNode functionBody, ElementProblemAnalyzerData data, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\Analysis\ControlFlowFunctionProblemAnalyzer.cs:line 163
 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer.Analyze(ICSharpDeclaration declaration, IParametersOwner parametersOwner, ICSharpTreeNode functionBody, ElementProblemAnalyzerData data, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\Analysis\ControlFlowFunctionProblemAnalyzer.cs:line 163
 at JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer.Run(ITreeNode element, ElementProblemAnalyzerData data, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\Analysis\ControlFlowFunctionProblemAnalyzer.cs:line 103
 at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Services\_Core\Src\Daemon\ElementProblemAnalyzerRegistrar.cs:line 217


— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “Analyzer 'JetBrains.ReSharper.Daemon.CSharp.Stages.ControlFlowFunctionProblemAnalyzer' thrown exception: Control-Flow analysis”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.LogException(String comment, Exception ex) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 992
 at JetBrains.Util.Logging.Logger.LogException(String comment, Exception ex) in C:\Build Agent\work\c8d4f91fb89c3b1b\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 992
 at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Services\_Core\Src\Daemon\ElementProblemAnalyzerRegistrar.cs:line 217
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpErrorStageProcess.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\CSharpErrorStage.cs:line 111
at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.<>c__DisplayClass4_0.<Execute>g__MemberHighlighter|0(ICSharpTypeMemberDeclaration declaration) in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\src\Daemon\CSharp\Src\Stages\CSharpIncrementalDaemonStageProcessBase.cs:line 73
 at JetBrains.ReSharper.Psi.Extensions.<>c__DisplayClass0_0.<EnqueueJob>b__0() in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Psi\_Core\Src\CompilationContextCookie.cs:line 330
 at JetBrains.ReSharper.Psi.Extensions.<>c__DisplayClass0_0.<EnqueueJob>b__0() in C:\Build Agent\work\8845a38daf4692e1\Psi.Features\Core\Psi\_Core\Src\CompilationContextCookie.cs:line 330
 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.62
app.version.major = 2018
app.version.minor = 3
app.build.date = 2018-10-03T15:54:56.642+0000
app.build.date.release = 2018-08-24T00:00:56.642+0000
app.build.date.release = 2018-08-24T00:00:56.642+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-471752: NuGet browser doesn't use PackageReference when it's the default

$
0
0
Reporter Andrey Simukov (Andrey.Simukov) Andrey Simukov (Andrey.Simukov)
Created Oct 4, 2018 3:50:18 PM
Updated Oct 4, 2018 4:24:47 PM
Subsystem NuGet Browser (Import From nuget.org)
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
NuGet browser doesn't use PackageReference when it's set as the default format

1. Go to VS Options - NuGet Package Manager - General
2. Set the default package management format to PackageReference
3. Create an empty project (e.g. .NET 4.6.2)
4. Open ReSharper - Windows - NuGet Browser
5. Find a package (e.g. NUnit)
6. Install it

Expected result: NuGet browser uses the VS default format and the package is added to the project as a PackageReference.
Actual result: The package is added to the project into packages.config.

RSRP-336013: Cannot Resolve Symbol for Linked File

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Nov 22, 2012 1:08:51 PM
Updated Oct 4, 2018 4:25:02 PM
Resolved Oct 4, 2018 4:24:59 PM
Subsystem Platform - Project Model
Assignee Kirill Skrygan (kirill.skrygan)
Priority Critical
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions 7.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have attached a copy of a simple repro that shows the problem. In the Master.Settings.Targets file the link to the Share\Class2.cs file is created. In the Project.csproj file I import the Master.Settings.Targets file and even though VS can find the file and build, ReSharper can't resolve the file.

RSRP-471735: return ref _memory.Span[0]; produces error in editor ("Span has no setter")

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Oct 3, 2018 1:23:52 PM
Updated Oct 4, 2018 4:25:05 PM
Subsystem Code Analysis - C#
Assignee Alexander Shvedov (shvedov)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.3
Affected versions 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
private readonly Memory<T> _memory; 
public ref T this[ int offset ] => ref _memory.Span[offset]; <-- red squglies here 
}

RSRP-187881: Missing QF 'Add constraint Exception'

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 7, 2010 4:49:47 PM
Updated Oct 4, 2018 4:26:11 PM
Subsystem Quick Fixes
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
using System;

static class P
{
public static void Foo<TException>()
{
try
{
}
catch (TException ex) // here
{
Console.WriteLine(ex);
}
}
}

RSRP-471743: Multi-place attribute to separate sections hangs

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Oct 3, 2018 10:41:01 PM
Updated Oct 4, 2018 4:26:22 PM
Subsystem Context Actions
Assignee Andrew Karpov (andrew.karpov)
Priority Critical
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1.3 RTM, 2018.2.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

I've been trying to use "Place attribute in separate sections" over more than one attribute, e.g. "... in class", "... in file"

Every time it shows the "working progress dialog" but this never closes nor progresses (nor actually changes file contents). Trying to Cancel doesn't work and from here VS is in the "Not responding" state so have to restart VS.

RSRP-191581: Symbols matching pattern view is not refreshable

$
0
0
Reporter Valentin Kipiatkov (valentin) Valentin Kipiatkov (valentin)
Created Sep 28, 2010 7:59:37 PM
Updated Oct 4, 2018 4:26:24 PM
Resolved Oct 4, 2018 4:26:22 PM
Subsystem Navigation - Global
Assignee Kirill Skrygan (kirill.skrygan)
Priority Normal
State Fixed
Type Usability Problem
Fix version Unidentified prior version
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Enter some pattern in Go to Type/Symbol and press '+' to show it in Find Results. The resulting view misses "Refresh" button.

RSRP-187899: QF 'Make collection type implement IEnumerable' does not work if the type is declared in VB.NET

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 8, 2010 1:44:29 PM
Updated Oct 4, 2018 4:29:13 PM
Subsystem Quick Fixes
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 Class A
End Class
public class P
{
static void Main()
{
var x = from y in new A() select y; // here
}
}

RSRP-471730: Unresolved References / Yellow Triangles

$
0
0
Reporter Rene Riedinger (rene_r) Rene Riedinger (rene_r)
Created Oct 3, 2018 7:07:03 AM
Updated Oct 4, 2018 4:31:46 PM
Resolved Oct 4, 2018 3:35:00 PM
Subsystem Platform - VS Integration
Assignee Serge Baltic (baltic)
Priority Normal
State Answered
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Very often when opening a solution (C#, .NET 4.6.x, .NET 4.7.x, not .NET Standard) R# displays errors but compiling shows no errors (see the screenshot attached).

To get rid of the "wrong" errors, both of the following steps work
a) Clear R# Cache and restart VS (can we have a shortcut to clear the R# Caches and restart VS or even better we should not need to restart VS)
b) Navigate to the project (in the solution explorer ) that contains the class with "wrong" errors –> left click on a reference withe the yellow triangle, click somewhere else and now R# stops to show any "wrong" errors –> of course you have to do this for every project within the solution to get rid of all "wrong" errors –> that's not funny ;)

Note: the references with the yellow triangles are added via NuGet (packages.config, not via PackageReference)

This seems to be very similar to this issues:
  1. https://youtrack.jetbrains.net/issue/RSRP-329698
  2. https://youtrack.jetbrains.net/issue/RSRP-463134
Viewing all 106942 articles
Browse latest View live


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