Home
last modified time | relevance | path

Searched refs:RepeatedExtensionValue (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/
DExtensionValue.cs142 internal sealed class RepeatedExtensionValue<T> : IExtensionValue class
147 internal RepeatedExtensionValue(FieldCodec<T> codec) in RepeatedExtensionValue() method in Google.Protobuf.RepeatedExtensionValue
160 return new RepeatedExtensionValue<T>(codec) in Clone()
171 return other is RepeatedExtensionValue<T> in Equals()
172 && field.Equals((other as RepeatedExtensionValue<T>).field) in Equals()
173 && codec.Equals((other as RepeatedExtensionValue<T>).codec); in Equals()
194 if (value is RepeatedExtensionValue<T>) in MergeFrom()
196 field.Add((value as RepeatedExtensionValue<T>).field); in MergeFrom()
DExtension.cs110 return new RepeatedExtensionValue<TValue>(codec); in CreateValue()
DExtensionSet.cs81 return ((RepeatedExtensionValue<TValue>)value).GetValue();
110 return ((RepeatedExtensionValue<TValue>)value).GetValue();
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DCustomOptions.cs225 else if (extensionValue is RepeatedExtensionValue<T>)
227RepeatedExtensionValue<T> repeated = extensionValue as RepeatedExtensionValue<T>;
263 else if (extensionValue is RepeatedExtensionValue<T>) in TryGetPrimitiveValue()
265RepeatedExtensionValue<T> repeated = extensionValue as RepeatedExtensionValue<T>; in TryGetPrimitiveValue()
289 else if (type.GetGenericTypeDefinition() == typeof(RepeatedExtensionValue<>)) in TryGetPrimitiveValue()
295 …var values = (IList)typeInfo.GetDeclaredMethod(nameof(RepeatedExtensionValue<T>.GetValue)).Invoke(… in TryGetPrimitiveValue()