• Home
  • Raw
  • Download

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> { "original" }; in Add_RepeatedField()
81 list.Add(new RepeatedField<string> { "foo", "bar" }); in Add_RepeatedField()
91 var list = new RepeatedField<string> { "first", "second", "third" }; in RemoveAt_Valid()
103 var list = new RepeatedField<string> { "first", "second", "third" }; in RemoveAt_Invalid()
111 var list = new RepeatedField<string> { "first", "second" }; in Insert_Valid()
123 var list = new RepeatedField<string> { "first", "second" }; in Insert_Invalid()
132 var list = new RepeatedField<string> { "first", "second" }; in Equals_RepeatedField()
133 Assert.IsFalse(list.Equals((RepeatedField<string>) null)); in Equals_RepeatedField()
135 Assert.IsFalse(list.Equals(new RepeatedField<string> { "first", "third" })); in Equals_RepeatedField()
136 Assert.IsFalse(list.Equals(new RepeatedField<string> { "first" })); in Equals_RepeatedField()
137 Assert.IsTrue(list.Equals(new RepeatedField<string> { "first", "second" })); in Equals_RepeatedField()
143 var list = new RepeatedField<string> { "first", "second" }; in Equals_Object()
146 Assert.IsFalse(list.Equals((object) new RepeatedField<string> { "first", "third" })); in Equals_Object()
147 Assert.IsFalse(list.Equals((object) new RepeatedField<string> { "first" })); in Equals_Object()
148 Assert.IsTrue(list.Equals((object) new RepeatedField<string> { "first", "second" })); in Equals_Object()
155 IEnumerable<string> list = new RepeatedField<string> { "first", "second" }; in GetEnumerator_GenericInterface()
163 IEnumerable list = new RepeatedField<string> { "first", "second" }; in GetEnumerator_NonGenericInterface()
170 var list = new RepeatedField<string> { "first", "second" }; in CopyTo()
179 var list = new RepeatedField<string> { "first", "second" }; in Indexer_Get()
189 var list = new RepeatedField<string> { "first", "second" }; in Indexer_Set()
200 var list = new RepeatedField<int> { 0 }; in Clone_ReturnsMutable()
208 var list = new RepeatedField<string> { "first", "second" }; in Enumerator()
240 var field = new RepeatedField<int>(); in AddEntriesFrom_PackedInt32()
266 var field = new RepeatedField<int>(); in AddEntriesFrom_NonPackedInt32()
289 var field = new RepeatedField<string>(); in AddEntriesFrom_String()
313 var field = new RepeatedField<ForeignMessage>(); in AddEntriesFrom_Message()
325 var field = new RepeatedField<int> { 10, 1000, 1000000 }; in WriteTo_PackedInt32()
346 var field = new RepeatedField<int> { 10, 1000, 1000000}; in WriteTo_NonPackedInt32()
367 var field = new RepeatedField<string> { "Foo", "", "Bar" }; in WriteTo_String()
390 var field = new RepeatedField<ForeignMessage> { message1, message2 }; in WriteTo_Message()
408 var list = new RepeatedField<int> { 1, 500, 1 }; in CalculateSize_VariableSizeNonPacked()
417 var list = new RepeatedField<int> { 1, 500, 1 }; in CalculateSize_FixedSizeNonPacked()
426 var list = new RepeatedField<int> { 1, 500, 1}; in CalculateSize_VariableSizePacked()
436 var list = new RepeatedField<int> { 1, 500, 1 }; in CalculateSize_FixedSizePacked()
461 RepeatedField<SampleEnum> values = new RepeatedField<SampleEnum>(); in TestNegativeEnumArray()
499 RepeatedField<SampleEnum> values = new RepeatedField<SampleEnum>(); in TestNegativeEnumPackedArray()
515 var field = new RepeatedField<string> { "first", "second" }; in IList_Indexer()
525 IList list = new RepeatedField<string> { "first", "second" }; in IList_Contains()
534 IList list = new RepeatedField<string> { "first", "second" }; in IList_Add()
542 IList list = new RepeatedField<string> { "first", "second" }; in IList_Remove()
552 var field = new RepeatedField<string> { "first", "second" }; in IList_IsFixedSize()
560 IList list = new RepeatedField<string> { "first", "second" }; in IList_IndexOf()
569 IList list = new RepeatedField<string> { "first", "second" }; in IList_SyncRoot()
576 IList list = new RepeatedField<string> { "first", "second" }; in IList_CopyTo()
592 IList list = new RepeatedField<string> { "first", "second" }; in IList_IsSynchronized()
599 IList list = new RepeatedField<string> { "first", "second" }; in IList_Insert()
607 var list = new RepeatedField<int> { 5, 10, 20 }; in ToString_Integers()
615 var list = new RepeatedField<string> { "x", "y", "z" }; in ToString_Strings()
623 …var list = new RepeatedField<TestAllTypes> { new TestAllTypes { SingleDouble = 1.5 }, new TestAllT… in ToString_Messages()
631 var list = new RepeatedField<TestAllTypes> { }; in ToString_Empty()
639 var list = new RepeatedField<decimal> { 15m }; in ToString_InvalidElementType()
646 …var list = new RepeatedField<Timestamp> { Timestamp.FromDateTime(new DateTime(2015, 10, 1, 12, 34,… in ToString_Timestamp()
655 var list = new RepeatedField<Struct> { message }; in ToString_Struct()