Reporter |
|
---|---|
Created | Mar 6, 2017 12:46:33 AM |
Updated | Mar 20, 2017 10:19:57 PM |
Subsystem | Code Style - Formatter |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Priority | Critical |
State | Submitted |
Type | Bug |
Affected versions | 2017.1 |
Fix version | 2017.2 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
↧
RSRP-463405: Change default value for a setting "Line feed at end of file" to true
↧
RSRP-463824: Main method reported unused in .Net Core
Reporter |
|
---|---|
Created | Mar 20, 2017 10:27:26 PM |
Updated | Mar 20, 2017 10:27:26 PM |
Subsystem | No Subsystem |
Assignee | Unassigned |
Priority | Normal |
State | Submitted |
Type | Bug |
Affected versions | 2017.1 |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2017 RTM |
When writing a .Net Core console application in VS2017, ReSharper 2017.1 EAP 5 incorrectly reports that the Main method of the application is unused.
↧
↧
RSRP-463825: Visual Studio 2017 Hangs when creating a console application w/ resharper
Reporter |
|
---|---|
Created | Mar 20, 2017 10:31:52 PM |
Updated | Mar 20, 2017 10:31:52 PM |
Subsystem | No Subsystem |
Assignee | Unassigned |
Priority | Normal |
State | Submitted |
Type | Unspecified |
Affected versions | No Affected versions |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
I'm using latest Resharper EAP. When you create a new console application (not .NET Core) it hangs on
![]()
It happened on my working desktop as well on home one... can you please investigate?

