Skip to content

Commit

Permalink
This example doesn't work #583
Browse files Browse the repository at this point in the history
- added anchor
  • Loading branch information
mpostol committed Apr 28, 2021
1 parent e71824a commit c3b30a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SemanticData/UANodeSetValidation/AddressSpaceContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ void IAddressSpaceContext.ValidateAndExportModel(Uri targetNamespace)
{
m_TraceEvent.TraceEvent(TraceMessage.DiagnosticTraceMessage(string.Format("Entering IAddressSpaceContext.ValidateAndExportModel - starting for the {0} namespace.", targetNamespace)));
int _nsIndex = m_NamespaceTable.GetURIIndex(targetNamespace);
//
if (_nsIndex == -1)
throw new ArgumentOutOfRangeException("targetNamespace", "Cannot find this namespace");
throw new ArgumentOutOfRangeException("targetNamespace", $"Cannot find this {targetNamespace} namespace");
ValidateAndExportModel(_nsIndex);
}

Expand Down

0 comments on commit c3b30a6

Please sign in to comment.