mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add Source test
This commit is contained in:
@@ -10,12 +10,12 @@ namespace SabreTools.DatItems
|
||||
/// <summary>
|
||||
/// Source index
|
||||
/// </summary>
|
||||
public int Index { get; }
|
||||
public readonly int Index;
|
||||
|
||||
/// <summary>
|
||||
/// Source name
|
||||
/// </summary>
|
||||
public string? Name { get; }
|
||||
public readonly string? Name;
|
||||
|
||||
/// <summary>
|
||||
/// Constructor
|
||||
@@ -33,10 +33,7 @@ namespace SabreTools.DatItems
|
||||
/// <summary>
|
||||
/// Clone the current object
|
||||
/// </summary>
|
||||
public object Clone()
|
||||
{
|
||||
return new Source(Index, Name);
|
||||
}
|
||||
public object Clone() => new Source(Index, Name);
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user