This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
using System;
using System.Collections;
using System.Reflection;
namespace Google.Protobuf.Reflection
{
// Token: 0x02000062 RID: 98
internal sealed class MapFieldAccessor : FieldAccessorBase
{
// Token: 0x060005C0 RID: 1472 RVA: 0x0001454A File Offset: 0x0001274A
internal MapFieldAccessor(PropertyInfo property, FieldDescriptor descriptor)
: base(property, descriptor)
{
}
// Token: 0x060005C1 RID: 1473 RVA: 0x00014554 File Offset: 0x00012754
public override void Clear(IMessage message)
{
((IDictionary)base.GetValue(message)).Clear();
}
// Token: 0x060005C2 RID: 1474 RVA: 0x00014567 File Offset: 0x00012767
public override void SetValue(IMessage message, object value)
{
throw new InvalidOperationException("SetValue is not implemented for map fields");
}
}
}