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

RSRP-457951: Validate Regular Expression window poor color choice for match indication

$
0
0
Reporter Andreas (soulfury) Andreas (soulfury)
Created Apr 12, 2016 4:08:30 PM
Updated Apr 13, 2018 3:29:01 PM
Resolved Apr 13, 2018 3:29:01 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I think the choice of color when displaying the match capture group area is bad, because it barely stands out in comparison to the complete match.

It looks like it's dark blue on dark green. Please alter the color for the dark skin, in case it's just a skinning issue.

RSRP-465855: Regular Expression Work Incorrectly

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Aug 14, 2017 4:25:19 PM
Updated Apr 13, 2018 3:29:03 PM
Resolved Apr 13, 2018 3:29:03 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions 2017.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
That regex pattern: (\B[A-Z]|\d*)
Look at screen

Resharper Validatator shows me two group, so i expected result like that "Col-Md-12", but result was "-C-o-l-M-d-12-".
I did not know why until i used http://regexstorm.net/tester (look at second screen). Online tester showed me group with empty string - resharper not - this is problem.

i attached solution from screen.

RSRP-457627: RegExp parsing error

$
0
0
Reporter Evgeniy Stepanov (Evgeniy_Stepanov) Evgeniy Stepanov (Evgeniy_Stepanov)
Created Apr 7, 2016 6:26:36 PM
Updated Apr 13, 2018 3:29:06 PM
Resolved Apr 13, 2018 3:29:06 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
@"(?'FieldName'(?(?<=\s).*?|\S*?)):\s(?'Value'.*?);"
dfgdg: dfgdg dfgdg; dfgdg/dfgdg: ; dfgdg: 5435435' .. .dasd.; dfgdg: 345'435 dfgdg.; dfgdg: 0.0 м.; dfgdg: ; dfgdg dfgdg: ; dfgdg: 0; dfgdg: dfgdg-dfgdg-dfgdg; dfgdg:

RSRP-453768: Detect problem in Regex: Capture group numbers must be less than or equal to Int32.MaxValue.

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 11, 2016 11:29:41 PM
Updated Apr 13, 2018 3:29:08 PM
Resolved Apr 13, 2018 3:29:08 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions 10.0.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
using System.Text.RegularExpressions;

class C
{
static void Main()
{
var r = new Regex(".{10000000000}"); // ArgumentException: parsing ".{10000000000}" - Capture group numbers must be less than or equal to Int32.MaxValue.
}
}

RSRP-453763: Detect Regex problem: [x-y] range in reverse order.

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 11, 2016 10:47:08 PM
Updated Apr 13, 2018 3:29:11 PM
Resolved Apr 13, 2018 3:29:10 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Feature
Fix version 2018.2
Affected versions 10.0.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
using System.Text.RegularExpressions;

class C
{
static void Main()
{
var r = new Regex("[z-a]"); // System.ArgumentException: parsing "[z-a]" - [x-y] range in reverse order.
}
}

RSRP-453767: Detect Regex problem: Illegal {x,y} with x > y

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 11, 2016 11:14:20 PM
Updated Apr 13, 2018 3:29:13 PM
Resolved Apr 13, 2018 3:29:13 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions 10.0.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
using System.Text.RegularExpressions;

class C
{
static void Main()
{
var r = new Regex("x{2,1}"); // ArgumentException: parsing "x{2,1}" - Illegal {x,y} with x > y.
}
}

RSRP-466024: Regex edgecase not supported

$
0
0
Reporter Olga Rodygina (olgarodygina) Olga Rodygina (olgarodygina)
Created Aug 28, 2017 12:49:29 PM
Updated Apr 13, 2018 3:29:15 PM
Resolved Apr 13, 2018 3:29:15 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions 2017.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
The following regular expression is recognized as an error in resharper:
re = new Regex(@"\p{_xmlI}[\p{_xmlC}-[:]]*", RegexOptions.Compiled); 
however, according to this
https://stackoverflow.com/questions/30279765/portable-regex-equivalent-of-c-sharp-p-xmli-p-xmlc
it is a valid C# only regex addition. Would it be possible to add this edgecase?

