Adds the specified Type object to the set. Throws ArgumentException in the following cases:- type is null.- type represents a void type.- type repr...Adds the specified Type object to the set. Throws ArgumentException in the following cases:- type is null.- type represents a void type.- type repr