25 instantiations of MetadataConversionError
dotnet-svcutil-lib (25)
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
69
_requestReplyError = new
MetadataConversionError
(SR.RequestReplyCallbackContractNotSupported, false);
CodeDomFixup\EndpointSelector.cs (2)
332
warning = new
MetadataConversionError
(validationErrorMsg, isWarning: true);
341
warning = new
MetadataConversionError
(incompatEndpointMsg, isWarning: true);
CodeDomFixup\NoSoapEncodingFixup.cs (1)
30
MetadataConversionError warning = new
MetadataConversionError
(string.Format(CultureInfo.InvariantCulture, SR.ErrIncompatibleContractSoapEncodingFormat, contract.Name), isWarning: true);
CodeDomFixup\WcfCodeGenerationExtension.cs (2)
56
MetadataConversionError error = new
MetadataConversionError
(SR.ErrNoCompatibleEndpoints, isWarning: true);
68
MetadataConversionError error = new
MetadataConversionError
(SR.WrnTargetFrameworkNotSupported_NetNamedPipe, isWarning: true);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
161
MetadataConversionError warning = new
MetadataConversionError
(message, isWarning);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (2)
925
parent._context.Contract.ServiceContractGenerator.Errors.Add(new
MetadataConversionError
(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._request.MessageName), true/*isWarning*/));
934
parent._context.Contract.ServiceContractGenerator.Errors.Add(new
MetadataConversionError
(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._response.MessageName), true/*isWarning*/));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (2)
148
warning = new
MetadataConversionError
(string.Format(SRServiceModel.SchemaValidationError, ex.SourceUri, ex.LineNumber, ex.LinePosition, ex.Message));
152
warning = new
MetadataConversionError
(string.Format(SRServiceModel.GeneralSchemaValidationError, args.Message));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (2)
229
Errors.Add(new
MetadataConversionError
(string.Format(SRServiceModel.WarnDuplicateBindingQNameNameOnExport, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name), true /*isWarning*/));
545
this.Errors.Add(new
MetadataConversionError
(warningMessage, true));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (4)
782
this.Errors.Add(new
MetadataConversionError
(errorMsg, true));
1148
importer.Errors.Add(new
MetadataConversionError
(message, false));
1873
this.Errors.Add(new
MetadataConversionError
(warningMessage, true));
1891
this.Errors.Add(new
MetadataConversionError
(errormessage, isWarning));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (6)
1946
importer.Errors.Add(new
MetadataConversionError
(string.Format(SRServiceModel.UnsupportedBooleanAttribute, OptionalName, e.Message), false));
2734
importer.Errors.Add(new
MetadataConversionError
(SRServiceModel.UnsupportedSecureConversationBootstrapProtectionRequirements, false));
2743
importer.Errors.Add(new
MetadataConversionError
(SRServiceModel.UnsupportedSecureConversationBootstrapProtectionRequirements, false));
2921
importer.Errors.Add(new
MetadataConversionError
(string.Format(SRServiceModel.UnableToObtainIssuerMetadata, mexAddress, mexException), false));
2955
importer.Errors.Add(new
MetadataConversionError
(string.Format(SRServiceModel.ErrorImportingIssuerMetadata, mexAddress, InsertEllipsisIfTooLong(error.Message)), error.IsWarning));
2963
importer.Errors.Add(new
MetadataConversionError
(string.Format(SRServiceModel.MultipleIssuerEndpointsFound, mexAddress)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy11.cs (1)
96
importer.Errors.Add(new
MetadataConversionError
(string.Format(SRServiceModel.UnsupportedBooleanAttribute, RequireClientCertificateName, e.Message), false));
ImportModule.cs (1)
136
var warning = new
MetadataConversionError
(error.Message, isWarning: true);
35 references to MetadataConversionError
dotnet-svcutil-lib (35)
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (2)
20
private
MetadataConversionError
_requestReplyError;
63
private
MetadataConversionError
RequestReplyError
CodeDomFixup\EndpointSelector.cs (1)
328
MetadataConversionError
warning;
CodeDomFixup\NoSoapEncodingFixup.cs (1)
30
MetadataConversionError
warning = new MetadataConversionError(string.Format(CultureInfo.InvariantCulture, SR.ErrIncompatibleContractSoapEncodingFormat, contract.Name), isWarning: true);
CodeDomFixup\WcfCodeGenerationExtension.cs (4)
56
MetadataConversionError
error = new MetadataConversionError(SR.ErrNoCompatibleEndpoints, isWarning: true);
68
MetadataConversionError
error = new MetadataConversionError(SR.WrnTargetFrameworkNotSupported_NetNamedPipe, isWarning: true);
102
private void UpdateExitStatus(Collection<
MetadataConversionError
> errors)
104
foreach (
var
err in errors)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (4)
161
MetadataConversionError
warning = new MetadataConversionError(message, isWarning);
1549
private Collection<
MetadataConversionError
> _errors;
1832
_errors = new Collection<
MetadataConversionError
>();
1845
foreach (
MetadataConversionError
error in _errors)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataConversionError.cs (2)
25
MetadataConversionError
otherError = obj as
MetadataConversionError
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExporter.cs (3)
16
private readonly Collection<
MetadataConversionError
> _errors = new Collection<
MetadataConversionError
>();
38
public Collection<
MetadataConversionError
> Errors
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataImporter.cs (3)
19
private readonly Collection<
MetadataConversionError
> _errors = new Collection<
MetadataConversionError
>();
55
public Collection<
MetadataConversionError
> Errors
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\SchemaHelper.cs (3)
129
static internal void Compile(XmlSchemaSet schemaSet, Collection<
MetadataConversionError
> errors)
141
static internal void HandleSchemaValidationError(object sender, ValidationEventArgs args, Collection<
MetadataConversionError
> errors)
143
MetadataConversionError
warning = null;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (3)
33
private Collection<
MetadataConversionError
> _errors = new Collection<
MetadataConversionError
>();
100
public Collection<
MetadataConversionError
> Errors
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2954
MetadataConversionError
error = wsdlImporter.Errors[i];
ImportModule.cs (2)
132
var
error = _wsdlImporter.Errors[idx];
136
var
warning = new MetadataConversionError(error.Message, isWarning: true);
Metadata\ServiceDescriptor.cs (2)
73
public IEnumerable<
MetadataConversionError
> MetadataConversionErrors { get; private set; } = new List<
MetadataConversionError
>();
ToolConsole.cs (4)
143
internal static void WriteConversionError(
MetadataConversionError
conversionError)
159
internal static void WriteConversionErrors(Collection<
MetadataConversionError
> errors)
166
foreach (
var
err in errors)
189
foreach (
MetadataConversionError
conversionError in errors)