RSRP-453764: False error in Regex pattern: Group name expected

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Feb 11, 2016 11:02:37 PM
Updated Apr 13, 2018 3:29:17 PM
Resolved Apr 13, 2018 3:29:17 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions 10.0.2
Fixed In Version ReSharper Undefined
VsVersion VS 2015 RTM
using System;
using System.Text.RegularExpressions;

class C
{
static void Main()
{
var r = new Regex(@"(?<1>\d)\k<1>");
Console.WriteLine(r.Match("22").Success);
}
}

RSRP-458955: Regex syntax highlighter does not correctly identify dot in character class

$
0
0
Reporter Lee Calabrese (lcalabrese) Lee Calabrese (lcalabrese)
Created May 27, 2016 6:19:32 AM
Updated Apr 13, 2018 3:29:19 PM
Resolved Apr 13, 2018 3:29:19 PM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.2
Affected versions 2016.1.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
To reproduce, look at the highlighting in new Regex("[,.]"). I would expect the dot to be highlighted in the same color as the comma (dark brown) but it is parsed as a special character (light blue).

RSRP-46310: New code suggestion: "Check if has key" (for dictionaries, akin to "Check if is null")

$
0
0
Reporter Igor Abade (t-shooter) Igor Abade (t-shooter)
Created Jul 26, 2007 9:48:13 PM
Updated Apr 13, 2018 3:33:27 PM
Resolved Apr 13, 2018 3:33:24 PM
Subsystem Code Analysis
Assignee Ilya Ryzhenkov (orangy)
Priority Normal
State Fixed
Type Feature
Fix version Unidentified prior version
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Much like the "Check if is null" code suggestion, a "Check if has key" suggestion, invoked in an expression invoking the indexer of a dictionary:

Given the following code:
    Dictionary<string,string> dict;
string value = dict["mykey"];
If the user invoked the "Check if has key" code suggestion, then the following code would be generated:
    Dictionary<string,string> dict;

if (dict.ContainsKey("mykey"))
{
string value = dict["mykey"];
}

RSRP-468895: Analyzer 'JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpLinqToolsAnalyzer' thrown exception: element != null for JetBrains.ReSharper.Psi.CSharp.Impl.

$
0
0
Reporter Patrick Davis (poodle2000) Patrick Davis (poodle2000)
Created Mar 1, 2018 8:15:11 PM
Updated Apr 13, 2018 3:36:30 PM
Resolved Apr 2, 2018 12:40:00 PM
Subsystem Code Analysis - Linq Tools
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Obsolete
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _1a8e4269 — JetBrains ReSharper Ultimate 2018.1 EAP 1 Build 112.0.20180222.102651-eap01

JetBrains ReSharper 2018.1 EAP 1 Build 2018.1.20180222.104120-eap01

Analyzer 'JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpLinqToolsAnalyzer' thrown exception: element != null for JetBrains.ReSharper.Psi.CSharp.Impl.Tree.DeclarationStatement

— EXCEPTION #1/2 [AssertionException]
Message = “element != null for JetBrains.ReSharper.Psi.CSharp.Impl.Tree.DeclarationStatement”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Feature.Services
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.LinqTools.LinqToolsUtil.PerformActionOnCopy[TLoop,TResult](TLoop loop, Func`3 action, TResult defaultResult)
 at JetBrains.ReSharper.Feature.Services.LinqTools.LinqToolsUtil.PerformActionOnCopy[TLoop,TResult](TLoop loop, Func`3 action, TResult defaultResult)
 at JetBrains.ReSharper.Feature.Services.LinqTools.ToLinq.MatchAndConvert.Match(IStatement loop, Action action, SequencePartInfo& sequencePartInfo, ActionPartInfo& actionPartInfo)
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpLinqToolsAnalyzer.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.CSharp.Stages.CSharpLinqToolsAnalyzer' thrown exception: element != null for JetBrains.ReSharper.Psi.CSharp.Impl.Tree.DeclarationStatement”
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 Build 112.0.20180222.102651-eap01”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 1 Build 2018.1.20180222.104120-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12-eap1

