Searched refs:RepeatedExtensionValue (Results 1 – 4 of 4) sorted by relevance
142 internal sealed class RepeatedExtensionValue<T> : IExtensionValue class147 internal RepeatedExtensionValue(FieldCodec<T> codec) in RepeatedExtensionValue() method in Google.Protobuf.RepeatedExtensionValue160 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()
110 return new RepeatedExtensionValue<TValue>(codec); in CreateValue()
81 return ((RepeatedExtensionValue<TValue>)value).GetValue();110 return ((RepeatedExtensionValue<TValue>)value).GetValue();
225 else if (extensionValue is RepeatedExtensionValue<T>)227 … RepeatedExtensionValue<T> repeated = extensionValue as RepeatedExtensionValue<T>;263 else if (extensionValue is RepeatedExtensionValue<T>) in TryGetPrimitiveValue()265 … RepeatedExtensionValue<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()