Project
ReSharper
Priority
Show-stopper
Type
Bug
Fix versions
4.1
State
Fixed
Assignee
Sergey Coox
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
5.0.1612.107  
  • Created by   Ilya Ryzhenkov
    3 years ago (18 Jun 2008 18:38)
  • Updated by   Ilya Ryzhenkov
    3 years ago (23 Jun 2008 14:27)
  • Jira: RSRP-72671
    (history, comments)
 
RSRP-72671 Xaml application does not overload Current property
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
<Application x:Class="WpfApplication1.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
</Application>
 
namespace WpfApplication1
{
  public partial class App
  {
    public App()
    {
      var cur = (App)Current; // error
    }
  }
}
 


"Cannot cast expression of type 'System.Windows.Application' to type 'App'"


Issue was closed
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments