PorygonSharp/PorygonSharp/DiagnosticHandling/DiagnosticItem.cs

18 lines
422 B
C#
Raw Normal View History

2019-06-05 15:50:01 +00:00
using System.Runtime.InteropServices;
namespace PorygonSharp.DiagnosticHandling
{
[StructLayout(LayoutKind.Sequential)]
public struct DiagnosticItem
{
private readonly int _severity;
private readonly DiagnosticCode _code;
private readonly uint _start;
private readonly uint _length;
public DiagnosticCode GetCode()
{
return _code;
}
}
}