Platform\VisualStudio:
    git::refs/heads/wave12-eap1::9d28b6e35c395cef932aff004f5d3c2c8e6b14c2

Data.VsVersion = 15.5.27130.2027
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.CSharp.Stages.CSharpErrorStageProcess.VisitNode(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Psi.CSharp.Tree.TreeNodeVisitor`1.VisitCSharpStatement(ICSharpStatement cSharpStatementParam, TContext context)
 at JetBrains.ReSharper.Psi.CSharp.Tree.TreeNodeVisitor`1.VisitForStatement(IForStatement forStatementParam, TContext context)
 at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ForStatementStub.Accept[TContext](TreeNodeVisitor`1 visitor, TContext context)
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpDaemonStageProcessBase.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpErrorStageProcess.ProcessAfterInterior(ITreeNode element, IHighlightingConsumer consumer)
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.ProcessorBase.ProcessAfterInterior(ITreeNode element)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendants(ITreeNode root, IRecursiveElementProcessor processor)
 at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessThisAndDescendants(ITreeNode root, IRecursiveElementProcessor processor)
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.<>c__DisplayClass4_0.<Execute>g__MemberHighlighter0(ICSharpTypeMemberDeclaration declaration)
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.<>c__DisplayClass4_1.<Execute>b__2()
 at JetBrains.ReSharper.Psi.Extensions.<>c__DisplayClass0_0.<EnqueueJob>b__0()
 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.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
 at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
 at System.Threading.Tasks.Task.WrappedTryRunInline()
 at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
 at JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources()
 at JetBrains.Util.SafeDisposable.DisposeInternal()
 at JetBrains.Util.SafeDisposable.Dispose()
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpIncrementalDaemonStageProcessBase.Execute(Action`1 committer)
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpErrorStageProcess.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-467713: Origin Value for an optional parameter does not show any explicit value

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Dec 21, 2017 7:35:05 PM
Updated Apr 13, 2018 3:36:51 PM
Subsystem Inspect This - Value Tracking
Assignee Alexander Ulitin (alexander.ulitin)
Priority Critical
State Reopened
Type Bug
Fix version 2018.1
Affected versions 2017.3
Fixed In Version ReSharper 2018.1 EAP 6
VsVersion All Versions
1) Download Roslyn source code
2) Open src\Test\Utilities\Portable\TestBase.cs
3) Look for Diagnostic method
4) Call Origin Value for squiggledText optional parameter.

The result does not contain any overridden values for that attribute

RSRP-466956: $(DevEnvDir) not defined in Build & Run

$
0
0
Reporter Oliver Bojahr (obo) Oliver Bojahr (obo)
Created Nov 8, 2017 1:15:57 PM
Updated Apr 13, 2018 3:42:52 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Critical
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.5, 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have a post build event in my projects that run well with MSBuild.

set textTemplatingPath="$(DevEnvDir)texttransform.exe"
%textTemplatingPath% "$(ProjectDir)Properties\AssemblyFileVersion.tt"

Results into error:
Error MSB3073: The command "set textTemplatingPath="*Undefined*texttransform.exe"
%textTemplatingPath% "C:\M3_eCTD\eCTD\Clireo\BusinessLayer\Properties\AssemblyFileVersion.tt"" exited with code 9009. (1, 1)

See settings in attachment

RSRP-63484: CodeAnalysis doesn't flag incorrect usage of ReadOnly with struct member variables

$
0
0
Reporter Oren Novotny (onovotny) Oren Novotny (onovotny)
Created Apr 2, 2008 5:19:39 PM
Updated Apr 13, 2018 3:45:56 PM
Resolved Apr 13, 2018 3:45:56 PM
Subsystem Code Analysis
Assignee Ilya Ryzhenkov (orangy)
Priority Normal
State Fixed
Type Bug
Fix version Unidentified prior version
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Struct member variables should never be readonly unless they're immutable. Any struct whos internal value(s) can change after creation should never be readonly.

The reason is that there's a subtley in the C# (and possibly VB) spec whereby usage of a readonly struct in any method/property other than the type initializer is done by first making a local copy (in the IL). The result is that the mutation occurs in the class method but does not affect the member varible itself. This can, and has, led to serious but hard-to-identify bugs.

