Files
PURErat-crack-scode/decompiled/PanelPlugins/PureHelper.Client/ProtoBuf/ProtoPartialMemberAttribute.cs
T
2026-08-27 10:56:38 -06:00

20 lines
451 B
C#

using System;
namespace ProtoBuf;
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class ProtoPartialMemberAttribute : ProtoMemberAttribute
{
public string MemberName { get; private set; }
public ProtoPartialMemberAttribute(int tag, string memberName)
: base(tag)
{
if (string.IsNullOrEmpty(memberName))
{
throw new ArgumentNullException("memberName");
}
MemberName = memberName;
}
}