baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
14
src/Annotations/CloneableAttribute.cs
Normal file
14
src/Annotations/CloneableAttribute.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// <copyright file="CloneableAttribute.cs" company="MUnique">
|
||||
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
||||
// </copyright>
|
||||
|
||||
namespace MUnique.OpenMU.Annotations;
|
||||
|
||||
/// <summary>
|
||||
/// Classes marked with this attribute will get a generic Clonable-Interface
|
||||
/// implemented by a code generator.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
||||
public sealed class CloneableAttribute : Attribute
|
||||
{
|
||||
}
|
||||
14
src/Annotations/IgnoreWhenCloningAttribute.cs
Normal file
14
src/Annotations/IgnoreWhenCloningAttribute.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
// <copyright file="IgnoreWhenCloningAttribute.cs" company="MUnique">
|
||||
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
||||
// </copyright>
|
||||
|
||||
namespace MUnique.OpenMU.Annotations;
|
||||
|
||||
/// <summary>
|
||||
/// Properties marked with this attribute will not get cloned
|
||||
/// implemented by a code generator.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Property)]
|
||||
public sealed class IgnoreWhenCloningAttribute : Attribute
|
||||
{
|
||||
}
|
||||
12
src/Annotations/MUnique.OpenMU.Annotations.csproj
Normal file
12
src/Annotations/MUnique.OpenMU.Annotations.csproj
Normal file
@@ -0,0 +1,12 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<WarningsAsErrors>nullable;CS4014;VSTHRD110;VSTHRD100</WarningsAsErrors>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user