12 writes to SchemaLocation
dotnet-svcutil-lib (12)
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (3)
1184builder._include.SchemaLocation = value; 1213builder._import.SchemaLocation = value; 1235builder._redefine.SchemaLocation = value;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (2)
483external.SchemaLocation = null; 505external.SchemaLocation = null;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (3)
12804o.@SchemaLocation = CollapseWhitespace(Reader.Value); 12901o.@SchemaLocation = CollapseWhitespace(Reader.Value); 12988o.@SchemaLocation = CollapseWhitespace(Reader.Value);
Metadata\MetadataDocumentLoader.cs (1)
339externalSchema.SchemaLocation = resolvedLocation;
Metadata\MetadataDocumentSaver.cs (3)
153unresolvedRef.SchemaExternal.SchemaLocation = updatedLocation; 194schemaExternal.SchemaLocation = MetadataFileNameManager.GetComposedUri(schema.SourceUri, schemaExternal.SchemaLocation); 255unresolvedRef.SchemaExternal.SchemaLocation = schema.SourceUri;
19 references to SchemaLocation
dotnet-svcutil-lib (19)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
305string schemaLocation = include.SchemaLocation; 588string loc = include.SchemaLocation;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (2)
218string schemaLocation = include.SchemaLocation; 370string loc = include.SchemaLocation;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (2)
498if (external.SchemaLocation != null) 500throw new InvalidOperationException(string.Format(ResXml.XmlSchemaIncludeLocation, this.GetType().Name, external.SchemaLocation));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (2)
556if (!String.IsNullOrEmpty(external.SchemaLocation)) 560this.CreateUri(section.SourceUrl, external.SchemaLocation),
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (3)
4984WriteAttribute(@"schemaLocation", @"", ((global::System.String)o.@SchemaLocation)); 5022WriteAttribute(@"schemaLocation", @"", ((global::System.String)o.@SchemaLocation)); 5061WriteAttribute(@"schemaLocation", @"", ((global::System.String)o.@SchemaLocation));
Metadata\MetadataDocumentLoader.cs (3)
334if (!string.IsNullOrEmpty(externalSchema.SchemaLocation)) 338var resolvedLocation = await LoadAsSchemaImportLocationAsync(externalSchema.SchemaLocation, uri, basePath, schemaNamespace, ".xsd", cancellationToken).ConfigureAwait(false); 587c != schema && MetadataFileNameManager.UriEqual(MetadataFileNameManager.GetComposedUri(c.SourceUri, null), MetadataFileNameManager.GetComposedUri(schema.SourceUri, include.SchemaLocation)));
Metadata\MetadataDocumentSaver.cs (5)
139var location = unresolvedRef.WsdlImport != null ? unresolvedRef.WsdlImport.Location : unresolvedRef.SchemaExternal?.SchemaLocation; 192if (!string.IsNullOrEmpty(schemaExternal.SchemaLocation)) 194schemaExternal.SchemaLocation = MetadataFileNameManager.GetComposedUri(schema.SourceUri, schemaExternal.SchemaLocation); 250(MetadataFileNameManager.UriEqual(u.SchemaExternal?.SchemaLocation, sourceUrl) || 388return SchemaExternal.SchemaLocation;