shekharpro / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Writing an indexer properties throws an exception with the R# plugin #443

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, i had that problem before, plenty of exceptions with the latest
release of Gallio (Gallio v3.0.6 Update 1 build 763) and Resharper 4.5
(release version).

I saw an earlier post and updated to a recent nightly (3.0.7.84). It
got much better there but it seems one did slip the fixes, because i
got problems when writing an indexer property:

Current file extension: cs
System.InvalidCastException: Das Objekt des Typs
"JetBrains.ReSharper.Psi.CSharp.Impl.DeclaredElement.CSharpIndexer"
kann nicht in Typ "JetBrains.ReSharper.Psi.IFunction" umgewandelt
werden.
   at Gallio.ReSharperRunner.Reflection.PsiReflectionPolicy.Wrap
(IParameter target)
   at Gallio.ReSharperRunner.Reflection.PsiReflectionPolicy.Wrap
(IDeclaredElement target)
   at
Gallio.ReSharperRunner.Provider.GallioTestProvider.Shim.IsUnitTestStuff
(IDeclaredElement element)
   at
Gallio.ReSharperRunner.Provider.GallioTestProvider.IsUnitTestStuff
(IDeclaredElement element)

Regards,
    Gunter 

Original issue reported on code.google.com by gunter...@gmail.com on 6 May 2009 at 9:27

GoogleCodeExporter commented 8 years ago
Same problem as we had with operators.  Will be fixed in v3.0.6 Update 2.

Original comment by jeff.br...@gmail.com on 13 May 2009 at 6:23

GoogleCodeExporter commented 8 years ago
Fixed in v3.0.6 update 2.

Original comment by jeff.br...@gmail.com on 13 May 2009 at 11:40