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