PH2048: False negative for inferred-type constructor new() · Issue #798 · philips-software/roslyn-analyzers · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, we should be flagging this at compile time to avoid runtime exceptions (e.g., System.ArgumentException: Can not instantiate proxy of class ... Could not find a constructor that would match given arguments).
The text was updated successfully, but these errors were encountered:
Currently, the analyzer will fire only for constructors which explicitly declare a type:
But will not fire when the type is inferred:
Ideally, we should be flagging this at compile time to avoid runtime exceptions (e.g.,
System.ArgumentException: Can not instantiate proxy of class ... Could not find a constructor that would match given arguments
).The text was updated successfully, but these errors were encountered: