9 writes to SourceUri
dotnet-svcutil-lib (9)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (1)
2425
newElement.
SourceUri
= copyElement.SourceUri;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (1)
2179
chameleonSchema.
SourceUri
= schema.SourceUri;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (1)
1193
newAll.
SourceUri
= all.SourceUri; // all is the only one that might need and error message
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (1)
3227
to.
SourceUri
= from.SourceUri;
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
2600
_xso.
SourceUri
= _reader.BaseURI;
Metadata\MetadataDocumentLoader.cs (3)
322
schema.
SourceUri
= uri;
363
schema.
SourceUri
= uri;
662
schema.
SourceUri
= sourceUri;
Metadata\MetadataDocumentSaver.cs (1)
245
schema.
SourceUri
= Path.GetFileName(filePath);
35 references to SourceUri
dotnet-svcutil-lib (35)
FrameworkFork\Microsoft.Xml\Xml\schema\BaseProcessor.cs (1)
244
SendValidationEvent(new XmlSchemaException(code, args, innerException, source.
SourceUri
, source.LineNumber, source.LinePosition, source), XmlSeverityType.Error);
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (2)
370
throw new XmlSchemaException(ResXml.Sch_PatternFacetInvalid, new string[] { e.Message }, e, _pattern_facet.
SourceUri
, _pattern_facet.LineNumber, _pattern_facet.LinePosition, _pattern_facet);
676
throw new XmlSchemaException(code, new string[] { ex.Message }, ex, facet.
SourceUri
, facet.LineNumber, facet.LinePosition, facet);
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (1)
2425
newElement.SourceUri = copyElement.
SourceUri
;
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (4)
349
SendValidationEvent(new XmlSchemaException(ResXml.Sch_InvalidIncludeLocation, null, innerException, include.
SourceUri
, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning);
418
SendValidationEvent(new XmlSchemaException(ResXml.Sch_InvalidIncludeLocation, null, eInner, include.
SourceUri
, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning);
428
SendValidationEvent(new XmlSchemaException(ResXml.Sch_InvalidIncludeLocation, null, innerException, include.
SourceUri
, include.LineNumber, include.LinePosition, include), XmlSeverityType.Warning);
2179
chameleonSchema.SourceUri = schema.
SourceUri
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (7)
1041
if (complexType.
SourceUri
!= null)
1043
position = " in " + complexType.
SourceUri
+ "(" + complexType.LineNumber + ", " + complexType.LinePosition + ")";
1193
newAll.SourceUri = all.
SourceUri
; // all is the only one that might need and error message
1898
if (derivedType.
SourceUri
!= null)
1900
position = " in " + derivedType.
SourceUri
+ "(" + derivedType.LineNumber + ", " + derivedType.LinePosition + ")";
1931
if (derivedType.
SourceUri
!= null)
1933
position = " in " + derivedType.
SourceUri
+ "(" + derivedType.LineNumber + ", " + derivedType.LinePosition + ")";
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (7)
1120
if (complexType.
SourceUri
!= null)
1122
position = " in " + complexType.
SourceUri
+ "(" + complexType.LineNumber + ", " + complexType.LinePosition + ")";
2241
if (derivedType.
SourceUri
!= null)
2243
position = " in " + derivedType.
SourceUri
+ "(" + derivedType.LineNumber + ", " + derivedType.LinePosition + ")";
2282
if (derivedType.
SourceUri
!= null)
2284
position = " in " + derivedType.
SourceUri
+ "(" + derivedType.LineNumber + ", " + derivedType.LinePosition + ")";
3227
to.SourceUri = from.
SourceUri
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaException.cs (2)
85
this(res, args, null, source.
SourceUri
, source.LineNumber, source.LinePosition, source)
170
_sourceUri = source.
SourceUri
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (2)
1552
if (existingObject == item || existingObject.
SourceUri
== item.
SourceUri
)
Metadata\MetadataDocumentLoader.cs (5)
587
c != schema && MetadataFileNameManager.UriEqual(MetadataFileNameManager.GetComposedUri(c.
SourceUri
, null), MetadataFileNameManager.GetComposedUri(schema.
SourceUri
, include.SchemaLocation)));
658
if (schema != null && !IsSchemaUpdated(schema.
SourceUri
))
660
if (string.IsNullOrEmpty(schema.
SourceUri
))
669
UpdateSchemaSourceUri(include.Schema, schema.
SourceUri
);
Metadata\MetadataDocumentSaver.cs (4)
194
schemaExternal.SchemaLocation = MetadataFileNameManager.GetComposedUri(schema.
SourceUri
, schemaExternal.SchemaLocation);
242
var sourceUrl = schema.
SourceUri
;
243
var filePath = AddFilePath(schema.
SourceUri
, schema.TargetNamespace, ".xsd");
255
unresolvedRef.SchemaExternal.SchemaLocation = schema.
SourceUri
;