PageRenderTime 929ms queryTime 194ms sortTime 4ms getByIdsTime 338ms findMatchingLines 136ms

100+ results results for 'List<Object> lang:C# repo:w4x/boolangstudio' (929 ms)

Not the results you expected?
QueryBatchItemBase.cs https://github.com/ngbrown/nhibernate-core.git | C# | 391 lines
                    
26		private DbDataReader _reader;
                    
27		private List<object>[] _hydratedObjects;
                    
28
                    
181			var dialect = Session.Factory.Dialect;
                    
182			var hydratedObjects = new List<object>[_queryInfos.Count];
                    
183			var isDebugLog = Log.IsDebugEnabled();
                    
200					var entitySpan = loader.EntityPersisters.Length;
                    
201					hydratedObjects[i] = entitySpan == 0 ? null : new List<object>(entitySpan);
                    
202					var keys = new EntityKey[entitySpan];
                    
223					var optionalObjectKey = Loader.Loader.GetOptionalObjectKey(queryParameters, Session);
                    
224					var tmpResults = new List<object>();
                    
225					var queryCacheBuilder = queryInfo.IsCacheable ? new QueryCacheResultBuilder(loader) : null;
                    
356
                    
357		private void InitializeEntitiesAndCollections(DbDataReader reader, List<object>[] hydratedObjects)
                    
358		{
                    
                
org.apache.commons.collections.iterators.IteratorChain.cs https://github.com/gadfly/nofs.git | C# | 317 lines
                    
51        /** The chain of iterators */
                    
52        protected readonly java.util.List<Object> iteratorChain = new java.util.ArrayList<Object>();
                    
53        /** The index of the current iterator */
                    
183         */
                    
184        public java.util.List<Object> getIterators()
                    
185        {
                    
                
ComposablePartExtensibilityTests.cs https://github.com/iainlane/mono.git | C# | 292 lines
                    
253
                    
254                List<object> constructorArgs = new List<object>();
                    
255
                    
                
BufferedItemList.cs https://EventScavenger.svn.codeplex.com/svn | C# | 464 lines
                    
285
                    
286				List<object> newSortedList = new List<object>( _sortedListItems.Length + additions.Length );
                    
287				
                    
303				{
                    
304					newSortedList = new List<object>( _sortedListItems );
                    
305				}
                    
455		private Column[] _jobGroupColumns = null;
                    
456		private List<object> _jobSortedList = null;
                    
457		
                    
                
CompilerBlob.cs git://github.com/sorear/niecza.git | C# | 275 lines
                    
117                    VarDeque it = o.mo.mro_raw_iterator.Get(v);
                    
118                    var lo = new List<object>();
                    
119                    while (Kernel.IterHasFlat(it, true))
                    
128        public static Variable DownCall(Variable list) {
                    
129            List<object> lo = new List<object>();
                    
130            VarDeque it = Builtins.start_iter(list);
                    
160        static void SerializeNam(Variable v, StringBuilder sb,
                    
161                List<object> refs) {
                    
162
                    
202            StringBuilder sb = new StringBuilder();
                    
203            List<object> refs = new List<object>();
                    
204            SerializeNam(nam, sb, refs);
                    
                
SellerController.cs https://hg.codeplex.com/xenta | C# | 385 lines
                    
273            });
                    
274            var data = new List<Object>();
                    
275
                    
307            });
                    
308            var data = new List<Object>();
                    
309
                    
330            });
                    
331            var data = new List<Object>();
                    
332
                    
                
PSSessionConfigurationData.cs https://gitlab.com/unofficial-mirrors/PowerShell | C# | 237 lines
                    
34
                    
35        internal List<object> ModulesToImportInternal
                    
36        {
                    
152        private List<string> _modulesToImport;
                    
153        private List<object> _modulesToImportInternal;
                    
154
                    
190                        _modulesToImport = new List<string>();
                    
191                        _modulesToImportInternal = new List<object>();
                    
192                        object[] modulesToImport = optionValue.Split(new[] { "," }, StringSplitOptions.RemoveEmptyEntries);
                    
223            if (_modulesToImport == null) _modulesToImport = new List<string>();
                    
224            if (_modulesToImportInternal == null) _modulesToImportInternal = new List<object>();
                    
225        }
                    
                
Array.cs https://bitbucket.org/mdavid/dlr.git | C# | 170 lines
                    
151                int dimensions = 1;
                    
152                List<object> shape = new List<object>();
                    
153                shape.Add((BigInteger)__len__());
                    
                
NotationLLSD.cs https://github.com/kow/gridsearch.git | C# | 346 lines
                    
106                    int pos = 0;
                    
107                    List<object> array = new List<object>();
                    
108
                    
                
PointerType.cs https://bitbucket.org/mdavid/dlr.git | C# | 287 lines
                    
163
                    
