fix error when no symbols are found

This commit is contained in:
Jesse Plamondon-Willard 2021-08-25 20:03:06 -04:00
parent 687a396e9c
commit 11ecd578e9
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ namespace StardewModdingAPI.Framework.ModLoading.Symbols
** Fields
*********/
/// <summary>The underlying symbol reader provider.</summary>
private readonly ISymbolReaderProvider BaseProvider = new DefaultSymbolReaderProvider();
private readonly ISymbolReaderProvider BaseProvider = new DefaultSymbolReaderProvider(throwIfNoSymbol: false);
/// <summary>The symbol data loaded by absolute assembly path.</summary>
private readonly Dictionary<string, Stream> SymbolsByAssemblyPath = new Dictionary<string, Stream>(StringComparer.OrdinalIgnoreCase);