23 references to MetadataConversionError
dotnet-svcutil-lib (23)
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
69_requestReplyError = new MetadataConversionError(SR.RequestReplyCallbackContractNotSupported, false);
CodeDomFixup\EndpointSelector.cs (2)
332warning = new MetadataConversionError(validationErrorMsg, isWarning: true); 341warning = new MetadataConversionError(incompatEndpointMsg, isWarning: true);
CodeDomFixup\NoSoapEncodingFixup.cs (1)
30MetadataConversionError warning = new MetadataConversionError(string.Format(CultureInfo.InvariantCulture, SR.ErrIncompatibleContractSoapEncodingFormat, contract.Name), isWarning: true);
CodeDomFixup\WcfCodeGenerationExtension.cs (2)
56MetadataConversionError error = new MetadataConversionError(SR.ErrNoCompatibleEndpoints, isWarning: true); 68MetadataConversionError error = new MetadataConversionError(SR.WrnTargetFrameworkNotSupported_NetNamedPipe, isWarning: true);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
161MetadataConversionError warning = new MetadataConversionError(message, isWarning);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataConversionError.cs (1)
12public MetadataConversionError(string message) : this(message, false) { }
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (2)
925parent._context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._request.MessageName), true/*isWarning*/)); 934parent._context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._response.MessageName), true/*isWarning*/));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (2)
229Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.WarnDuplicateBindingQNameNameOnExport, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name), true /*isWarning*/)); 545this.Errors.Add(new MetadataConversionError(warningMessage, true));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (4)
782this.Errors.Add(new MetadataConversionError(errorMsg, true)); 1148importer.Errors.Add(new MetadataConversionError(message, false)); 1873this.Errors.Add(new MetadataConversionError(warningMessage, true)); 1891this.Errors.Add(new MetadataConversionError(errormessage, isWarning));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (5)
1946importer.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.UnsupportedBooleanAttribute, OptionalName, e.Message), false)); 2734importer.Errors.Add(new MetadataConversionError(SRServiceModel.UnsupportedSecureConversationBootstrapProtectionRequirements, false)); 2743importer.Errors.Add(new MetadataConversionError(SRServiceModel.UnsupportedSecureConversationBootstrapProtectionRequirements, false)); 2921importer.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.UnableToObtainIssuerMetadata, mexAddress, mexException), false)); 2955importer.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.ErrorImportingIssuerMetadata, mexAddress, InsertEllipsisIfTooLong(error.Message)), error.IsWarning));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy11.cs (1)
96importer.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.UnsupportedBooleanAttribute, RequireClientCertificateName, e.Message), false));
ImportModule.cs (1)
136var warning = new MetadataConversionError(error.Message, isWarning: true);