It happened on my working desktop as well on home one... can you please investigate?
↧
RSRP-463826: TypeScript resolution errors after modifying the code
Reporter |
|
---|---|
Created | Mar 20, 2017 10:58:12 PM |
Updated | Mar 20, 2017 11:06:48 PM |
Subsystem | TypeScript |
Assignee | Anton Lobov (Anton.Lobov) |
Priority | Normal |
State | Submitted |
Type | Bug |
Affected versions | 2017.1 |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2017 RTM |
The attached solution doesn't contain any error (it compiles fine) and also the initial analysis run of R# is green.
But: After modifying
See the attached video.
Happens in 2017.1 EAP 4 and 5, not in 2016.3.
Note: It has something to do with the included .js and/or .d.ts files in project
But: After modifying
SomeGenericInterface.ts
, I get false positive resolution errors in MyGenericInterface.ts
.See the attached video.
Happens in 2017.1 EAP 4 and 5, not in 2016.3.
Note: It has something to do with the included .js and/or .d.ts files in project
C
, because after deleting the Scripts
dir, everything works as expected.↧
RSRP-463804: Exception has been thrown by the target of an invocation. Injection point list doesn't contain appropriate node
Reporter |
|
---|---|
Created | Mar 17, 2017 2:40:11 PM |
Updated | Mar 20, 2017 11:23:01 PM |
Subsystem | No Subsystem |
Assignee | Unassigned |
Priority | Normal |
State | Submitted |
Type | Unspecified |
Affected versions | No Affected versions |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
JetBrains Rider 1.0 Build RS-171.3085.726
— EXCEPTION #1/3 [AssertionException]
Message = “Injection point list doesn't contain appropriate node”
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
”
— Outer —
— EXCEPTION #2/3 [TargetInvocationException]
Message = “Exception has been thrown by the target of an invocation.”
ExceptionPath = Root.InnerException
ClassName = System.Reflection.TargetInvocationException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_TARGETINVOCATION=80131604
Source = mscorlib
StackTraceString = “
”
— Outer —
— EXCEPTION #3/3 [LoggerException]
Message = “Exception has been thrown by the target of an invocation.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
last.action = EditorPaste
app.eap = true
app.internal = false
app.build = RS-171.3085.726
app.version.major = 1
app.version.minor = 0
app.build.date = 2017-02-22T19:19:06.158+0000
app.build.date.release = 2017-02-22T19:19:06.158+0000
app.build.date.release = 2017-02-22T19:19:06.158+0000
app.compilation.timestamp = null
app.product.code = RS
os.name = Windows 10
java.version = 1.8.0_112-release
java.vm.vendor = JetBrains s.r.o
UIUtil.isRetina = false
UIUtil.isAppleRetina = false
JBUI.isHiDPI() = false
ImageScaleFactor = 1
— EXCEPTION #1/3 [AssertionException]
Message = “Injection point list doesn't contain appropriate node”
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
at JetBrains.ReSharper.Psi.Impl.Shared.InjectedPsi.IndependentInjectedFileContext.GetInjectForNode(ITreeNode originalNode) at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectedFiles(IFile originalFile, Type toLanguage, TreeTextRange range, ICollection`1 providersToBuild, LocalList`1& results) at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectFiles(IPsiSourceFile sourceFile, Type injectedLanguageType, DocumentRange range, LocalList`1& files) at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile sourceFile, Type languageType, DocumentRange range, PsiLanguageCategories categories) at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile sourceFile, PsiLanguageType languageType, DocumentRange range, PsiLanguageCategories categories) at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.<GetOrRequestPsiFilesInTheAscendingOrderOfDocumentRange>d__0.MoveNext() at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.CreatePsiView(PsiLanguageCategories languageCategories, PsiLanguageType languageType) at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.View(PsiLanguageType languageType, PsiLanguageCategories languageCategories) at JetBrains.ReSharper.Daemon.CaretDependentFeatures.MatchingBraceContextHighlighterBase`1.CollectHighlightings(IPsiDocumentRangeView psiDocumentRangeView, MatchingHighlightingsConsumer consumer) at JetBrains.ReSharper.Daemon.CaretDependentFeatures.BracesHighlighterBase.ProcessDataContextImpl(Lifetime lifetime, HighlightingProlongedLifetime prolongedLifetime, IPsiDocumentRangeView psiDocumentRangeView, InvisibleBraceHintManager invisibleBraceHintManager, MatchingBraceSuggester matchingBraceSuggester) at JetBrains.ReSharper.Daemon.VB.ContextHighlighters.VBMatchingBraceContextHighlighter.ProcessContext(Lifetime lifetime, IPsiDocumentRangeView psiDocumentRangeView, InvisibleBraceHintManager invisibleBraceHintManager, MatchingBraceSuggester matchingBraceSuggester, HighlightingProlongedLifetime prolongedLifetime)
— Outer —
— EXCEPTION #2/3 [TargetInvocationException]
Message = “Exception has been thrown by the target of an invocation.”
ExceptionPath = Root.InnerException
ClassName = System.Reflection.TargetInvocationException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_TARGETINVOCATION=80131604
Source = mscorlib
StackTraceString = “
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at JetBrains.ReSharper.Feature.Services.Contexts.ContextConsumersWithAttributesManager.<>c__DisplayClass6.<>c__DisplayClass8.<ProcessContextConsumerContainerType>b__2(Lifetime dummy) at JetBrains.ReSharper.Feature.Services.Contexts.ContextConsumer.<>c__DisplayClass3.<AsyncHandler>b__1() at JetBrains.Application.InterruptableReadActivity.DoWork() at JetBrains.Application.InterruptableReadActivity.WorkerThreadProc() at JetBrains.Util.Logging.Logger.Catch(Action action)
— Outer —
— EXCEPTION #3/3 [LoggerException]
Message = “Exception has been thrown by the target of an invocation.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.Logging.Logger.LogException(Exception ex) at JetBrains.Util.Logging.Logger.Catch(Action action) at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action) at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state) 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) at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask() at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc() 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 = EditorPaste
app.eap = true
app.internal = false
app.build = RS-171.3085.726
app.version.major = 1
app.version.minor = 0
app.build.date = 2017-02-22T19:19:06.158+0000
app.build.date.release = 2017-02-22T19:19:06.158+0000
app.build.date.release = 2017-02-22T19:19:06.158+0000
app.compilation.timestamp = null
app.product.code = RS
os.name = Windows 10
java.version = 1.8.0_112-release
java.vm.vendor = JetBrains s.r.o
UIUtil.isRetina = false
UIUtil.isAppleRetina = false
JBUI.isHiDPI() = false
ImageScaleFactor = 1
↧
↧
RSRP-460772: Doubled indentation of chopped formal parameters for expression body
Reporter |
|
---|---|
Created | Sep 13, 2016 11:28:05 AM |
Updated | Mar 20, 2017 11:35:29 PM |
Resolved | Mar 20, 2017 11:35:29 PM |
Subsystem | Code Style - Formatter |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Priority | Normal |
State | Fixed |
Type | Bug |
Affected versions | 2016.2.1 |
Fix version | 2016.3 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Original code:
"Chop if long" is enabled for formal parameters.
After reformat, with ReSharper 2016.1 / old engine :
After reformat, with ReSharper 2016.2 :
Note the double indentation of the parameters. It doesn't happen if the method doesn't use an expression body.
While I can see why this new style might be preferred by some, IMHO, it should be an option.
Generally, it would be great if more options were added for expression-bodied members (see RSRP-446015).
public string SomeMethod(Dictionary<string, string> arg1, Dictionary<string, string> arg2, Dictionary<string, string> arg3, Dictionary<string, string> arg4)
=> "Foo";
"Chop if long" is enabled for formal parameters.
After reformat, with ReSharper 2016.1 / old engine :
public string SomeMethod(
Dictionary<string, string> arg1,
Dictionary<string, string> arg2,
Dictionary<string, string> arg3,
Dictionary<string, string> arg4)
=> "Foo";
After reformat, with ReSharper 2016.2 :
public string SomeMethod(
Dictionary<string, string> arg1,
Dictionary<string, string> arg2,
Dictionary<string, string> arg3,
Dictionary<string, string> arg4)
=> "Foo";
Note the double indentation of the parameters. It doesn't happen if the method doesn't use an expression body.
While I can see why this new style might be preferred by some, IMHO, it should be an option.
Generally, it would be great if more options were added for expression-bodied members (see RSRP-446015).
↧
RSRP-463719: ReSharper indent settings are applied when only dotCover is installed.
Reporter |
|
---|---|
Created | Mar 16, 2017 9:01:01 PM |
Updated | Mar 20, 2017 11:37:50 PM |
Subsystem | Code Style - Formatter |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Priority | Show-stopper |
State | Fixed In Branch |
Type | Bug |
Affected versions | No Affected versions |
Fix version | 2017.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Copy and paste any block of code. Indentation changed (see screenshot).
I am using only dotCover. The issue is presented only when it's turned on.
I am using only dotCover. The issue is presented only when it's turned on.
↧
RSRP-460618: Option 'line feed at end of file' for HTML
Reporter |
|
---|---|
Created | Sep 1, 2016 3:13:07 PM |
Updated | Mar 20, 2017 11:38:07 PM |
Subsystem | Code Style - Formatter |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Priority | Critical |
State | Fixed In Branch |
Type | Feature |
Affected versions | No Affected versions |
Fix version | 2017.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
HTML formatting should have an option to keep line feed at end of file, similar to C# settings (see screenshot).
↧
RSRP-371396: Reformatting XML removes newline at the end of file
Reporter |
|
---|---|
Created | Jun 18, 2013 6:51:24 PM |
Updated | Mar 20, 2017 11:39:33 PM |
Subsystem | Code Style - Formatter |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Priority | Major |
State | Fixed In Branch |
Type | Bug |
Affected versions | 7.1.3 |
Fix version | 2017.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
I have 'Keep existing line breaks' enabled and yet when I invoke reformat, R# will remove final end of line.
This happens in HTML and XAML too (which I assume uses XML formatting).
ReSharper must preserve eol at the end if instructed to keep line breaks.
There should be also a separate option to ensure that each file ends with eol.
This happens in HTML and XAML too (which I assume uses XML formatting).
ReSharper must preserve eol at the end if instructed to keep line breaks.
There should be also a separate option to ensure that each file ends with eol.
↧
↧
RSRP-463827: Formatting HTML5 textarea problem with witespace
Reporter |
|
---|---|
Created | Mar 20, 2017 11:45:09 PM |
Updated | Mar 20, 2017 11:45:09 PM |
Subsystem | ASP.NET - Razor |
Assignee | Slava Trenogin (derigel) |
Priority | Normal |
State | Submitted |
Type | Bug |
Affected versions | No Affected versions |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
When formatting (ctrl+e+f) HTML5 the <textarea> tag must have a closing tag as follows <textarea></textarea>. However those two are placed on a separate line causing the textarea to contain unwanted whitespace characters. You can easily identify the problem if the textarea has a placeholder which is not shown.
↧
RSRP-463822: Typescript: Moment no longer allowed as function type
Reporter |
|
---|---|
Created | Mar 20, 2017 8:05:04 PM |
Updated | Mar 20, 2017 11:58:39 PM |
Subsystem | TypeScript |
Assignee | Anton Lobov (Anton.Lobov) |
Priority | Normal |
State | Submitted |
Type | Bug |
Affected versions | 2017.1 |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2015 RTM |
see image
EAP 5
EAP 5
↧
RSRP-463263: Failed to evaluate the data rule. Injection point list doesn't contain appropriate node
Reporter |
|
---|---|
Created | Feb 16, 2017 8:57:02 PM |
Updated | Mar 21, 2017 6:20:33 PM |
Resolved | Feb 26, 2017 4:27:09 PM |
Subsystem | Language injection |
Assignee | Anton Lobov (Anton.Lobov) |
Priority | Normal |
State | Duplicate |
Type | Exception |
Affected versions | No Affected versions |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
ReSharperPlatformVs14 Wave 08 — JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01
JetBrains dotCover 2017.1 EAP 1 Build 2017.1.20170209.151925-eap01
JetBrains dotMemory 2017.1 EAP 1 Build 2017.1.20170209.152041-eap01
JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01
JetBrains ReSharper C++ 2017.1 EAP 1 Build 2017.1.20170209.151458-eap01
JetBrains TeamCity Add-in 2017.1 EAP 1 Build 2017.1.20170209.151453-eap01
ManagedThreadName = <NULL>
LastExtension = cs
SccRevisionShell = <there are no packages matching the criteria>
HostProductInfo = JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01
SubProducts.0 = JetBrains dotCover 2017.1 EAP 1 Build 2017.1.20170209.151925-eap01
SubProducts.1 = JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
SubProducts.2 = JetBrains ReSharper C++ 2017.1 EAP 1 Build 2017.1.20170209.151458-eap01
SubProducts.3 = JetBrains TeamCity Add-in 2017.1 EAP 1 Build 2017.1.20170209.151453-eap01
SubProducts.4 = JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01
SubProducts.5 = JetBrains dotMemory 2017.1 EAP 1 Build 2017.1.20170209.152041-eap01
SccRevisionEnv = Platform\Core\Shell:
git::refs/heads/wave08-eap1::f2a118257f686c7e845f09736c57d7bef0db0aee
Platform\VisualStudio:
git::refs/heads/wave08-eap1
VsVersion = 14.0.25431.1
Failed to evaluate the data rule. Injection point list doesn't contain appropriate node
— EXCEPTION #1/3 [AssertionException]
Message = “Injection point list doesn't contain appropriate node”
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
”
— Outer —
— EXCEPTION #2/3 [InvalidOperationException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DataConstant = DeclaredElementsFromAllContexts
Data.DataConstantType = “System.Collections.Generic.ICollection
”
JetBrains dotCover 2017.1 EAP 1 Build 2017.1.20170209.151925-eap01
JetBrains dotMemory 2017.1 EAP 1 Build 2017.1.20170209.152041-eap01
JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01
JetBrains ReSharper C++ 2017.1 EAP 1 Build 2017.1.20170209.151458-eap01
JetBrains TeamCity Add-in 2017.1 EAP 1 Build 2017.1.20170209.151453-eap01
ManagedThreadName = <NULL>
LastExtension = cs
SccRevisionShell = <there are no packages matching the criteria>
HostProductInfo = JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01
SubProducts.0 = JetBrains dotCover 2017.1 EAP 1 Build 2017.1.20170209.151925-eap01
SubProducts.1 = JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
SubProducts.2 = JetBrains ReSharper C++ 2017.1 EAP 1 Build 2017.1.20170209.151458-eap01
SubProducts.3 = JetBrains TeamCity Add-in 2017.1 EAP 1 Build 2017.1.20170209.151453-eap01
SubProducts.4 = JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01
SubProducts.5 = JetBrains dotMemory 2017.1 EAP 1 Build 2017.1.20170209.152041-eap01
SccRevisionEnv = Platform\Core\Shell:
git::refs/heads/wave08-eap1::f2a118257f686c7e845f09736c57d7bef0db0aee
Platform\VisualStudio:
git::refs/heads/wave08-eap1
VsVersion = 14.0.25431.1
Failed to evaluate the data rule. Injection point list doesn't contain appropriate node
— EXCEPTION #1/3 [AssertionException]
Message = “Injection point list doesn't contain appropriate node”
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
at JetBrains.ReSharper.Psi.Impl.Shared.InjectedPsi.IndependentInjectedFileContext.GetInjectForNode(ITreeNode originalNode) at JetBrains.ReSharper.Psi.ExtensionsAPI.InjectedPsiExtensions.GetInjectForNodeOrParents(IInjectedFileContext context, ITreeNode originalNode) at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectedFiles(IFile originalFile, Type toLanguage, TreeTextRange range, ICollection`1 providersToBuild, LocalList`1& results) at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectFiles(IPsiSourceFile sourceFile, Type injectedLanguageType, DocumentRange range, LocalList`1& files) at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile sourceFile, Type languageType, DocumentRange range, PsiLanguageCategories categories) at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles[TLanguage](IPsiSourceFile sourceFile, DocumentRange range, PsiLanguageCategories categories) at JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.<>c__DisplayClass24.<GetPsiFilesFromDocument>b__22(IPsiSourceFile sf) at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.GetReferencesAtOffset(ISolution solution, DocumentOffset documentOffset, SourceFilesMask mask, PsiLanguageCategories categories) at JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.GetDeclaredElements(ISolution solution, DocumentOffset documentOffset, SourceFilesMask mask, Boolean& isPossiblyNonNullInThisDocument) at JetBrains.ReSharper.Feature.Services.Util.PsiDataRules.DeclaredElementsFromDocument(IDataContext context, SourceFilesMask mask) at JetBrains.ReSharper.Feature.Services.Util.PsiDataRules.<.ctor>b__3(IDataContext context) at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context) at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
— Outer —
— EXCEPTION #2/3 [InvalidOperationException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DataConstant = DeclaredElementsFromAllContexts
Data.DataConstantType = “System.Collections.Generic.ICollection
1[[JetBrains.ReSharper.Psi.IDeclaredElement, JetBrains.ReSharper.Psi, Version=108.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”
Data.DataRuleObject = JetBrains.Application.DataContext.DataRule
1[System.Collections.Generic.ICollection1[JetBrains.ReSharper.Psi.IDeclaredElement]]
Data.DataRulePriority = 0
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509
--- Outer ---
--- EXCEPTION #3/3 [LoggerException]
Message = “Failed to evaluate the data rule.”
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 2017.1 EAP 1 Build 108.0.20170209.145741-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2017.1 EAP 1 Build 2017.1.20170209.151925-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2017.1 EAP 1 Build 2017.1.20170209.151458-eap01”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2017.1 EAP 1 Build 2017.1.20170209.151453-eap01”
Data.SubProducts.#4 = “JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01”
Data.SubProducts.#5 = “JetBrains dotMemory 2017.1 EAP 1 Build 2017.1.20170209.152041-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/wave08-eap1::f2a118257f686c7e845f09736c57d7bef0db0aee
Platform\VisualStudio:
git::refs/heads/wave08-eap1
”
Data.VsVersion = 14.0.25431.1
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception exception, ExceptionOrigin origin, String comment)
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant)
at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant
1 dataConstant)at JetBrains.ReSharper.Feature.Services.Refactorings.Specific.Rename.RenameRefactoringService.GetPrimevalDeclaredElementsToRename(IDataContext context) at JetBrains.ReSharper.Feature.Services.Refactorings.Specific.Rename.RenameRefactoringService.CheckLocalRenameAvailability(IDataContext context) at JetBrains.ReSharper.Refactorings.Rename.RenameWorkflowBase.IsAvailable(IDataContext context, ICollection`1& declaredElements) at JetBrains.ReSharper.Refactorings.Rename.Fixes.BulkRenameWorkflow.IsAvailable(IDataContext context) at JetBrains.ReSharper.Feature.Services.Refactorings.ExtensibleRefactoringAction`1.IsAvailable(IDataContext context, IRefactoringWorkflow refactoringWorkflow) at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.GetWorkflowListToExecute(IDataContext dataContext) at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate) at JetBrains.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Evaluate(IAction handler, EvaluatedAction result, IDataContext context) at JetBrains.ReSharper.Feature.Services.Actions.ServicesActionEvaluator.Evaluate(IAction handler, EvaluatedAction result, IDataContext context) at JetBrains.UI.ActionsRevised.Handlers.BoundAction.Evaluate(IDataContext context) at JetBrains.UI.ActionsRevised.Handlers.ActionHandlers.Evaluate(IActionDefWithId action, IDataContext context) at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass26.<Evaluate>b__24(Lifetime lifetime) at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.Evaluate(IActionDefWithId actionDef) at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.QueryOverriddenCommandStatus(VsOverridingDef overridingDef) at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClassa.<PriorityCommandTargetQueryStatus>b__8() 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.PriorityCommandTargetQueryStatus(Guid guidCmdSet, OLECMD[] olecmds, OLECMDTEXT* pOleText) at JetBrains.VsIntegration.Shell.Actions.Revised.VsActionManagerPriorityCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
↧
RSRP-463264: Failed to evaluate the data rule. Injection point list doesn't contain appropriate node
Reporter |
|
---|---|
Created | Feb 16, 2017 8:57:12 PM |
Updated | Mar 21, 2017 6:20:39 PM |
Resolved | Feb 26, 2017 4:26:22 PM |
Subsystem | Language injection |
Assignee | Anton Lobov (Anton.Lobov) |
Priority | Normal |
State | Duplicate |
Type | Exception |
Affected versions | No Affected versions |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
ReSharperPlatformVs14 Wave 08 — JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01
JetBrains dotCover 2017.1 EAP 1 Build 2017.1.20170209.151925-eap01
JetBrains dotMemory 2017.1 EAP 1 Build 2017.1.20170209.152041-eap01
JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01
JetBrains ReSharper C++ 2017.1 EAP 1 Build 2017.1.20170209.151458-eap01
JetBrains TeamCity Add-in 2017.1 EAP 1 Build 2017.1.20170209.151453-eap01
ManagedThreadName = <NULL>
LastExtension = cs
SccRevisionShell = <there are no packages matching the criteria>
HostProductInfo = JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01
SubProducts.0 = JetBrains dotCover 2017.1 EAP 1 Build 2017.1.20170209.151925-eap01
SubProducts.1 = JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
SubProducts.2 = JetBrains ReSharper C++ 2017.1 EAP 1 Build 2017.1.20170209.151458-eap01
SubProducts.3 = JetBrains TeamCity Add-in 2017.1 EAP 1 Build 2017.1.20170209.151453-eap01
SubProducts.4 = JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01
SubProducts.5 = JetBrains dotMemory 2017.1 EAP 1 Build 2017.1.20170209.152041-eap01
SccRevisionEnv = Platform\Core\Shell:
git::refs/heads/wave08-eap1::f2a118257f686c7e845f09736c57d7bef0db0aee
Platform\VisualStudio:
git::refs/heads/wave08-eap1
VsVersion = 14.0.25431.1
Failed to evaluate the data rule. Injection point list doesn't contain appropriate node
— EXCEPTION #1/3 [AssertionException]
Message = “Injection point list doesn't contain appropriate node”
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
”
— Outer —
— EXCEPTION #2/3 [InvalidOperationException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DataConstant = DeclaredElements
Data.DataConstantType = “System.Collections.Generic.ICollection
”
JetBrains dotCover 2017.1 EAP 1 Build 2017.1.20170209.151925-eap01
JetBrains dotMemory 2017.1 EAP 1 Build 2017.1.20170209.152041-eap01
JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01
JetBrains ReSharper C++ 2017.1 EAP 1 Build 2017.1.20170209.151458-eap01
JetBrains TeamCity Add-in 2017.1 EAP 1 Build 2017.1.20170209.151453-eap01
ManagedThreadName = <NULL>
LastExtension = cs
SccRevisionShell = <there are no packages matching the criteria>
HostProductInfo = JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01
SubProducts.0 = JetBrains dotCover 2017.1 EAP 1 Build 2017.1.20170209.151925-eap01
SubProducts.1 = JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
SubProducts.2 = JetBrains ReSharper C++ 2017.1 EAP 1 Build 2017.1.20170209.151458-eap01
SubProducts.3 = JetBrains TeamCity Add-in 2017.1 EAP 1 Build 2017.1.20170209.151453-eap01
SubProducts.4 = JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01
SubProducts.5 = JetBrains dotMemory 2017.1 EAP 1 Build 2017.1.20170209.152041-eap01
SccRevisionEnv = Platform\Core\Shell:
git::refs/heads/wave08-eap1::f2a118257f686c7e845f09736c57d7bef0db0aee
Platform\VisualStudio:
git::refs/heads/wave08-eap1
VsVersion = 14.0.25431.1
Failed to evaluate the data rule. Injection point list doesn't contain appropriate node
— EXCEPTION #1/3 [AssertionException]
Message = “Injection point list doesn't contain appropriate node”
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Psi
StackTraceString = “
at JetBrains.ReSharper.Psi.Impl.Shared.InjectedPsi.IndependentInjectedFileContext.GetInjectForNode(ITreeNode originalNode) at JetBrains.ReSharper.Psi.ExtensionsAPI.InjectedPsiExtensions.GetInjectForNodeOrParents(IInjectedFileContext context, ITreeNode originalNode) at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectedFiles(IFile originalFile, Type toLanguage, TreeTextRange range, ICollection`1 providersToBuild, LocalList`1& results) at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectFiles(IPsiSourceFile sourceFile, Type injectedLanguageType, DocumentRange range, LocalList`1& files) at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile sourceFile, Type languageType, DocumentRange range, PsiLanguageCategories categories) at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles[TLanguage](IPsiSourceFile sourceFile, DocumentRange range, PsiLanguageCategories categories) at JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.<>c__DisplayClass24.<GetPsiFilesFromDocument>b__22(IPsiSourceFile sf) at System.Linq.Enumerable.<SelectManyIterator>d__16`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.GetReferencesAtOffset(ISolution solution, DocumentOffset documentOffset, SourceFilesMask mask, PsiLanguageCategories categories) at JetBrains.ReSharper.Feature.Services.Util.TextControlToPsi.GetDeclaredElements(ISolution solution, DocumentOffset documentOffset, SourceFilesMask mask, Boolean& isPossiblyNonNullInThisDocument) at JetBrains.ReSharper.Feature.Services.Util.PsiDataRules.DeclaredElementsFromDocument(IDataContext context, SourceFilesMask mask) at JetBrains.ReSharper.Feature.Services.Util.PsiDataRules.<.ctor>b__2(IDataContext context) at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context) at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
— Outer —
— EXCEPTION #2/3 [InvalidOperationException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DataConstant = DeclaredElements
Data.DataConstantType = “System.Collections.Generic.ICollection
1[[JetBrains.ReSharper.Psi.IDeclaredElement, JetBrains.ReSharper.Psi, Version=108.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”
Data.DataRuleObject = JetBrains.Application.DataContext.DataRule
1[System.Collections.Generic.ICollection1[JetBrains.ReSharper.Psi.IDeclaredElement]]
Data.DataRulePriority = 0
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509
--- Outer ---
--- EXCEPTION #3/3 [LoggerException]
Message = “Failed to evaluate the data rule.”
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 2017.1 EAP 1 Build 108.0.20170209.145741-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2017.1 EAP 1 Build 2017.1.20170209.151925-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2017.1 EAP 1 Build 2017.1.20170209.151458-eap01”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2017.1 EAP 1 Build 2017.1.20170209.151453-eap01”
Data.SubProducts.#4 = “JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01”
Data.SubProducts.#5 = “JetBrains dotMemory 2017.1 EAP 1 Build 2017.1.20170209.152041-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/wave08-eap1::f2a118257f686c7e845f09736c57d7bef0db0aee
Platform\VisualStudio:
git::refs/heads/wave08-eap1
”
Data.VsVersion = 14.0.25431.1
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception exception, ExceptionOrigin origin, String comment)
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant)
at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant
1 dataConstant)at JetBrains.ReSharper.Feature.Services.Util.PsiDataRules.DeclaredElementSingleOrNull(IDataContext dataContext) at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context) at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator) at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant) at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant`1 dataConstant) at JetBrains.ReSharper.I18n.Services.ResourcesHelper.GetResourceItemDeclaredElement(IDataContext context) at JetBrains.ReSharper.I18n.Services.Refactoring.Rename.CommonResourceRenameAction.IsAvailable(IDataContext context) at JetBrains.ReSharper.I18n.Services.Refactoring.Rename.ResourceRenameAction.<>c__DisplayClass1.<GetAction>b__0(IResourceRenameAction action) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at JetBrains.ReSharper.I18n.Services.Refactoring.Rename.ResourceRenameAction.GetAction(IDataContext context) at JetBrains.ReSharper.I18n.Services.Refactoring.Rename.RenameResourceDrivenWorkflow.IsAvailable(IDataContext context) at JetBrains.ReSharper.I18n.Services.Refactoring.Rename.RenameResourceWorkflowProvider.HideOtherActions(IDataContext context) at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.GetWorkflowListToExecute(IDataContext dataContext) at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate) at JetBrains.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Evaluate(IAction handler, EvaluatedAction result, IDataContext context) at JetBrains.ReSharper.Feature.Services.Actions.ServicesActionEvaluator.Evaluate(IAction handler, EvaluatedAction result, IDataContext context) at JetBrains.UI.ActionsRevised.Handlers.BoundAction.Evaluate(IDataContext context) at JetBrains.UI.ActionsRevised.Handlers.ActionHandlers.Evaluate(IActionDefWithId action, IDataContext context) at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass26.<Evaluate>b__24(Lifetime lifetime) at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.Evaluate(IActionDefWithId actionDef) at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.QueryOverriddenCommandStatus(VsOverridingDef overridingDef) at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClassa.<PriorityCommandTargetQueryStatus>b__8() 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.PriorityCommandTargetQueryStatus(Guid guidCmdSet, OLECMD[] olecmds, OLECMDTEXT* pOleText) at JetBrains.VsIntegration.Shell.Actions.Revised.VsActionManagerPriorityCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
↧
↧
RSRP-463852: New Filters in Go To Everything - there is an empty leaves in the tree in Find Results window
Reporter |
|
---|---|
Created | Mar 21, 2017 6:21:58 PM |
Updated | Mar 21, 2017 6:21:58 PM |
Subsystem | Navigation - Global |
Assignee | Alexander Ulitin (alexander.ulitin) |
Priority | Normal |
State | Submitted |
Type | Bug |
Affected versions | No Affected versions |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Open in VS a large solution with some number of projects
Open Go to Everything (Ctrl+N) and type /
In the menu select fp = project
In the list select 'Show more items'
In the window Find results in Group by menu select, for example, 'File' - there is an empty leaves in the tree (look at pic)
Also for groups 'Directory and File', 'Project and Type', 'Project, Type and member', 'Project and Namespace' and 'Project structure'
Open Go to Everything (Ctrl+N) and type /
In the menu select fp = project
In the list select 'Show more items'
In the window Find results in Group by menu select, for example, 'File' - there is an empty leaves in the tree (look at pic)
Also for groups 'Directory and File', 'Project and Type', 'Project, Type and member', 'Project and Namespace' and 'Project structure'
↧
RSRP-463812: Broken code after signature for extension method changed
Reporter |
|
---|---|
Created | Mar 20, 2017 5:02:55 PM |
Updated | Mar 21, 2017 6:35:56 PM |
Subsystem | Refactorings |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Submitted |
Type | Bug |
Affected versions | 2016.3.2, 2016.3.1 |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2015 RTM |
Steps to reproduce:
1) Write code like sample below (titled "Source code");
2) When cursor at "AppendSomething" press "Ctrl+F6" and move "first" parameter down;
3) Press "Next" button and see broken code (second sample titled "Broken code").
1) Write code like sample below (titled "Source code");
2) When cursor at "AppendSomething" press "Ctrl+F6" and move "first" parameter down;
3) Press "Next" button and see broken code (second sample titled "Broken code").
Source code
public class Customer
{
public void test()
{
var builder = new StringBuilder();
builder.Append("test")
.Append("test2")
.AppendSomething("first", "second")
.AppendLine();
}
}
public static class BuilderExtension
{
public static StringBuilder AppendSomething(this StringBuilder builder, string first,
string second)
{
builder.Append(first).Append(second);
return builder;
}
}
Broken code
public class Customer
{
public void test()
{
var builder = new StringBuilder();
BuilderExtension.AppendSomething("second", "first")
.AppendLine();
}
}
...
↧
RSRP-463480: Can not calculate Solution of the project item (Class3.cs of type ProjectFileImpl)because it is detached from the project hierarchy.
Reporter |
|
---|---|
Created | Mar 9, 2017 1:38:55 AM |
Updated | Mar 21, 2017 6:43:49 PM |
Subsystem | Platform - Project Model |
Assignee | Sergey Kuks (coox) |
Priority | Critical |
State | Submitted |
Type | Exception |
Affected versions | 2017.1 |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2017 RTM |
ReSharperPlatformVs15 Wave 08 Hive _77b6e82a — JetBrains ReSharper Ultimate 2017.1 EAP 5 Build 108.0.20170307.171444-eap05
JetBrains ReSharper 2017.1 EAP 5 Build 2017.1.20170307.181212-eap05
Can not calculate Solution of the project item (Class3.cs of type ProjectFileImpl)because it is detached from the project hierarchy.
— EXCEPTION #1/2 [InvalidOperationException]
Message = “Can not calculate Solution of the project item (Class3.cs of type ProjectFileImpl)because it is detached from the project hierarchy.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.ReentrancyGuard.ActionName = GotoByNameController.InternalExecuteItem
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.ProjectModel
StackTraceString = “
”
— Outer —
— EXCEPTION #2/2 [LoggerException]
Message = “Can not calculate Solution of the project item (Class3.cs of type ProjectFileImpl)because it is detached from the project hierarchy.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.1 EAP 5 Build 108.0.20170307.171444-eap05”
Data.SubProducts.#0 = “JetBrains ReSharper 2017.1 EAP 5 Build 2017.1.20170307.181212-eap05”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
git::refs/heads/wave08::1fbf0f55b7a7aadc40cfea98080223072fc01a77
”
Data.VsVersion = 15.0.26228.4
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
JetBrains ReSharper 2017.1 EAP 5 Build 2017.1.20170307.181212-eap05
Can not calculate Solution of the project item (Class3.cs of type ProjectFileImpl)because it is detached from the project hierarchy.
— EXCEPTION #1/2 [InvalidOperationException]
Message = “Can not calculate Solution of the project item (Class3.cs of type ProjectFileImpl)because it is detached from the project hierarchy.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.ReentrancyGuard.ActionName = GotoByNameController.InternalExecuteItem
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.ProjectModel
StackTraceString = “
at JetBrains.ProjectModel.ProjectItemBase.GetSolution() at JetBrains.VsIntegration.IDE.EditorManager.VsEditorManager.TryFindTextControlForFile(IProjectModelElement file) at JetBrains.VsIntegration.IDE.EditorManager.VsEditorManager.TryFindTextControlForFileAdvanced(IProjectModelElement file, IVsWindowFrame frame) at JetBrains.VsIntegration.IDE.EditorManager.VsEditorManager.CreateTextControlForFileImpl(IProjectItem file, FileView fileViewPrimary, Boolean activate, TabOptions tabOptions, Func`4 openFileFunc) at JetBrains.VsIntegration.IDE.EditorManager.VsEditorManager.CreateTextControlForFile(IProjectItem file, FileView fileViewPrimary, Boolean activate, TabOptions tabOptions) at JetBrains.Platform.VisualStudio.SinceVs15.IDE.VsEditorManager15.CreateTextControlForFile(IProjectItem file, FileView fileViewPrimary, Boolean activate, TabOptions tabOptions) at JetBrains.VsIntegration.IDE.EditorManager.VsEditorManager.<>c__DisplayClass16.<OpenProjectFile>b__15() at JetBrains.VsIntegration.IDE.EditorManager.VsEditorManager.<>c__DisplayClass2.<ExpectCallbackAndKeepCurrentFrame>b__0() at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExpectUnguardedCallback(Action FNested) at JetBrains.VsIntegration.IDE.EditorManager.VsEditorManager.ExpectCallbackAndKeepCurrentFrame(Boolean activate, Func`1 doOnOpen) at JetBrains.VsIntegration.IDE.EditorManager.VsEditorManager.OpenProjectFile(IProjectFile projectFile, Boolean activate, FileView fileViewPrimary, TabOptions tabOptions) at JetBrains.ReSharper.Feature.Services.Navigation.TextNavigationPoint.Navigate(NavigationOptions options) at JetBrains.ReSharper.Feature.Services.Navigation.NavigationManagerImpl.PerformNavigate(INavigationPoint point, NavigationOptions options) at JetBrains.ReSharper.Feature.Services.Navigation.NavigationManagerImpl.Navigate(IEnumerable`1 points, NavigationOptions options) at JetBrains.ReSharper.Feature.Services.Navigation.NavigationManager.Navigate[TNavigationProvider,TNavigationData](TNavigationData target, NavigationOptions options) at JetBrains.ReSharper.Feature.Services.Navigation.NavigationExtensions.CommonElementsNavigationExtensions.Navigate(IProjectModelElement projectModelElement, PopupWindowContextSource source, Boolean transferFocus) at JetBrains.ReSharper.Feature.Services.Occurrences.ProjectItemOccurrence.Navigate(ISolution solution, PopupWindowContextSource windowContext, Boolean transferFocus, TabOptions tabOptions) at JetBrains.ReSharper.Feature.Services.Navigation.Goto.Controllers.GotoControllerBase`3.ExecuteItem(JetPopupMenuItem item, ISignal`1 closeBeforeExecute) at JetBrains.UI.GotoByName.GotoByNameController.<>c__DisplayClass1f.<InternalExecuteItem>b__1e() at JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F) at JetBrains.Application.IShellLocksEx.<>c__DisplayClass4.<ExecuteOrQueueReadLock>b__3() at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
— Outer —
— EXCEPTION #2/2 [LoggerException]
Message = “Can not calculate Solution of the project item (Class3.cs of type ProjectFileImpl)because it is detached from the project hierarchy.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.1 EAP 5 Build 108.0.20170307.171444-eap05”
Data.SubProducts.#0 = “JetBrains ReSharper 2017.1 EAP 5 Build 2017.1.20170307.181212-eap05”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
git::refs/heads/wave08::1fbf0f55b7a7aadc40cfea98080223072fc01a77
”
Data.VsVersion = 15.0.26228.4
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority) at JetBrains.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, String name, Action action) at JetBrains.Application.IShellLocksEx.ExecuteOrQueueReadLock(IShellLocks thіs, String name, Action F) at JetBrains.UI.GotoByName.GotoByNameController.InternalExecuteItem(JetPopupMenuItem item, IShellLocks locks) at JetBrains.UI.GotoByName.GotoByNameController.<InitDataFlow>b__1c(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.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.UI.PopupMenu.Impl.JetPopupMenuDoc.ExecuteSelectedItem() at JetBrains.UI.PopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args) at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args) at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m) at System.Windows.Forms.Form.ProcessKeyPreview(Message& m) at System.Windows.Forms.Control.ProcessKeyPreview(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.TextBoxBase.WndProc(Message& m) at System.Windows.Forms.TextBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
↧
RSRP-462571: Microsoft.AspNetCore.Razor.TagHelpers.* methods should not be marked as MustUseReturnValue
Reporter |
|
---|---|
Created | Jan 16, 2017 2:00:35 AM |
Updated | Mar 21, 2017 6:55:34 PM |
Subsystem | Code Analysis - Annotations |
Assignee | Slava Trenogin (derigel) |
Priority | Major |
State | Fixed In Branch |
Type | Bug |
Affected versions | No Affected versions |
Fix version | 2017.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
That class just provides a fluent API. For some reason R# thinks that methods' return values should be used.
↧
↧
RSRP-463855: Chop Formal Parameters
Reporter |
|
---|---|
Created | Mar 21, 2017 6:56:59 PM |
Updated | Mar 21, 2017 6:56:59 PM |
Subsystem | No Subsystem |
Assignee | Unassigned |
Priority | Normal |
State | Submitted |
Type | Unspecified |
Affected versions | No Affected versions |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
ReSharper has a nice configuration to chop formal parameters to look like:
CallSomeMethod(
parameter1,
parameter2,
parameter3)
It would be nice is if there is only one parameter, it leaves it on the line of the method call.
CallSomeMethod(only1Parameter)
Thanks
CallSomeMethod(
parameter1,
parameter2,
parameter3)
It would be nice is if there is only one parameter, it leaves it on the line of the method call.
CallSomeMethod(only1Parameter)
Thanks
↧
RSRP-463856: "Create Read-Only Property" doesn't create a read-only property
Reporter |
|
---|---|
Created | Mar 21, 2017 6:59:18 PM |
Updated | Mar 21, 2017 6:59:18 PM |
Subsystem | Quick Fixes - Create From Usage |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Submitted |
Type | Bug |
Affected versions | 2017.2 |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2017 RTM |
When you select "Create Read-Only Property" from the Quick Fixes dropdown it doesn't actually create a read-only property. The only thing I can think of that I changed is that I set the project property: "C# Language Level" to be "C# 5.0".
It creates:
I would have expected:
It creates:
public object ReferenceID { get; private set; }
I would have expected:
public object ReferenceID { get; }
↧
RSRP-463059: can't find project for project dependency : C:\tfs\FAMC\FAMC_NET\Muellerchur.Famc.Deploy\Muellerchur.Famc.Deploy.csproj
Reporter |
|
---|---|
Created | Feb 10, 2017 7:01:46 PM |
Updated | Mar 21, 2017 7:04:18 PM |
Subsystem | Solution builder |
Assignee | Anton Spilnyy (Anton.Spilnyy) |
Priority | Normal |
State | Submitted |
Type | Exception |
Affected versions | No Affected versions |
Fix version | No Fix versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
ReSharperPlatformVs15 Wave 08 RootSuffix _4344efc9 — JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01
JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01
can't find project for project dependency : C:\tfs\FAMC\FAMC_NET\Muellerchur.Famc.Deploy\Muellerchur.Famc.Deploy.csproj
— EXCEPTION #1/1 [LoggerException]
Message = “can't find project for project dependency : C:\tfs\FAMC\FAMC_NET\Muellerchur.Famc.Deploy\Muellerchur.Famc.Deploy.csproj”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = SolutionBuilderControllerPrototype_Executor
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01”
Data.SubProducts.#0 = “JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01”
Data.SubProducts.#1 = “JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/wave08-eap1::f2a118257f686c7e845f09736c57d7bef0db0aee
Platform\VisualStudio:
git::refs/heads/wave08-eap1
”
Data.VsVersion = 15.0.26206.0
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01
JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01
can't find project for project dependency : C:\tfs\FAMC\FAMC_NET\Muellerchur.Famc.Deploy\Muellerchur.Famc.Deploy.csproj
— EXCEPTION #1/1 [LoggerException]
Message = “can't find project for project dependency : C:\tfs\FAMC\FAMC_NET\Muellerchur.Famc.Deploy\Muellerchur.Famc.Deploy.csproj”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = SolutionBuilderControllerPrototype_Executor
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.1 EAP 1 Build 108.0.20170209.145741-eap01”
Data.SubProducts.#0 = “JetBrains dotTrace 2017.1 EAP 1 Build 2017.1.20170209.151846-eap01”
Data.SubProducts.#1 = “JetBrains ReSharper 2017.1 EAP 1 Build 2017.1.20170209.151826-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/wave08-eap1::f2a118257f686c7e845f09736c57d7bef0db0aee
Platform\VisualStudio:
git::refs/heads/wave08-eap1
”
Data.VsVersion = 15.0.26206.0
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.ReSharper.Features.SolBuilderDuo.Helpers.ProjectsGraphByBuildDependenciesBuilder.CalculateBuildDependencies(IList`1 projects) at JetBrains.ReSharper.Features.SolBuilderDuo.Helpers.ProjectsGraphByBuildDependenciesBuilder.GetBuildDependencies(IList`1 projects) at JetBrains.ReSharper.Features.SolBuilderDuo.Helpers.AgregatedProjectsGraphBuilder.Build(IList`1 projects) at JetBrains.ReSharper.Features.SolBuilderDuo.Services.SolutionBuilderCommandProcessor.ProcessPersistentDataLoadedCommand(SolutionBuilderPersistentDataLoadedCommand command) at JetBrains.ReSharper.Features.SolBuilderDuo.Services.SolutionBuilderControllerPrototype.ProceedCommand(ISolutionBuilderCommand command) at JetBrains.ReSharper.Features.SolBuilderDuo.Services.SolutionBuilderControllerPrototype.ProceedCommands() at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action) at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClasse.<Create>b__a(Object state) at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() at System.Threading.Tasks.Task.ExecutionContextCallback(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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot) at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution) at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task) at JetBrains.Application.Threading.Tasks.SingleThreadExecutorView.InternalExecute(Task task) at JetBrains.Application.Threading.Tasks.SingleThreadExecutorView.ThreadProc() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) 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()
↧