ReSharper should put either a warning (orange or blue) underneath any read-only usages of a struct where the struct's member variables can be assigned outside of the struct ctor. (I.e., if the struct's members aren't readonly, are public or whose value is changed by way of a method/property in the struct, then the struct should be considered mutable and should never be used in a readonly context).

This behavior is by-design in the C# spec. I've attached a sample project that demostrates the behavior. As you can see, if the usage isn't readonly then it works as expected. If the mutable struct is made readonly, then it's behavior is different.

According to Eric Lippert, from the C# team:

Hi Oren,

I took a look at your program. The behaviour you are seeing is both by design and in the specification.

As far as I can tell, the spec for readonly only says that the value at the address can only be assigned in the ctor.


The spec does say that, but that is certainly not the _only_ thing that it says. Let me walk you through it:

The relevant fragment of your program is:

class SomeClassUsingReadOnly
{
private readonly MutableStruct _struct = new MutableStruct(1);

public int GetNextValue()
{
 return _struct.GetNextValue()
;
}
}

Consider how the semantic analyzer deals with "_struct.GetNextValue()"

First we have to figure out what "_struct" means. Section 7.5.2 of the specification says:

"... if T is the instance type of the immediately enclosing class or struct type, if the lookup identifies an instance member, and if the reference occurs within the block of an instance constructor, an instance method, or an instance accessor, the result is the same as a member access of the form this.I."

Therefore this is equivalent to "this._struct.GetNextValue();".

How do we deal with the first dot? That is, the dot in "this._struct"

The relevant section of the specification is 7.5.4, which states that when resolving "E.I" where E is an object and I is a field...

"...if the field is readonly and the reference occurs outside an instance constructor of the class in which the field is declared, then the result is a value, namely the value of the field I in the object referenced by E."

The important word here is that the result is the VALUE of the field, NOT the variable associated with the field.

Great. What about that second dot, as in ".GetNextValue()"? We look at section 7.4.4 to find out how to invoke E.M():

"If E is not classified as a variable, then a temporary local variable of E's type is created and the value of E is assigned to that variable. E is then reclassified as a reference to that temporary local variable. The temporary variable is accessible as this within M, but not in any other way. Thus, only when E is a true variable is it possible for the caller to observe the changes that M makes to this."

Which exactly describes the behaviour you are seeing.

This is by design because one expects that a readonly value type is readonly throughout its entire value and throughout its entire lifetime after the constructor finishes.

Is that clear?

Eric

RSRP-468602: Analyzer 'JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpLinqToolsAnalyzer' thrown exception: element != null for JetBrains.ReSharper.Psi.CSharp.Impl.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Mar 3, 2018 11:19:47 PM
Updated Apr 13, 2018 3:53:58 PM
Subsystem Code Analysis - Linq Tools
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _0f8df3b3 — JetBrains ReSharper Ultimate 2018.1 EAP 1 Build 112.0.20180222.102651-eap01

JetBrains dotCover 2018.1 EAP 1 Build 2018.1.20180222.115511-eap01
JetBrains dotMemory 2018.1 EAP 1 Build 2018.1.20180222.115516-eap01
JetBrains dotTrace 2018.1 EAP 1 Build 2018.1.20180222.115516-eap01
JetBrains ReSharper 2018.1 EAP 1 Build 2018.1.20180222.104120-eap01

Analyzer 'JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpLinqToolsAnalyzer' thrown exception: element != null for JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpression

— EXCEPTION #1/2 [AssertionException]
Message = “element != null for JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpression”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.Feature.Services
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.LinqTools.LinqToolsUtil.PerformActionOnCopy[TLoop,TResult](TLoop loop, Func`3 action, TResult defaultResult)
 at JetBrains.ReSharper.Feature.Services.LinqTools.LinqToolsUtil.PerformActionOnCopy[TLoop,TResult](TLoop loop, Func`3 action, TResult defaultResult)
 at JetBrains.ReSharper.Feature.Services.LinqTools.ToLinq.MatchAndConvert.Match(IStatement loop, Action action, SequencePartInfo& sequencePartInfo, ActionPartInfo& actionPartInfo)
 at JetBrains.ReSharper.Daemon.CSharp.Stages.CSharpLinqToolsAnalyzer.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.CSharp.Stages.CSharpLinqToolsAnalyzer' thrown exception: element != null for JetBrains.ReSharper.Psi.CSharp.Impl.Tree.ReferenceExpression”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (S) Regular thread #1”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 Build 112.0.20180222.102651-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 1 Build 2018.1.20180222.115511-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 1 Build 2018.1.20180222.115516-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper 2018.1 EAP 1 Build 2018.1.20180222.104120-eap01”
