18 references to MetadataResources
dotnet-svcutil-lib (18)
artifacts\obj\dotnet-svcutil-lib\Debug\netstandard2.0\Microsoft.Tools.ServiceModel.Svcutil.Metadata.MetadataResources.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
MetadataResources
)));
Metadata\MetadaExchangeResolver.cs (3)
163
_metadataException = new MetadataExchangeException(
MetadataResources
.ErrUnableToConnectToUriFormat, this.EndpointAddress.Uri.AbsoluteUri,
MetadataResources
.EnableMetadataHelpMessage);
403
throw new MetadataExchangeException(
MetadataResources
.ErrCannotCreateAMetadataExchangeClientFormat, endpointAddress.Uri.OriginalString, scheme);
Metadata\MetadataDocumentLoader.cs (6)
97
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture,
MetadataResources
.ErrInvalidUriFormat, uri));
139
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture,
MetadataResources
.ErrInvalidUriFormat, uri));
144
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture,
MetadataResources
.ErrUrlNotAllowedOnMultipleInputsFormat, metadataUri));
246
throw new MetadataExchangeException(
MetadataResources
.ErrInvalidUriFormat, uri);
312
throw new MetadataExchangeException(
MetadataResources
.ErrNotXmlMetadataFileFormat, uri);
397
throw new MetadataExchangeException(
MetadataResources
.ErrInvalidUriFormat, schemaLocation);
Metadata\MetadataDocumentSaver.cs (2)
63
DocumentSaveErrors = metadataDocumentSaver.UnresolvedReferences.Distinct().OrderBy(ur => ur.Uri).Select(ur => string.Format(CultureInfo.CurrentCulture,
MetadataResources
.ErrUnableToResolveSchemaReferenceFormat, ur.Uri))
74
throw new IOException(string.Format(CultureInfo.CurrentCulture,
MetadataResources
.ErrFileAlreadyExistsFormat, fileInfo.FilePath));
Metadata\MetadataFileNameManager.cs (5)
56
throw new InvalidOperationException(string.Format(
MetadataResources
.Culture,
MetadataResources
.ErrUnableToCreateUniqueFileNameFormat, GetFileNameWithExtension(fileName, extension)));
248
throw new DirectoryNotFoundException(string.Format(CultureInfo.CurrentCulture,
MetadataResources
.ErrDirectoryNotFoundFormat, dirInfo.FullName));
255
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture,
MetadataResources
.ErrDirectoryInsteadOfFileFormat, path));
261
throw new FileNotFoundException(string.Format(CultureInfo.CurrentCulture,
MetadataResources
.ErrNoFilesFoundFormat, path));
Metadata\ServiceDescriptor.cs (1)
261
throw new InvalidOperationException(
MetadataResources
.ErrServiceMetadataNotImported);