Created
January 30, 2017 20:07
-
-
Save M-Zuber/fd9e49918b52320ee718f61cfefbef88 to your computer and use it in GitHub Desktop.
Wierd IntelliSense thing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Foo | |
{ | |
public OtherClass GetThing(params object[] stuff) => new OtherClass(stuff); | |
public void DoThing() | |
{ | |
var first = GetThing(..); | |
// This was reported as having type `dynamic` | |
var second = GetThing(..); | |
} | |
} | |
public class OtherClass | |
{ | |
object[] _stuff; | |
public OtherClass(object[] stuff) | |
{ | |
_stuff = stuff; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment