1 write to UnresolvedReferences
dotnet-svcutil-lib (1)
Metadata\MetadataDocumentSaver.cs (1)
44
this.
UnresolvedReferences
= new List<UnresolvedUri>();
14 references to UnresolvedReferences
dotnet-svcutil-lib (14)
Metadata\MetadataDocumentSaver.cs (14)
63
DocumentSaveErrors = metadataDocumentSaver.
UnresolvedReferences
.Distinct().OrderBy(ur => ur.Uri).Select(ur => string.Format(CultureInfo.CurrentCulture, MetadataResources.ErrUnableToResolveSchemaReferenceFormat, ur.Uri))
127
for (int idx =
UnresolvedReferences
.Count - 1; idx >= 0; idx--)
129
var unresolvedRef =
UnresolvedReferences
[idx];
134
UnresolvedReferences
.RemoveAt(idx);
155
UnresolvedReferences
.Remove(unresolvedRef);
168
if (!string.IsNullOrEmpty(import.Location) && !this.
UnresolvedReferences
.Any(r => r.WsdlImport == import))
171
UnresolvedReferences
.Add(new UnresolvedUri { WsdlImport = import, Wsdl = wsdl });
190
if (!this.
UnresolvedReferences
.Any(r => r.SchemaExternal == schemaExternal))
195
UnresolvedReferences
.Add(new UnresolvedUri { Schema = schema, SchemaExternal = schemaExternal });
205
UnresolvedReferences
.Add(new UnresolvedUri { Schema = schema, SchemaExternal = schemaExternal, Namespace = schemaImport.Namespace });
227
var unresolvedRefs =
UnresolvedReferences
.Where(u => MetadataFileNameManager.UriEqual(u.WsdlImport?.Location, sourceUrl)).ToList();
231
UnresolvedReferences
.Remove(unresolvedRef);
249
var unresolvedRefs =
UnresolvedReferences
.Where(u =>
256
UnresolvedReferences
.Remove(unresolvedRef);