100+ results for 'using System.Linq;'

Not the results you expected?

SimpleEnglishLanguageGenerator.cs (https://bitbucket.org/tscheinpflug/osmsharp.git) C# · 274 lines

17 // along with OsmSharp. If not, see <http://www.gnu.org/licenses/>.

18

19 using System;

20 using System.Collections.Generic;

21 using System.Linq;

22 using System.Text;

23 using OsmSharp.Tools.Math.Geo.Meta;

24 using OsmSharp.Routing.ArcAggregation.Output;

CommandSettings.cs (https://gitlab.com/srbhgupta/vsts-agent) C# · 310 lines

1 using Microsoft.VisualStudio.Services.Agent.Listener.Configuration;

2 using Microsoft.VisualStudio.Services.Agent.Util;

3 using System;

4 using System.Linq;

5 using System.Collections.Generic;

SearchTest.cs (https://github.com/kuangmarkeleven/GiveCRM.git) C# · 246 lines

1 using System;

2 using System.Linq;

3 using Simple.Data;

4 using NUnit.Framework;

5 using GiveCRM.Models.Search;

6 using GiveCRM.Web.Models.Search;

7

8 namespace GiveCRM.DataAccess.Test

TimelineViewModel.cs (https://bitbucket.org/thedmi/reactrt.git) C# · 349 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.Collections.ObjectModel;

6 using ReactRT.Observatory.Monitor.Domain;

7 using GalaSoft.MvvmLight;

8 using System.ComponentModel;

9 using GalaSoft.MvvmLight.Command;

10 using System.Windows.Input;

11 using System.Collections.Specialized;

12 using System.Windows.Media;

FlowEngine.cs (https://gitlab.com/justbediego/Isaap) C# · 248 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.Threading.Tasks;

6 using Automation.DataAccess;

7 using Automation.Model;

8 using System.Data.Entity;

9 using Automation.Model.Exception;

10

11 namespace Automation.BusinessNew

RedundantSubqueryRemover.cs (https://bitbucket.org/moisesmiranda/subsonic-4.git) C# · 265 lines

4

5

6 using System;

7 using System.Collections;

8 using System.Collections.Generic;

9 using System.Collections.ObjectModel;

10 using System.Linq;

11 using System.Linq.Expressions;

12 using System.Reflection;

13 using System.Text;

14 using SubSonic.Linq.Structure;

15

16 namespace SubSonic.Linq.Translation

QueryPartDriver.cs (https://bitbucket.org/oleg_ator/orchard.test.git) C# · 201 lines

1 using System;

2 using System.Linq;

3 using System.Xml.Linq;

4 using Orchard.ContentManagement;

5 using Orchard.ContentManagement.Drivers;

6 using Orchard.ContentManagement.Handlers;

7 using Orchard.Projections.Models;

Conventions.cs (https://github.com/MikeEast/NServiceBus.git) C# · 272 lines

1 namespace NServiceBus

2 {

3 using Logging;

4 using System;

5 using System.Collections.Concurrent;

6 using System.Collections.Generic;

7 using System.Linq;

8 using System.Reflection;

CustomSorting.cs (https://github.com/fitzchak/ravendb.git) C# · 272 lines

4 // </copyright>

5 // -----------------------------------------------------------------------

6 using System;

7 using System.Collections.Generic;

8 using System.Linq;

9 using Jint.Parser;

10 using Raven.Abstractions.Data;

11 using Raven.Abstractions.Indexing;

12 using Raven.Client.Indexes;

13 using Raven.Json.Linq;

14 using Raven.Tests.Common;

75 using (var store = NewDocumentStore())

76 {

77 using (var session = store.OpenSession())

78 {

79 session.Store(new User { Name = "Maxim" });

SearchExpression.cs (https://gitlab.com/Tiger66639/neural_network_designer) C# · 248 lines

1 using JaStDev.HAB.Brain;

2 using JaStDev.HAB.Brain.Thread_syncing;

3 using System.Collections.Generic;

4 using System.Linq;

5

6 namespace JaStDev.HAB.Expressions

158 {

159 case (ulong)PredefinedNeurons.In:

160 using (LinksAccessor iLinksIn = iToSearch.LinksIn)

161 {

162 iSearchData.ToSearch = iLinksIn.Items;

166

167 case (ulong)PredefinedNeurons.Out:

168 using (LinksAccessor iLinksOut = iToSearch.LinksOut)

169 iSearchData.ToSearch = iLinksOut.Items;

170 SearchForItemsIn(iSearchData, false);

Sound.cs (https://github.com/dzamkov/Bit-Orchestra.git) C# · 370 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Windows.Forms;

5 using System.Threading;

6

7 using NAudio.Wave;

8 using NAudio.CoreAudioApi;

9

10 using Value = System.Int32;

MakeCharacter.cs (https://gitlab.com/sheminusminus/filament) C# · 380 lines

1 using System;

2 using System.Collections.Generic;

3 using System.ComponentModel;

4 using System.Data;

5 using System.Drawing;

6 using System.Linq;

7 using System.Text;

8 using System.Threading.Tasks;

9 using System.Windows.Forms;

10 using System.IO;

11

12 namespace FilamentFinalProject

SubclassInspectorMapsToSubclassMapping.cs (https://github.com/JasonTrue/fluent-nhibernate.git) C# · 398 lines

1 using System;

2 using System.Linq;

3 using System.Linq.Expressions;

4 using System.Reflection;

5 using FluentNHibernate.Automapping.TestFixtures;

6 using FluentNHibernate.Conventions;

7 using FluentNHibernate.Conventions.Inspections;

8 using FluentNHibernate.MappingModel;

9 using FluentNHibernate.MappingModel.ClassBased;

10 using FluentNHibernate.MappingModel.Collections;

11 using FluentNHibernate.Utils;

VsStepSuggestionBindingCollector.cs (https://github.com/danemorgridge/SpecFlow.git) C# · 247 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text.RegularExpressions;

5 using EnvDTE;

6 using EnvDTE80;

7 using TechTalk.SpecFlow.Bindings;

8 using TechTalk.SpecFlow.Bindings.Reflection;

9 using TechTalk.SpecFlow.Vs2010Integration.Utils;

10

11 namespace TechTalk.SpecFlow.Vs2010Integration.LanguageService

CachedDataAnnotationsModelMetadata.cs (https://bitbucket.org/mdavid/aspnetwebstack.git) C# · 267 lines

1 using System.Collections.Generic;

2 using System.ComponentModel.DataAnnotations;

3 using System.Linq;

4 using System.Reflection;

5 using System.Security;

6 using System.Web.Http.Internal;

7 using System.Web.Http.Properties;

8

9 namespace System.Web.Http.Metadata.Providers

NestedSelectsTests.cs (https://github.com/RogerKratz/nhibernate-core.git) C# · 465 lines

1 using System;

2 using System.Collections.ObjectModel;

3 using System.Linq;

4 using System.Linq.Expressions;

5 using NHibernate.DomainModel.Northwind.Entities;

6 using NUnit.Framework;

MongoDatabase.cs (https://github.com/fusspawn/sobriety.git) C# · 314 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using MongoDB.Configuration;

5 using MongoDB.Connections;

6 using MongoDB.Results;

MongoUrl.cs (https://github.com/zxy050/mongo-csharp-driver.git) C# · 346 lines

14 */

15

16 using System;

17 using System.Collections.Generic;

18 using System.Linq;

19 using System.Text;

20 using System.Text.RegularExpressions;

21

22 using MongoDB.Bson;

23 using MongoDB.Driver.Internal;

24

25 namespace MongoDB.Driver {

MongoCollectionSettings.cs (https://github.com/zxy050/mongo-csharp-driver.git) C# · 304 lines

14 */

15

16 using System;

17 using System.Collections.Generic;

18 using System.Linq;

19 using System.Text;

20

21 using MongoDB.Bson;

22

23 namespace MongoDB.Driver {

VMRoleOperationsTests.cs (https://gitlab.com/jslee1/azure-powershell) C# · 212 lines

13 // ----------------------------------------------------------------------------------

14

15 using System;

16 using System.Collections.Generic;

17 using System.Linq;

18 using System.Net;

19 using System.Net.Http;

20 using Microsoft.WindowsAzure.Commands.ScenarioTest;

21 using Xunit;

22 using Microsoft.WindowsAzure.Commands.Test.WAPackIaaS.Mocks;

23 using Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS;

24 using Microsoft.WindowsAzure.Commands.Utilities.WAPackIaaS.DataContract;

HotelController.cs (https://bitbucket.org/JPomichael/miaow.git) C# · 298 lines

1 using System.Linq;

2 using System.Web;

3 using System.Web.Mvc;

4

5 using Webdiyer.WebControls.Mvc;

QuadTree.cs (https://github.com/origins/WCell.git) C# · 331 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Diagnostics;

4 using System.Linq;

5 using System.Text;

6 using WCell.Constants;

7 using WCell.Util.Graphics;

NHSecurity.cs (https://gitlab.com/d.sreejith/MIS_wds) C# · 317 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

HTTPVersion.cs (https://github.com/Vanaheimr/Hermod.git) C# · 378 lines

16 */

17

18 #region Usings

19

20 using System;

21 using System.Linq;

22

23 #endregion

TestInheritanceWithConcreteBaseClass.cs (https://github.com/weiheng/mongodb-csharp.git) C# · 276 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using NUnit.Framework;

6

7 namespace MongoDB.IntegrationTests.Inheritance

62

63 [Test]

64 public void Should_persist_discriminator_using_base_class_collection()

65 {

66 var animalCollection = DB.GetCollection<Animal>();

77

78 [Test]

79 public void Should_persist_discriminator_using_inherited_class_collection()

80 {

81 var animalCollection = DB.GetCollection<Cat>();

MsmqInteraction.cs (https://github.com/asgerhallas/Rebus.git) C# · 256 lines

1 using System;

2 using System.Collections.Generic;

3 using System.IO;

4 using System.Linq;

5 using System.Messaging;

6 using System.Text;

7 using System.Threading.Tasks;

8 using GalaSoft.MvvmLight.Messaging;

9 using Newtonsoft.Json;

10 using Rebus.Shared;

11 using Rebus.Snoop.Events;

12 using Rebus.Snoop.ViewModel.Models;

13 using Message = Rebus.Snoop.ViewModel.Models.Message;

HubProgressFacts.cs (https://gitlab.com/scgitlab/SignalR) C# · 204 lines

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.Threading.Tasks;

6 using Microsoft.AspNet.SignalR.Client;

7 using Microsoft.AspNet.SignalR.Tests.Common.Infrastructure;

8 using Xunit;

9 using Xunit.Extensions;

10

11 namespace Microsoft.AspNet.SignalR.FunctionalTests.Server.Hubs

34 var jobName = "test";

35

36 using (hubConnection)

37 {

38 await hubConnection.Start(host.Transport);

site-obj.cs (https://github.com/easymovet/ServerCyde.git) C# · 204 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Web;

5 using SharpFusion;

6

7 namespace ServerCydeData

71

72 //select

73 using (DAL.Procs.usp_site_sel dal = new DAL.Procs.usp_site_sel())

74 {

75 dal.id = ID;

111

112 List<Site> _Sites = new List<Site>();

113 using (DAL.Procs.usp_site_sel_by_user_id dal = new DAL.Procs.usp_site_sel_by_user_id())

114 {

115 dal.user_id = user_id;

UnityDependencyResolver_Specification.cs (https://github.com/jbogard/openrasta-stable.git) C# · 336 lines

1 using System.Collections;

2 using System.Linq;

3 using InternalDependencyResolver_Specification;

4 using Microsoft.Practices.Unity;

5 using NUnit.Framework;

6 using OpenRasta.DI;

7 using OpenRasta.DI.Unity;

8 using OpenRasta.DI.Unity.Extensions;

9 using OpenRasta.Testing;

167 }

168

169 public class when_using_a_parent_container_with_unity_dependency_resolver : dependency_resolver_context

170 {

171 IUnityContainer parent;

CachingLookupTests.cs (https://gitlab.com/sharadag/TestProject2) C# · 287 lines

1 // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

2

3 using System;

4 using System.Collections.Generic;

5 using System.Collections.Immutable;

6 using System.Linq;

7 using Microsoft.CodeAnalysis.Collections;

8 using Microsoft.CodeAnalysis.Text;

9 using Xunit;

IntervalTree`1.cs (https://gitlab.com/sharadag/Roslyn) C# · 302 lines

1 // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

2

3 using System;

4 using System.Collections;

5 using System.Collections.Generic;

6 using System.Diagnostics;

7 using System.Linq;

8 using Microsoft.CodeAnalysis.Text;

9 using Roslyn.Utilities;

10

11 namespace Microsoft.CodeAnalysis.Shared.Collections

OptionsMenu.cs (https://bitbucket.org/IVmost/portfolio.git) C# · 259 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5

6 using Microsoft.Xna.Framework;

7 using Microsoft.Xna.Framework.Audio;

8 using Microsoft.Xna.Framework.Content;

9 using Microsoft.Xna.Framework.GamerServices;

10 using Microsoft.Xna.Framework.Graphics;

11 using Microsoft.Xna.Framework.Input;

IFSIOServiceFileTests.cs (https://bitbucket.org/xact/cs.ff.xact.lib.git) C# · 351 lines

4 using System.IO;

5 using System.Linq;

6 using NUnit.Framework;

7 using XAct;

8 using XAct.IO;

281

282 //Should have got back IsolatedStorage service:

283 using (Stream stream = ioService.FileOpenWriteAsync("%userprofile%\\Test.txt").Result)

284 {

285 using (StreamWriter streamWriter = stream.CreateStreamWriter())

291 using (Stream stream = ioService.FileOpenReadAsync("%userprofile%\\Test.txt").Result)

292 {

293 using (StreamReader streamWriter = stream.CreateStreamReader())

294 {

295 string result = streamWriter.ReadLine();

View.cs (https://github.com/paulcbetts/CaliburnMicro.git) C# · 263 lines

3 using System;

4 using System.Linq;

5 using System.Windows;

6 using System.Windows.Controls;

7 using System.Windows.Markup;

EditingElementsReferencedByOrReferences_Tests.cs (https://gitlab.com/Banul/la-project1) C# · 350 lines

6 //-----------------------------------------------------------------------

7

8 using System;

9 using System.Collections.Generic;

10 using System.Globalization;

11 using System.IO;

12 using System.Linq;

13 using System.Xml;

14 using Microsoft.Build.Construction;

15 using Microsoft.Build.Evaluation;

16 using Xunit;

17

18 namespace Microsoft.Build.UnitTests.OM.Definition

AttributeMapperSpecs.cs (https://bitbucket.org/expand/expand.git) C# · 216 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using Machine.Specifications;

5 using Microsoft.SqlServer.Management.Smo;

6 using TypeMock.ArrangeActAssert;

7 using Xpand.ExpressApp.WorldCreator.SqlDBMapper;

8 using Xpand.Persistent.Base.PersistentMetaData;

9 using Xpand.Persistent.Base.PersistentMetaData.PersistentAttributeInfos;

10 using Xpand.Persistent.BaseImpl.PersistentMetaData.PersistentAttributeInfos;

SyntaxEditor.cs (https://gitlab.com/sharadag/Roslyn) C# · 266 lines

1 // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

2

3 using System;

4 using System.Collections.Generic;

5 using System.Linq;

6 using System.Text;

7 using System.Threading.Tasks;

8 using Roslyn.Utilities;

MongoCollectionExtensions.cs (https://github.com/spitnquit/NoRM.git) C# · 230 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using Norm.Collections;

6 using System.Linq.Expressions;

7 using Norm.BSON;

8 using Norm.Configuration;

9 using Norm.Protocol.Messages;

10 using Norm.Linq;

11 using Norm.Commands.Modifiers;

12

13 namespace Norm

FA1B75_UICfg_script.cs (https://bitbucket.org/kumarvvr/data-acquisition-systems.git) C# · 279 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.Xml;

6 using System.IO;

7 using System.Windows.Forms;

8 using BHEL.PUMPSDAS.Datatypes;

FullScreenBehavior.cs (https://github.com/verbatium/KinectFish.git) C# · 338 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.Runtime.InteropServices;

6 using System.Windows.Interactivity;

7 using System.Windows;

8 using System.Windows.Input;

9 using System.Windows.Interop;

10

11 namespace FishComponents

GenericStorageProvider.cs (https://gitlab.com/rekby-archive/onlyoffice-CommunityServer) C# · 305 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using AppLimit.CloudComputing.SharpBox.Common.IO;

5 using AppLimit.CloudComputing.SharpBox.Exceptions;

6 using AppLimit.CloudComputing.SharpBox.StorageProvider.API;

7 using AppLimit.CloudComputing.SharpBox.StorageProvider.BaseObjects;

8

9 namespace AppLimit.CloudComputing.SharpBox.StorageProvider

TypeUtilities.cs (https://gitlab.com/kush/Avalonia) C# · 339 lines

2 // Licensed under the MIT license. See licence.md file in the project root for full license information.

3

4 using System;

5 using System.Globalization;

6 using System.Linq;

7 using System.Reflection;

203

204 /// <summary>

205 /// Try to convert a value to a type using the implicit conversions allowed by the C#

206 /// language.

207 /// </summary>

281

282 /// <summary>

283 /// Convert a value to a type using the implicit conversions allowed by the C# language or

284 /// return the default for the type if the value could not be converted.

285 /// </summary>

AnyMutablePropertyModelGenerationTests.cs (https://github.com/eltigre/fluent-nhibernate.git) C# · 282 lines

1 using System.Linq;

2 using FluentNHibernate.MappingModel;

3 using FluentNHibernate.Testing.DomainModel;

4 using FluentNHibernate.Testing.DomainModel.Mapping;

5 using NUnit.Framework;

6

7 namespace FluentNHibernate.Testing.FluentInterfaceTests

WorkflowTypeBag.cs (https://github.com/SparkDevNetwork/Rock.git) C# · 270 lines

24 using System;

25 using System.Linq;

26

27 using Rock.ViewModels.Utility;

Incidentes.aspx.cs (https://gitlab.com/angelogalindo/proyectoseminarioanalisis) C# · 258 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Web;

5 using System.Web.UI;

6 using System.Web.UI.WebControls;

7 //Agregar a todo

8 using CAD;

9 using MySql.Data.MySqlClient;

10 using System.Data;

11 using Telerik.Web.UI;

UserExtensionService.cs (https://bitbucket.org/JPomichael/miaow.git) C# · 295 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using iPow.Infrastructure.Data.DataSys;

6

7 namespace iPow.Infrastructure.Crosscutting.Authorize

XmlPropertyBag.cs (https://github.com/pruiz/mono.git) C# · 315 lines

5 namespace System.Activities.DurableInstancing

6 {

7 using System;

8 using System.Collections.Generic;

9 using System.Globalization;

10 using System.IO;

11 using System.IO.Compression;

12 using System.Linq;

13 using System.Runtime;

14 using System.Text;

15 using System.Xml;

16 using System.Xml.Linq;

17 using System.Xml.Schema;

PartitionerQueryOperator.cs (https://github.com/pruiz/mono.git) C# · 276 lines

12 // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

13

14 using System;

15 using System.Collections.Generic;

16 using System.Linq;

17 using System.Text;

18 using System.Collections.Concurrent;

19 using System.Linq.Parallel;

20 using System.Diagnostics.Contracts;

21 using System.Threading;

22 #if SILVERLIGHT

23 using System.Core; // for System.Core.SR

24 #endif

25

ConfigurationSectionHandler.cs (https://github.com/danemorgridge/SpecFlow.git) C# · 309 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Configuration;

4 using System.Globalization;

5 using System.IO;

6 using System.Linq;

7 using System.Xml;

8 using BoDi;

9

10 namespace TechTalk.SpecFlow.Configuration

75 section.Init();

76 section.Reset(null);

77 using (var reader = new XmlTextReader(new StringReader(xmlContent.Trim())))

78 {

79 section.DeserializeSection(reader);

LZ4Decompressor.c (https://github.com/stangelandcl/LZ4Sharp.git) C · 273 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.Diagnostics;

6

7 namespace LZ4Sharp

SerializationHelper.Surrogates.cs (https://github.com/RogerKratz/nhibernate-core.git) C# · 309 lines

2 using System;

3 using System.Linq;

4 using System.Reflection;

5 using System.Runtime.Serialization;

6

7 namespace NHibernate.Util

GeneticEngine.cs (https://github.com/thepowersgang/cits3200.git) C# · 321 lines

1 using System;

2 using System.Collections;

3 using System.Collections.Generic;

4 using System.Linq;

5 using System.Text;

6 using GeneticAlgorithm.Plugin;

7 using GeneticAlgorithm.Plugin.Generic;

10 {

11 /// <summary>

12 /// Runs a genetic algorithm using the supplied plug-ins.

13 /// </summary>

14 public class GeneticEngine

155

156 /// <summary>

157 /// Reset the genetic engine by setting the generation count to 0 and using the populator plug-in

158 /// to generate a new initial population

159 /// </summary>

EnumerableExtensions.cs (https://github.com/loresoft/LoreSoft.Shared.git) C# · 279 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Collections.ObjectModel;

4 using System.Linq;

5 using System.Text;

Fixture.cs (https://github.com/oskarb/nhibernate-core.git) C# · 417 lines

1 using System;

2 using System.Linq;

3 using NUnit.Framework;

174 using (var session = OpenSession())

175 {

176 using (var transaction = session.BeginTransaction())

177 {

178 _auditEventListener.Start();

195 using (var session = OpenSession())

196 {

197 using (var transaction = session.BeginTransaction())

198 {

199 testEmployee.Name = "Mike";

213 {

214

215 using (var session = OpenSession())

216 {

217 using (var transaction = session.BeginTransaction())

Configuration.cs (https://gitlab.com/akkhil2012/swagger-codegen) C# · 283 lines

1 using System;

2 using System.Reflection;

3 using System.Collections.Generic;

4 using System.IO;

5 using System.Linq;

6 using System.Text;

39 )

40 {

41 setApiClientUsingDefault(apiClient);

42

43 Username = username;

64 public Configuration(ApiClient apiClient)

65 {

66 setApiClientUsingDefault(apiClient);

67 }

68

TwoLocations.cs (https://github.com/fitzchak/ravendb.git) C# · 274 lines

5 // -----------------------------------------------------------------------

6

7 using System.Linq;

8 using FastTests;

9 using Raven.Client.Documents;

10 using Raven.Client.Documents.Indexes;

11 using Raven.Client.Documents.Indexes.Spatial;

12 using Xunit;

29 private static void Setup(IDocumentStore store)

30 {

31 using (var session = store.OpenSession())

32 {

33 session.Store(new Event

DynamicFields.cs (https://github.com/fitzchak/ravendb.git) C# · 292 lines

2 using System.Collections.Generic;

3 using System.Linq;

4 using FastTests;

5 using Lucene.Net.Documents;

6 using Raven.Client.Documents.Indexes;

144 }

145

146 using (var session = store.OpenSession())

147 {

148 var products = session.Advanced

199 new Product_ByNumericAttributeUsingField().Execute(store);

200

201 using (var session = store.OpenSession())

202 {

203 session.Store(new Product

StorageStream.cs (https://github.com/fitzchak/ravendb.git) C# · 272 lines

1 using System;

2 using System.IO;

3 using System.Linq;

4 using System.Threading;

5 using Raven.Abstractions.Exceptions;

6 using Raven.Database.FileSystem.Storage;

7 using Raven.Json.Linq;

8 using Raven.Abstractions.FileSystem;

52 storage.Batch(accessor =>

53 {

54 using (fileSystem.DisableAllTriggersForCurrentThread())

55 {

56 fileSystem.Files.IndicateFileToDelete(fileName, null);

ComboMenu.cs (https://github.com/directhex/monodevelop.git) C# · 431 lines

1 using MonoDevelop.Components.MainToolbar;

2 using System;

3 using System.Collections.Generic;

4 using System.Linq;

5 using System.Text;

6 using System.Threading.Tasks;

7 using System.Windows;

8 using System.Windows.Controls;

9 using System.Windows.Data;

10 using System.Windows.Media;

11 using System.Windows.Shapes;

12

13 namespace WindowsPlatform.MainToolbar

Field.cs (https://github.com/FudgeMsg/Fudge-CSharp.git) C# · 348 lines

14 * limitations under the License.

15 */

16 using System;

17 using System.Collections.Generic;

18 using System.Linq;

19 using System.Text;

20 using System.Collections;

21

22 namespace Fudge

71 /// <param name="subFields"></param>

72 /// <example>

73 /// The following example shows a hierarchical message being created using <see cref="Field"/>.

74 /// <code>

75 /// FudgeMsg inputMsg = context.NewMessage(

StateMachineState.cs (https://github.com/MassTransit/Automatonymous.git) C# · 300 lines

1 namespace Automatonymous.States

2 {

3 using System;

4 using System.Collections.Generic;

5 using System.Linq;

6 using System.Threading.Tasks;

7 using Behaviors;

8 using Contexts;

9 using Events;

10 using GreenPipes;

NumericConvertBinder.cs (https://github.com/abimaran/clojure-clr.git) C# · 453 lines

4 * Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)

5 * which can be found in the file epl-v10.html at the root of this distribution.

6 * By using this software in any fashion, you are agreeing to be bound by

7 * the terms of this license.

8 * You must not remove this notice, or any other, from this software.

14

15

16 using System;

17 using System.Collections.Generic;

18 using System.Linq;

19 #if CLR2

20 using Microsoft.Scripting.Ast;

21 #else

22 using System.Linq.Expressions;

23 #endif

24 using Microsoft.Scripting.Actions;

Validation.cs (https://github.com/lefthandedgoat/Oak.git) C# · 408 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Diagnostics;

4 using System.Linq;

5 using Massive;

6 using System.Text.RegularExpressions;

7

8 namespace Oak

265 public class Uniqueness : Validation

266 {

267 public Uniqueness(string property, DynamicRepository usingRepository)

268 : base(property)

269 {

270 Repository = usingRepository;

271 }

272

ContainerConfiguration.cs (https://gitlab.com/0072016/0072016-corefx-) C# · 221 lines

3 // See the LICENSE file in the project root for more information.

4

5 using System.Collections.Generic;

6 using System.Composition.Convention;

7 using System.Composition.Debugging;

8 using System.Composition.Hosting.Core;

9 using System.Composition.TypedParts;

10 using System.Composition.TypedParts.Util;

11 using System.Diagnostics;

12 using System.Linq;

13 using System.Reflection;

57

58 /// <summary>

59 /// Add conventions defined using a <see cref="AttributedModelProvider"/> to the container.

60 /// These will be used as the default conventions; types and assemblies added with a

61 /// specific convention will use their own.

TestController.cs (https://github.com/Lesssnik/Labs.git) C# · 263 lines

1 using System;

2 using System.Linq;

3 using System.Web.Mvc;

4 using System.Web.Script.Serialization;

5 using MvсTester.Models;

TestServiceProvider.cs (https://github.com/kvervo/HorizontalLoopingSelector.git) C# · 259 lines

4 // All other rights reserved.

5

6 using System;

7 using System.Collections.Generic;

8 using System.Diagnostics.CodeAnalysis;

9 using System.Globalization;

10 using System.Linq;

11 using Microsoft.Silverlight.Testing.Service;

ListProcessor.cs (https://bitbucket.org/unit6ru/templateengine.git) C# · 348 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Xml.Linq;

ActionTranslator.cs (https://gitlab.com/swak/UltimaXNA) C# · 323 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using UltimaXNA.Ultima.Data;

6 using UltimaXNA.Core.Diagnostics.Tracing;

7 using UltimaXNA.Ultima.World.Entities.Items.Containers;

8

9 namespace UltimaXNA.Ultima.World.Entities.Mobiles.Animations

OLP.Designer.cs (https://gitlab.com/daniel0422/timesheet) C# · 1203 lines

8 //------------------------------------------------------------------------------

9

10 using System;

11 using System.ComponentModel;

12 using System.Data.EntityClient;

13 using System.Data.Objects;

14 using System.Data.Objects.DataClasses;

15 using System.Linq;

16 using System.Runtime.Serialization;

17 using System.Xml.Serialization;

18

19 [assembly: EdmSchemaAttribute()]

TagManager.cs (https://github.com/robperson/AssessTrack.git) C# · 311 lines

1 using System;

2 using System.Data;

3 using System.Configuration;

4 using System.Linq;

5 using System.Web;

6 using System.Web.Security;

7 using System.Web.UI;

8 using System.Web.UI.HtmlControls;

9 using System.Web.UI.WebControls;

10 using System.Web.UI.WebControls.WebParts;

11 using System.Xml.Linq;

12 using System.Web.Mvc;

ObjectDef_Compliance.cs (https://github.com/wbinford/fubumvc.git) C# · 323 lines

1 using System.Collections.Generic;

2 using FubuMVC.Core.Registration.ObjectGraph;

3 using NUnit.Framework;

4 using FubuTestingSupport;

5 using System.Linq;

6

7 namespace FubuMVC.StructureMap.Testing.Compliance

FixAllContext.DiagnosticProvider.cs (https://gitlab.com/sharadag/Roslyn) C# · 212 lines

1 // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.

2

3 using System;

4 using System.Collections.Concurrent;

5 using System.Collections.Generic;

6 using System.Collections.Immutable;

7 using System.Linq;

8 using System.Threading;

9 using System.Threading.Tasks;

10 using Microsoft.CodeAnalysis.GeneratedCodeRecognition;

11 using Microsoft.CodeAnalysis.Internal.Log;

12 using Microsoft.CodeAnalysis.Shared.Utilities;

TraktSettings.cs (https://github.com/Thorsten1982/Trakt-for-Mediaportal.git) C# · 265 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Reflection;

5 using System.Text;

6 using MediaPortal.Profile;

7 using TraktPlugin.TraktAPI;

8 using TraktPlugin.TraktAPI.DataStructures;

180 {

181 TraktLogger.Info("Loading Settings");

182 using (Settings xmlreader = new MPSettings())

183 {

184 Username = xmlreader.GetValueAsString(cTrakt, cUsername, "");

MGraphic.cs (https://github.com/THROYAN/MagicLibrary.git) C# · 272 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.Drawing;

6

7 using MagicLibrary.MathUtils;

Translator.cs (https://github.com/diadacs/TekSuite.git) C# · 274 lines

8 using System;

9 using System.Linq;

10 using System.Linq.Expressions;

11 using System.Text;

12 using System.Reflection;

13 using Anito.Data;

14 using Anito.Data.Schema;

15 using Anito.Data.Common;

16

17 namespace Anito.Data.TekSuite

Mock.Openquant.API.cs (https://github.com/DrKoch/StingrayOQ.git) C# · 399 lines

1 using System;

2 using System.Collections;

3 using System.Collections.Generic;

4 using System.Linq;

5 using System.Text;

AssociatedMetadataTypeTypeDescriptionProviderTest.cs (https://github.com/kvervo/HorizontalLoopingSelector.git) C# · 237 lines

5

6 #if !SILVERLIGHT

7 using System.Linq;

8 using Microsoft.VisualStudio.TestTools.UnitTesting;

9 using Moq;

10

11 namespace System.ComponentModel.DataAnnotations.Test {

PagingTests.cs (https://github.com/RogerKratz/nhibernate-core.git) C# · 387 lines

9

10

11 using System.Linq;

12 using NHibernate.Cfg;

13 using NHibernate.Dialect;

14 using NUnit.Framework;

15 using NHibernate.Linq;

16

17 namespace NHibernate.Test.Linq

18 {

19 using System.Threading.Tasks;

20

21 [TestFixture]

BinaryPersistors.cs (https://github.com/ray2006/WCell.git) C# · 521 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.IO;

6 using System.Collections;

7 using WCell.Util.DB;

8

9 namespace WCell.Util.Data

MyText.cs (https://github.com/SchokoMousse/MVCExtensions.git) C# · 336 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text.RegularExpressions;

Program.cs (https://github.com/ChrisEdwards/IntroducingMongoDB.git) C# · 314 lines

2 using System.Collections.Generic;

3 using System.Linq;

4 using Norm;

5 using Norm.Collections;

6 using Norm.Linq;

43

44 QueryConditionalOperators( collection );

45 QueryConditionalOperatorsUsingLinq(orderQueryable);

46

47

92

93

94 private static void QueryConditionalOperatorsUsingLinq(MongoQuery<Order> orders)

95 {

96 Console.WriteLine("\n\n======= Query with Conditional Operators (Using Linq) =======");

RavenDB_9104.cs (https://github.com/fitzchak/ravendb.git) C# · 313 lines

1 using Raven.Client.Documents;

2 using Raven.Client.Documents.Indexes;

3 using System.Collections.Generic;

4 using System.Linq;

5 using System.Threading;

109 public async Task NullListAsync()

110 {

111 using (var store = GetDocumentStore())

112 {

113 await store.ExecuteIndexAsync(new BlogPostAll());

143 public async Task EmptyListAsync()

144 {

145 using (var store = GetDocumentStore())

146 {

147 await store.ExecuteIndexAsync(new BlogPostAll());

VisibleComponent.cs (https://github.com/trullock/MuonLab.Web.Xhtml.git) C# · 309 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using MuonLab.Commons.Extensions;

6 using MuonLab.Web.Xhtml.Properties;

RXfixture.cs (https://github.com/GunioRobot/InRetail.git) C# · 243 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Diagnostics;

4 using System.IO;

5 using System.Linq;

6 using System.Net;

7 using System.Threading;

8 using System.Threading.Tasks;

9 using InRetail.UiCore.Extensions;

10 using NUnit.Framework;

TypeParserTests.cs (https://github.com/gluck/cecil.git) C# · 394 lines

1 using System;

2 using System.Linq;

3

4 using NUnit.Framework;

OrdersAccess.cs (https://github.com/marvellouz/fmi_projects.git) C# · 285 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Web;

5 using System.Data;

6 using System.Data.Common;

Commands.cs (https://github.com/stolksdorf/taggy.git) C# · 296 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.IO;

6

7 namespace taggy

SessionsManager.cs (https://bitbucket.org/suwatch/svcodecampweb.git) C# · 204 lines

2 // class associated with it.

3 // C 3PLogic, Inc.

4 using System;

5 using System.Collections.Generic;

6 using System.Linq;

7 using System.ComponentModel;

8

9 using CodeCampSV;

10

11

TabControlTests.cs (https://gitlab.com/kush/Avalonia) C# · 332 lines

2 // Licensed under the MIT license. See licence.md file in the project root for full license information.

3

4 using System;

5 using System.Collections.ObjectModel;

6 using System.Linq;

7 using Avalonia.Controls.Presenters;

8 using Avalonia.Controls.Primitives;

9 using Avalonia.Controls.Templates;

10 using Avalonia.LogicalTree;

11 using Avalonia.Styling;

12 using Avalonia.UnitTests;

13 using Xunit;

MemberService.Tests.cs (https://github.com/kuangmarkeleven/GiveCRM.git) C# · 220 lines

1 using System.Collections.Generic;

2 using System.Linq;

3 using GiveCRM.Models;

4 using GiveCRM.Models.Search;

5 using GiveCRM.Web.Models.Search;

6 using NSubstitute;

7 using NUnit.Framework;

ExpenseTrackerRepository.cs (https://gitlab.com/arif2009/Building-and-Securing-a-RESTful-API-for-Multiple-Clients-in-ASP.NET) C# · 299 lines

1 using ExpenseTracker.Repository.Entities;

2 using System;

3 using System.Collections.Generic;

4 using System.Data.Entity;

5 using System.Data.Entity.Infrastructure;

6 using System.Linq;

7 using System.Text;

8 using System.Threading.Tasks;

9

10 namespace ExpenseTracker.Repository

28 // we serialize (b/c the serialization process accesses those properties).

29 //

30 // We don't want that, so we turn it off. We want to eagerly load them (using Include)

31 // manually.

32

CreateServerRequest.cs (https://gitlab.com/rekby-archive/onlyoffice-CommunityServer) C# · 166 lines

1 namespace net.openstack.Providers.Rackspace.Objects.Request

2 {

3 using System;

4 using System.Collections.Generic;

5 using System.Linq;

6 using net.openstack.Core.Domain;

7 using Newtonsoft.Json;

8

9 /// <summary>

OrganizeTypeDeclarationTests.cs (https://gitlab.com/sharadag/Roslyn) C# · 1129 lines

3 using System;

4 using System.Linq;

5 using System.Threading.Tasks;

6 using System.Xml.Linq;

7 using Microsoft.CodeAnalysis.Editor.Implementation.Interactive;

8 using Microsoft.CodeAnalysis.Editor.Implementation.Organizing;

9 using Microsoft.CodeAnalysis.Editor.UnitTests;

10 using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces;

11 using Microsoft.CodeAnalysis.Text;

12 using Microsoft.VisualStudio.Text.Operations;

13 using Roslyn.Test.Utilities;

FuzzyObject.cs (https://github.com/scottmccain/Fuzzy-Logic-Module.git) C# · 267 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Linq.Expressions;

5 using System.Reflection;

6 using FuzzyLib.Decorator;

7 using FuzzyLib.Infrastructure;

8 using FuzzyLib.Interfaces;

JsonSchemaTests.cs (https://github.com/ayoung/Newtonsoft.Json.git) C# · 426 lines

24 #endregion

25

26 using System;

27 using System.Collections.Generic;

28 using System.IO;

29 using System.Linq;

30 using System.Text;

31 using Newtonsoft.Json.Schema;

32 using NUnit.Framework;

EncogEGBFile.cs (https://github.com/encog/encog-silverlight-core.git) C# · 496 lines

27 //

28 // http://www.heatonresearch.com/copyright.html

29 using System;

30 using System.Collections.Generic;

31 using System.Linq;

32 using System.Text;

33 using System.IO;

34

35 namespace Encog.Neural.Data.Buffer

DateParametersComparedTo.cs (https://github.com/RogerKratz/nhibernate-core.git) C# · 295 lines

12 using System.Globalization;

13 using System.Linq;

14 using NHibernate.Linq;

15 using NUnit.Framework;

16

17 namespace NHibernate.Test.NHSpecificTest.NH3961

101 public async Task NonNullableMappedAsDateTimeShouldBeCultureAgnosticAsync()

102 {

103 using (ISession session = OpenSession())

104 using (session.BeginTransaction())

183 public async Task NullableMappedAsDateShouldBeCultureAgnosticAsync()

184 {

185 using (ISession session = OpenSession())

186 using (session.BeginTransaction())

DataManager.cs (https://bitbucket.org/kumarvvr/data-acquisition-systems.git) C# · 220 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using BHEL.PUMPSDAS.Datatypes;

5 using System.Data.Odbc;

6 using DasCoreUtilities;

cd_asignar.aspx.cs (https://gitlab.com/fcupen/CLIENT-MANAGEMENT) C# · 252 lines

1 using Clients_Management.Controller;

2 using Clients_Management.Model;

3 using System;

4 using System.Collections.Generic;

5 using System.Data;

6 using System.Linq;

7 using System.Web;

8 using System.Web.UI;

9 using System.Web.UI.WebControls;

InFlightTransactionalState.cs (https://github.com/jalchr/ravendb.git) C# · 305 lines

6 using System;

7 using System.Collections.Concurrent;

8 using System.Collections.Generic;

9 using System.Threading;

10 using Raven.Abstractions;

11 using Raven.Abstractions.Data;

12 using Raven.Abstractions.Exceptions;

13 using Raven.Abstractions.Extensions;

14 using Raven.Database.Storage;

15 using Raven.Database.Util;

16 using Raven.Json.Linq;

17 using System.Linq;

18

19 namespace Raven.Database.Impl

DynamicProxyMetaObject!1.cs (https://gitlab.com/gpo04174/ClosersCMFRepacker) C# · 298 lines

1 namespace Newtonsoft.Json.Utilities

2 {

3 using System;

4 using System.Collections.Generic;

5 using System.Dynamic;

6 using System.Linq;

7 using System.Linq.Expressions;

8 using System.Runtime.CompilerServices;

9 using System.Runtime.InteropServices;

Helpers.cs (https://github.com/DrKoch/StingrayOQ.git) C# · 317 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Data;

4 using System.Linq;

5 using System.Text;

6 using Krs.Ats.IBNet96;

7 using OpenQuant.API;

8 using IB = Krs.Ats.IBNet96;

9 using OQ = OpenQuant.API;

UserRepository.cs (https://gitlab.com/thanhhung95/managecourse) C# · 292 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Data;

4 using System.Data.SqlClient;

5 using System.Linq;

6

7 namespace Manager.DataLayer.Repositories

60 {

61

62 using (var conn = new SqlConnection(_connectionString))

63 {

64 MsSqlHelper.ExecuteScalar(conn, CommandType.StoredProcedure,

77 //}

78

79 //using (var conn = new SqlConnection(_connectionString))

80 //{

81 // MsSqlHelper.ExecuteNonQuery(conn, @"INSERT INTO User_History(AgencyId,UserId,CreatedTime,ActionType,StaffId) VALUES

EpisodeFileMovingService.cs (https://github.com/NzbDrone/NzbDrone.git) C# · 213 lines

1 using System;

2 using System.Collections.Generic;

3 using System.IO;

4 using System.Linq;

5 using NLog;

6 using NzbDrone.Common.Disk;

7 using NzbDrone.Common.EnsureThat;

8 using NzbDrone.Common.Extensions;

9 using NzbDrone.Core.Configuration;

10 using NzbDrone.Core.MediaFiles.Events;

11 using NzbDrone.Core.Messaging.Events;

12 using NzbDrone.Core.Organizer;

13 using NzbDrone.Core.Parser.Model;

QueryInstance.cs (https://quickmon.svn.codeplex.com/svn) C# · 281 lines

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.Data;

6 using System.Data.SqlClient;

125 try

126 {

127 using (SqlCommand cmnd = new SqlCommand(SummaryQuery, conn))

128 {

129 cmnd.CommandType = UseSPForSummary ? CommandType.StoredProcedure : CommandType.Text;

152 try

153 {

154 using (SqlCommand cmnd = new SqlCommand(SummaryQuery, conn))

155 {

156 cmnd.CommandType = UseSPForSummary ? CommandType.StoredProcedure : CommandType.Text;

Utility.cs (https://github.com/balaji/Cricketers.git) C# · 240 lines

1 using System.Data.Linq;

2 using Newtonsoft.Json;

3 using RestSharp;

4 using Cricketers.Database;

5 using Helper.Data;

6 using System.Windows.Controls;

7 using System.Windows;

8 using System.Linq;

9

10 namespace Cricketers.Data

Generated.cs (https://github.com/iSynaptic/iSynaptic.Core.git) C# · 375 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using iSynaptic.Commons;

6 namespace iSynaptic.CodeGeneration.Modeling.AbstractSyntaxTree

7 {

8 using SyntacticModel;

9

10 public static class Syntax

TwentyOne [backup].cs (https://bitbucket.org/critnal/csharp.git) C# · 407 lines

1 using System;

2 using System.Collections;

3 using System.Linq;

4 using System.Text;

5 using System.Diagnostics;

6

7

Stck.cs (https://github.com/louthy/language-ext.git) C# · 314 lines

1 using System;

2 using System.Collections;

3 using System.Collections.Generic;

4 using System.Diagnostics.Contracts;

5 using System.Linq;

6 using System.Runtime.CompilerServices;

7 using LanguageExt.ClassInstances;

8 using static LanguageExt.Prelude;

ConversorValor.cs (https://brasilframework.svn.codeplex.com/svn) C# · 326 lines

1 using System;

2 using System.Globalization;

3 using System.Linq;

4 using System.Reflection;

5 using System.Windows;

6 using System.Windows.Data;

7 using System.Windows.Media;

8

9 namespace BrasilFramework.Controle.Silverlight.Conversores

NavigationToolbar.xaml.cs (https://silverlightbrowser.svn.codeplex.com/svn) C# · 336 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Net;

5 using System.Windows;

6 using System.Windows.Controls;

7 using System.Windows.Documents;

8 using System.Windows.Input;

9 using System.Windows.Media;

10 using System.Windows.Media.Animation;

11 using System.Windows.Shapes;

12

13 using Silverlight.Navigation.Favorites;

GenericSQLServerDAL.cs (https://quickmon.svn.codeplex.com/svn) C# · 325 lines

3 using System.Data;

4 using System.Data.SqlClient;

5 using System.Diagnostics;

6 using System.Linq;

7 using System.Text;

187 {

188 conn.Open();

189 using (SqlCommand cmnd = new SqlCommand(sql, conn))

190 {

191 cmnd.CommandTimeout = commandTimeout;

235 if (parms != null)

236 cmnd.Parameters.AddRange(parms);

237 using (SqlDataAdapter da = new SqlDataAdapter(cmnd))

238 {

239 da.Fill(returnDS);

Ctrl_Proyecto.cs (https://inventariohardsoft.svn.codeplex.com/svn) C# · 277 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using Inventario_HardSoft.ADO;

6 using System.Windows.Forms;

7 using System.Data;

8

9 namespace Inventario_HardSoft.Controlador

RDoc_56.cs (https://github.com/fitzchak/ravendb.git) C# · 236 lines

7 using System.Collections.Generic;

8 using System.Linq;

9 using FastTests;

10 using Raven.Client.Documents;

11 using Raven.Client.Documents.Indexes;

12 using Raven.Client.Documents.Queries;

13 using Xunit;

160 public void IndexesShouldGetCreated()

161 {

162 using (var store = GetDocumentStore())

163 {

164 var array = new RecurseIndexWithArray();

200 post.CommentsSet = commentsSet1;

201

202 using (var session = store.OpenSession())

203 {

204 session.Store(post);

RouteCacher.cs (https://github.com/fitzchak/ravendb.git) C# · 216 lines

4 // </copyright>

5 // -----------------------------------------------------------------------

6 using System;

7 using System.Collections.Generic;

8 using System.Linq;

9 using System.Reflection;

10 using System.Web.Http;

11 using System.Web.Http.Controllers;

12 using System.Web.Http.Routing;

13

14 namespace Raven.Database.Server.WebApi

EnumBuilder.Methods.Tests.cs (https://github.com/dotnet/runtime.git) C# · 245 lines

4 using System.Collections.Generic;

5 using System.Linq;

6 using Xunit;

JoinTests.cs (https://github.com/nhibernate/nhibernate-core.git) C# · 307 lines

1 using System.Linq;

2 using NHibernate.Linq;

3 using NHibernate.Util;

4 using NSubstitute;

5 using NUnit.Framework;

6

7 namespace NHibernate.Test.Linq.ByMethod

13 public void MultipleLinqJoinsWithSameProjectionNames()

14 {

15 using (var sqlSpy = new SqlLogSpy())

16 {

17 var orders = db.Orders

32 public void MultipleLinqJoinsWithSameProjectionNamesWithLeftJoin()

33 {

34 using (var sqlSpy = new SqlLogSpy())

35 {

36 var orders = db.Orders

VersionInspectorMapsToVersionMapping.cs (https://github.com/jcmoinet/fluent-nhibernate.git) C# · 379 lines

1 using System;

2 using System.Linq;

3 using System.Linq.Expressions;

4 using System.Reflection;

5 using FluentNHibernate.Conventions;

6 using FluentNHibernate.Conventions.Inspections;

7 using FluentNHibernate.Mapping;

8 using FluentNHibernate.MappingModel;

9 using FluentNHibernate.Utils.Reflection;

10 using NUnit.Framework;

11

12 namespace FluentNHibernate.Testing.ConventionsTests.Inspection

CodeFixContext.cs (https://github.com/dotnet/roslyn.git) C# · 258 lines

5 #nullable enable

6

7 using System;

8 using System.Collections.Generic;

9 using System.Collections.Immutable;

10 using System.Linq;

11 using System.Threading;

12 using Microsoft.CodeAnalysis.CodeActions;

13 using Microsoft.CodeAnalysis.Text;

EmailNotification.cs (https://github.com/tidusjar/Ombi.git) C# · 299 lines

1 using System;

2 using System.Linq;

3 using System.Threading.Tasks;

4 using MailKit.Net.Smtp;

5 using Microsoft.AspNetCore.Identity;

6 using Microsoft.EntityFrameworkCore;

7 using Microsoft.Extensions.Logging;

8 using MimeKit;

9 using Ombi.Core.Settings;

10 using Ombi.Helpers;

11 using Ombi.Notifications.Models;

12 using Ombi.Notifications.Templates;

BindableLayoutTests.cs (https://github.com/xamarin/Xamarin.Forms.git) C# · 429 lines

1 using NUnit.Framework;

2 using System;

3 using System.Collections;

4 using System.Collections.Generic;

5 using System.Collections.ObjectModel;

6 using System.Collections.Specialized;

7 using System.ComponentModel;

8 using System.Linq;

9

10 namespace Xamarin.Forms.Core.UnitTests

272

273 [Test]

274 public void ThrowsExceptionOnUsingDataTemplateSelectorForItemTemplate()

275 {

276 var layout = new StackLayout

ConstraintServices.cs (https://github.com/iainlane/mono.git) C# · 214 lines

2 // Copyright (c) Microsoft Corporation. All rights reserved.

3 // -----------------------------------------------------------------------

4 using System;

5 using System.Collections.Generic;

6 using System.ComponentModel.Composition.Hosting;

7 using System.ComponentModel.Composition.Primitives;

8 using System.Linq;

9 using System.Linq.Expressions;

10 using System.Reflection;

11 using Microsoft.Internal;

ExcelFile.cs (https://bitbucket.org/kumarvvr/data-acquisition-systems.git) C# · 332 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using Excel = Microsoft.Office.Interop.Excel;

6 using System.Diagnostics;

NoteDetector.cs (https://gitlab.com/banana-beats/banana-beats) C# · 245 lines

1 using UnityEngine;

2 using System;

3 using System.Collections;

4 using System.Collections.Generic;

5 using System.Linq;

6

7 namespace BMS {

AlphaBeta - Copy (6).cs (https://bitbucket.org/KuroKaze/russian-checkers.git) C# · 220 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4

5 using Microsoft.Xna.Framework;

6 using Microsoft.Xna.Framework.Graphics;

7 using Microsoft.Xna.Framework.Input;

NomadKernelEventRaising.cs (https://github.com/psla/Nomad.git) C# · 216 lines

1 using System;

2 using System.IO;

3 using System.Linq;

4 using Nomad.Core;

5 using Nomad.Exceptions;

6 using Nomad.KeysGenerator;

7 using Nomad.Messages;

8 using Nomad.Messages.Loading;

9 using Nomad.Modules;

10 using Nomad.Modules.Discovery;

11 using Nomad.Tests.FunctionalTests.Fixtures;

12 using Nomad.Tests.FunctionalTests.Modules;

HasManyConventionTests.cs (https://github.com/elfrostie/fluent-nhibernate.git) C# · 293 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Linq.Expressions;

5 using FluentNHibernate.Automapping.TestFixtures;

6 using FluentNHibernate.Conventions.Helpers.Builders;

7 using FluentNHibernate.Conventions.Instances;

8 using FluentNHibernate.Mapping;

9 using FluentNHibernate.MappingModel;

10 using FluentNHibernate.MappingModel.Collections;

11 using FluentNHibernate.Testing.FluentInterfaceTests;

12 using NUnit.Framework;

ExpressionTest_Lambda.cs (https://github.com/QuickJack/mono.git) C# · 285 lines

22 //

23

24 using System;

25 using System.Reflection;

26 using System.Linq;

27 using System.Linq.Expressions;

28 using NUnit.Framework;

29

30 namespace MonoTests.System.Linq.Expressions

219 [Test]

220 [Category ("NotWorking")]

221 public void LambdaPassedAsDelegateUsingParentParameter ()

222 {

223 var a = Expression.Parameter (typeof (int), "a");

RouteCollectionExtensionsTest.cs (https://bitbucket.org/mdavid/aspnetwebstack.git) C# · 388 lines

1 using System.Linq;

2 using System.Web.Routing;

3 using Moq;

4 using Xunit;

5 using Assert = Microsoft.TestCommon.AssertEx;

6

7 namespace System.Web.Mvc.Test

IndexMerging.cs (https://github.com/fitzchak/ravendb.git) C# · 340 lines

1 using System.Collections.Generic;

2 using System.Linq;

3 using FastTests;

4 using Raven.Client.Documents.Indexes;

5 using Raven.Client.Documents.Operations.Indexes;

6 using Raven.Server.Documents.Indexes.IndexMerging;

7 using Xunit;

147 public void IndexMergeWithField()

148 {

149 using (var store = GetDocumentStore())

150 {

151 new UsersByName().Execute(store);

256 public void IndexMergeWithQueryExpressionSyntax()

257 {

258 using (var store = GetDocumentStore())

259 {

260 var byName = new IndexDefinition

MainForm.cs (http://libwp7n2012.googlecode.com/svn/trunk/) C# · 388 lines

1 using System;

2 using System.Drawing;

3 using System.Windows.Forms;

4 using System.Collections;

5 using System.Linq;

6

7 namespace UMAListView

BehaviorChain.cs (https://github.com/hartez/fubumvc.git) C# · 318 lines

1 using System;

2 using System.Collections;

3 using System.Collections.Generic;

4 using System.Diagnostics;

5 using System.Linq;

6 using System.Linq.Expressions;

7 using FubuCore;

8 using FubuMVC.Core.Behaviors;

9 using FubuMVC.Core.Diagnostics.Tracing;

10 using FubuMVC.Core.Registration.ObjectGraph;

11 using FubuMVC.Core.Registration.Routes;

12 using FubuMVC.Core.Security;

RavenDB_784.cs (https://github.com/fitzchak/ravendb.git) C# · 260 lines

1 using System.Threading;

2 using Raven.Abstractions.Data;

3 using Raven.Tests.Common;

4

5 namespace Raven.Tests.Issues

7 using System.Collections.Generic;

8 using System.Linq;

9 using Database.Storage;

10 using Raven.Json.Linq;

11 using Xunit;

12 using Xunit.Extensions;

13

14 public class RavenDB_784 : RavenTest

EditableIDList.cs (https://github.com/woeishi/vvvv-sdk.git) C# · 436 lines

1 using System;

2 using System.Linq;

3 using System.Text;

4

5 using VVVV.Core;

6 using VVVV.Core.Model;

7 using System.Collections.Generic;

8

9 namespace VVVV.Core.Collections

PermissionCheckerExtensions.cs (https://gitlab.com/chenzhuo/abpMirror) C# · 267 lines

1 using System;

2 using System.Linq;

3 using System.Threading.Tasks;

4 using Abp.Collections.Extensions;

5 using Abp.Dependency;

6 using Abp.Localization;

7 using Abp.Threading;

236

237 var iocManager = (permissionChecker as IIocManagerAccessor).IocManager;

238 using (var localizationManager = iocManager.ResolveAsDisposable<ILocalizationManager>())

239 {

240 return localizationManager.Object.GetString(AbpConsts.LocalizationSourceName, name);

250

251 var iocManager = (permissionChecker as IIocManagerAccessor).IocManager;

252 using (var localizationContext = iocManager.ResolveAsDisposable<ILocalizationContext>())

253 {

254 using (var permissionManager = iocManager.ResolveAsDisposable<IPermissionManager>())

ItemsBySetIdIndexTests.cs (https://github.com/jalchr/ravendb.git) C# · 193 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Linq.Expressions;

5 using Raven.Abstractions.Indexing;

6 using Raven.Client.Indexes;

7 using Raven.Tests.Helpers;

8 using Xunit;

15 public void CanQuery()

16 {

17 using (var store = NewDocumentStore())

18 {

19 new ItemsBySetIdIndex().Execute(store);

ICoreAmazonS3.cs (https://gitlab.com/github-cloud-corp/aws-sdk-unity) C# · 286 lines

17 // limitations under the License.

18 //

19 using System;

20 using System.Collections.Generic;

21 using System.IO;

22 using System.Linq;

23 using System.Text;

24 using System.Threading;

25 #if AWS_ASYNC_API

26 using System.Threading.Tasks;

PipelineModelBuilderTests.cs (https://github.com/MikeEast/NServiceBus.git) C# · 306 lines

1 namespace NServiceBus.Core.Tests.Pipeline

2 {

3 using System;

4 using System.Collections.Generic;

5 using System.Linq;

6 using System.Threading.Tasks;

7 using NServiceBus.Pipeline;

8 using NUnit.Framework;

CollectionSerializers.cs (https://github.com/tadmarshall/mongo-csharp-driver.git) C# · 292 lines

14 */

15

16 using System;

17 using System.Collections;

18 using System.Collections.Generic;

19 using System.Linq;

20 using System.Text;

21 using System.IO;

22

23 using MongoDB.Bson.IO;

24 using MongoDB.Bson.Serialization;

25

26 namespace MongoDB.Bson.Serialization.Serializers {

ExpressionBridge.cs (https://github.com/ngbrown/AutoMapper.git) C# · 310 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq.Expressions;

4 using Should;

5 using Xunit;

6 using System.Linq;

7

8 namespace AutoMapper.UnitTests

10 namespace ExpressionBridge

11 {

12 using QueryableExtensions;

13

14 public class SimpleProductDto

96 public int BillOfMaterialsID { set; get; }

97 }

98 public class When_mapping_using_expressions : NonValidatingSpecBase

99 {

100 private List<Product> _products;

PackageSourcesWidget.cs (https://github.com/directhex/monodevelop.git) C# · 292 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Collections.Specialized;

4 using System.Linq;

5

6 using Gtk;

7 using MonoDevelop.PackageManagement;

8 using MonoDevelop.Core;

9 using MonoDevelop.Components;

10 using MonoDevelop.Components.AutoTest;

11 using System.ComponentModel;

12

13 namespace MonoDevelop.PackageManagement

PublicIPTests.cs (https://gitlab.com/rekby-archive/onlyoffice-CommunityServer) C# · 312 lines

1 using System;

2 using System.Linq;

3 using System.Net;

4 using Newtonsoft.Json.Linq;

5 using Rackspace.Synchronous;

74 public void GetPublicIP()

75 {

76 using (var httpTest = new HttpTest())

77 {

78 Identifier id = Guid.NewGuid();

110 public void CreatePublicIP_RetriesWhenTheServerIsNotFound()

111 {

112 using (var httpTest = new HttpTest())

113 {

114 string serverId = Guid.NewGuid().ToString();

BoundingBox.cs (https://github.com/ray2006/WCell.git) C# · 433 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using System.Runtime.InteropServices;

6

7 namespace WCell.Util.Graphics

Count_Sum_Min_Max_Avg.cs (https://github.com/ccflo/mono.git) C# · 271 lines

1 using System;

2 using System.Collections.Generic;

3 using System.Linq;

4 using System.Text;

5 using NUnit.Framework;

6 using Test_NUnit;

7

8 using nwind;

9

10 // test ns Linq_101_Samples

ExpressionOptimizer.cs (https://github.com/ccflo/mono.git) C# · 237 lines

27 using System;

28 using System.Linq;

29 using System.Linq.Expressions;

30

31 using DbLinq.Data.Linq.Sugar;

32 using DbLinq.Data.Linq.Sugar.ExpressionMutator;

33 using DbLinq.Data.Linq.Sugar.Expressions;

34

35 namespace DbLinq.Data.Linq.Sugar.Implementation

RepositorySample.cs (https://github.com/dotnetcore/Util.git) C# · 315 lines

1 using System;

2 using System.Collections.Generic;

3 using System.ComponentModel;

4 using System.ComponentModel.DataAnnotations;

5 using System.Linq;

6 using System.Linq.Expressions;

7 using System.Threading;

8 using System.Threading.Tasks;

9 using AutoMapper;

10 using Util.Domains;

11 using Util.Domains.Repositories;

12

13 namespace Util.Tests.Samples {