Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
b0ebf6bb4This file is pinned to the selected release. Download the original to open it in your design tool.
using Hast.Common.Models;
using Hast.Layer;
using System.Collections.Generic;
namespace Hast.Transformer.Vhdl.Models;
public static class TransformationWarningEnumerableExtensions
{
public static void AddWarning(this IList<ITransformationWarning> warnings, string code, string message) =>
warnings.Add(new TransformationWarning { Code = code, Message = message });
}