Data.SubProducts.#3 = “JetBrains dotMemory 2018.1 EAP 1 Build 2018.1.20180222.115516-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12-eap1

Platform\VisualStudio:
    git::refs/heads/wave12-eap1::9d28b6e35c395cef932aff004f5d3c2c8e6b14c2

Data.VsVersion = 15.5.27130.2036
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.CSharp.CSharpHighlightingsUnderCaretProvider.CSharpUnderCaretHighlighter.AnalyzeNodesOverRange(DocumentRange analysisRange)
 at JetBrains.ReSharper.Daemon.CSharp.CSharpHighlightingsUnderCaretProvider.CSharpUnderCaretHighlighter.<GetHighlightingsForRange>d__11.MoveNext()
 at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
 at JetBrains.ReSharper.Intentions.Bulbs.QuickFixesProvider.AddHighlightingsUnderCaret(ITextControl textControl, IPsiSourceFile sourceFile, DocumentOffset caretOffset, Func`3 getHighlightingsAtRange, HighlightingsData highlightingsData)
 at JetBrains.ReSharper.Intentions.Bulbs.QuickFixesProvider.TryBuildUnderCaretHighlightingData(IntentionsBulbItems intentionsBulbItems, ITextControl textControl)
 at JetBrains.ReSharper.Intentions.Bulbs.QuickFixesProvider.CollectActions(IntentionsBulbItems intentionsBulbItems, BulbItemsCache bulbItemsCache, ITextControl textControl, Lifetime caretPositionLifetime, IPsiSourceFile psiSourceFile, Object precalculatedData)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbItems.<>c__DisplayClass21_0.<BuildAvailableActionsList>b__1()
 at JetBrains.Application.Threading.InterruptableReadActivityThe.Work()
 at JetBrains.Application.Threading.InterruptableReadActivity.DoWork()
 at JetBrains.Application.Threading.InterruptableReadActivity.WorkerThreadProc()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHostEx.<>c__DisplayClass2_0.<RunSafe>b__0()
 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-469258: VB - Wrong possible multiple enumeration of IEnumerable warning

$
0
0
Reporter Rachel Davids (RachelD) Rachel Davids (RachelD)
Created Apr 13, 2018 4:13:20 PM
Updated Apr 13, 2018 4:13:20 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
RSRP-428454 suggests this is fixed in 2018.1 EAP 1

I am running 2018.1 EAP 8 (VS2015)

Also see attached screenshot.
The two calls to CheckParamNotNull in the sample

Public Class Class1

    Private shared sub CheckParamNotNull(<NoEnumeration> value As IEnumerable)
        if value Is nothing
            Throw new ArgumentException("null parameter")
        End If
    End sub

    <PublicAPI>
    public sub DoSomething(value As IEnumerable)
        CheckParamNotNull(value)
        CheckParamNotNull(value)
    End sub

End Class

RSRP-469259: Strange aligning by columns

$
0
0
Reporter Gabriel Porras (ghporras) Gabriel Porras (ghporras)
Created Apr 13, 2018 4:13:29 PM
Updated Apr 13, 2018 4:13:29 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'd like my formating style aligned by columns.
I config all ReSharper options as shown in image: "ReSharperConfig.png" and it works great.

But I found this detail: A c# code looks like image "ActualFormating.png"
But I think it should format like: "DesiredFormating.png", or something similar with all parameters aligned.

Is it possible? Or is correct the actual ReSharper alignment?

Thanks

RSRP-464412: RunConfigProcessTracker uses 2% cpu when inactive together with WmiPrvSe.exe

$
0
0
Reporter Alexander Ulitin (alexander.ulitin) Alexander Ulitin (alexander.ulitin)
Created Apr 18, 2017 11:23:20 AM
Updated Apr 13, 2018 4:13:54 PM
Subsystem Run Configurations
Assignee Slava Tutushkin (slava.tutushkin)
Priority Critical
State Submitted
Type Performance Problem
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Seems like bug in System.Management.

Looks like just enumerate processes is much faster than using WMI.

RSRP-468736: Exception has been thrown by the target of an invocation. Injection point list doesn't contain appropriate node, provider: JetBrains.ReSharper.Psi.Inj

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Feb 19, 2018 2:42:02 PM
Updated Apr 13, 2018 4:18:05 PM
Subsystem Language injection
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
ReSharperPlatformVs15 Wave 12 Hive _54923974 — JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180218.170036-eap01d

JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180218.171020-eap01d
JetBrains ReSharper C++ 2018.1 EAP 1 D Build 2018.1.20180218.171023-eap01d

Exception has been thrown by the target of an invocation. Injection point list doesn't contain appropriate node, provider: JetBrains.ReSharper.Psi.Injected.XmlInCsStrings.XmlInCsStringsPsiProvider, originalNode: JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression

— EXCEPTION #1/3 [AssertionException]
Message = “Injection point list doesn't contain appropriate node, provider: JetBrains.ReSharper.Psi.Injected.XmlInCsStrings.XmlInCsStringsPsiProvider, originalNode: JetBrains.ReSharper.Psi.CSharp.Impl.Tree.CSharpLiteralExpression”
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.RdCore
StackTraceString = “
 at JetBrains.Util.Assertion.Assert[T1,T2](Boolean condition, String message, T1 arg1, T2 arg2)
 at JetBrains.Util.Assertion.Assert[T1,T2](Boolean condition, String message, T1 arg1, T2 arg2)
 at JetBrains.ReSharper.Psi.Impl.Shared.InjectedPsi.IndependentInjectedFileContext.GetInjectForNode(ITreeNode originalNode)
 at JetBrains.ReSharper.Psi.ExtensionsAPI.InjectedPsiExtensions.GetInjectForNodeOrParents(IInjectedFileContext context, ITreeNode originalNode)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectedFiles(IFile originalFile, Type toLanguage, TreeTextRange range, IReadOnlyCollection`1 providersToBuild, LocalList`1& results)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.AppendInjectFiles(IPsiSourceFile sourceFile, Type injectedLanguageType, DocumentRange range, LocalList`1& files)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile sourceFile, Type languageType, DocumentRange range, PsiLanguageCategories categories)
 at JetBrains.ReSharper.Psi.Files.PsiFiles.GetPsiFiles(IPsiSourceFile sourceFile, PsiLanguageType languageType, DocumentRange range, PsiLanguageCategories categories)
 at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.<GetOrRequestPsiFilesInTheAscendingOrderOfDocumentRange>d__8.MoveNext()
 at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.CreatePsiView(PsiLanguageCategories languageCategories, PsiLanguageType languageType)
 at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.View(PsiLanguageType languageType, PsiLanguageCategories languageCategories)
 at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeView.View[TLanguage](PsiLanguageCategories languageCategories)
 at JetBrains.ReSharper.Psi.DataContext.PsiDocumentRangeViewExtensions.View[TLanguage](IPsiDocumentRangeView documentRangeView)
 at JetBrains.ReSharper.Daemon.CaretDependentFeatures.MatchingBraceContextHighlighterBase`1.CollectHighlightings(IPsiDocumentRangeView psiDocumentRangeView, MatchingHighlightingsConsumer consumer)
 at JetBrains.ReSharper.Daemon.CaretDependentFeatures.BracesHighlighterBase.ProcessDataContextImpl(Lifetime lifetime, HighlightingProlongedLifetime prolongedLifetime, IPsiDocumentRangeView psiDocumentRangeView, InvisibleBraceHintManager invisibleBraceHintManager, MatchingBraceSuggester matchingBraceSuggester, MatchingBraceConsumerFactory consumerFactory)
 at JetBrains.ReSharper.Daemon.JavaScript.ContextHighlighters.JavaScriptMatchingBraceContextHighlighter.ProcessDataContext(Lifetime lifetime, IPsiDocumentRangeView psiDocumentRangeView, InvisibleBraceHintManager invisibleBraceHintManager, MatchingBraceSuggester matchingBraceSuggester, MatchingBraceConsumerFactory consumerFactory, HighlightingProlongedLifetime prolongedLifetime)


— Outer —

— EXCEPTION #2/3 [TargetInvocationException]
Message = “Exception has been thrown by the target of an invocation.”
ExceptionPath = Root.InnerException
ClassName = System.Reflection.TargetInvocationException
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_TARGETINVOCATION=80131604
Source = mscorlib
StackTraceString = “
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
 at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at JetBrains.ReSharper.Feature.Services.Contexts.ContextConsumersWithAttributesManager.<>c__DisplayClass7_2.<ProcessContextConsumerContainerType>b__2(Lifetime dummy)
 at JetBrains.ReSharper.Feature.Services.Contexts.ContextConsumer.<>c__DisplayClass14_0.<AsyncHandler>b__1()
 at JetBrains.Application.Threading.InterruptableReadActivityThe.Work()
 at JetBrains.Application.Threading.InterruptableReadActivity.DoWork()
 at JetBrains.Application.Threading.InterruptableReadActivity.WorkerThreadProc()
 at JetBrains.Util.Logging.Logger.Catch(Action action)


— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “Exception has been thrown by the target of an invocation.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool (S) Regular thread #3”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180218.170036-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2018.1 EAP 1 D Build 2018.1.20180218.171023-eap01d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180218.171020-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12

Platform\VisualStudio:
    git::refs/heads/wave12::efe6aa71a2dc02ae1da1fe492ccb1f0fab1cdfb9

Data.VsVersion = 15.0.26430.16
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHostEx.<>c__DisplayClass2_0.<RunSafe>b__0()
 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-469128: Object reference not set to an instance of an object.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 6, 2018 11:37:55 AM
Updated Apr 13, 2018 4:31:49 PM
Resolved Apr 11, 2018 3:44:27 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Fixed
Type Exception
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 12 — JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.50143-eap07

JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.53440-eap07
JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.53134-eap07
JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.53255-eap07
JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.53303-eap07
JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.52907-eap07
JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180406.53013-eap07

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
Data.ReentrancyGuard.ActionName = FilterText::Change
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.ReSharper.Feature.Services
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.UI.IconHostBase.UnTransform(Icon icon)
 at JetBrains.ReSharper.Feature.Services.UI.IconHostBase.UnTransform(Icon icon)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.CommonControls.TranslateCompletionEdit.<>c__DisplayClass9_0.<GetSettings>b__3(RefactoringCompletionItem item)
 at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
 at JetBrains.DataFlow.CollectionEvents`1.AddRange(IEnumerable`1 items)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.CommonControls.TranslateCompletionEdit.<>c__DisplayClass9_0.<GetSettings>b__2()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_0.<Queue>b__3()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180406.50143-eap07”
Data.SubProducts.#0 = “JetBrains dotCover 2018.1 EAP 7 Build 2018.1.20180406.53440-eap07”
Data.SubProducts.#1 = “JetBrains dotTrace 2018.1 EAP 7 Build 2018.1.20180406.53255-eap07”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2018.1 EAP 7 Build 2018.1.20180406.52907-eap07”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180406.53013-eap07”
Data.SubProducts.#4 = “JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180406.53303-eap07”
Data.SubProducts.#5 = “JetBrains dotMemory 2018.1 EAP 7 Build 2018.1.20180406.53134-eap07”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12::961d296b25820dd383356d7696e3c1ee02979867


Platform\VisualStudio:
    git::refs/heads/wave12::fc315fa3c15a05f4b35e5107c9bc990c9b40714b

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
 at JetBrains.Threading.JetDispatcher.Closure.Execute()
 at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
 at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
 at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
 at System.Windows.Threading.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
 at 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)
Viewing all 106942 articles
Browse latest View live


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