public static void LogMissingFile(IAnalysisContext context, string fileName)
{
if (context == null)
{
throw new ArgumentNullException(nameof(context));
}
// A required file specified on the command line could not be found: '{0}'.
context.Logger.LogConfigurationNotification(
CreateNotification(
context.TargetUri,
ERR997_MissingFile,
NotificationLevel.Error,
null,
false,
fileName));
context.RuntimeErrors |= RuntimeConditions.MissingFile;
}