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

RSRP-469174: SourceFile is not valid.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 9, 2018 4:01:03 PM
Updated Apr 9, 2018 8:55:24 PM
Subsystem ASP.NET - Razor
Assignee Slava Trenogin (derigel)
Priority Normal
State Fixed In Branch
Type Exception
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains JetBrains Rider 2018.1 Build 181.SNAPSHOT Date 2018-04-09T12:58:23.034+0000

— EXCEPTION #1/2 [InvalidOperationException]
Message = “SourceFile is not valid.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Psi
StackTraceString = “
 at JetBrains.ReSharper.Psi.PsiSourceFileExtensions.AssertIsValid(IPsiSourceFile sourceFile, String messageText)
 at JetBrains.ReSharper.Psi.PsiSourceFileExtensions.AssertIsValid(IPsiSourceFile sourceFile, String messageText)
 at JetBrains.ReSharper.Psi.Razor.CSharp.Template.RazorCSharpTemplateProjectFileLanguageService.GetPsiLanguageType(IPsiSourceFile sourceFile)
 at JetBrains.ReSharper.Psi.Razor.CSharp.Mvc.RazorCSharpMvcProjectFileLanguageService.GetPsiProperties(IProjectFile projectFile, IPsiSourceFile sourceFile, IsCompileService isCompileService)
 at JetBrains.ReSharper.Psi.Razor.CSharp.Template.RazorCSharpTemplateProjectFileLanguageService.GetPsiProperties(IProjectFile projectFile, IPsiSourceFile sourceFile, IsCompileService isCompileService)
 at JetBrains.ReSharper.Psi.StandardPsiSourceFilePropertiesProvider.GetPsiProperties(IPsiSourceFileProperties prevProperties, IProject project, IProjectFile projectFile, IPsiSourceFile sourceFile)
 at JetBrains.ReSharper.Psi.PsiSourceFilePropertiesManager.CalculatePsiSourceFileProperties(IProject project, IProjectFile projectFile, IPsiSourceFile sourceFile)
 at JetBrains.ReSharper.Psi.PsiSourceFilePropertiesManager.GetPsiProperties(IProject project, IProjectFile projectFile, IPsiSourceFile sourceFile)
 at JetBrains.ReSharper.Psi.Modules.DefaultPsiModuleProvider.DefaultProjectPsiModuleHandler.<>c__DisplayClass3_0.<.ctor>b__0(IProjectFile pf, IPsiSourceFile sf)
 at JetBrains.ReSharper.Psi.Impl.PsiProjectFile.get_Properties()
 at JetBrains.ReSharper.Psi.Caches.PsiCaches.ShouldBuildCaches(IPsiSourceFile sourceFile)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “SourceFile is not valid.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment)
 at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment)
 at JetBrains.ReSharper.Psi.Caches.PsiCaches.ShouldBuildCaches(IPsiSourceFile sourceFile)
 at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
 at System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other)
 at JetBrains.ReSharper.Psi.Caches.PsiCaches.Execute(IChangeMap changeMap)
 at JetBrains.Application.changes.ChangeManagerImpl.<>c__DisplayClass21_0.<InvokeOrderedDependentProviders>b__0(IProgressIndicator pro)
 at JetBrains.Application.Progress.SimpleTaskExecutor.ExecuteTaskTrivial(Action`1 task)
 at JetBrains.Application.Progress.SimpleTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.Application.changes.ChangeManagerImpl.InvokeOrderedDependentProviders(ITaskExecutor executor, IEnumerable`1 dependentProviders, ChangeMap changeMap)
 at JetBrains.Application.changes.ChangeManagerImpl.OnProviderChanged(IChangeProvider changeProvider, Object change, ITaskExecutor executor)
 at JetBrains.ProjectModel.Transaction.ProjectModelBatchChangeManager.<>c__DisplayClass8_0.<EndTransaction>b__0()
 at JetBrains.Application.changes.ChangeManagerImpl.ExecuteAfterChange(Action action)
 at JetBrains.ProjectModel.Transaction.ProjectModelBatchChangeManager.EndTransaction(ProjectModelBatchChange projectModelBatchChange, ITaskExecutor executor)
 at JetBrains.ProjectModel.Impl.ProjectModelBatchChange.Commit(ITaskExecutor executor)
 at JetBrains.ProjectModel.Transaction.ProjectModelBatchChangeCookie.Dispose()
 at JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostSync.AddOrUpdateProjectRecursively(ProjectHostChange change, Boolean initializing)
 at JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostSync.<>c__DisplayClass21_0.<UpdateProjects>b__0()
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.<>c__DisplayClass24_0.<ExecuteOneTask>b__1()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.ExecuteOneTask(SolutionLoadTask task)
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.ExecuteTask()
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.ExecuteTasks(Boolean background)
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.DispatchTasks(Boolean background)
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.ResumeWaitTask(SolutionLoadWaitHandle waitHandle, Boolean background)
 at JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostStructureWaiter.<ResumeWaitTask>b__11_0()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass2_0.<ExecuteOrQueueReadLockEx>b__0()
 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.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()
 at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run()
 at JetBrains.Threading.JetDispatcher.Run()
 at JetBrains.ReSharper.Host.Product.ReSharperHostMain.Main(Lifetime lifetime, IReSharperHostSettings settings, ILogger logger, ShellProtocol protocol, RdModelRoot modelRoot, ApplicationShutdownRequests shutdownRequests)
 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)
 at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass0_0.<.ctor>b__0()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.Threading.IThreadingEx.<>c__DisplayClass13_1.<ExecuteOrQueueWhenNotGuarded>b__2()
 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.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.Application.Environment.IJetHostEx.<>c__DisplayClass2_0.<RunHostMessageLoop>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using(Action`1 λ)
 at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
 at JetBrains.Application.Environment.HostParameters.MessagePumpMainLoopHostMixin.JetBrains.Application.Environment.HostParameters.IRunMainLoopHostMixin.RunMainLoop(ComponentContainer containerEnv)
 at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
 at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
 at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
 at JetBrains.Application.Environment.JetHostItems.CreateAndRun(Full input)
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.MainX(Assembly assembly, HostInfo hostInfo, String[] args)
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.<>c.<Main>b__0_0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.ReSharper.Host.Product.ReSharperHostProgram.Main()
 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 =

app.eap = true
app.internal = true
app.build = 181.SNAPSHOT
app.version.major = 2018
app.version.minor = 1
app.build.date = 2018-04-09T12:58:23.034+0000
app.build.date.release = 2017-12-27T00:00:23.034+0000
app.build.date.release = 2017-12-27T00:00:23.034+0000
app.compilation.timestamp = null
app.product.code =

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-449753: Support .runsettings file for NUnit tests

$
0
0
Reporter Alexandra Kuks (Asia.Rudenko) Alexandra Kuks (Asia.Rudenko)
Created Oct 21, 2015 5:41:15 PM
Updated Apr 9, 2018 8:59:45 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Major
State Submitted
Type Feature
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
With .runsettings file you now can configure how NUnit tests will be run; it works for VS + NUnit Test Adapter, but ReSharper ignores the file.
https://msdn.microsoft.com/ru-ru/library/jj635153(v=vs.110).aspx

RSRP-469118: Create View with layout from usage: wrong completion

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Apr 5, 2018 5:34:23 PM
Updated Apr 9, 2018 9:18:20 PM
Subsystem ASP.NET - Razor
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Create new ASP.Net Core Web Application (MVC).
Add a method to HomeController.cs:
        public IActionResult Index5()
{
return View();
}
Create View with layout from usage.

Press Tab at this moment. The result is weird:
@model < object ></ object >

It works fine when Create File from template (Razor MVC view with Layout) is applied.

RSRP-450003: Change text in the message if user entered wrong method name

$
0
0
Reporter Maltseva Ekaterina (Maltseva.Ekaterina) Maltseva Ekaterina (Maltseva.Ekaterina)
Created Oct 26, 2015 4:14:08 PM
Updated Apr 9, 2018 9:18:31 PM
Subsystem Solution builder
Assignee Slava Tutushkin (slava.tutushkin)
Priority Critical
State Submitted
Type Usability Problem
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
I've entered some wrong name to Run Configuration properties and get message like in attach
Please, change the text in the message because "Unknown error" and others are very confusing

RSRP-468672: MSTest: test marked with [Workitem(), Workitem()] cannot be run as inconclusive

$
0
0
Reporter Angelina Elycheva (Angelina.Elycheva) Angelina Elycheva (Angelina.Elycheva)
Created Mar 14, 2018 12:58:05 AM
Updated Apr 9, 2018 9:42:41 PM
Resolved Apr 9, 2018 4:04:16 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Fixed
Type Bug
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper 2018.1 EAP 8
VsVersion All Versions
1. Create new MSTest project
2. Add [Workitem(1), Workitem(2)] to the top of test case

Result: test cannot be run as inconclusive
Unable to process test-case <UnitTestProject2.UnitTest1.TestMethod1>. Test-case dump: Properties: MSTestDiscoverer.TestClassName = UnitTestProject2.UnitTest1 TestObject.Traits = System.Collections.Generic.KeyValuePair`2[System.String,System.String][] TestCase.CodeFilePath = C:\Users\angelina.elycheva\source\repos\UnitTestProject2\UnitTestProject2\UnitTest1.cs TestCase.DisplayName = TestMethod1 TestCase.ExecutorUri = executor://mstestadapter/v2 TestCase.FullyQualifiedName = UnitTestProject2.UnitTest1.TestMethod1 TestCase.Id = 98c9151d-1023-52eb-4a3a-91de0b1a68df TestCase.LineNumber = 12 TestCase.Source = C:\Users\angelina.elycheva\source\repos\UnitTestProject2\UnitTestProject2\bin\Debug\UnitTestProject2.dll Traits: WorkItem = 1 WorkItem = 2 An item with the same key has already been added.

--- EXCEPTION #1/2 [ArgumentException]
Message = “An item with the same key has already been added.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = E_INVALIDARG=COR_E_ARGUMENT=80070057
Source = mscorlib
StackTraceString = “
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.MsTestDiscoveryProtocol.OnTestFound(TestCase test)


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “
Unable to process test-case <UnitTestProject2.UnitTest1.TestMethod1>.
Test-case dump: Properties:
MSTestDiscoverer.TestClassName = UnitTestProject2.UnitTest1
TestObject.Traits = System.Collections.Generic.KeyValuePair`2[System.String,System.String][]
TestCase.CodeFilePath = C:\Users\angelina.elycheva\source\repos\UnitTestProject2\UnitTestProject2\UnitTest1.cs
TestCase.DisplayName = TestMethod1
TestCase.ExecutorUri = executor://mstestadapter/v2
TestCase.FullyQualifiedName = UnitTestProject2.UnitTest1.TestMethod1
TestCase.Id = 98c9151d-1023-52eb-4a3a-91de0b1a68df
TestCase.LineNumber = 12
TestCase.Source = C:\Users\angelina.elycheva\source\repos\UnitTestProject2\UnitTestProject2\bin\Debug\UnitTestProject2.dll
Traits:
WorkItem = 1
WorkItem = 2
An item with the same key has already been added.

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 2 Build 112.0.20180306.121807-eap02”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2018.1 EAP 2 Build 2018.1.20180306.123910-eap02”
Data.SubProducts.#1 = “JetBrains TeamCity Add-in 2018.1 EAP 2 Build 2018.1.20180306.122901-eap02”
Data.SubProducts.#2 = “JetBrains ReSharper 2018.1 EAP 2 Build 2018.1.20180306.122857-eap02”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12-eap2-take2

Data.VsVersion = 15.5.27130.2027
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.MsTestDiscoveryProtocol.OnTestFound(TestCase test)
at Appccelerate.StateMachine.Machine.ActionHolders.ArgumentActionHolder`1.Execute(Object argument)
at Appccelerate.StateMachine.Machine.Transitions.Transition`2.PerformActions(ITransitionContext`2 context)
at Appccelerate.StateMachine.Machine.Transitions.Transition`2.Fire(ITransitionContext`2 context)
at Appccelerate.StateMachine.Machine.States.State`2.Fire(ITransitionContext`2 context)
at Appccelerate.StateMachine.Machine.StateMachine`2.Fire(TEvent eventId, Object eventArgument)
at Appccelerate.StateMachine.PassiveStateMachine`2.ProcessQueuedEvents()
at Appccelerate.StateMachine.PassiveStateMachine`2.Execute()
at Appccelerate.StateMachine.PassiveStateMachine`2.Fire(TEvent eventId, Object eventArgument)
at JetBrains.ReSharper.UnitTesting.MSTest.Provider.Execution.Wcf.TestRunnerServiceClient.DiscoveryComplete(Int64 totalTests, IEnumerable`1 lastChunk, Boolean isAborted)
at SyncInvokeDiscoveryComplete(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
at System.ServiceModel.Dispatcher.ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)
at System.ServiceModel.Dispatcher.ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)
at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)
at System.ServiceModel.Dispatcher.ChannelHandler.OnAsyncReceiveComplete(IAsyncResult result)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.TransportDuplexSessionChannel.TryReceiveAsyncResult.OnReceive(IAsyncResult result)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.SynchronizedMessageSource.ReceiveAsyncResult.OnReceiveComplete(Object state)
at System.ServiceModel.Channels.SessionConnectionReader.OnAsyncReadComplete(Object state)
at System.ServiceModel.Channels.StreamConnection.OnRead(IAsyncResult result)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Security.NegotiateStream.ProcessFrameBody(Int32 readBytes, Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.NegotiateStream.ReadCallback(AsyncProtocolRequest asyncRequest)
at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
at System.ServiceModel.Channels.ConnectionStream.IOAsyncResult.OnAsyncIOComplete(Object state)
at System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(Boolean haveResult, Int32 error, Int32 numBytes)
at System.ServiceModel.Channels.OverlappedContext.CompleteCallback(UInt32 error, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Runtime.Fx.IOCompletionThunk.UnhandledExceptionFrame(UInt32 error, UInt32 bytesRead, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

RSRP-469175: Sometimes methods for compiled psi became red. Only restart helps.

$
0
0
Reporter Dmitry Ivanov (daivanov) Dmitry Ivanov (daivanov)
Created Apr 9, 2018 9:43:57 PM
Updated Apr 9, 2018 9:47:17 PM
Subsystem Psi
Assignee Alexander Shvedov (shvedov)
Priority Show-stopper
State Open
Type Bug
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
No repro. First time arised recently, maybe 2 months.

RSRP-468940: Copy Type: "Identifier is not valid" error appears for valid namespace

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 28, 2018 12:08:57 PM
Updated Apr 9, 2018 10:13:17 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Fixed In Branch
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 EAP 4 D Build 12.0.20180322.125946-eap04d.

  1. Open Copy Type dialog.
  2. Add "1" to default namespace name (ex. RefactoringsTest2017.CopyType1).

Actual result:
"Identifier is not valid" error appears

Expected result:
No errors.

NOTE:

  1. Dot makes namespace invalid.
  2. Error is shown only after editing the field. Check should be done on dialog open too.

RSRP-468867: Copy Type: no warning "Value should be different from initial"

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Mar 26, 2018 2:32:27 PM
Updated Apr 9, 2018 10:16:26 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Fixed In Branch
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 EAP 4 D Build 12.0.20180322.125946-eap04d.

  1. Inspect Copy Type dialog.

Actual result:
Warning "Value should be different from initial" is NOT shown when Name is the same as name of class to copy.

Expected result:
Warning "Value should be different from initial" is shown when Name is the same as name of class to copy.


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 9, 2018 10:19:46 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-468102: No xUnit unit tests are discovered

$
0
0
Reporter Sebastian Gingter (sebastiangingter) Sebastian Gingter (sebastiangingter)
Created Jan 26, 2018 3:49:21 PM
Updated Apr 9, 2018 10:46:23 PM
Resolved Jan 29, 2018 11:56:07 AM
Subsystem Unit Testing
Assignee Andrey Akinshin (Andrey.Akinshin)
Priority Show-stopper
State Fixed
Type Bug
Fix version 2017.3.2
Affected versions 2017.3
Fixed In Version ReSharper 2017.3.2 RTM
VsVersion All Versions

In the latest VS 2017 update 15.5.5 ReSharper completely stopped discovering any xUnit tests.

Yesterday everything was fine. I updated VS from 15.5.4 to 15.5.5 and Resharper does not show any of my unit tests. VS Test explorer finds and executes all.

The unit test projects are .NET Core xUnit projects (VS Project type guid is {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}), target framework is netcoreapp2.0, xunit, xunit.runner.visualstudio and dotnetclitoolref dotnet-xunit are all installed in version 2.3.1.

This happens in the latest stable release version of ReSharper as well as in the 2017.3.2 EAP.
Since I require ReSharper unit tests execution for code coverage results, this is a big issue.

RSRP-469176: ReSharper incorrectly removes spaces around conditional operator when StyleCop support is enabled

$
0
0
Reporter Matvei Stefarov (Matvei.Stefarov) Matvei Stefarov (Matvei.Stefarov)
Created Apr 9, 2018 11:09:10 PM
Updated Apr 9, 2018 11:22:21 PM
Subsystem Code Style
Assignee Razmik Seysyan (razmik)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have a C# solution with StyleCop analyzers. Solution has zero warnings. As long as StyleCop support is disabled, calling ReSharper's "reformat code" does not require any changes. The code looks like this:

    Console.WriteLine(foo ? "bar" : "baz");

But when StyleCop support is enabled, calling "reformat code" removes spaces around conditional operators (?:). My code is changed to this:

    Console.WriteLine(foo?"bar":"baz");

This change actually creates several new warnings for each conditional operator:

1>C:\SomePath\ClassLibrary1\MyClass.cs(16,40,16,41): warning SA1024: Colon must be preceded by a space.
1>C:\SomePath\ClassLibrary1\MyClass.cs(16,40,16,41): warning SA1024: Colon must be followed by a space.
1>C:\SomePath\ClassLibrary1\MyClass.cs(16,34,16,35): warning SA1003: Operator '?' must be preceded by whitespace.
1>C:\SomePath\ClassLibrary1\MyClass.cs(16,34,16,35): warning SA1003: Operator '?' must be followed by whitespace.
1>C:\SomePath\ClassLibrary1\MyClass.cs(16,40,16,41): warning SA1003: Operator ':' must be preceded by whitespace.
1>C:\SomePath\ClassLibrary1\MyClass.cs(16,40,16,41): warning SA1003: Operator ':' must be followed by whitespace.

To reproduce: download the solution (attached), restore NuGet packages, open MyClass.cs, and use ReSharper's reformat feature.

System information:
  • ReSharper Ultimate 2018.1 EAP 6 (Checked Build 112.0.20180402.185705-eap06)
  • Visual Studio Professional 2017 (Version 15.6.5)

RSRP-468845: Failed to unmarshal 21 at 10345 Mvid mismatch for

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Mar 12, 2018 10:25:49 AM
Updated Apr 10, 2018 1:39:32 AM
Resolved Apr 10, 2018 1:39:32 AM
Subsystem No Subsystem
Assignee Slava Tutushkin (slava.tutushkin)
Priority Major
State Duplicate
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains JetBrains Rider 2018.1 Build RD-181.4035.248 Date 2018-03-11T20:53:58.318+0000

— EXCEPTION #1/2 [AssertionException]
Message = “Mvid mismatch for <Assembly>”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
Data.ThreadLocalDebugInfo = “RdMap<int, Solution>: MainProtocol.SolutionModel.solutions
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.Util
StackTraceString = “
 at JetBrains.Util.AssertionWithSensitiveData.Fail(String message, Pair`2[] sensitiveData) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Util\Src\AssertionWithSensitiveData.cs:line 122
 at JetBrains.Util.AssertionWithSensitiveData.Fail(String message, Pair`2[] sensitiveData) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Util\Src\AssertionWithSensitiveData.cs:line 122
 at JetBrains.ProjectModel.Model2.Assemblies.Impl.Assembly.AddAssemblyFileInternal(IAssemblyFile assemblyFile, Boolean fireEvent) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\model2\Assemblies\Impl\Assembly.cs:line 209
 at JetBrains.ProjectModel.Model2.Assemblies.Impl.Assembly.AddAssemblyFile(IAssemblyFile assemblyFile, Boolean fireEvent) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\model2\Assemblies\Impl\Assembly.cs:line 197
 at JetBrains.ProjectModel.Persistence.Marshallers.AssemblyFileMarshaller.UnmarshallImpl(UnsafeReader reader, ProjectModelCaches projectModelCaches) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\Persistence\Marshallers\AssemblyMarshaller.cs:line 97
 at JetBrains.ProjectModel.Persistence.Marshallers.ProjectModelElementMarshallerBase`1.Unmarshall(UnsafeReader reader, ProjectModelCaches projectModelCaches) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\Persistence\Marshallers\ProjectModelElementMarshallerBase.cs:line 53
 at JetBrains.ProjectModel.Persistence.UnsafeProjectModelElementMarshaller.Unmarshal(UnsafeReader reader) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\Persistence\Marshallers\UnsafeProjectModelElementMarshaller.cs:line 101


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Failed to unmarshal 21 at 10345 Mvid mismatch for <Assembly>”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.LogException(String comment, Exception ex) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 984
 at JetBrains.Util.Logging.Logger.LogException(String comment, Exception ex) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 984
 at JetBrains.ProjectModel.Persistence.UnsafeProjectModelElementMarshaller.Unmarshal(UnsafeReader reader) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\Persistence\Marshallers\UnsafeProjectModelElementMarshaller.cs:line 101
 at JetBrains.Application.PersistentMap.LevelDbMap`2.TryGetValue(TKey key, TValue& value) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\PersistentMap\LevelDbMap.cs:line 196
 at JetBrains.Application.PersistentMap.OptimizedPersistentSortedMap`2.TryGetValue(TKey key, TValue& value) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\PersistentMap\OptimizedPersistentSortedMap.cs:line 352
 at JetBrains.ProjectModel.Persistence.ProjectModelCaches.TryGetProjectModelElement[T](Int32 elementIndex) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\Persistence\ProjectModelCaches.cs:line 298
 at JetBrains.Util.PersistentMap.UnsafeReader.ReadArray[T](ReadDelegate`1 readDelegate) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\RdCore\Src\PersistentMap\UnsafeReader.cs:line 289
 at JetBrains.ProjectModel.Persistence.Marshallers.AssemblyMarshaller.<>c__DisplayClass8_0.<UnmarshallSubItems>b__0(Lifetime lifetime) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\Persistence\Marshallers\AssemblyMarshaller.cs:line 57
 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.ProjectModel.Persistence.Marshallers.AssemblyMarshaller.UnmarshallImpl(UnsafeReader reader, ProjectModelCaches projectModelCaches) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\Persistence\Marshallers\AssemblyMarshaller.cs:line 41
 at JetBrains.ProjectModel.Persistence.Marshallers.ProjectModelElementMarshallerBase`1.Unmarshall(UnsafeReader reader, ProjectModelCaches projectModelCaches) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\Persistence\Marshallers\ProjectModelElementMarshallerBase.cs:line 53
 at JetBrains.ProjectModel.Persistence.UnsafeProjectModelElementMarshaller.Unmarshal(UnsafeReader reader) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\Persistence\Marshallers\UnsafeProjectModelElementMarshaller.cs:line 101
 at JetBrains.Application.PersistentMap.LevelDbMap`2.TryGetValue(TKey key, TValue& value) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\PersistentMap\LevelDbMap.cs:line 196
 at JetBrains.Application.PersistentMap.OptimizedPersistentSortedMap`2.TryGetValue(TKey key, TValue& value) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Shell\Src\PersistentMap\OptimizedPersistentSortedMap.cs:line 352
 at JetBrains.ProjectModel.Persistence.ProjectModelCaches.<Load>b__20_0(Lifetime lifetime) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\Persistence\ProjectModelCaches.cs:line 241
 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.Features.ProjectModel.RiderSolutionManager.EnqueueLoadFromCache(SolutionElement solutionElement) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\ProjectModel\RiderSolutionManager.cs:line 107
 at JetBrains.ReSharper.Host.Features.ProjectModel.RiderSolutionManager.<>c__DisplayClass8_0.<PrepareSolutionToOpen>b__1() in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\ProjectModel\RiderSolutionManager.cs:line 83
 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.ProjectModel.Tasks.SolutionLoadTasksSchedulerBase.ExecuteOneTask(SolutionLoadTask task) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\impl\Tasks\SolutionLoadTasksSchedulerBase.cs:line 145
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.ExecuteTask() in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\impl\Tasks\SolutionLoadTasksSchedulerAsync.cs:line 38
 at JetBrains.ProjectModel.Tasks.SolutionLoadTasksSchedulerAsync.DispatchTasks(Boolean background) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\impl\Tasks\SolutionLoadTasksSchedulerAsync.cs:line 20
 at JetBrains.ProjectModel.SolutionManagerBase.CreateSolutionInstance(SolutionElement solutionElement, SolutionInstance solutionInstance) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects\Src\impl\SolutionManagerBase.cs:line 154
 at JetBrains.ProjectModel.ProjectsHost.SolutionHost.Impl.SolutionHostManager.OpenSolution(FileSystemPath location, Object cookie) in C:\Build Agent\work\53741cd73e5522bb\Platform\Core\Ide\Projects.Host\src\SolutionHost\Impl\SolutionHostManager.cs:line 76
 at JetBrains.ReSharper.Host.Features.ProjectModel.RiderSolutionWatcher.<>c__DisplayClass3_0.<.ctor>b__0(Lifetime solutionLifetime, KeyValuePair`2 data) in C:\Build Agent\work\105d7e5fa9cf8e21\ReSharperAutomationTools\src\ReSharperHost\ReSharperHost\Features\ProjectModel\RiderSolutionWatcher.cs:line 68
 at JetBrains.Platform.RdFramework.Util.ReactiveEx.<>c__DisplayClass8_0`2.<View>b__0(Lifetime lf, K k, V v) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Util\ReactiveEx.cs:line 83
 at JetBrains.Platform.RdFramework.Util.ReactiveEx.<>c__DisplayClass13_0`2.<View>b__0(AddRemove kind, K key, V value) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Util\ReactiveEx.cs:line 173
 at JetBrains.Platform.RdFramework.Util.ReactiveEx.<>c__DisplayClass10_0`2.<AdviseAddRemove>b__0(MapEvent`2 e) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Util\ReactiveEx.cs:line 114
 at JetBrains.Platform.RdFramework.Util.ViewableMap`2.Advise(Lifetime lifetime, Action`1 handler) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Util\ViewableMap.cs:line 136
 at JetBrains.Platform.RdFramework.Impl.RdMap`2.Advise(Lifetime lifetime, Action`1 handler) in C:\Build Agent\work\53741cd73e5522bb\Platform\RdProtocol\RdFramework\src\Impl\RdMap.cs:line 356
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
 at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
 at JetBrains.Application.Extensibility.PartCatalogTypeComponentDescriptor.CreateInstanceOf(Type type, IValueResolveContext context) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\ComponentModel\Src\Extensibility\PartCatalogTypeComponentDescriptor.cs:line 78
 at JetBrains.Application.Extensibility.PartCatalogTypeComponentDescriptor.CreateInstance(IValueResolveContext context) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\ComponentModel\Src\Extensibility\PartCatalogTypeComponentDescriptor.cs:line 52
 at JetBrains.Application.Components.SingletonDescriptor.CreateInstanceChecked(OnError onError, IComponentContainer container) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\ComponentModel\Src\Components\Descriptors\SingletonDescriptor.cs:line 85
 at JetBrains.Application.Components.SingletonDescriptor.GetValue() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\ComponentModel\Src\Components\Descriptors\SingletonDescriptor.cs:line 56
 at JetBrains.Application.Components.DelayedInitializationStrategy.<Dispatch>b__8_0() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\ComponentModel\Src\Components\Storage\ComponentStorage.cs:line 134
 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 841
 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 =

app.eap = true
app.internal = false
app.build = RD-181.4035.248
app.version.major = 2018
app.version.minor = 1
app.build.date = 2018-03-11T20:53:58.318+0000
app.build.date.release = 2017-12-27T00:00:58.318+0000
app.build.date.release = 2017-12-27T00:00:58.318+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-287636: Parentheses auto-inserted even when "Auto-insert pair brackets..." unchecked in options

$
0
0
Reporter Philip Rieck (philiprieck) Philip Rieck (philiprieck)
Created Jan 9, 2012 12:34:48 AM
Updated Apr 10, 2018 1:56:28 AM
Subsystem Typing Assistance
Assignee Slava Tutushkin (slava.tutushkin)
Priority Critical
State Open
Type Usability Problem
Fix version 2018.1.1
Affected versions 6.1, 7.0
Fixed In Version ReSharper Undefined
VsVersion All Versions
I have only the "machine level" options layer.
I have unchecked the "Auto-insert pair brackets, parentheses and quotes" option.

When I type a method into the code editor, upon typing the opening "(", the closing ")" and ";" characters are auto-inserted.

For example, I type:
_connection.Close
At this point the intellisense has "Close" highlighted
I finish typing (ignoring the intellisense):
_connection.Close(

At this point, ");" is inserted, and my cursor is inside the parentheses. I wish to disable this, but the Resharper setting seems to have no effect.

RSRP-468177: System.Private.Xml should be referenced

$
0
0
Reporter Dotnet Shadow (dotnetshadow) Dotnet Shadow (dotnetshadow)
Created Feb 1, 2018 4:15:55 AM
Updated Apr 10, 2018 1:56:50 AM
Subsystem Platform - Project Model
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Waiting for Info
Type Bug
Fix version 2018.1.1
Affected versions 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Using Resharper 2017.3.1
Project builds successfully, but there error still shows
I'm using this project: https://github.com/trenoncourt/HtmlAgilityPack.CssSelectors.NetCore

When I write this line in my own project which uses the above project I get the error:

System.Private.Xml should be referenced error
var nodes = doc.QuerySelectorAll("div .my-class[data-attr=123] > ul li").Select(x=>x.InnerTest);  // If I put .Select() it causes the issue, if I don't put it it's ok

RSRP-469177: WPF. InputBindings not resolved

$
0
0
Reporter Ilya Chudin (chuuddo) Ilya Chudin (chuuddo)
Created Apr 6, 2018 1:24:28 PM
Updated Apr 10, 2018 2:11:59 AM
Subsystem Code Analysis
Assignee Slava Tutushkin (slava.tutushkin)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
In VS2017 it works.

<Window x:Class="WPFSDK.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Window.InputBindings>
<KeyBinding x:Name="UpdateKeyBinding"></KeyBinding>
<MouseBinding x:Name="UpdateMouseBinding"></MouseBinding>
</Window.InputBindings>
<Grid>

</Grid>
</Window>



JetBrains Rider 2018.1 EAP
Build #RD-181.4379.683, built on April 5, 2018
Rider EAP User
Expiration date: May 5, 2018
JRE: 1.8.0_152-release-1136-b23 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1

RSRP-469178: No Completion / Suggestion for NavigationPage XAML Attribute

$
0
0
Reporter Alessandro Babboni (aledigitale) Alessandro Babboni (aledigitale)
Created Apr 10, 2018 8:31:31 AM
Updated Apr 10, 2018 8:31:31 AM
Subsystem IntelliSense (Code Completion)
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2017.3.3, 2017.3.5, 2018.1.1, 2017.2.1, 2017.2.2
Fixed In Version ReSharper Undefined
VsVersion VS 2017 15.3

In Xamarin.Forms Project, in XAML, there's no autocompletion nor any suggestion for the NavigationPage ContentPage's attribute !!

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:App"
             x:Class="App.MainPage"
             Title="Welcome Page"
             NavigationPage >

if you try to start writing NavigationPage nothing happens !

but, if you write it fully by hand and you reach the DOT, magically and suddendly ReSharper "wakes up"...

for example, just try to write: NavigationPage.HasNavigationBar

this is a very annoying bug :-(

RSRP-453529: Regex support doesn't work inside DNX projects

$
0
0
Reporter Alexander Oryol (oryol.oryol) Alexander Oryol (oryol.oryol)
Created Feb 2, 2016 6:39:17 PM
Updated Apr 10, 2018 8:44:30 AM
Resolved Apr 10, 2018 8:44:30 AM
Subsystem RegExp Support (Regular Expressions)
Assignee Evgeniy Stepanov (Evgeniy_Stepanov)
Priority Normal
State Obsolete
Type Bug
Fix version No Fix versions
Affected versions 10.0.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
It looks like in the .Net Core projects Regex support of R# doesn't work. I'm using "System.Text.RegularExpressions": "4.0.11-beta-23516" in the project.json. Project can be compiled and everything is correct but R# doesn't highlight anything.

RSRP-467327: Adjustable default for "Go to file member" ->"include members from related files"-Check

$
0
0
Reporter Michael Martin (darth-maddin) Michael Martin (darth-maddin)
Created Nov 30, 2017 8:10:51 PM
Updated Apr 10, 2018 8:46:25 AM
Subsystem Navigation - Contextual
Assignee Alexander Petrovsky (apetrov2)
Priority Normal
State Waiting for Info
Type Improvement
Fix version 2018.1
Affected versions 2017.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-469140: containing type should not be null when parent part is TypePart

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Apr 6, 2018 4:28:19 PM
Updated Apr 10, 2018 9:07:12 AM
Resolved Apr 10, 2018 9:07:12 AM
Subsystem Psi - Caches
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Fixed
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _2e4ec319ReSharper — JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180401.0-eap07

JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180401.0-eap07
JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180401.0-eap07

SubProducts.0 = JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180401.0-eap07
SubProducts.1 = JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180401.0-eap07

containing type should not be null when parent part is TypePart

— EXCEPTION #1/2 [AssertionException]
Message = “containing type should not be null when parent part is TypePart”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.RdCore
StackTraceString = “
 at JetBrains.Util.Assertion.Fail(String message)
 at JetBrains.Util.Assertion.Fail(String message)
 at JetBrains.Util.Assertion.NotNull[T](T value, String message)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.TrieAdderBase.CheckTypeParameters(TypePart part, TypeElement typeElement)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.TrieAdderBase.FindMergable(IEnumerable`1 types, TypePart part)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.TrieAdderBase.CreateAndAddTypeElement(ITrieView node, TypePart part)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.TrieAdder.ProcessTypePart(ITrieView view, TypePart part)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.TrieAdderBase.Process(Part part)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.TrieAdderBase.Process(Part part)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.TrieAdderBase.Process(Part part)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.TrieAdderBase.Process(Part part)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.TrieAdderBase.Process(PartsTree partsTree)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.SymbolCache.UpdateTrie(CacheTrieNode root, PsiLanguageType languageType, IPsiModule psiModule, PartsTree oldTree, PartsTree newTree)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.SymbolCache.CommitPartsTree(IPsiSourceFile sourceFile, IList`1 newPartsTrees, IList`1 languagesToRemove, Boolean isRollback, Boolean underTransaction, Boolean fireEvent)
 at JetBrains.ReSharper.Psi.Caches.SymbolCache.SymbolCache.Merge(IPsiSourceFile sourceFile, Object builtPart)
 at JetBrains.ReSharper.Psi.Caches.Jobs.JobUpdateProjectFiles.MergeProjectFile(IPsiSourceFile sourceFile, Int64 timestamp, IList`1 part)
 at JetBrains.ReSharper.Psi.Caches.Jobs.JobUpdateProjectFiles.<>c__DisplayClass13_0.<ExecuteUpdate>b__2(KeyValuePair`2 pair)
 at JetBrains.ReSharper.Psi.Caches.Jobs.CacheJobService2.<>c__DisplayClass36_0`1.<ExecuteSplittedWriteActivity>b__2()
 at JetBrains.Util.Logging.Logger.Catch(Action action)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “containing type should not be null when parent part is TypePart”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 7 Build 112.0.20180401.0-eap07”
Data.SubProducts.#0 = “JetBrains TeamCity Add-in 2018.1 EAP 7 Build 2018.1.20180401.0-eap07”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.1 EAP 7 Build 2018.1.20180401.0-eap07”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12-qx-22-nuget-files::3220d628fd9660df3b2c2d7e1e24ccdbb39bb4d8

Data.VsVersion = 15.6.27428.2027
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex)
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message)
 at JetBrains.Util.Logging.Logger.LogException(Exception ex)
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.ReSharper.Psi.Caches.Jobs.CacheJobService2.<>c__DisplayClass36_0`1.<ExecuteSplittedWriteActivity>b__1()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher[T](Func`1 action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass34_0`1.<Create>b__1(Object state)
 at System.Threading.Tasks.Task`1.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.ReentrancyGuardTaskScheduler.ExecuteInternal(Task task)
 at JetBrains.Application.Threading.Tasks.ReentrancyGuardTaskScheduler.<>c__DisplayClass9_0.<QueueTask>b__1()
 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 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Windows.Threading.DispatcherOperation.Invoke()
 at System.Windows.Threading.Dispatcher.ProcessQueue()
 at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
 at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
 at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
 at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

RSRP-469111: NUnit TestDelegate that returns a Span/ReadOnlySpan causes "Cannot use 'System.ReadOnlySpan'" error

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Apr 5, 2018 4:06:41 PM
Updated Apr 10, 2018 9:14:44 AM
Subsystem Psi - C#
Assignee Olga Lukianova (olka)
Priority Critical
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Using NUnit (3.7.10) in combination with Span<T> / ReadOnlySpan<T>, Resharper is showing an error on "Assert.That(() => SomethingThatReturnsSpan, ....)", while the project builds and the test runs fine.

In the following sample, the first 2 methods have "That" that is underlined in red, and only the third one is ok.

Also, regarding the 2nd one: "TestDelegate" in NUnit is defined as "public delegate void TestDelegate()", and so I don't understand why R# still thinks that that "() => _ = ..." returns a Span while it should return void here?

(VS2017 15.6.4, R# 2018.1 EAP4)



[Test, SuppressMessage("ReSharper", "ExpressionIsAlwaysNull")]
public void Test_Span()
{
string s = null;

//ERROR: "Cannot use 'System.ReadOnlySpan<char>' as a type argument"
Assert.That(() => s.AsReadOnlySpan(), Throws.Exception);

//ERROR: "Cannot use 'System.ReadOnlySpan<char>' as a type argument"
Assert.That(() => _ = s.AsReadOnlySpan(), Throws.Exception);

// OK
Assert.That(() => { _ = s.AsReadOnlySpan(); }, Throws.Exception);
}

Output:
1 passed, 0 failed, 0 skipped, took 1,52 seconds (NUnit 3.7.1).


There are no such errors in the latest release version - 2017.3.5.
Viewing all 106942 articles
Browse latest View live