You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.182
Former-commit-id: 439c182e520038bf50777ca2fe684f216ae28552
This commit is contained in:
parent
c911219690
commit
804b15604f
@ -46,12 +46,12 @@ namespace System.ServiceModel
|
||||
{
|
||||
}
|
||||
|
||||
protected ChannelFactory (Type type)
|
||||
protected ChannelFactory (Type channelType)
|
||||
{
|
||||
if (type == null)
|
||||
throw new ArgumentNullException ("type");
|
||||
if (!type.IsInterface)
|
||||
throw new InvalidOperationException ("The type argument to the generic ChannelFactory constructor must be an interface type.");
|
||||
if (channelType == null)
|
||||
throw new ArgumentNullException ("channelType");
|
||||
if (!channelType.IsInterface)
|
||||
throw new InvalidOperationException ("The channelType argument to the generic ChannelFactory constructor must be an interface type.");
|
||||
|
||||
InitializeEndpoint (CreateDescription ());
|
||||
}
|
||||
|
Reference in New Issue
Block a user