13 references to ParameterModeException
dotnet-svcutil-lib (13)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
172
ParameterModeException parameterModeException = new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_ElementIsNotNillable, part.Name, part.Namespace));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (12)
243
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_Message, _context.Operation.CodeName)));
757
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SfxUseTypedMessageForCustomAttributes, setting.Name, localAttributes[0].AttributeType.BaseType)));
882
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_NamespaceMismatch, setting.Namespace, defaultNS)));
889
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_MessageHasProtectionLevel, parent._request.Action == null ? "" : parent._request.Action)));
893
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_MessageHasProtectionLevel, parent._response.Action == null ? "" : parent._response.Action)));
900
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_Bare, parent._context.Operation.CodeName)));
903
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperNs, parent._request.MessageName, parent._request.Body.WrapperNamespace, parent._contractNS)));
907
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperName, parent._request.MessageName, parent._request.Body.WrapperName, defaultName.EncodedName)));
912
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperNs, parent._response.MessageName, parent._response.Body.WrapperNamespace, parent._contractNS)));
915
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperName, parent._response.MessageName, parent._response.Body.WrapperName, defaultName.EncodedName)));
928
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreUnsupported, parent._request.MessageName)));
936
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
ParameterModeException
(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreUnsupported, parent._response.MessageName)));