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
Registration Type is determined either by explicit parameter type, or implicitly from type of the instance. When method RegisterInstance(...) is called with both type and instance as null` exception is thrown.
Exception
By convention, when argument is null, exception System.ArgumentNullException should be thrown. Instead, Unity throws System.InvalidOperationException
Solution
Unity must throw correct exception: System.ArgumentNullException
Activity
fix: Invalid exception when no type is specified
fix: Invalid exception when no type is specified