Lines Matching refs:RepeatedField
50 var list = new RepeatedField<string>(); in NullValuesRejected()
53 Assert.Throws<ArgumentNullException>(() => list.Add((RepeatedField<string>)null)); in NullValuesRejected()
61 var list = new RepeatedField<string>(); in Add_SingleItem()
70 var list = new RepeatedField<string>(); in Add_Sequence()
80 var list = new RepeatedField<string>(); in AddRange_SlowPath()
90 var list = new RepeatedField<string>(); in AddRange_SlowPath_NullsProhibited_ReferenceType()
99 var list = new RepeatedField<int?>(); in AddRange_SlowPath_NullsProhibited_NullableValueType()
108 var list = new RepeatedField<int>(); in AddRange_Optimized_NonNullableValueType()
118 var list = new RepeatedField<string>(); in AddRange_Optimized_ReferenceType()
128 var list = new RepeatedField<int?>(); in AddRange_Optimized_NullableValueType()
139 var list = new RepeatedField<string>(); in AddRange_Optimized_NullsProhibited_ReferenceType()
149 var list = new RepeatedField<int?>(); in AddRange_Optimized_NullsProhibited_NullableValueType()
158 var list = new RepeatedField<int> { 1, 2, 3 }; in AddRange_AlreadyNotEmpty()
166 var list = new RepeatedField<string> { "original" }; in AddRange_RepeatedField()
167 list.AddRange(new RepeatedField<string> { "foo", "bar" }); in AddRange_RepeatedField()
177 var list = new RepeatedField<string> { "first", "second", "third" }; in RemoveAt_Valid()
189 var list = new RepeatedField<string> { "first", "second", "third" }; in RemoveAt_Invalid()
197 var list = new RepeatedField<string> { "first", "second" }; in Insert_Valid()
209 var list = new RepeatedField<string> { "first", "second" }; in Insert_Invalid()
218 var list = new RepeatedField<string> { "first", "second" }; in Equals_RepeatedField()
219 Assert.IsFalse(list.Equals((RepeatedField<string>) null)); in Equals_RepeatedField()
221 Assert.IsFalse(list.Equals(new RepeatedField<string> { "first", "third" })); in Equals_RepeatedField()
222 Assert.IsFalse(list.Equals(new RepeatedField<string> { "first" })); in Equals_RepeatedField()
223 Assert.IsTrue(list.Equals(new RepeatedField<string> { "first", "second" })); in Equals_RepeatedField()
229 var list = new RepeatedField<string> { "first", "second" }; in Equals_Object()
232 Assert.IsFalse(list.Equals((object) new RepeatedField<string> { "first", "third" })); in Equals_Object()
233 Assert.IsFalse(list.Equals((object) new RepeatedField<string> { "first" })); in Equals_Object()
234 Assert.IsTrue(list.Equals((object) new RepeatedField<string> { "first", "second" })); in Equals_Object()
241 IEnumerable<string> list = new RepeatedField<string> { "first", "second" }; in GetEnumerator_GenericInterface()
249 IEnumerable list = new RepeatedField<string> { "first", "second" }; in GetEnumerator_NonGenericInterface()
256 var list = new RepeatedField<string> { "first", "second" }; in CopyTo()
265 var list = new RepeatedField<string> { "first", "second" }; in Indexer_Get()
275 var list = new RepeatedField<string> { "first", "second" }; in Indexer_Set()
286 var list = new RepeatedField<int> { 0 }; in Clone_ReturnsMutable()
294 var list = new RepeatedField<string> { "first", "second" }; in Enumerator()
326 var field = new RepeatedField<int>(); in AddEntriesFrom_PackedInt32()
352 var field = new RepeatedField<int>(); in AddEntriesFrom_NonPackedInt32()
375 var field = new RepeatedField<string>(); in AddEntriesFrom_String()
399 var field = new RepeatedField<ForeignMessage>(); in AddEntriesFrom_Message()
411 var field = new RepeatedField<int> { 10, 1000, 1000000 }; in WriteTo_PackedInt32()
432 var field = new RepeatedField<int> { 10, 1000, 1000000}; in WriteTo_NonPackedInt32()
453 var field = new RepeatedField<string> { "Foo", "", "Bar" }; in WriteTo_String()
476 var field = new RepeatedField<ForeignMessage> { message1, message2 }; in WriteTo_Message()
494 var list = new RepeatedField<int> { 1, 500, 1 }; in CalculateSize_VariableSizeNonPacked()
503 var list = new RepeatedField<int> { 1, 500, 1 }; in CalculateSize_FixedSizeNonPacked()
512 var list = new RepeatedField<int> { 1, 500, 1}; in CalculateSize_VariableSizePacked()
522 var list = new RepeatedField<int> { 1, 500, 1 }; in CalculateSize_FixedSizePacked()
547 RepeatedField<SampleEnum> values = new RepeatedField<SampleEnum>(); in TestNegativeEnumArray()
585 RepeatedField<SampleEnum> values = new RepeatedField<SampleEnum>(); in TestNegativeEnumPackedArray()
601 var field = new RepeatedField<string> { "first", "second" }; in IList_Indexer()
611 IList list = new RepeatedField<string> { "first", "second" }; in IList_Contains()
620 IList list = new RepeatedField<string> { "first", "second" }; in IList_Add()
628 IList list = new RepeatedField<string> { "first", "second" }; in IList_Remove()
638 var field = new RepeatedField<string> { "first", "second" }; in IList_IsFixedSize()
646 IList list = new RepeatedField<string> { "first", "second" }; in IList_IndexOf()
655 IList list = new RepeatedField<string> { "first", "second" }; in IList_SyncRoot()
662 IList list = new RepeatedField<string> { "first", "second" }; in IList_CopyTo()
678 IList list = new RepeatedField<string> { "first", "second" }; in IList_IsSynchronized()
685 IList list = new RepeatedField<string> { "first", "second" }; in IList_Insert()
693 var list = new RepeatedField<int> { 5, 10, 20 }; in ToString_Integers()
701 var list = new RepeatedField<string> { "x", "y", "z" }; in ToString_Strings()
709 …var list = new RepeatedField<TestAllTypes> { new TestAllTypes { SingleDouble = 1.5 }, new TestAllT… in ToString_Messages()
717 var list = new RepeatedField<TestAllTypes> { }; in ToString_Empty()
725 var list = new RepeatedField<decimal> { 15m }; in ToString_InvalidElementType()
732 …var list = new RepeatedField<Timestamp> { Timestamp.FromDateTime(new DateTime(2015, 10, 1, 12, 34,… in ToString_Timestamp()
741 var list = new RepeatedField<Struct> { message }; in ToString_Struct()
749 … var list1 = new RepeatedField<double> { SampleNaNs.Regular, SampleNaNs.SignallingFlipped }; in NaNValuesComparedBitwise()
750 var list2 = new RepeatedField<double> { SampleNaNs.Regular, SampleNaNs.PayloadFlipped }; in NaNValuesComparedBitwise()
751 … var list3 = new RepeatedField<double> { SampleNaNs.Regular, SampleNaNs.SignallingFlipped }; in NaNValuesComparedBitwise()