7 references to IsDefined
System.ServiceModel (7)
System\ServiceModel\NetTcpBinding.cs (1)
448
Fx.Assert(SecurityModeHelper.
IsDefined
(securityMode), string.Format("Invalid SecurityMode value: {0}.", securityMode.ToString()));
System\ServiceModel\NetTcpSecurity.cs (2)
26
Fx.Assert(SecurityModeHelper.
IsDefined
(mode), string.Format("Invalid SecurityMode value: {0}.", mode.ToString()));
39
if (!SecurityModeHelper.
IsDefined
(value))
System\ServiceModel\PeerSecuritySettings.cs (1)
43
if (!SecurityModeHelper.
IsDefined
(value))
System\ServiceModel\WSHttpSecurity.cs (3)
42
if (!SecurityModeHelper.
IsDefined
(value))
114
Fx.Assert(SecurityModeHelper.
IsDefined
(securityMode), string.Format("Invalid SecurityMode value: {0}.", mode.ToString()));
125
Fx.Assert(SecurityModeHelper.
IsDefined
(securityMode), string.Format("Invalid SecurityMode value: {0}.", securityMode.ToString()));