Fix compilation of ext. tools
This commit is contained in:
parent
8dcea24703
commit
ea5e8b70d3
|
@ -16,7 +16,7 @@ namespace BizHawk.Experiment.AutoGenConfig
|
|||
{
|
||||
public ApiContainer? _apiContainer { get; set; }
|
||||
|
||||
private ApiContainer APIs => _apiContainer ?? throw new NullReferenceException();
|
||||
private ApiContainer APIs => _apiContainer!;
|
||||
|
||||
private static readonly WeakReference<ConfigEditorCache> _cache = new WeakReference<ConfigEditorCache>(new ConfigEditorCache(typeof(Config)));
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace HelloWorld
|
|||
/// </remarks>
|
||||
public ApiContainer? _apiContainer { get; set; }
|
||||
|
||||
private ApiContainer APIs => _apiContainer ?? throw new NullReferenceException();
|
||||
private ApiContainer APIs => _apiContainer!;
|
||||
|
||||
/// <remarks>
|
||||
/// An example of a hack. Hacks should be your last resort because they're prone to break with new releases.
|
||||
|
|
Loading…
Reference in New Issue