FIX : undefined references is a valid use case.

I tried to mitigate the breaking change by keep on throwing in most uses of the change method.
This commit is contained in:
romain v
2020-08-17 11:10:44 +02:00
parent dc55fd8011
commit 5a82c36631
9 changed files with 48 additions and 33 deletions

View File

@@ -664,7 +664,7 @@
if (!objectLocationProvider.TryGetOffset(reference, out var offset))
{
throw new InvalidOperationException($"Could not find the object with reference: {reference}.");
return null;
}
// Negative offsets refer to a stream with that number.