Reporter | Andrew Serebryansky (marcus23) |
---|---|
Created | Jun 3, 2008 3:29:04 PM |
Updated | Apr 11, 2018 6:48:41 PM |
Resolved | Apr 11, 2018 6:48:41 PM |
Subsystem | Code Analysis |
Assignee | Ilya Ryzhenkov (orangy) |
Priority | Normal |
State | Declined |
Type | Feature |
Fix version | Backlog |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
RSRP-70862: Filter warnings and errors on error stripe
RSRP-229017: Renaming symbol with @ breaks code
Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Mar 15, 2011 2:06:41 AM |
Updated | Apr 11, 2018 6:48:41 PM |
Resolved | Apr 11, 2018 6:48:41 PM |
Subsystem | Refactorings |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Obsolete |
Type | Bug |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
class @class
{
static void Foo(ref@class c) { }
}
Rename @class to type. Result:
class type
{
static void Foo(reftype c) { }
}
Expected:
class type
{
static void Foo(ref type c) { }
}
RSRP-467854: "Move to resource" created invalid value in case of interpolated string
Reporter | Alexander Kurakin (Alexander.Kurakin) |
---|---|
Created | Jan 9, 2018 6:47:09 PM |
Updated | Apr 11, 2018 6:49:00 PM |
Resolved | Apr 11, 2018 6:49:00 PM |
Subsystem | Localization (i18n, ResX) |
Assignee | Andrey Dyatlov (Andrey.Dyatlov) |
Priority | Major |
State | Fixed |
Type | Bug |
Fix version | 2017.3 |
Affected versions | Backlog |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Console.WriteLine($"Synchronization in progress. Passed time {TimeSpan.FromMinutes(10):hh\\:mm\\:ss}.");
"Move to resource" created value:
Synchronization in progress. Passed time {0:hh\\:mm\\:ss}.
Format value is not valid. I have exception in runtime:
System.FormatException
HResult=0x80131537
Message=Input string was not in a correct format.
Source=mscorlib
StackTrace:
at System.Globalization.TimeSpanFormat.FormatCustomized(TimeSpan value, String format, DateTimeFormatInfo dtfi)
at System.Globalization.TimeSpanFormat.Format(TimeSpan value, String format, IFormatProvider formatProvider)
at System.TimeSpan.ToString(String format, IFormatProvider formatProvider)
at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.IO.TextWriter.WriteLine(String format, Object arg0)
at System.IO.TextWriter.SyncTextWriter.WriteLine(String format, Object arg0)
at System.Console.WriteLine(String format, Object arg0)
at ConsoleApp.Program.Main() in C:\Users\ANest\Documents\Visual Studio 2017\Projects\LocTest\ConsoleApp\Program.cs:line 24
Problem in format value inside string interpolation.
R# "Move to resource" created valid value for string value without interpolation:
Console.WriteLine("Synchronization in progress. Passed time {0:hh\\:mm\\:ss}.", TimeSpan.FromMinutes(10));
RSRP-66761: Code analysis before commit
Reporter | Muzaffer Dogru (mdogru) |
---|---|
Created | Apr 29, 2008 3:47:24 PM |
Updated | Apr 11, 2018 6:49:16 PM |
Subsystem | Code Analysis |
Assignee | Sergey Kuks (coox) |
Priority | Normal |
State | Open |
Type | Feature |
Fix version | Backlog |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
RSRP-469138: Unit Test Session is reporting incorrectly a test is Inconslusive
Reporter | Maria Pleskunina (Maria.Pleskunina) |
---|---|
Created | Apr 6, 2018 4:20:40 PM |
Updated | Apr 11, 2018 6:50:10 PM |
Subsystem | Unit Testing |
Assignee | Eugene Strizhok (Eugene.Strizhok) |
Priority | Show-stopper |
State | Fixed In Branch |
Type | Bug |
Fix version | 2018.1.1 |
Affected versions | 2017.3.5, 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
- Open and rebuild the project;
- In Unit Test Explorer we'll see 2 tests, although there is only one;
- The problem is solved by opening the problem file: https://www.screencast.com/t/YV8pmPfD4ZMO
RSRP-230713: Create field is not available at
Reporter | Sergey Kuks (coox) |
---|---|
Created | Mar 16, 2011 6:46:00 PM |
Updated | Apr 11, 2018 6:51:13 PM |
Resolved | Apr 11, 2018 6:51:13 PM |
Subsystem | Quick Fixes |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Obsolete |
Type | Bug |
Fix version | Backlog |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Action action = () => myCreateActivityFunc(key, () => QueueActivity(OnInterruptedDelay), () =>
{
lock (myQueue)
{
myQueue.Remove(key);
if (myQueue.Count > 0)
QueueActivity(delay);
}
}).DoStart();
RSRP-245197: Make method non-static don't check for conflicts with extension methods
Reporter | Ilya Ryzhenkov (orangy) |
---|---|
Created | Apr 4, 2011 6:11:47 PM |
Updated | Apr 11, 2018 6:57:40 PM |
Subsystem | Refactorings |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Major |
State | Open |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
namespace MvcApplication1.Controllers
{
public class User
{
private void foo(Class1 class1, Class2 class2)
{
Class1.Foo(class1, class2);
class2.Foo(class1);
}
}
public class Class1
{
public static void Foo(Class1 class1, Class2 class2) // Make this non-static in Class2, conflict should be reported
{
}
}
public class Class2
{
}
public static class Class1Extensions
{
public static void Foo(this Class2 class2, Class1 class1)
{
Class1.Foo(class1, class2);
}
}
}
RSRP-469227: False "Possible NRE"
Reporter | Ivan Serduk (IvanSerduk) |
---|---|
Created | Apr 11, 2018 7:04:49 PM |
Updated | Apr 11, 2018 7:04:49 PM |
Subsystem | Code Analysis - C# |
Assignee | Ivan Serduk (IvanSerduk) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | 2018.2 |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
using System;
using JetBrains.Annotations;
public class Class2
{
[CanBeNull] private MyForm myForm;
public void Test()
{
if (myForm == null)
return;
myForm.Activated += obj => Activated();
var s = myForm.ToString(); // false possible NRE
}
private void Activated() { }
}
public class MyForm
{
public event Action<object> Activated;
}
RSRP-469228: Disabling the default symbol servers
Reporter | Maria Pleskunina (Maria.Pleskunina) |
---|---|
Created | Apr 11, 2018 7:23:30 PM |
Updated | Apr 11, 2018 7:25:33 PM |
Subsystem | External Sources |
Assignee | Alexander Ulitin (alexander.ulitin) |
Priority | Major |
State | Submitted |
Type | Improvement |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
We have our own ProGet that is used as a symbol server in an air gapped environment. Adding it to Visual Studios Symbol Servers works fine and ReSharper is using it when "Tools -> External Sources -> Allow downloading from remote locations" is activated.
The Problem is if i "GoTo Implementation" on a symbol that is not included on the ProGet server ReSharper tries to download symbols from the default symbol servers before realizing they can't be reached and resorting to decompilation. This causes a wait time of several seconds and is very annoying. I would imagine that disabling the default symbol servers in ReSharper would solve this problem.
RSRP-468601: Type reference could be only for type reference but is used on
Reporter | Brian Ricketts (briman94) |
---|---|
Created | Mar 3, 2018 10:17:01 PM |
Updated | Apr 11, 2018 7:38:06 PM |
Subsystem | JavaScript |
Assignee | Nikita Popov (poksh) |
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 ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d
LastExtension = ts
SubProducts.0 = JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d
ManagedThreadName = JetPool (L) Regular thread #2
ManagedThreadName = JetPool (L) Regular thread #1
ManagedThreadName = DaemonThread
Type reference could be only for type reference but is used on
— EXCEPTION #1/1 [LoggerException]
Message = “Type reference could be only for type reference but is used on”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (L) Regular thread #1”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180228.142904-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
git::refs/heads/wave12-RSRP-467036
”
Data.VsVersion = 15.6.27428.1
Data.VsPreview = True
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.Logging.Logger.FailWithSensitiveData(String messageText, Pair`2[] sensitiveData)…
at JetBrains.Util.Logging.Logger.FailWithSensitiveData(String messageText, Pair`2[] sensitiveData)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.PrimitiveTypeExtensions.GetTypeReferenceType(JsPrimitive primitive, String name)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeBase.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeWithSignaturesBase.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsNamedType.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ProcessDerivedTypes(JsTypeResolveResult type, JsResolveContext context, JsTypeDescriptionOpInfo derivedTypeInfo, StrongTypeMode mode, Boolean expectedType, JsUnresolvedTypeFlags flags, Boolean addStandardTypes, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.<>c.<.cctor>b__58_1(JsResolveContext context1, JsUnresolvedTypeBase me, MyCalculationIdentifier ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ExpandRecursively(JsResolveContext context, Boolean standardTypes, Boolean expectedTypes, JsUnresolvedTypeFlags flags, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ResolveType(JsResolveContext context, Boolean standardTypes, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.ResolveTypeArray(ITsSubstitution instantiation, JsResolveContext context, IList`1 javaScriptTypes, StrongTypeMode strict, List`1& resolvedTypes, JsTypeResolveInfo& info, Boolean useFirstAsContextual, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.ExpandBestCommonType(IList`1 typeList, ITsSubstitution instantiation, JsResolveContext context, StrongTypeMode strict, JsCombinedTypeKind kind, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandCombinedType(JsUnresolvedTypeArray typeList, JsTypeExpandingContext expContext, ITsSubstitution instantiation, Boolean reportSuccessOrError, JsCombinedTypeKind kind, JsTypeResolveResult contextualType, JsUnresolvedTypeFlags flags)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandTypeForPrimaryPrimitive(JsTypeDescriptionOpInfo info, IPsiSourceFile file, JsUnresolvedTypeFlags flags, JsTypeExpandingContext context, Boolean reportSuccessOrError, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.<>c.<.cctor>b__58_1(JsResolveContext context1, JsUnresolvedTypeBase me, MyCalculationIdentifier ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ExpandRecursively(JsResolveContext context, Boolean standardTypes, Boolean expectedTypes, JsUnresolvedTypeFlags flags, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ResolveType(JsResolveContext context, Boolean standardTypes, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.JsParameterInfo.GetResolvedType(JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, Boolean allowIdentityLoss, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.GetFormalParameterType(JsParameterInfo[] paramList, Int32 index, JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, Boolean allowIdentityLoss, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.GetParameterType(JsParameterInfo[] paramList, Int32 index, JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypeResults(JsResolveContext context, JsTypeResolveResult sourceTypeResult, JsTypeResolveResult targetTypeResult, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypeResults(JsResolveContext context, JsTypeResolveResult sourceTypeResult, JsTypeResolveResult targetTypeResult, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareCombinedWithOr(JsResolveContext ctx, ITsCombinedType typeToSplit, IJsResolvedType typeToCompare, Boolean isUnion, ComparisonContext comparisonContext, JsTypeResolveInfo info1, JsTypeResolveInfo info2, ComparisonKind comparisonKind)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.UnionOrIntersectionAssignabilityOrSubtypingComparison(JsResolveContext ctx, IJsResolvedType source, JsTypeResolveInfo info1, IJsResolvedType target, JsTypeResolveInfo info2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.UnionOrIntersectionComparison(JsResolveContext ctx, IJsResolvedType type1, JsTypeResolveInfo info1, IJsResolvedType type2, JsTypeResolveInfo info2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesWithExtendedResult(JsResolveContext context, JsTypeResolveResult type1, JsTypeResolveResult type2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypes(JsResolveContext context, JsTypeResolveResult type1, JsTypeResolveResult type2, ComparisonKind comparisonKind, IJsTypeResolveInfoMerger merger)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.IsApplicable(JsResolveContext context, IJsFunctionSignature info, IJsUnresolvedType[] parameters, JsTypeResolveResult[] typeParams, Boolean moreThanOneSignature, JsTypeExpandingContext derivedPrimitives, TempCalculationIdent ident, Boolean checkOnlySubtype, JsTypeResolveResult contextualTypeForSignature, ITsSubstitution& instantiation)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.<>c__DisplayClass12_1.<ResolveOverloadsStrongTyping>b__0(JsResolveContext ctx)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithoutRecursion(ICalculationIdentifier ident, ResolveContextKind resolveKind, Action`1 calculator)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloadsStrongTyping(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, IJsUnresolvedType[] parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloads(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, JsUnresolvedTypeArray parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, Boolean onlyWithTypeParams, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloads(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, JsPrimitiveKind operation, JsUnresolvedTypeArray parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeWithSignaturesBase.ProcessOverloads(JsResolveContext context, IJsTypeResolveCalculationItem ident, IJavaScriptTypeFileCache cache, IJsInvocationInfo info, JsTypeExpandingContext derivedPrimitives, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandInvocation(IJsTypeResolveCalculationItem ident, IJsInvocationInfo info, IPsiSourceFile file, JsTypeExpandingContext context, JsTypeResolveResult contextualType, Boolean reportSuccessOrError)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.GetOverloadError(JsResolveContext context, JsTypeResolveResult contextualType, IList`1 resultsList)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.GetOverloadError(JsResolveContext context, IJsUnresolvedType invocation, JsTypeResolveResult contextualType, IList`1 resultsList)
at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers.TsInvocationExpressionProblemAnalyzer.Run(ITsInvocationLikeExpression tsInvocationExpressionParam, ElementProblemAnalyzerData data, IHighlightingConsumer context)
at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzer`1.JetBrains.ReSharper.Feature.Services.Daemon.IElementProblemAnalyzer.Run(ITreeNode element, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Daemon.JavaScript.Stages.InitialStageProcess.VisitNode(ITreeNode node, IHighlightingConsumer context)
at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitExpressionOrSpread(IExpressionOrSpread expressionOrSpreadParam, TContext context)
at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitJavaScriptExpression(IJavaScriptExpression javaScriptExpressionParam, TContext context)
at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitMemberExpression(IMemberExpression memberExpressionParam, TContext context)
at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitInvocationExpression(IInvocationExpression invocationExpressionParam, TContext context)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Tree.InvocationExpression.Accept[TContext](TreeNodeVisitor`1 visitor, TContext context)
at JetBrains.ReSharper.Daemon.JavaScript.JavaScriptDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context)
at JetBrains.ReSharper.Daemon.JavaScript.Stages.InitialStageProcess.<Execute>b__9_0(IJavaScriptFile file, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Daemon.JavaScript.JavaScriptDaemonStageProcessBase.HighlightInFile(Action`2 fileHighlighter, Action`1 commiter)
at JetBrains.ReSharper.Daemon.JavaScript.Stages.InitialStageProcess.Execute(Action`1 committer)
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass43_1.<DoHighlighting>g__Stage2(IDaemonStage stage)
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass45_1.<PrepareRunActionForStages>b__0()
at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_0.<EnqueueDependentJobs>b__2()
at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass29_0.<Create>b__1(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.Scheduler.JetScheduler.ExecuteTask(Task task)
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
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()
RSRP-468603: Analyzer 'JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers.TsInvocationExpressionProblemAnalyzer' thrown exception: Obje
Reporter | Brian Ricketts (briman94) |
---|---|
Created | Mar 3, 2018 10:16:52 PM |
Updated | Apr 11, 2018 7:38:24 PM |
Subsystem | TypeScript |
Assignee | Nikita Popov (poksh) |
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 ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d
LastExtension = ts
SubProducts.0 = JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d
ManagedThreadName = JetPool (L) Regular thread #2
ManagedThreadName = JetPool (L) Regular thread #1
ManagedThreadName = DaemonThread
Analyzer 'JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers.TsInvocationExpressionProblemAnalyzer' thrown exception: Object reference not set to an instance of an object.
— EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.ReSharper.Psi.Web
StackTraceString = “
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.<>c.<.cctor>b__114_0(JsResolveContext context, String s, PrimitiveCalculationIdentifier ident)…
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.<>c.<.cctor>b__114_0(JsResolveContext context, String s, PrimitiveCalculationIdentifier ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.GetTypeForNamedType(JsPrimitive primitive, JsResolveContext context, StrongTypeMode mode)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeBase.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeWithSignaturesBase.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsNamedType.ProcessDerivedTypes(JsResolveContext context, JsTypeDescriptionOpInfo& derivedTypeInfo, JsUnresolvedTypeFlags flags, IList`1 sourcePrimitives, JsTypeExpandingContext derivedPrimitives, ResolveErrorType resolveStatus, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ProcessDerivedTypes(JsTypeResolveResult type, JsResolveContext context, JsTypeDescriptionOpInfo derivedTypeInfo, StrongTypeMode mode, Boolean expectedType, JsUnresolvedTypeFlags flags, Boolean addStandardTypes, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.<>c.<.cctor>b__58_1(JsResolveContext context1, JsUnresolvedTypeBase me, MyCalculationIdentifier ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ExpandRecursively(JsResolveContext context, Boolean standardTypes, Boolean expectedTypes, JsUnresolvedTypeFlags flags, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ResolveType(JsResolveContext context, Boolean standardTypes, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.ResolveTypeArray(ITsSubstitution instantiation, JsResolveContext context, IList`1 javaScriptTypes, StrongTypeMode strict, List`1& resolvedTypes, JsTypeResolveInfo& info, Boolean useFirstAsContextual, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.ExpandBestCommonType(IList`1 typeList, ITsSubstitution instantiation, JsResolveContext context, StrongTypeMode strict, JsCombinedTypeKind kind, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandCombinedType(JsUnresolvedTypeArray typeList, JsTypeExpandingContext expContext, ITsSubstitution instantiation, Boolean reportSuccessOrError, JsCombinedTypeKind kind, JsTypeResolveResult contextualType, JsUnresolvedTypeFlags flags)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandTypeForPrimaryPrimitive(JsTypeDescriptionOpInfo info, IPsiSourceFile file, JsUnresolvedTypeFlags flags, JsTypeExpandingContext context, Boolean reportSuccessOrError, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.<>c.<.cctor>b__58_1(JsResolveContext context1, JsUnresolvedTypeBase me, MyCalculationIdentifier ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ExpandRecursively(JsResolveContext context, Boolean standardTypes, Boolean expectedTypes, JsUnresolvedTypeFlags flags, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.ResolveType(JsResolveContext context, Boolean standardTypes, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.JsParameterInfo.GetResolvedType(JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, Boolean allowIdentityLoss, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.GetFormalParameterType(JsParameterInfo[] paramList, Int32 index, JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, Boolean allowIdentityLoss, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsResolveImplUtil.GetParameterType(JsParameterInfo[] paramList, Int32 index, JsResolveContext context, IJsFunctionSignature signature, StrongTypeMode strongTyped, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypeResults(JsResolveContext context, JsTypeResolveResult sourceTypeResult, JsTypeResolveResult targetTypeResult, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.SourceSignatureIsRelatableToTarget(IJsFunctionSignature targetSignature, IJsFunctionSignature sourceSignature, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignaturesInt(JsResolveContext context, IJsFunctionSignature signature1, IJsFunctionSignature signature2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareSignatureSetsInt(IList`1 targetSignatures, IList`1 sourceSignatures, ITsType targetOwnerTypeInfo, ITsType sourceOwnerTypeInfo, JsResolveContext ctx, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypeResults(JsResolveContext context, JsTypeResolveResult sourceTypeResult, JsTypeResolveResult targetTypeResult, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareCombinedWithOr(JsResolveContext ctx, ITsCombinedType typeToSplit, IJsResolvedType typeToCompare, Boolean isUnion, ComparisonContext comparisonContext, JsTypeResolveInfo info1, JsTypeResolveInfo info2, ComparisonKind comparisonKind)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.UnionOrIntersectionAssignabilityOrSubtypingComparison(JsResolveContext ctx, IJsResolvedType source, JsTypeResolveInfo info1, IJsResolvedType target, JsTypeResolveInfo info2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.UnionOrIntersectionComparison(JsResolveContext ctx, IJsResolvedType type1, JsTypeResolveInfo info1, IJsResolvedType type2, JsTypeResolveInfo info2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.DoCompareTypes(JsResolveContext ctx, ComparisonContext comparisonContext, TypeComparisonId ident)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithCache[T,TCalculationIdentifier,TState](TCalculationIdentifier ident, TState state, ResolveContextKind resolveKind, Func`4 getResult, T defaultValue, Boolean checkForCyclicOrTooDeep, Func`4 getCyclicResult, Func`5 processResult)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesInt(JsResolveContext context, IJsResolvedType sourceType, JsTypeResolveInfo sourceInfo, IJsResolvedType targetType, JsTypeResolveInfo targetInfo, ComparisonKind comparisonKind, ComparisonContext comparisonContext, Int32 depth)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypesWithExtendedResult(JsResolveContext context, JsTypeResolveResult type1, JsTypeResolveResult type2, ComparisonKind comparisonKind, ComparisonContext comparisonContext)
at JetBrains.ReSharper.Psi.JavaScript.Resolve.TypeScript.TypeRelationsUtil.CompareTypes(JsResolveContext context, JsTypeResolveResult type1, JsTypeResolveResult type2, ComparisonKind comparisonKind, IJsTypeResolveInfoMerger merger)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.IsApplicable(JsResolveContext context, IJsFunctionSignature info, IJsUnresolvedType[] parameters, JsTypeResolveResult[] typeParams, Boolean moreThanOneSignature, JsTypeExpandingContext derivedPrimitives, TempCalculationIdent ident, Boolean checkOnlySubtype, JsTypeResolveResult contextualTypeForSignature, ITsSubstitution& instantiation)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.<>c__DisplayClass12_1.<ResolveOverloadsStrongTyping>b__0(JsResolveContext ctx)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsResolveContext.CalculateWithoutRecursion(ICalculationIdentifier ident, ResolveContextKind resolveKind, Action`1 calculator)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloadsStrongTyping(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, IJsUnresolvedType[] parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloads(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, JsUnresolvedTypeArray parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, Boolean onlyWithTypeParams, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.ResolveOverloads(FrugalLocalList`1& result, FrugalLocalList`1& signatures, JsResolveContext context, JsPrimitiveKind operation, JsUnresolvedTypeArray parameters, JsUnresolvedTypeArray typeParams, JsTypeExpandingContext derivedPrimitives, IJsTypeResolveCalculationItem ident, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsTypeWithSignaturesBase.ProcessOverloads(JsResolveContext context, IJsTypeResolveCalculationItem ident, IJavaScriptTypeFileCache cache, IJsInvocationInfo info, JsTypeExpandingContext derivedPrimitives, JsTypeResolveResult contextualType)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsTypeResolverBase.ExpandInvocation(IJsTypeResolveCalculationItem ident, IJsInvocationInfo info, IPsiSourceFile file, JsTypeExpandingContext context, JsTypeResolveResult contextualType, Boolean reportSuccessOrError)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.JsUnresolvedTypeBase.GetOverloadError(JsResolveContext context, JsTypeResolveResult contextualType, IList`1 resultsList)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Resolve.TypeScript.TsOverloadResolutionEngine.GetOverloadError(JsResolveContext context, IJsUnresolvedType invocation, JsTypeResolveResult contextualType, IList`1 resultsList)
at JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers.TsInvocationExpressionProblemAnalyzer.Run(ITsInvocationLikeExpression tsInvocationExpressionParam, ElementProblemAnalyzerData data, IHighlightingConsumer context)
at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzer`1.JetBrains.ReSharper.Feature.Services.Daemon.IElementProblemAnalyzer.Run(ITreeNode element, ElementProblemAnalyzerData data, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)
— Outer —
— EXCEPTION #2/2 [LoggerException]
Message = “Analyzer 'JetBrains.ReSharper.Daemon.JavaScript.Stages.TypeScript.Error.ProblemAnalyzers.TsInvocationExpressionProblemAnalyzer' thrown exception: Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (L) Regular thread #1”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180228.142904-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180228.144736-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
git::refs/heads/wave12-RSRP-467036
”
Data.VsVersion = 15.6.27428.1
Data.VsPreview = True
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)…
at JetBrains.ReSharper.Feature.Services.Daemon.ElementProblemAnalyzerRegistrar.ElementAnalyzerDispatcher.Run(ITreeNode element, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Daemon.JavaScript.Stages.InitialStageProcess.VisitNode(ITreeNode node, IHighlightingConsumer context)
at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitExpressionOrSpread(IExpressionOrSpread expressionOrSpreadParam, TContext context)
at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitJavaScriptExpression(IJavaScriptExpression javaScriptExpressionParam, TContext context)
at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitMemberExpression(IMemberExpression memberExpressionParam, TContext context)
at JetBrains.ReSharper.Psi.JavaScript.Tree.TreeNodeVisitor`1.VisitInvocationExpression(IInvocationExpression invocationExpressionParam, TContext context)
at JetBrains.ReSharper.Psi.JavaScript.Impl.Tree.InvocationExpression.Accept[TContext](TreeNodeVisitor`1 visitor, TContext context)
at JetBrains.ReSharper.Daemon.JavaScript.JavaScriptDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants[TContext](ITreeNode root, IRecursiveElementProcessor`1 processor, TContext context)
at JetBrains.ReSharper.Daemon.JavaScript.Stages.InitialStageProcess.<Execute>b__9_0(IJavaScriptFile file, IHighlightingConsumer consumer)
at JetBrains.ReSharper.Daemon.JavaScript.JavaScriptDaemonStageProcessBase.HighlightInFile(Action`2 fileHighlighter, Action`1 commiter)
at JetBrains.ReSharper.Daemon.JavaScript.Stages.InitialStageProcess.Execute(Action`1 committer)
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass43_1.<DoHighlighting>g__Stage2(IDaemonStage stage)
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass45_1.<PrepareRunActionForStages>b__0()
at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_0.<EnqueueDependentJobs>b__2()
at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass29_0.<Create>b__1(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.Scheduler.JetScheduler.ExecuteTask(Task task)
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
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()
RSRP-467893: Intersecting ranges: ALIGN_MULTILINE_BINARY_EXPRESSIONS_CHAINLeftOperand and BLOCK_IN_STATEMENTAlignment
Reporter | ReSharper anonymous (resharper) |
---|---|
Created | Jan 2, 2018 11:33:46 PM |
Updated | Apr 11, 2018 7:48:24 PM |
Subsystem | Code Style - Formatter |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Priority | Critical |
State | Submitted |
Type | Exception |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
— EXCEPTION #1/1 [LoggerException]
Message = “Intersecting ranges: ALIGN_MULTILINE_BINARY_EXPRESSIONS_CHAINLeftOperand and BLOCK_IN_STATEMENTAlignment”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.LoggerBase.Log (JetBrains.Util.LoggingLevel level, System.String message, System.Exception ex) [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.Util.Logging.LogEx.Error (JetBrains.Util.Logging.ILog this, System.String message) [0x00000] in <e3913444eace4dd38560e2696e8883f6>:0
at JetBrains.Util.Logging.Logger.LogError (System.String message) [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.Util.Logging.Logger.Fail (System.String messageText) [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.Util.Logging.Logger.Fail (System.String format, System.Object[] args) [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage
2[TContext,TSettingsKey].IsPrevRegionCovered (JetBrains.ReSharper.Psi.Tree.ITreeNode curRegionClosingNode, JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentType indentType, System.String regionName, JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentRegionInfo prevIndentInfo) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage
2[TContext,TSettingsKey].ShouldCollapsePrevRegion (JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentRegionInfo prevIndentInfo, JetBrains.ReSharper.Psi.Tree.ITreeNode current, JetBrains.ReSharper.Psi.Tree.ITreeNode closingNode, JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentType& indentType, System.Boolean delayed, System.String regionName) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0 at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage
2[TContext,TSettingsKey].TryCollapsePrevRegion (JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentRegionInfo& prevIndentInfo, JetBrains.ReSharper.Psi.Tree.ITreeNode current, JetBrains.ReSharper.Psi.Tree.ITreeNode closingNode, JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentType& indentType, System.Boolean delayed, System.String regionName) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage
2[TContext,TSettingsKey].CalculateIndentInfo (System.String regionName, JetBrains.ReSharper.Psi.Tree.ITreeNode current, JetBrains.ReSharper.Psi.Tree.ITreeNode closingNode, JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentType typeMask, JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentType indentType, System.Int32 standardIndentMultiplier, System.String additionalIndent, System.Collections.Generic.IEnumerable1[T] observedSettings, System.Boolean forLookAhead) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage
2[TContext,TSettingsKey].JetBrains.ReSharper.Psi.Impl.CodeStyle.IIndentingStage<TSettingsKey>.ProcessIndentingRegion (System.String regionName, JetBrains.ReSharper.Psi.Tree.ITreeNode current, JetBrains.ReSharper.Psi.Tree.ITreeNode closingNode, JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentType typeMask, JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentType indentType, System.Int32 standardIndentMultiplier, System.String additionalIndent, System.Collections.Generic.IEnumerable1[T] observedSettings) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterInfoProviderBase
2[TContext,TSettingsKey].JetBrains.ReSharper.Psi.Impl.CodeStyle.IFormatterInfoProvider<TContext,TSettingsKey>.FindAndProcessIndentingRegions (JetBrains.ReSharper.Psi.Tree.ITreeNode node, JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentType typeMask, JetBrains.ReSharper.Psi.Impl.CodeStyle.IIndentingStage1[TSettingsKey] callback, TContext context) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage
2[TContext,TSettingsKey].ProcessNodeSide (JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentType endType, JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentType startTypes) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0 at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage
2[TContext,TSettingsKey].DoProcessDescendIntoNode () [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage
2[TContext,TSettingsKey].ProcessDescendIntoNode () [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0 at JetBrains.ReSharper.Psi.Impl.CodeStyle.SequentialNodeIterator
1[TContext].IterateOnce (JetBrains.ReSharper.Psi.Tree.ITreeNode untilNode, JetBrains.ReSharper.Psi.Impl.CodeStyle.IteratorState untilState) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Psi.Impl.CodeStyle.SequentialNodeIterator
1[TContext].Iterate (JetBrains.ReSharper.Psi.Tree.ITreeNode untilNode, JetBrains.ReSharper.Psi.Impl.CodeStyle.IteratorState untilState) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0 at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage
2[TContext,TSettingsKey].DoIndent (JetBrains.ReSharper.Psi.Tree.ITreeNode onlyChange) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage
2[TContext,TSettingsKey].DoIndent (System.Boolean allowNoLinebreaks) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0 at JetBrains.ReSharper.Psi.Impl.CodeStyle.CodeFormatterBase
1[TSettingsKey].DoDeclarativeFormat[TContext] (JetBrains.ReSharper.Psi.Impl.CodeStyle.FmtSettings
1[TSettingsKey] settings, JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterInfoProviderBase2[TContext,TSettingsKey] provider, JetBrains.ReSharper.Psi.Impl.CodeStyle.ICustomFormatterInfoProvider customProvider, JetBrains.ReSharper.Psi.CodeStyle.FormatTask[] formatTasks, JetBrains.ReSharper.Psi.CodeStyle.AdditionalFormatterParameters parameters, System.Func
2[T,TResult] shouldDoIntAlign, System.Action3[T1,T2,T3] beforeFormat, System.Action
3[T1,T2,T3] afterFormat, System.Boolean doAdditionalFormat) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.Formatter.CSharpCodeFormatter.DoFormatWithNewEngine (JetBrains.ReSharper.Psi.Impl.CodeStyle.FmtSettings
1[TSettingsKey] settings, JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.ICSharpCustomFormattingInfoProvider customProvider, JetBrains.ReSharper.Psi.CodeStyle.FormatTask[] formatTasks, JetBrains.ReSharper.Psi.CodeStyle.AdditionalFormatterParameters parameters) [0x00000] in <f9119f9a829e457e84ddf417faf29f45>:0
at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.Formatter.CSharpCodeFormatter.Format (JetBrains.ReSharper.Psi.Tree.ITreeNode firstElement, JetBrains.ReSharper.Psi.Tree.ITreeNode lastElement, JetBrains.ReSharper.Psi.CodeStyle.CodeFormatProfile profile, JetBrains.ReSharper.Psi.CodeStyle.AdditionalFormatterParameters parameters) [0x00000] in <f9119f9a829e457e84ddf417faf29f45>:0
at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.Format (JetBrains.ReSharper.Psi.Tree.IFile file, JetBrains.ReSharper.Psi.TreeTextRange range, JetBrains.ReSharper.Psi.CodeStyle.CodeFormatProfile profile, JetBrains.ReSharper.Psi.CodeStyle.OuterSpaceFormatType formatSpacesBefore, JetBrains.ReSharper.Psi.CodeStyle.OuterSpaceFormatType formatSpacesAfter, JetBrains.ReSharper.Psi.CodeStyle.AdditionalFormatterParameters parameters) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Psi.CodeStyle.CodeFormatterHelper.Format (JetBrains.ReSharper.Psi.PsiLanguageType languageType, JetBrains.ProjectModel.ISolution solution, JetBrains.DocumentModel.DocumentRange docRange, JetBrains.ReSharper.Psi.CodeStyle.CodeFormatProfile profile, System.Boolean formatSpacesBefore, System.Boolean formatSpacesAfter, JetBrains.ReSharper.Psi.CodeStyle.AdditionalFormatterParameters parameters) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Psi.CodeStyle.CodeFormatterHelper.Format (JetBrains.ReSharper.Psi.PsiLanguageType languageType, JetBrains.ProjectModel.ISolution solution, JetBrains.DocumentModel.DocumentRange docRange, JetBrains.ReSharper.Psi.CodeStyle.CodeFormatProfile profile, System.Boolean formatSpacesBefore, System.Boolean formatSpacesAfter, JetBrains.Application.Progress.IProgressIndicator progressIndicator) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.CopyPasteAssistManager+<>c__DisplayClass9.<DoReformatOnPaste>b__8 () [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute (System.String commandName, System.Action handler) [0x00000] in <88ce478271cb4d89ac2c9f7f23da3075>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.CopyPasteAssistManager.DoReformatOnPaste (JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardHandler.HandleAction (JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute (System.Int32 handlerIndex, JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler+<>c__DisplayClass3.<Execute>b__2 () [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.CopyPasteAssistManager.DoPaste (JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardHandler.HandleAction (JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute (System.Int32 handlerIndex, JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler+<>c__DisplayClass3.<Execute>b__2 () [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.InplaceRefactorings.CutCopyPaste.CopyPasteManager.DoPaste (JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <2f95d8ea4a05466da8cbd4e3e3c46cc5>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardHandler.HandleAction (JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute (System.Int32 handlerIndex, JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.Clipboard.ClipboardActionHandler.Execute (JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute (JetBrains.Application.UI.ActionSystem.ActionsRevised.Menu.IAction action, System.Collections.Generic.List
1[T] allActions, JetBrains.Application.DataContext.IDataContext dataContext) [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0 at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator+<>c__DisplayClass4.<Execute>b__0 () [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.ReSharper.Feature.Services.TypingAssist.ActionContext.CallNext () [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager+ChainedContextBase
2[TContext,THandler].CallNext () [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Handle[TContext,THandler] (TContext context, System.Collections.Generic.List
1[T] handlers, JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager+ChainedContextBase2[TContext,THandler] chainedContextFactory) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Act (JetBrains.TextControl.ITextControl textControl, System.String actionId, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.ReSharper.Feature.Services.TypingAssist.ExternalActionHandler.Execute (JetBrains.Application.DataContext.IDataContext context, JetBrains.Application.UI.Actions.DelegateExecute nextExecute) [0x00000] in <b86da7751a9342ab9961fda7b7c8543d>:0
at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute (JetBrains.Application.UI.ActionSystem.ActionsRevised.Menu.IAction action, System.Collections.Generic.List
1[T] allActions, JetBrains.Application.DataContext.IDataContext dataContext) [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<ExecuteWithoutRequirements>b__a (JetBrains.DataFlow.Lifetime lt) [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.DataFlow.Lifetimes.Using[TRetVal] (System.Func
2[T,TResult] λ) [0x00000] in <e3913444eace4dd38560e2696e8883f6>:0
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements () [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.ReSharper.Host.Features.Actions.RiderActions+<>c__DisplayClassd+<>c__DisplayClassf+<>c__DisplayClass16+<>c__DisplayClass19.<.ctor>b__7 (JetBrains.Rider.Model.ActionExecuteSyncHandshakeResult result) [0x00000] in <18e720fe72a44fe585b50315152bc95b>:0
at JetBrains.Platform.RdFramework.Util.Signal
1[T].Fire0 (System.Action1[T][] listeners, T value) [0x00000] in <e147a8fa93c0415c876a38e8c880770c>:0
at JetBrains.Platform.RdFramework.Util.Signal
1[T].Fire (T value) [0x00000] in <e147a8fa93c0415c876a38e8c880770c>:0 at JetBrains.Platform.RdFramework.Impl.RdSignal
1+<>c__DisplayClass3[T].<.ctor>b__1 (JetBrains.Util.PersistentMap.UnsafeReader stream) [0x00000] in <e147a8fa93c0415c876a38e8c880770c>:0
at JetBrains.Platform.RdFramework.Impl.MessageBroker.Execute (System.Action
1[T] handler, JetBrains.Platform.RdFramework.RdId id, System.Byte[] msg) [0x00000] in <e147a8fa93c0415c876a38e8c880770c>:0 at JetBrains.Platform.RdFramework.Impl.MessageBroker+<>c__DisplayClass6.<Dispatch>b__3 () [0x00000] in <e147a8fa93c0415c876a38e8c880770c>:0
at JetBrains.Threading.ReentrancyGuard.Execute (System.String name, System.Action action) [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions () [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.Threading.JetDispatcher+Closure.Execute () [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.Util.Concurrency.UnixJetDispatcher+UnixJetDispatcherStaticMethods.Run () [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.Threading.JetDispatcher.Run () [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main (JetBrains.DataFlow.Lifetime lifetime, JetBrains.ReSharper.Host.Features.Settings.IReSharperHostSettings settings, JetBrains.Util.ILogger logger, JetBrains.ReSharper.Host.Features.Components.ShellProtocol protocol, JetBrains.Rider.Model.RdModelRoot modelRoot, JetBrains.Application.Environment.ApplicationShutdownRequests shutdownRequests) [0x00000] in <18e720fe72a44fe585b50315152bc95b>:0
at System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod , System.Object , System.Object[] , System.Exception& ) [0x00000] in <70fd265747c64acc8035fc9de48250f9>:0
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <70fd265747c64acc8035fc9de48250f9>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <70fd265747c64acc8035fc9de48250f9>:0
at JetBrains.Application.Environment.RunsPublicStaticIntMain+<>c__DisplayClass4.<.ctor>b__0 () [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.Util.Logging.Logger.Catch (System.Action action) [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.Application.Threading.IThreadingEx+<>c__DisplayClass7+<>c__DisplayClass9.<ExecuteOrQueueWhenNotGuarded>b__4 () [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.Threading.JetDispatcher+Closure.Execute () [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.Util.Concurrency.UnixJetDispatcher+UnixJetDispatcherStaticMethods.Run (System.Func
1[TResult] condition, System.TimeSpan timeout, System.Boolean bThrowOnTimeout) [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0
at JetBrains.Threading.JetDispatcher.Run (System.Func
1[TResult] condition, System.TimeSpan timeout, System.Boolean bThrowOnTimeout) [0x00000] in <532bc9a83d8740bdbd37b5528657276d>:0 at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop (JetBrains.Application.Components.IComponentContainer containerEnv) [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop (JetBrains.Application.Components.ComponentContainer containerEnv) [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop (JetBrains.Application.Components.ComponentContainer containerEnv) [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.Application.Environment.JetEnvironment.InternalRun (JetBrains.Application.Environment.HostParameters.JetHostParametersCaller host, JetBrains.Application.Components.ComponentContainer containerEnv) [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.Application.Environment.JetEnvironment.CreateAndRun (JetBrains.Application.Environment.JetHostItems+Full hostparams) [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.Application.Environment.JetHostItems.CreateAndRun (JetBrains.Application.Environment.JetHostItems+Full input) [0x00000] in <ed4fbc1d5a3e4957be78ba7c30ffb893>:0
at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.MainX (System.Reflection.Assembly assembly, JetBrains.Application.BuildScript.Application.HostInfo hostInfo, System.String[] args) [0x00000] in <18e720fe72a44fe585b50315152bc95b>:0
at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.<Main>b__0 (JetBrains.DataFlow.Lifetime lifetime) [0x00000] in <18e720fe72a44fe585b50315152bc95b>:0
at JetBrains.DataFlow.Lifetimes.Using[TRetVal] (System.Func`2[T,TResult] λ) [0x00000] in <e3913444eace4dd38560e2696e8883f6>:0
at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main () [0x00000] in <18e720fe72a44fe585b50315152bc95b>:0
”
last.action = EditorChooseLookupItemReplace
app.eap = true
app.internal = false
app.build = RD-173.3994.932
app.version.major = 2017
app.version.minor = 3
app.build.date = 2017-12-20T08:15:46.109+0000
app.build.date.release = 2017-10-12T00:00:46.109+0000
app.build.date.release = 2017-10-12T00:00:46.109+0000
app.compilation.timestamp = null
app.product.code = RD
os.name = Mac OS X
java.version = 1.8.0_152-release
java.vm.vendor = JetBrains s.r.o
UIUtil.isRetina = true
UIUtil.isAppleRetina = false
JBUI.isHiDPI() = false
ImageScaleFactor = 2
RSRP-469185: Missing Implementation of Members - False Error?
Reporter | Colin (colin.dickerson) |
---|---|
Created | Apr 10, 2018 4:39:45 PM |
Updated | Apr 11, 2018 7:58:45 PM |
Subsystem | Code Analysis - VB.NET |
Assignee | Ivan Serduk (IvanSerduk) |
Priority | Show-stopper |
State | Submitted |
Type | Bug |
Fix version | 2018.1.1 |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2017 15.3 |
I have the following situation:
A C# library with a base interface (IView) which exposes methods/properties of a Windows Form, and a base Windows Form View (BaseView) that implements IView. In the C# library the interface automatically resolves to use the Form methods, so nothing is explicitly implemented:
public interface IView
{
void SuspendLayout();
void ResumeLayout();
}
public class BaseView : Form, IView
{
public BaseView()
{
InitializeComponent()
}
}
This library is referenced in a VB.NET Windows Form application. Which itself contains a interface that inherits from IView and a Form that inherits the BaseView Form and implements the new interface:
Public Interface IMainView
Inherits IView
Sub ShowHelloWorldMessage()
End Interface
Public Class MainView
Inherits BaseView
Implements IMainView
Public Sub ShowHelloWorldMessage()
MessageBox.Show("Hello World")
End Sub
End Class
With ReSharper enabled I get a error message stating "Missing implementation of members: Sub ResumeLayout(), Sub SuspendLayout()", even though these are implemented by the BaseView Form. Running a compile on the solution compiles successfully, and no errors are shown in the Error List window.
If I suspend ReSharper then this error goes away and the application also compiles just fine. Running the application and accessing these methods work as expected.
RSRP-462247: "Merge conditional expression" breaks code
Reporter | Andrew (impworks) |
---|---|
Created | Dec 15, 2016 2:21:33 PM |
Updated | Apr 11, 2018 8:04:27 PM |
Resolved | Apr 11, 2018 8:04:27 PM |
Subsystem | Quick Fixes |
Assignee | Alexander Shvedov (shvedov) |
Priority | Critical |
State | Fixed |
Type | Bug |
Fix version | 2018.1 |
Affected versions | 2016.2.2 |
Fixed In Version ReSharper | 2018.1 EAP 7 |
VsVersion | All Versions |
class TestClass
{
public ImageTypeEnum? Kind { get; set; }
public string Description => Kind == null ? "(none)" : ((ImageTypeEnum)Kind.Value).ToString();
}
When I apply the suggested "Merge conditional exprerssion" quickfix, the code becomes broken:
class TestClass
{
public ImageTypeEnum? Kind { get; set; }
public string Description => ((ImageTypeEnum?) Kind?.Value)?.ToString() ?? "(none)";
}
The
Kind?.Value
makes no sense in the new context, because the value is already unwrapped by a safe navigation operator.RSRP-468655: C# 7.2 False error: Cannot make 'ref' parameter of type
Reporter | Andrew Zhilin (andrew_zhilin@yahoo.com) |
---|---|
Created | Mar 12, 2018 11:56:24 PM |
Updated | Apr 11, 2018 8:05:15 PM |
Resolved | Apr 11, 2018 8:05:15 PM |
Subsystem | Code Analysis - C# |
Assignee | Alexander Shvedov (shvedov) |
Priority | Normal |
State | Fixed |
Type | Bug |
Fix version | 2018.1 |
Affected versions | 2018.1 |
Fixed In Version ReSharper | 2018.1 EAP 7 |
VsVersion | All Versions |
// C# 7.2
public ref struct A {}
public ref struct B
{
public void SomeMethod(ref A a){}
}
This code compiles without any errors, but Resharper reports:
Class1.cs:6 Cannot make 'ref' parameter of type 'A'
Reference: https://github.com/dotnet/csharplang/blob/master/proposals/csharp-7.2/span-safety.md#examples
RSRP-468936: Unable to cast object of type 'JetBrains.ReSharper.Psi.CSharp.Impl.Tree.PrimaryConstructorDeclaration' to type 'JetBrains.ReSharper.Psi.CSharp.Tree.IConstructorDeclaration'.
Reporter | Artem Bukhonov (Artem.Bukhonov) |
---|---|
Created | Mar 27, 2018 7:52:14 PM |
Updated | Apr 11, 2018 8:05:23 PM |
Resolved | Apr 11, 2018 8:05:23 PM |
Subsystem | Quick Fixes |
Assignee | Alexander Shvedov (shvedov) |
Priority | Show-stopper |
State | Fixed |
Type | Exception |
Fix version | 2018.1 |
Affected versions | No Affected versions |
Fixed In Version ReSharper | 2018.1 EAP 7 |
VsVersion | All Versions |
— EXCEPTION #1/2 [InvalidCastException]
Message = “Unable to cast object of type 'JetBrains.ReSharper.Psi.CSharp.Impl.Tree.PrimaryConstructorDeclaration' to type 'JetBrains.ReSharper.Psi.CSharp.Tree.IConstructorDeclaration'.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidCastException
Data.ThreadLocalDebugInfo = “
RdEndpoint<int, bool>:
MainProtocol.PopupInteractionModel.altEnterItemsContributor.$.executeItem
-> RdSignal<ActionExecuteSyncHandshakeResult>:
MainProtocol.ActionsModel.execute.$.handshake.$.result
”
HResult = E_NOINTERFACE=COR_E_INVALIDCAST=80004002
Source = JetBrains.ReSharper.Intentions.CSharp
StackTraceString = “
at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.UsageChecking.CSharpMemberFromParameterHelper.NeighbourDeclarations(IParametersOwnerDeclaration constructorDeclaration) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\src\Intentions\CSharp\Src\QuickFixes\UsageChecking\CSharpMemberFromParameterHelper.cs:line 56…
at JetBrains.ReSharper.Intentions.CSharp.QuickFixes.UsageChecking.CSharpMemberFromParameterHelper.NeighbourDeclarations(IParametersOwnerDeclaration constructorDeclaration) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\src\Intentions\CSharp\Src\QuickFixes\UsageChecking\CSharpMemberFromParameterHelper.cs:line 56
at JetBrains.ReSharper.Intentions.QuickFixes.UsageChecking.MemberFromParameterHelper.FindInitializationLocation(IParametersOwnerDeclaration constructorDeclaration, IParameterDeclaration parameterDeclaration) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\src\Intentions\_Core\Src\QuickFixes\UsageChecking\MemberFromParameterHelper.cs:line 156
at JetBrains.ReSharper.Intentions.QuickFixes.UsageChecking.MemberFromParameterHelper.IntroduceMember(String pattern, NamedElementKinds kind) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\src\Intentions\_Core\Src\QuickFixes\UsageChecking\MemberFromParameterHelper.cs:line 88
at JetBrains.ReSharper.Intentions.QuickFixes.UsageChecking.IntroduceAndInitializeFieldFix.Execute() in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\src\Intentions\_Core\Src\QuickFixes\UsageChecking\IntroduceAndInitializeFieldFix.cs:line 45
at JetBrains.ReSharper.Intentions.QuickFixes.UsageChecking.MemberFromParameterFixBase.ExecutePsiTransaction(ISolution solution, IProgressIndicator progress) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\src\Intentions\_Core\Src\QuickFixes\UsageChecking\MemberFromParameterFixBase.cs:line 66
at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.<>c__DisplayClass0_4.<Execute>b__1() in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Services\_Core\Src\Bulbs\BulbActionBase.cs:line 69
at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute(String commandName, Action handler) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\Transactions\PsiTransactions.cs:line 296
— Outer —
— EXCEPTION #2/2 [LoggerException]
Message = “Unable to cast object of type 'JetBrains.ReSharper.Psi.CSharp.Impl.Tree.PrimaryConstructorDeclaration' to type 'JetBrains.ReSharper.Psi.CSharp.Tree.IConstructorDeclaration'.”
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\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 975…
at JetBrains.Util.Logging.Logger.LogException(Exception ex) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 975
at JetBrains.ReSharper.Psi.Transactions.PsiTransactions.Execute(String commandName, Action handler) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\Transactions\PsiTransactions.cs:line 296
at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.<>c__DisplayClass0_3.<Execute>b__0(IProgressIndicator progress) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Services\_Core\Src\Bulbs\BulbActionBase.cs:line 67
at JetBrains.ReSharper.Host.Features.Util.Progress.RiderTaskExecutor.ExecuteTask(String taskName, TaskCancelable cancelable, Action`1 task) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\Util\Progress\RiderTaskExecutor.cs:line 46
at JetBrains.ReSharper.Feature.Services.Bulbs.BulbActionBase.Execute(ISolution solution, ITextControl textControl) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Services\_Core\Src\Bulbs\BulbActionBase.cs:line 56
at JetBrains.ReSharper.Feature.Services.Intentions.IntentionAction.MyExecutableProxi.Execute() in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Services\_Core\Src\Intentions\IntentionAction.cs:line 78
at JetBrains.Application.UI.Controls.BulbMenu.Keys.BulbActionKey.Clicked() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\UI\Controls\BulbMenu\Keys\BulbActionKey.cs:line 83
at JetBrains.Application.UI.Controls.GotoByName.BulbMenuComponent.<>c__DisplayClass29_0.<InitMenuGeneral>b__0(Object objKey) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\UI\Controls\GotoByName\BulbMenuComponent.cs:line 278
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 384
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 545
at JetBrains.Application.UI.Controls.JetPopupMenu.JetPopupMenu.<>c__DisplayClass49_0.<InitViewModel>b__3(JetPopupMenuItem item) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\UI\Controls\JetPopupMenu\JetPopupMenu.cs:line 363
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 384
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 545
at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 384
at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 545
at JetBrains.ReSharper.Host.Features.Services.RdPopupMenuModelBinding.ExecuteItem(Int32 itemId) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\Services\RdPopupMenuModelBinding.cs:line 201
at JetBrains.ReSharper.Host.Features.Services.RdPopupMenuModelBinding.<.ctor>b__11_5(Int32 itemId) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\Services\RdPopupMenuModelBinding.cs:line 104
at JetBrains.Platform.RdFramework.Tasks.RdEndpoint`2.<>c__DisplayClass26_0.<Set>b__0(Lifetime lf, TReq req) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Tasks\RdTask.cs:line 557
at JetBrains.Platform.RdFramework.Tasks.RdEndpoint`2.<>c__DisplayClass27_0.<Init>b__0(UnsafeReader reader) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Tasks\RdTask.cs:line 576
at JetBrains.Platform.RdFramework.Impl.MessageBroker.Execute(Action`1 handler, RdId id, Byte[] msg) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Impl\MessageBroker.cs:line 77
at JetBrains.Platform.RdFramework.Impl.MessageBroker.Subscription.<>c__DisplayClass5_0.<Invoke>b__0() in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Impl\MessageBroker.cs:line 51
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 300
at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 664
at JetBrains.Threading.JetDispatcher.Closure.Execute() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 609
at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 434
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
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 JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 646
at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run(Func`1 condition, TimeSpan timeout, Boolean bThrowOnTimeout) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 809
at JetBrains.ReSharper.Host.Features.Services.RiderJetPopupMenus.<>c__DisplayClass14_0.<SendToCustomHost>b__1() in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\Services\RiderJetPopupMenus.cs:line 130
at JetBrains.Threading.ReentrancyGuard.AllowNestedExecution(String name, Action action) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 239
at JetBrains.ReSharper.Host.Features.Services.RiderJetPopupMenus.SendToCustomHost(JetPopupMenu menu, IRdProperty`1 customModel, ShowWhen when, Boolean isModal, LifetimeDefinition lifetimeDefinitionOptional) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\Services\RiderJetPopupMenus.cs:line 137
at JetBrains.ReSharper.Host.Features.Services.RiderBulbMenuComponent.ShowBulbMenuAdvanced(IEnumerable`1 menuItems, PopupWindowContextSource context, GotoByNameModel gotoByNameModel, Action`1 modelInitHandler, LifetimeDefinition viewLifetimeDefinition, IAutomation captionAutomation, Action`1 beforeShow) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\Services\RiderBulbMenuComponent.cs:line 76
at JetBrains.ReSharper.Intentions.Bulbs.BulbOnGutterMarginIndicator.ExecuteIndicator(IDataContext context, BulbItemsReadyState readyState) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\src\Intentions\_Core\Src\Bulbs\GutterMargin\BulbOnGutterMarginIndicator.cs:line 181
at JetBrains.ReSharper.Host.Features.Intentions.RiderBulbOnGutterMarginIndicator.ExecuteIndicator(IDataContext context, BulbItemsReadyState readyState) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\Intentions\RiderBulbOnGutterMarginIndicator.cs:line 190
at JetBrains.ReSharper.Host.Features.Intentions.RiderBulbOnGutterMarginIndicator.HandleAction(IDataContext context) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\Intentions\RiderBulbOnGutterMarginIndicator.cs:line 147
at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\ExececutableActionEvaluator.cs:line 50
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<ExecuteWithoutRequirements>b__23_0(Lifetime lt) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 82
at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetimes.cs:line 281
at ActionExecution.<>c__DisplayClass14_1.<TryExecuteWithRequirements>b__1(ActionExecuteSyncHandshakeResult result) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\Actions\RiderActions.cs:line 247
at JetBrains.Platform.RdFramework.Util.Signal`1.Fire0(Action`1[] listeners, T value) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Util\Signal.cs:line 51
at JetBrains.Platform.RdFramework.Impl.RdSignal`1.<>c__DisplayClass12_0.<.ctor>b__1(UnsafeReader stream) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Impl\RdSignal.cs:line 57
at JetBrains.Platform.RdFramework.Impl.MessageBroker.Execute(Action`1 handler, RdId id, Byte[] msg) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Impl\MessageBroker.cs:line 77
at JetBrains.Platform.RdFramework.Impl.MessageBroker.Subscription.<>c__DisplayClass5_0.<Invoke>b__0() in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Impl\MessageBroker.cs:line 51
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 300
at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 664
at JetBrains.Threading.JetDispatcher.Closure.Execute() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 609
at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 434
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
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 JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 646
at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 846
at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellProtocol protocol, RdModelRoot modelRoot, ApplicationShutdownRequests shutdownRequests) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Product\ReSharperHostMain.cs:line 40
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.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\RunsPublicStaticIntMain.cs:line 80
at JetBrains.Util.Logging.Logger.Catch(Action action) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 339
at JetBrains.Threading.JetDispatcher.Closure.Execute() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\JetDispatcher.cs:line 609
at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Dispatcher\WinJetDispatcher.cs:line 434
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
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 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetimes.cs:line 234
at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\IJetHostEx.cs:line 95
at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\HostParameters\Interface\JetHostParametersCaller.cs:line 181
at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\JetEnvironment.cs:line 251
at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\Application\Environment\Infra\JetEnvironment.cs:line 137
at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.MainX(Assembly assembly, HostInfo hostInfo, String[] args) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Product\ReSharperHostProgram.cs:line 52
at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetimes.cs:line 281
at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main() in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Product\ReSharperHostProgram.cs:line 23
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 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
last.action = ShowIntentionActions
app.eap = true
app.internal = true
app.build = RD-181.4379.170
app.version.major = 2018
app.version.minor = 1
app.build.date = 2018-03-27T13:24:29.961+0000
app.build.date.release = 2017-12-27T00:00:29.961+0000
app.build.date.release = 2017-12-27T00:00:29.961+0000
app.compilation.timestamp = null
app.product.code = RD
os.name = Windows 10
java.version = 1.8.0_152-release
java.vm.vendor = JetBrains s.r.o
UIUtil.isRetina = false
UIUtil.isAppleRetina = false
JBUI.isHiDPI() = false
ImageScaleFactor = 1
RSRP-453699: 'Merge conditional expression' mistakenly inserts ?. after non-nullable type
Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Feb 10, 2016 10:03:57 PM |
Updated | Apr 11, 2018 8:06:13 PM |
Subsystem | Code Analysis - C# |
Assignee | Alexander Shvedov (shvedov) |
Priority | Critical |
State | In Progress |
Type | Bug |
Fix version | 2017.2 |
Affected versions | 10.0.2 |
Fixed In Version ReSharper | 2018.1 EAP 7 |
VsVersion | VS 2015 RTM |
using System;
class C
{
int? GetYear(DateTime x)
{
return x == null ? (int?) null : x.Year; // Invoke 'Merge conditional' QF
}
}
ACTUAL:
return x?.Year;
EXPECTED:
return x.Year;
RSRP-458741: regular expression do not correctly matching
Reporter | Olga Rodygina (olgarodygina) |
---|---|
Created | May 11, 2016 6:21:52 PM |
Updated | Apr 11, 2018 8:27:03 PM |
Subsystem | RegExp Support (Regular Expressions) |
Assignee | Evgeniy Stepanov (Evgeniy_Stepanov) |
Priority | Major |
State | Fixed In Branch |
Type | Bug |
Fix version | No Fix versions |
Affected versions | 2016.1.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Regular Expression = "\\$VERSION=(.*)"
Test Input = "$VERSION=110 "
Expected behaviour:
Highlight the whole string, as it is a complete match
Actual behaviour:
Actually only "$VERSION=110" gets highlighted - without the trailing whitespaces
Problem:
This behaves differently to the Regex-class in the CLR
RSRP-469230: Breaking change in MSTest settings with 'UseTestRunConfigFromMetadataFile'
Reporter | Martin (IAmMartin) |
---|---|
Created | Apr 11, 2018 8:35:47 PM |
Updated | Apr 11, 2018 8:35:47 PM |
Subsystem | No Subsystem |
Assignee | Unassigned |
Priority | Normal |
State | Submitted |
Type | Unspecified |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
I have a solution level .dotsettings file containing
<s:String x:Key="/Default/Environment/UnitTesting/MsTestProvider/RunConfigurationFilename/@EntryValue">Default.runsettings</s:String>
which pre-EAP8 cause R# to use that file. Post-EAP8 you also need to have
<s:Boolean x:Key="/Default/Environment/UnitTesting/MsTestProvider/UseTestRunConfigFromMetadataFile/@EntryValue">False</s:Boolean>
resulting in
<s:String x:Key="/Default/Environment/UnitTesting/MsTestProvider/RunConfigurationFilename/@EntryValue">Default.runsettings</s:String>
<s:Boolean x:Key="/Default/Environment/UnitTesting/MsTestProvider/UseTestRunConfigFromMetadataFile/@EntryValue">False</s:Boolean>
This is a breaking change, just so you know.
RSRP-461292: "Validate Regular Expression" shows cut-off text for Value column in Matches table
Reporter | Oleg Gerovich (oleg.gerovich) |
---|---|
Created | Oct 14, 2016 10:52:02 PM |
Updated | Apr 11, 2018 9:38:31 PM |
Subsystem | RegExp Support (Regular Expressions) |
Assignee | Evgeniy Stepanov (Evgeniy_Stepanov) |
Priority | Normal |
State | Fixed In Branch |
Type | Usability Problem |
Fix version | No Fix versions |
Affected versions | 2017.3.2, 2016.1.1, 2016.3.2 |
Fixed In Version ReSharper | Undefined |
VsVersion | VS 2017 RTM, VS 2017 15.3, VS 2015 RTM |