mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
15 lines
362 B
C#
15 lines
362 B
C#
using System;
|
|
|
|
namespace Cosmos.IL2CPU.API.Attribs {
|
|
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
|
|
public sealed class BootEntry : Attribute {
|
|
public int? EntryIndex { get; }
|
|
|
|
public BootEntry(int aEntryIndex = -1) {
|
|
EntryIndex = aEntryIndex;
|
|
if (aEntryIndex == -1) {
|
|
EntryIndex = null;
|
|
}
|
|
}
|
|
}
|
|
}
|