164            MarshalCleanup INativeType.EmitMarshalling(ILGenerator/*!*/ method, LocalOrArg argIndex, List<object>/*!*/ constantPool, int constantPoolArgument) {
                    
165                Type argumentType = argIndex.Type;
                    
270
                    
271            void INativeType.EmitReverseMarshalling(ILGenerator method, LocalOrArg value, List<object> constantPool, int constantPoolArgument) {
                    
272                value.Emit(method);
                    
                
Serialization.cs https://github.com/mkol/il2js.git | C# | 474 lines
                    
72 {
                    
73	 List<object> ret = new List<object>();
                    
74	 ++this.position;// /\[/
                    
239		object ISerializer.Deserialize(object source) {
                    
240			var values = (List<object>)source;
                    
241			var ret = (IList)typeof(List<>).MakeGenericType(this.type).GetConstructor(Type.EmptyTypes).Invoke(null);
                    
263		object ISerializer.Deserialize(object source) {
                    
264			var values = (List<object>)source;
                    
265			var ret = Array.CreateInstance(this.type, values.Count);
                    
444
                    
445		public static List<object> Deserialize(HttpContext context, params Type[] types) {
                    
446
                    
456
                    
457			var ret = (List<object>)new Parser().Parse(s);
                    
458			for (int i = 0; i < types.Length; ++i) {
                    
                
QueryCommand.cs https://bitbucket.org/moisesmiranda/subsonic-4.git | C# | 408 lines
                    
173        /// </summary>
                    
174        public List<object> OutputValues;
                    
175
                    
187            parameters = new QueryParameterCollection();
                    
188            OutputValues = new List<object>();
                    
189            Provider = provider;
                    
                
TypeVariableDefinition.cs https://github.com/primax/WCell.git | C# | 304 lines
                    
201							//collection = (IList)Activator.CreateInstance(varType);
                    
202							collection = new List<object>();
                    
203							ReadCollection(reader, collection);
                    
                
URLParser.cs https://github.com/kuba85/sones.git | C# | 440 lines
                    
181        /// <returns>The methodInfo callback and the optional parameters</returns>
                    
182        public Tuple<UrlNode, List<Object>> GetCallback(String url, String webMethod = "GET")
                    
183        {
                    
205
                    
206            return GetCallback(_RootNodes[webMethod], urlParts, new List<Object>(), url, 0);
                    
207
                    
218        /// <returns></returns>
                    
219        private Tuple<UrlNode, List<Object>> GetCallback(Dictionary<String, UrlNode> urlNodes, IEnumerable<String> urlParts, List<Object> parameters, String url, Int32 posInUrl)
                    
220        {
                    
252                    posInUrl = url.Length;
                    
253                    return new Tuple<UrlNode, List<object>>(curUrlNode, parameters);
                    
254                }
                    
290                // we have some more childs defined
                    
291                Tuple<UrlNode, List<object>> retval = null;
                    
292                var newParams = new List<Object>();
                    
                
Pcl.Dynamic.cs https://github.com/sidecut/ServiceStack.git | C# | 188 lines
                    
59                {
                    
60                    container[mapKey] = DeserializeList<List<object>, TSerializer>.Parse(elementValue);
                    
61                }
                    
                
GenericClassProxyTestCase.cs git://github.com/castleproject/Castle.Core-READONLY.git | C# | 328 lines
                    
142		{
                    
143			GenClassWithGenMethodsConstrained<List<object>> proxy =
                    
144				generator.CreateClassProxy<GenClassWithGenMethodsConstrained<List<object>>>(logger);
                    
175			GenClassWithGenReturn<List<object>, List<object>> proxy =
                    
176				generator.CreateClassProxy<GenClassWithGenReturn<List<object>, List<object>>>(logger);
                    
177
                    
191			GenClassNameClash<List<object>, List<object>> proxy =
                    
192				generator.CreateClassProxy<GenClassNameClash<List<object>, List<object>>>(logger);
                    
193
                    
221			KeepDataInterceptor interceptor = new KeepDataInterceptor();
                    
222			GenClassWithGenMethods<List<object>> proxy = generator.CreateClassProxy<GenClassWithGenMethods<List<object>>>(interceptor);
                    
223
                    
251			GenClassWithGenReturn<List<object>, List<object>> proxy =
                    
252				generator.CreateClassProxy<GenClassWithGenReturn<List<object>, List<object>>>(interceptor);
                    
253
                    
                
ServicioTestimonio.cs https://gitlab.com/oscarsalazarsevilla/ITELCA | C# | 194 lines
                    
50
                    
51        public List<object> Eliminar(decimal testimonio)
                    
52        {
                    
52        {
                    
53            List<object> lista = new List<object>();
                    
54            try
                    
                
SymbolResolver.cs https://github.com/kumpera/mono.git | C# | 424 lines
                    
41            {
                    
42                List<object> values = new List<object>(this.symbols.Count);
                    
43
                    
                
CollectionSerialization.cs https://github.com/skolima/mono.git | C# | 460 lines
                    
242
                    
243			Assert.That (Serialize<IList<object>> (list),
                    
244			             InstanceOf (typeof (InvalidCastException)), "#4");
                    
                
Injectionist.cs https://github.com/rebus-org/Rebus.git | C# | 258 lines
                    
183        readonly Dictionary<Type, object> _instances = new Dictionary<Type, object>();
                    
184        readonly List<object> _resolvedInstances = new List<object>();
                    
185
                    
                
ServicioFeriado.cs https://gitlab.com/oscarsalazarsevilla/ITELCA | C# | 208 lines
                    
63
                    
64        public List<object> Eliminar(decimal id)
                    
65        {
                    
65        {
                    
66            List<object> lista = new List<object>();
                    
67            try
                    
                
RaiseEventMethodGenerator.cs https://bitbucket.org/anicolaspp/monodevelop.git | C# | 139 lines
                    
100
                    
101			protected override IEnumerable<string> GenerateCode (List<object> includedMembers)
                    
102			{
                    
                
MsgPackDeserializer.cs https://gitlab.com/Zeus_Fox/multifive-core | C# | 352 lines
                    
47        {
                    
48            List<object> retObject = new List<object>();
                    
49
                    
285
                    
286                var returnData = Deserialize(returnByteData) as List<object>;
                    
287
                    
                
RoutesTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 214 lines
                    
37                object controllerType = typeof(ItemController);
                    
38                object expectedApiDescriptions = new List<object>
                    
39                {
                    
47                controllerType = typeof(OverloadsController);
                    
48                expectedApiDescriptions = new List<object>
                    
49                {
                    
68        [PropertyData("VerifyDescription_OnDefaultRoute_PropertyData")]
                    
69        public void VerifyDescription_OnDefaultRoute(Type controllerType, List<object> expectedResults)
                    
70        {
                    
85                object controllerType = typeof(ItemController);
                    
86                object expectedApiDescriptions = new List<object>
                    
87                {
                    
98        [PropertyData("VerifyDescription_OnRouteWithControllerOnDefaults_PropertyData")]
                    
99        public void VerifyDescription_OnRouteWithControllerOnDefaults(Type controllerType, List<object> expectedResults)
                    
100        {
                    
                
DynamicLinqTest.cs https://github.com/iainlane/mono.git | C# | 337 lines
                    
102
                    
103            List<object> list = new List<object>();
                    
104            foreach (var u in res)
                    
                
SolicitudesController.cs https://gitlab.com/oscarsalazarsevilla/ITELCA | C# | 301 lines
                    
62        {
                    
63            List<object> lista = new List<object>();
                    
64            ServicioSolicitudes servicioSolicitudes = new ServicioSolicitudes();
                    
104        {
                    
105            List<object> lista = new List<object>();
                    
106            solicitud.TIPOSOLICITUD_ID = 1; // Constancia Notas
                    
133        {
                    
134            List<object> lista = new List<object>();
                    
135            solicitud.TIPOSOLICITUD_ID = 2; // Constancia Estudios
                    
160        {
                    
161            List<object> lista = new List<object>();
                    
162            //solicitud.MATRICULASCURSOS.ALUMNO_ID = new ServicioUsuario().ObtenerPorLogin(User.Identity.Name).USUARIO_ID;
                    
190        {
                    
191            List<object> lista = new List<object>();
                    
192            /*solicitud.MATRICULASCURSOS.ALUMNO_ID = new ServicioUsuario().ObtenerPorLogin(User.Identity.Name).USUARIO_ID;
                    
                
ConditionalWeakTableTest.cs https://github.com/skolima/mono.git | C# | 492 lines
                    
174	static void FillStuff (ConditionalWeakTable <object,object> cwt, 
                    
175			out List<object> keepAlive, out List<WeakReference> keys) {
                    
176
                    
176
                    
177		keepAlive = new List<object> ();
                    
178		keys = new List<WeakReference> ();
                    
198		var cwt = new ConditionalWeakTable <object,object> ();
                    
199		List<object> keepAlive;
                    
200		List<WeakReference> keys;
                    
280
                    
281	static List<object> FillReachable (ConditionalWeakTable <object,object>[] cwt)
                    
282	{
                    
282	{
                    
283		var res = new List<object> ();
                    
284		for (int i = 0; i < 10; ++i) {
                    
                
PersistentList.cs https://github.com/Saleslogix/nhibernate-core.git | C# | 622 lines
                    
57
                    
58			List<object> clonedList = new List<object>(list.Count);
                    
59			foreach (object current in list)
                    
167		{
                    
168			IList deletes = new List<object>();
                    
169			IList sn = (IList) GetSnapshot();
                    
                
TreeView.cs https://gitlab.com/kush/Avalonia | C# | 411 lines
                    
112                    // Fire the SelectionChanged event
                    
113                    List<object> removed = new List<object>();
                    
114                    if (oldItem != null)
                    
118
                    
119                    List<object> added = new List<object>();
                    
120                    if (_selectedItem != null)
                    
                
org.apache.commons.collections.collection.TransformedCollection.cs https://github.com/gadfly/nofs.git | C# | 129 lines
                    
107        {
                    
108            java.util.List<Object> list = new java.util.ArrayList<Object>(coll.size());
                    
109            for (java.util.Iterator<Object> it = coll.iterator(); it.hasNext(); )
                    
                
WeakListTests.cs https://gitlab.com/sharadag/TestProject2 | C# | 340 lines
                    
39        [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
                    
40        private void Add(WeakList<object> list, ObjectReference value)
                    
41        {
                    
53
                    
54            var list = new WeakList<object>();
                    
55            Assert.Equal(0, list.TestOnly_UnderlyingArray.Length);
                    
108
                    
109            var list = new WeakList<object>();
                    
110            for (int i = 0; i < 9; i++)
                    
137
                    
138            var list = new WeakList<object>();
                    
139            for (int i = 0; i < 8; i++)
                    
173
                    
174            var list = new WeakList<object>();
                    
175            for (int i = 0; i < 6; i++)
                    
                
CollectionViewTest_IEditable.cs https://github.com/andreiagaita/moon.git | C# | 533 lines
                    
53
                    
54		public List<object> Items {
                    
55			get; set;
                    
68		{
                    
69			Items = new List<object> (new [] {
                    
70				new object (),
                    
85		{
                    
86			var orig = new List<object> (Items);
                    
87
                    
238		{
                    
239			Source.Source = new List<object> { 1, 2, 3 };
                    
240			Assert.IsInstanceOfType<object> (Editable.AddNew (), "#1");
                    
447	public class MyList : IList {
                    
448		List<object> list = new List<object> ();
                    
449
                    
                
VirtualGroups.cs git://github.com/soywiz/cspspemu.git | C# | 382 lines
                    
163            int objectCount = 0;
                    
164            NullableDictionary<object, List<object>> map = new NullableDictionary<object, List<object>>();
                    
165            foreach (object model in folv.FilteredObjects)
                    
168                if (!map.ContainsKey(key))
                    
169                    map[key] = new List<object>();
                    
170                map[key].Add(model);
                    
                
CustomStringDictionary.cs https://github.com/thomo13/ironruby.git | C# | 463 lines
                    
115            get {
                    
116                List<object> res = new List<object>();
                    
117                lock (this) {
                    
175            get {
                    
176                List<object> res = new List<object>();
                    
177                lock (this) {
                    
329        public System.Collections.IEnumerator GetEnumerator() {
                    
330            List<object> l = new List<object>(this.Keys);
                    
331            for (int i = 0; i < l.Count; i++) {
                    
373            get {
                    
374                return new List<object>(((IDictionary<object, object>)this).Keys);
                    
375            }
                    
383            get {
                    
384                return new List<object>(((IDictionary<object, object>)this).Values);
                    
385            }
                    
                
JavaScriptReader.cs https://github.com/iainlane/mono.git | C# | 342 lines
                    
42				ReadChar ();
                    
43				var list = new List<object> ();
                    
44				SkipSpaces ();
                    
                
ConditionalWeakTableTest.cs https://github.com/pruiz/mono.git | C# | 486 lines
                    
174	static void FillStuff (ConditionalWeakTable <object,object> cwt, 
                    
175			out List<object> keepAlive, out List<WeakReference> keys) {
                    
176
                    
176
                    
177		keepAlive = new List<object> ();
                    
178		keys = new List<WeakReference> ();
                    
198		var cwt = new ConditionalWeakTable <object,object> ();
                    
199		List<object> keepAlive = null;
                    
200		List<WeakReference> keys = null;
                    
279
                    
280	static List<object> FillReachable (ConditionalWeakTable <object,object>[] cwt)
                    
281	{
                    
281	{
                    
282		var res = new List<object> ();
                    
283		for (int i = 0; i < 10; ++i) {
                    
                
XamlNameResolver.cs https://github.com/iainlane/mono.git | C# | 170 lines
                    
52		Dictionary<string,NamedObject> objects = new Dictionary<string,NamedObject> ();
                    
53		List<object> referenced = new List<object> ();
                    
54
                    
                
Frm_OperLog.cs https://TrainingFrameWork.svn.codeplex.com/svn | C# | 281 lines
                    
55            int nIndex = this.ultraGrid1.ActiveRow.Index;
                    
56            List<object> lstO = this.ultraGrid1.DisplayLayout.Bands[0].ColumnFilters.All.ToList();
                    
57
                    
                
DebugGrammarParser.cs https://gitlab.com/essere.lab.public/qualitas.class-corpus | C# | 1556 lines
                    
12using List = System.Collections.IList;
                    
13using ArrayList = System.Collections.Generic.List<object>;
                    
14
                    
                
TreeWizard.cs https://gitlab.com/essere.lab.public/qualitas.class-corpus | C# | 736 lines
                    
259            {
                    
260                elements = new List<object>();
                    
261                m[ttype] = elements;
                    
307        {
                    
308            IList nodes = new List<object>();
                    
309            Visit( t, ttype, new FindTreeWizardVisitor( nodes ) );
                    
315        {
                    
316            IList subtrees = new List<object>();
                    
317            // Create a TreePattern from the pattern
                    
                
ArrayList.cs https://gitlab.com/Pfhoenix/api | C# | 640 lines
                    
23    {
                    
24        private readonly IList<object> list;
                    
25        private readonly bool isFixedSize;
                    
32        public ArrayList() :
                    
33            this(new ArrayList<object>(), false, false, false)
                    
34        {
                    
40        public ArrayList(ICollection source)
                    
41            : this(new ArrayList<object>((source != null) ? source.Count : 0), false, false, false)
                    
42        {
                    
54        public ArrayList(int capacity) :
                    
55            this(new ArrayList<object>(capacity), false, false, false)
                    
56        {            
                    
61        /// </summary>
                    
62        private ArrayList(IList<object> list, bool isFixedSize, bool isReadOnly, bool isSynchronized)
                    
63        {
                    
                
Javax.Xml.Xpath.cs https://gitlab.com/Pfhoenix/api | C# | 635 lines
                    
130				[Dot42.DexImport("evaluate", "(Ljava/util/List;)Ljava/lang/Object;", AccessFlags = 1025)]
                    
131				object Evaluate(global::Java.Util.IList<object> args) /* MethodBuilder.Create */ ;
                    
132
                    
                
Org.Apache.Http.Protocol.cs https://gitlab.com/Pfhoenix/api | C# | 1222 lines
                    
32				[Dot42.DexImport("requestInterceptors", "Ljava/util/List;", AccessFlags = 4)]
                    
33				internal global::Java.Util.IList<object> RequestInterceptors;
                    
34				/// <java-name>
                    
37				[Dot42.DexImport("responseInterceptors", "Ljava/util/List;", AccessFlags = 4)]
                    
38				internal global::Java.Util.IList<object> ResponseInterceptors;
                    
39				[Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
                    
221				[Dot42.DexImport("setInterceptors", "(Ljava/util/List;)V", AccessFlags = 1)]
                    
222				public void SetInterceptors(global::Java.Util.IList<object> list) /* MethodBuilder.Create */ 
                    
223				{
                    
                
Org.Xmlpull.V1.cs https://gitlab.com/Pfhoenix/api | C# | 737 lines
                    
40				[Dot42.DexImport("parserClasses", "Ljava/util/ArrayList;", AccessFlags = 4)]
                    
41				protected internal global::Java.Util.ArrayList<object> ParserClasses;
                    
42				/// <java-name>
                    
50				[Dot42.DexImport("serializerClasses", "Ljava/util/ArrayList;", AccessFlags = 4)]
                    
51				protected internal global::Java.Util.ArrayList<object> SerializerClasses;
                    
52				/// <java-name>
                    
                
Org.Apache.Http.Protocol.cs https://gitlab.com/Pfhoenix/api | C# | 1225 lines
                    
251				[Dot42.DexImport("setInterceptors", "(Ljava/util/List;)V", AccessFlags = 1025)]
                    
252				void SetInterceptors(global::Java.Util.IList<object> itcps) /* MethodBuilder.Create */ ;
                    
253
                    
                
Org.Apache.Http.Message.cs https://gitlab.com/Pfhoenix/api | C# | 1113 lines
                    
181				[Dot42.DexImport("allHeaders", "Ljava/util/List;", AccessFlags = 20)]
                    
182				protected internal readonly global::Java.Util.IList<object> AllHeaders;
                    
183				/// <summary>
                    
210				[Dot42.DexImport("<init>", "(Ljava/util/List;Ljava/lang/String;)V", AccessFlags = 1)]
                    
211				public BasicListHeaderIterator(global::Java.Util.IList<object> headers, string name) /* MethodBuilder.Create */ 
                    
212				{
                    
                
Java.Util.cs https://gitlab.com/Pfhoenix/api | C# | 1062 lines
                    
220				[Dot42.DexImport("EMPTY_LIST", "Ljava/util/List;", AccessFlags = 25)]
                    
221				public static readonly global::Java.Util.IList<object> EMPTY_LIST;
                    
222				/// <summary>
                    
                
Org.Apache.Http.Protocol.cs https://gitlab.com/Pfhoenix/api | C# | 1175 lines
                    
95				[Dot42.DexImport("setInterceptors", "(Ljava/util/List;)V", AccessFlags = 1025)]
                    
96				void SetInterceptors(global::Java.Util.IList<object> itcps) /* MethodBuilder.Create */ ;
                    
97
                    
281				[Dot42.DexImport("setInterceptors", "(Ljava/util/List;)V", AccessFlags = 1025)]
                    
282				void SetInterceptors(global::Java.Util.IList<object> itcps) /* MethodBuilder.Create */ ;
                    
283
                    
                
ResolveResult.cs https://github.com/jfcantin/monodevelop.git | C# | 745 lines
                    
166		{
                    
167			List<object> result = new List<object> ();
                    
168			if (IsLoopVariable) {
                    
203		{
                    
204			List<object> result = new List<object> ();
                    
205			MemberResolveResult.AddType (dom, result, ResolvedType, callingMember, StaticResolve);
                    
261		
                    
262		internal static void AddType (ProjectDom dom, List<object> result, IType type, IMember callingMember, bool showStatic)
                    
263		{
                    
266		
                    
267		internal static void AddType (ProjectDom dom, List<object> result, IType type, IMember callingMember, bool showStatic, Func<IMember, bool> filter)
                    
268		{
                    
337		{
                    
338			List<object> result = new List<object> ();
                    
339			if (ResolvedExpression != null && ResolvedExpression.ExpressionContext != null && ResolvedExpression.ExpressionContext.IsObjectCreation) {
                    
                
MacMainMenu.cs https://github.com/jfcantin/monodevelop.git | C# | 735 lines
                    
59		
                    
60		static List<object> objectsToDestroyOnMenuClose = new List<object> ();
                    
61		static List<string> linkCommands = new List<string> ();
                    
                
JsonMultiDimensionalArrayConverter.cs https://github.com/jalchr/ravendb.git | C# | 197 lines
                    
87		/// <returns></returns>
                    
88		private List<object> ReadRank(JsonReader reader, JsonSerializer serializer, Type elementType)
                    
89		{
                    
89		{
                    
90			var retVal = new List<object>();
                    
91
                    
113		/// <returns></returns>
                    
114		private List<int> GetRankLengthList(List<object> arrayList)
                    
115		{
                    
120			{
                    
121				var childArrayList = arrayList[0] as List<object>;
                    
122				// If there are more children arrays, there are more ranks
                    
138		/// <param name="newValues">New Values that will be used in the assignment</param>
                    
139		private void SetValues(Array multiDimensionalArray, int[] rankLengthList, int[] assignToIndexList, int currentRank, List<object> newValues)
                    
140		{
                    
                
PropertySerializer.cs https://bitbucket.org/mdavid/dday-ical-svn.git | C# | 149 lines
                    
45                // Build a list of values that are to be serialized.
                    
46                List<object> objs = new List<object>();
                    
47                if (!(prop.Value is string) && 
                    
                
NotifyCollectionChangedEventArgsTest.cs https://github.com/iainlane/mono.git | C# | 712 lines
                    
92
                    
93			IList changedItems = new List<object> ();
                    
94
                    
216
                    
217			IList newItems = new List<object> ();
                    
218			IList oldItems = new List<object> ();
                    
302
                    
303			IList changedItems = new List<object> ();
                    
304			int startingIndex = 5; // Doesn't matter what the value of this is.
                    
                
XamlLanguageTest.cs https://github.com/iainlane/mono.git | C# | 865 lines
                    
122			var d = XamlLanguage.Arguments;
                    
123			TestXamlDirectiveCommon (d, "Arguments", AllowedMemberLocations.Any, typeof (List<object>));
                    
124		}
                    
208			// weird name
                    
209			TestXamlDirectiveCommon (d, "_Items", AllowedMemberLocations.Any, typeof (List<object>));
                    
210		}
                    
244			// weird name
                    
245			TestXamlDirectiveCommon (d, "_PositionalParameters", AllowedMemberLocations.Any, typeof (List<object>));
                    
246			// LAMESPEC: In [MS-XAML-2009] AllowedLocations is None, unlike this Any value.
                    
                
Bug675144Test.cs https://github.com/iainlane/mono.git | C# | 531 lines
                    
19		{
                    
20			var obj = new DataType2 { Items = new List<object> { new DataType1 { Id = "D" }, new DataType1 { Id = "E" } } };
                    
21			var ds = new DataContractSerializer (typeof (DataType2));
                    
                
CodeDomComponentSerializationService.cs https://github.com/iainlane/mono.git | C# | 589 lines
                    
437			{
                    
438				List<object> objectInstances = new List<object> ();
                    
439
                    
                
OracleConnectionStringBuilder.cs https://github.com/iainlane/mono.git | C# | 502 lines
                    
290			get {
                    
291				List<object> values = new List<object>();
                    
292                                values.Add(_dataSource);
                    
                
CompositionTransactionTests.cs https://github.com/iainlane/mono.git | C# | 516 lines
                    
113
                    
114            var keys = new List<object>();
                    
115            var values = new List<object>();
                    
                
MetadataTests.cs https://github.com/iainlane/mono.git | C# | 1215 lines
                    
154
                    
155            var metadataAcme = typeVi.Metadata["acme"] as IList<object>;
                    
156            Assert.AreEqual(2, metadataAcme.Count(), "There are should be two items in the metadata acme's collection");
                    
167
                    
168            var metadataStuff = memberVi.Metadata["stuff"] as IList<object>;
                    
169            Assert.AreEqual(2, metadataAcme.Count(), "There are should be two items in the metadata acme's collection");
                    
192
                    
193            var metadataAcme = export1.Metadata["acme"] as IList<object>;
                    
194            Assert.AreEqual(2, metadataAcme.Count(), "There are should be two items in the metadata acme's collection");
                    
205
                    
206            var metadataStuff = export2.Metadata["stuff"] as IList<object>;
                    
207            Assert.AreEqual(2, metadataAcme.Count(), "There are should be two items in the metadata acme's collection");
                    
                
BindingListTest.cs https://github.com/iainlane/mono.git | C# | 591 lines
                    
150		{
                    
151			BindingList<object> l = new BindingList<object> ();
                    
152
                    
168		{
                    
169			List<object> list = new List<object>();
                    
170			list.Add (new object());
                    
212		{
                    
213			List<object> list = new List<object>();
                    
214			list.Add (new object());
                    
225		{
                    
226			BindingList<object> l = new BindingList<object>();
                    
227
                    
418		{
                    
419			BindingList<object> l = new BindingList<object>();
                    
420
                    
                
BindingSourceTest.cs https://github.com/iainlane/mono.git | C# | 1844 lines
                    
44			BindingSource source = new BindingSource ();
                    
45			Assert.IsTrue (source.List is BindingList<object>, "1");
                    
46			Assert.AreEqual (0, source.List.Count, "2");
                    
171			source.DataSource = null;
                    
172			Assert.IsTrue (source.List is BindingList<object>, "1");
                    
173
                    
175			source.DataSource = new object ();
                    
176			Assert.IsTrue (source.List is BindingList<object>, "2");
                    
177
                    
                
BindingSource.cs https://github.com/iainlane/mono.git | C# | 1071 lines
                    
147			if (datasource == null) {
                    
148				l = new BindingList<object>();
                    
149				//list_defaulted = true;
                    
                
StateMachineValidationErrorSourceLocator.cs https://github.com/pruiz/mono.git | C# | 152 lines
                    
13    {
                    
14        public List<object> FindSourceDetailFromActivity(Activity errorSource, object errorSourceDetail)
                    
15        {
                    
17            {
                    
18                return new List<object> { errorSource };
                    
19            }
                    
27        // case 2: StateMachine -> InternalState -> ...
                    
28        public void ReplaceParentChainWithSource(Activity parentActivity, List<object> parentChain)
                    
29        {
                    
53
                    
54                List<object> path = FindRelativePath(stateMachine, targetActivity);
                    
55
                    
71        {
                    
72            List<object> path = new List<object>();
                    
73            path.Add(machine);
                    
                
JsonFactory.cs https://gitlab.com/Ontology/OntoWebCore | C# | 327 lines
                    
23
                    
24        public clsOntologyItem CreateJsonFileOfItemList(Type itemType, List<object> itemList, SessionFile sessionFile)
                    
25        {
                    
                
ChangesetsListView.cs https://gitlab.com/Surabhi124/vote-mario | C# | 418 lines
                    
276            ListViewItemIds<object> listViewItemIds,
                    
277            List<object> objectInfos,
                    
278            TreeViewItem rootItem,
                    
                
HQLQueryPlan.cs https://github.com/ngbrown/nhibernate-core.git | C# | 256 lines
                    
109
                    
110			IList combinedResults = results ?? new List<object>();
                    
111			var distinction = new HashSet<object>(ReferenceComparer<object>.Instance);
                    
                
CollectionUtils.cs https://gitlab.com/sheetanshusrivastava3/Unity3D-code-repository-design-patterns | C# | 763 lines
                    
453				// Activator.CreateInstance throws AmbiguousMatchException. Manually invoke constructor
                    
454				Func<Type, IList<object>, object> instanceCreator = (t, a) =>
                    
455				{
                    
480				// Activator.CreateInstance throws AmbiguousMatchException. Manually invoke constructor
                    
481				Func<Type, IList<object>, object> instanceCreator = (t, a) =>
                    
482				{
                    
509				// Activator.CreateInstance throws AmbiguousMatchException. Manually invoke constructor
                    
510				Func<Type, IList<object>, object> instanceCreator = (t, a) =>
                    
511				{
                    
                
JsonSerializerInternalWriter.cs https://gitlab.com/sheetanshusrivastava3/Unity3D-code-repository-design-patterns | C# | 626 lines
                    
44    private JsonSerializerProxy _internalSerializer;
                    
45    private List<object> _serializeStack;
                    
46
                    
46
                    
47    private List<object> SerializeStack
                    
48    {
                    
51        if (_serializeStack == null)
                    
52          _serializeStack = new List<object>();
                    
53
                    
                
DiContainer.cs https://gitlab.com/ChicK00o/JaneiousTests | C# | 1365 lines
                    
211
                    
212        public List<object> ResolveDependencyRoots()
                    
213        {
                    
                
NaniteMiningTargets.cs https://gitlab.com/N3X15/SECE-NaniteControlFactories | C# | 426 lines
                    
104            DateTime start = DateTime.Now;
                    
105            List<object> finalAddList = new List<object>();
                    
106            int listCount = 0;
                    
126
                    
127                List<object> addList = new List<object>();
                    
128                int count = 0;
                    
166
                    
167        private void DistributeList(List<object> listToAdd, List<object> finalList, int count)
                    
168        {
                    
                
FileDao.cs https://gitlab.com/rekby-archive/onlyoffice-CommunityServer | C# | 1215 lines
                    
172
                    
173        public List<object> GetFiles(object parentId)
                    
174        {
                    
324            var isNew = false;
                    
325            List<object> parentFoldersIds;
                    
326            lock (syncRoot)
                    
                
JsonMapper.cs https://gitlab.com/vectorci/aws-sdk-net | C# | 962 lines
                    
411                } else {
                    
412                    list = new List<object> ();
                    
413                    elem_type = inst_type.GetElementType ();
                    
                
Metrics.cs https://gitlab.com/vectorci/aws-sdk-net | C# | 550 lines
                    
44        }
                    
45        private static void Log(StringBuilder builder, Metric metric, List<object> metricValues)
                    
46        {
                    
85        /// </summary>
                    
86        public Dictionary<Metric, List<object>> Properties { get; set; }
                    
87
                    
112            stopWatch = Stopwatch.StartNew();
                    
113            Properties = new Dictionary<Metric, List<object>>();
                    
114            Timings = new Dictionary<Metric, List<IMetricsTiming>>();
                    
182
                    
183            List<object> list;
                    
184            lock (metricsLock)
                    
187                {
                    
188                    list = new List<object>();
                    
189                    Properties[metric] = list;
                    
                
InstructionList.cs https://bitbucket.org/mdavid/dlr.git | C# | 1011 lines
                    
83        private readonly List<Instruction> _instructions = new List<Instruction>();
                    
84        private List<object> _objects;
                    
85
                    
116
                    
117            internal static InstructionView[] GetInstructionViews(IList<Instruction> instructions, IList<object> objects,
                    
118                Func<int, int> labelIndexer, IList<KeyValuePair<int, object>> debugCookies) {
                    
343            if (_objects == null) {
                    
344                _objects = new List<object>();
                    
345                if (_loadObjectCached == null) {
                    
                
ControlFlowInstructions.cs https://bitbucket.org/mdavid/dlr.git | C# | 580 lines
                    
52
                    
53        public override string ToDebugString(int instructionIndex, object cookie, Func<int, int> labelIndexer, IList<object> objects) {
                    
54            return ToString() + (_offset != Unknown ? " -> " + (instructionIndex + _offset).ToString() : "");
                    
198
                    
199        public override string ToDebugString(int instructionIndex, object cookie, Func<int, int> labelIndexer, IList<object> objects) {
                    
200            int targetIndex = labelIndexer(_labelIndex);
                    
                
MutableTuple.cs https://bitbucket.org/mdavid/dlr.git | C# | 1217 lines
                    
172
                    
173            List<object> res = new List<object>();
                    
174
                    
233
                    
234        private static void GetTupleValues(MutableTuple tuple, List<object> args) {
                    
235            Type[] types = tuple.GetType().GetGenericArguments();
                    
                
RubyArray.cs https://bitbucket.org/mdavid/dlr.git | C# | 660 lines
                    
35    [DebuggerDisplay("{GetDebugView()}")]
                    
36    public partial class RubyArray : IList<object>, IList, IRubyObjectState, IDuplicable {
                    
37        private object[]/*!*/ _content;
                    
                
IListOps.cs https://bitbucket.org/mdavid/dlr.git | C# | 1326 lines
                    
113            RubyArray array;
                    
114            List<object> listOfObject;
                    
115            ICollection<object> collection;
                    
117                array.InsertRange(index, items, start, count);
                    
118            } else if ((listOfObject = list as List<object>) != null && ((collection = items as ICollection<object>) != null)) {
                    
119                listOfObject.InsertRange(index, collection);
                    
134
                    
135            List<object> list;
                    
136            RubyArray array;
                    
138                array.RemoveRange(index, count);
                    
139            } else if ((list = collection as List<object>) != null) {
                    
140                list.RemoveRange(index, count);
                    
                
InterpreterTests.cs https://bitbucket.org/mdavid/dlr.git | C# | 1155 lines
                    
39        [ThreadStatic]
                    
40        public static List<object> _trace = new List<object>();
                    
41
                    
                
Indexable.cs https://bitbucket.org/mdavid/dlr.git | C# | 663 lines
                    
217    public class IndexableList : IList {
                    
218        List<object> myList = new List<object>();
                    
219
                    
                
BinderTest.cs https://bitbucket.org/mdavid/dlr.git | C# | 973 lines
                    
177        public void M600(Dictionary<object, object> arg) { Flag.Value = 600; }
                    
178        public void M601(List<object> arg) { Flag.Value = 601; }
                    
179#endif
                    
                
CFuncPtrType.cs https://bitbucket.org/mdavid/dlr.git | C# | 382 lines
                    
54            private DynamicMethod _reverseDelegate;         // reverse delegates are lazily computed the 1st time a callable is turned into a func ptr
                    
55            private List<object> _reverseDelegateConstants;
                    
56            private Type _reverseDelegateType;
                    
146
                    
147            MarshalCleanup INativeType.EmitMarshalling(ILGenerator/*!*/ method, LocalOrArg argIndex, List<object>/*!*/ constantPool, int constantPoolArgument) {
                    
148                Type argumentType = argIndex.Type;
                    
164
                    
165            void INativeType.EmitReverseMarshalling(ILGenerator method, LocalOrArg value, List<object> constantPool, int constantPoolArgument) {
                    
166                value.Emit(method);
                    
223
                    
224                List<object> constantPool = new List<object>();
                    
225                constantPool.Add(null); // 1st item is the target object, will be put in later.
                    
                
CFuncPtr.cs https://bitbucket.org/mdavid/dlr.git | C# | 901 lines
                    
53            private object _errcheck, _restype = _noResType;
                    
54            private IList<object> _argtypes;
                    
55            private int _id;
                    
220                    if (value != null) {
                    
221                        IList<object> argValues = value as IList<object>;
                    
222                        if (argValues == null) {
                    
                
re.cs https://bitbucket.org/mdavid/dlr.git | C# | 1139 lines
                    
145                    int k = 0;
                    
146                    List<object> tpl = new List<object>();
                    
147                    foreach (Group g in mc[i].Groups) {
                    
                
marshal.cs https://bitbucket.org/mdavid/dlr.git | C# | 789 lines
                    
149            public void WriteObject(object o) {
                    
150                List<object> infinite = PythonOps.GetReprInfinite();
                    
151
                    
                
array.cs https://bitbucket.org/mdavid/dlr.git | C# | 1250 lines
                    
45        [PythonType]
                    
46        public class array : IPythonArray, IEnumerable, IWeakReferenceable, ICollection, ICodeFormattable, IList<object>, IStructuralEquatable
                    
47#if CLR2
                    
235
                    
236                List<object> items = new List<object>();
                    
237                while (ie.MoveNext()) {
                    
                
OldInstance.cs https://bitbucket.org/mdavid/dlr.git | C# | 1061 lines
                    
93
                    
94            List<object> keys = (List<object>)info.GetValue("keys", typeof(List<object>));
                    
95            List<object> values = (List<object>)info.GetValue("values", typeof(List<object>));
                    
106            info.AddValue("__class__", _class);
                    
107            List<object> keys = new List<object>();
                    
108            List<object> values = new List<object>();
                    
                
OldClass.cs https://bitbucket.org/mdavid/dlr.git | C# | 633 lines
                    
158
                    
159            List<object> keys = (List<object>)info.GetValue("keys", typeof(List<object>));
                    
160            List<object> values = (List<object>)info.GetValue("values", typeof(List<object>));
                    
175
                    
176            List<object> keys = new List<object>();
                    
177            List<object> values = new List<object>();
                    
                
PythonTypeOps.cs https://bitbucket.org/mdavid/dlr.git | C# | 915 lines
                    
39        internal static PythonTuple MroToPython(IList<PythonType> types) {
                    
40            List<object> res = new List<object>(types.Count);
                    
41            foreach (PythonType dt in types) {
                    
                
PythonOps.cs https://bitbucket.org/mdavid/dlr.git | C# | 1196 lines
                    
67        [ThreadStatic]
                    
68        private static List<object> InfiniteRepr;
                    
69
                    
144        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
                    
145        public static List<object> GetReprInfinite() {
                    
146            if (InfiniteRepr == null) {
                    
146            if (InfiniteRepr == null) {
                    
147                InfiniteRepr = new List<object>();
                    
148            }
                    
176
                    
177            List<object> searchFunctions = PythonContext.GetContext(context).SearchFunctions;
                    
178            string normalized = encoding.ToLower().Replace(' ', '-');
                    
195
                    
196            List<object> searchFunctions = PythonContext.GetContext(context).SearchFunctions;
                    
197
                    
                
ConversionBinder.cs https://bitbucket.org/mdavid/dlr.git | C# | 908 lines
                    
209                            } else {
                    
210                                res = TryToGenericInterfaceConversion(self, type, typeof(IList<object>), typeof(ListGenericWrapper<>));
                    
211                            }
                    
                
PythonTuple.cs https://bitbucket.org/mdavid/dlr.git | C# | 702 lines
                    
39    [PythonType("tuple"), Serializable, DebuggerTypeProxy(typeof(CollectionDebugProxy)), DebuggerDisplay("tuple, {Count} items")]
                    
40    public class PythonTuple : ICollection, IEnumerable, IEnumerable<object>, IList, IList<object>, ICodeFormattable,
                    
41#if CLR2
                    
162
                    
163                List<object> l = new List<object>();
                    
164                IEnumerator i = PythonOps.GetEnumerator(o);
                    
347
                    
348        #region IList<object> Members
                    
349
                    
357
                    
358        void IList<object>.Insert(int index, object item) {
                    
359            throw new InvalidOperationException("Tuple is readonly");
                    
361
                    
362        void IList<object>.RemoveAt(int index) {
                    
363            throw new InvalidOperationException("Tuple is readonly");
                    
                
PythonContext.cs https://bitbucket.org/mdavid/dlr.git | C# | 1155 lines
                    
95        private Dictionary<string, object> _errorHandlers;
                    
96        private List<object> _searchFunctions;
                    
97        private Dictionary<object, object> _moduleState;
                    
                
List.cs https://bitbucket.org/mdavid/dlr.git | C# | 1457 lines
                    
44    [DebuggerTypeProxy(typeof(ObjectCollectionDebugProxy)), DebuggerDisplay("list, {Count} items")]
                    
45    public class List : IList, ICodeFormattable, IList<object>, IReversible, IStructuralEquatable, IStructuralComparable
                    
46#if CLR2
                    
                
Builtin.cs https://bitbucket.org/mdavid/dlr.git | C# | 1212 lines
                    
101            if (fromlist is string || fromlist is Extensible<string>) {
                    
102                fromlist = new List<object> { fromlist };
                    
103            }
                    
                
CalendarPropertyCompositeList.cs https://bitbucket.org/mdavid/dday-ical-svn.git | C# | 577 lines
                    
58            isList = false;
                    
59            if (value is IList<object>)
                    
60            {
                    
126                    {
                    
127                        IList<object> list = (IList<object>)p.Value;
                    
128                        indexInProperty = list.IndexOf(item);
                    
182                if (isList)
                    
183                    ((IList<object>)p.Value).Insert(indexInProperty, item);
                    
184                else
                    
266            // Create a new list to store our item
                    
267            IList<object> list = new List<object>();
                    
268            list.Add(item);
                    
310                        {
                    
311                            IList<object> list = (IList<object>)p.Value;
                    
312                            for (int i = 0; i < list.Count; i++)
                    
                
DefaultEditorTemplatesTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 693 lines
                    
185            // Arrange
                    
186            HtmlHelper html = MakeHtmlHelper<List<Object>>(new List<Object> { 1, 2.3, "Hello World" });
                    
187            html.ViewContext.ViewData.TemplateInfo.HtmlFieldPrefix = null;
                    
                
ObjectInfoTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 728 lines
                    
234            MockObjectVisitor visitor = CreateObjectVisitor();
                    
235            List<object> values = new List<object>();
                    
236            values.Add(values);
                    
                
JsonValueExtensionsTest.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 476 lines
                    
225
                    
226            List<object> list = jsonValue.ReadAsType<List<object>>();
                    
227            Array array = jsonValue.ReadAsType<Array>();
                    
                
MemberHelper.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 381 lines
                    
160            // Attach handler, call method, assert fires once
                    
161            List<object> eventHandlerArgs = new List<object>();
                    
162            EventHandler<TEventArgs> handler = new EventHandler<TEventArgs>(delegate(object sender, TEventArgs t)
                    
171            // Detach handler, call method, assert not fired
                    
172            eventHandlerArgs = new List<object>();
                    
173            eventInfo.RemoveEventHandler(instance, handler);
                    
                
InvokeAzureComputeMethodCmdlet.cs https://gitlab.com/jslee1/azure-powershell | C# | 252 lines
                    
35        {
                    
36            List<object> paramList = new List<object>();
                    
37
                    
                
XamlLanguage.cs https://github.com/iainlane/mono.git | C# | 253 lines
                    
124
                    
125			Arguments = new XamlDirective (nss, "Arguments", XT<List<object>> (), null, AllowedMemberLocations.Any);
                    
126			AsyncRecords = new XamlDirective (nss, "AsyncRecords", XT<string> (), null, AllowedMemberLocations.Attribute);
                    
135			Initialization = new XamlDirective (nss, "_Initialization", XT<object> (), null, AllowedMemberLocations.Any);
                    
136			Items = new XamlDirective (nss, "_Items", XT<List<object>> (), null, AllowedMemberLocations.Any);
                    
137			Key = new XamlDirective (nss, "Key", XT<object> (), null, AllowedMemberLocations.Any);
                    
140			Name = new XamlDirective (nss, "Name", XT<string> (), null, AllowedMemberLocations.Attribute);
                    
141			PositionalParameters = new XamlDirective (nss, "_PositionalParameters", XT<List<object>> (), null, AllowedMemberLocations.Any);
                    
142			Space = new XamlDirective (nssXml, "space", XT<string> (), null, AllowedMemberLocations.Attribute);
                    
                
MapReduceBlobSet.cs https://github.com/DIanbi/lokad-cloud.git | C# | 534 lines
                    
67		/// <remarks>This method should be called from <see cref="T:MapReduceJob"/>.</remarks>
                    
68		public void GenerateBlobSets(string jobName, IList<object> items, IMapReduceFunctions functions, int workerCount, Type mapIn, Type mapOut)
                    
69		{
                    
155			var blobsetPrefix = InputBlobName.GetPrefix(jobName, blobSetId);
                    
156			var mapResults = new List<object>();
                    
157
                    
221			var reducedBlobPrefix = ReducedBlobName.GetPrefix(jobName);
                    
222			var aggregateResults = new List<object>();
                    
223
                    
                
EnumerableRowCollection.cs https://github.com/pruiz/mono.git | C# | 356 lines
                    
260                                   return _sortExpression.Compare(
                    
261                                        (List<object>)key,
                    
262                                        _sortExpression.Select((TRow)(object)row)
                    
293                            {
                    
294                                return _sortExpression.Compare((List<object>)key, _sortExpression.Select((TRow)(object)row));
                    
295                            },
                    
                
SimpleJson.cs https://gitlab.com/github-cloud-corporation/VisualStudio | C# | 1264 lines
                    
86#endif
                    
87 class JsonArray : List<object>
                    
88    {
                    
                
ApiConnectionTests.cs https://gitlab.com/TemitriteSV/GitHub-API-.NET | C# | 437 lines
                    
88                var getAllUri = new Uri("anything", UriKind.Relative);
                    
89                IApiResponse<List<object>> response = new ApiResponse<List<object>>(
                    
90                    new Response(),
                    
90                    new Response(),
                    
91                    new List<object> { new object(), new object() });
                    
92                var connection = Substitute.For<IConnection>();
                    
92                var connection = Substitute.For<IConnection>();
                    
93                connection.Get<List<object>>(Args.Uri, Args.EmptyDictionary, null).Returns(Task.FromResult(response));
                    
94                var apiConnection = new ApiConnection(connection);
                    
98                Assert.Equal(2, data.Count);
                    
99                connection.Received().Get<List<object>>(getAllUri, Args.EmptyDictionary, null);
                    
100            }
                    
                
CompletionDBTest.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 394 lines
                    
87                    // http://pytools.codeplex.com/workitem/799
                    
88                    var arr = (IList<object>)builtinDb["members"]["list"]["value"]["members"]["__init__"]["value"]["overloads"];
                    
89                    Assert.AreEqual(
                    
                
RemoteInterpreter.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 1236 lines
                    
54        private readonly Dictionary<object, ObjectIdentityHandle> _members = new Dictionary<object, ObjectIdentityHandle>();
                    
55        private readonly List<object> _reverseMembers = new List<object>();
                    
56        private readonly HashSet<string> _assembliesLoadedFromDirectories = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
                    
                
Unpickler.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 599 lines
                    
119            private FileInput _file;
                    
120            private List<object> _stack;
                    
121            private List<object> _privMemo;
                    
123            public UnpicklerObject() {
                    
124                _privMemo = new List<object>(200);
                    
125            }
                    
132            public object Load() {
                    
133                _stack = new List<object>(32);
                    
134
                    
311                object seq = PeekStack();
                    
312                if (seq is List<object>) {
                    
313                    ((List<object>)seq).Add(item);
                    
320                int markIndex = GetMarkIndex();
                    
321                List<object> seq = (List<object>)_stack[markIndex - 1];
                    
322                for (int i = markIndex + 1; i < _stack.Count; i++) {
                    
                
SaveAnalysis.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 763 lines
                    
36        private Dictionary<string, object[]> _moduleNames = new Dictionary<string, object[]>();
                    
37        private static readonly List<object> _EmptyMro = new List<object>();
                    
38        private PythonAnalyzer _curAnalyzer;
                    
108
                    
109        private List<object> GenerateChildModules(ModuleInfo moduleInfo) {
                    
110            var res = new HashSet<object>(moduleInfo.GetChildrenPackages(null).Select(kv => kv.Key));
                    
305        private object GetMemberValues(VariableDef[] variableDefs, ModuleInfo declModule, bool isRef) {
                    
306            List<object> res = new List<object>();
                    
307            foreach (var variableDef in variableDefs) {
                    
329            } else {
                    
330                List<object> res = new List<object>();
                    
331                foreach (var type in types) {
                    
                
Pickler.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 730 lines
                    
47            _dispatchTable[typeof(object[])] = SaveTuple;
                    
48            _dispatchTable[typeof(List<object>)] = SaveList;
                    
49        }
                    
163        private static void SaveList(Pickler/*!*/ pickler, object obj) {
                    
164            Debug.Assert(obj.GetType() == typeof(List<object>), "arg must be list");
                    
165            Debug.Assert(!pickler.MemoContains(obj));
                    
                
scenario4_foregroundgeofencehelpers.cs https://gitlab.com/Rockyspade/Windows-universal-samples | C# | 466 lines
                    
57        {
                    
58            IList<object> list = e.AddedItems;
                    
59
                    
                
 

Source

Language