18 lines
422 B
C#
18 lines
422 B
C#
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|