PageRenderTime 19ms queryTime 131ms sortTime 241ms getByIdsTime 38ms findMatchingLines 25ms

100+ results results for 'foreach lang:c#' (19 ms)

Not the results you expected?
PageEdit.aspx.cs https://bitbucket.org/kudutest2/kenticogit.git | C# | 400 lines
                    
135                    {
                    
136                        foreach (string file in Directory.GetFiles(directory, "*.css"))
                    
137                        {
                    
                
BlogFunctions.cs https://bitbucket.org/kudutest2/kenticogit.git | C# | 215 lines
                    
198            Array.Sort(tagsArr);
                    
199            foreach (string tag in tagsArr)
                    
200            {
                    
                
ServiceController.cs https://github.com/bluetentacle/ServiceStack.git | C# | 370 lines
                    
69		{
                    
70			foreach (var serviceType in ResolveServicesFn())
                    
71			{
                    
73
                    
74				foreach (var service in serviceType.GetInterfaces())
                    
75				{
                    
110			var attrs = requestType.GetCustomAttributes(typeof(RestServiceAttribute), true);
                    
111			foreach (RestServiceAttribute attr in attrs)
                    
112			{
                    
134		{
                    
135			foreach (var restPath in this.routes.RestPaths)
                    
136			{
                    
147			var yieldedHashMatches = RestPath.GetFirstMatchHashKeys(matchUsingPathParts);
                    
148			foreach (var potentialHashMatch in yieldedHashMatches)
                    
149			{
                    
                
HttpListenerWebSocketContext.cs https://gitlab.com/OriumVR/websocket-sharp | C# | 331 lines
                    
228        if (protocols != null)
                    
229          foreach (var protocol in protocols.Split (','))
                    
230            yield return protocol.Trim ();
                    
                
BindingEntityInfo.cs https://github.com/iainlane/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
Helper.cs https://github.com/UbitUmarov/Ubit-opensim.git | C# | 575 lines
                    
141			}
                    
142			foreach(string substring in strings) 
                    
143			{
                    
397            
                    
398            //foreach(char c in Path.GetInvalidPathChars())
                    
399            //{
                    
422
                    
423            //foreach (char c in Path.GetInvalidPathChars())
                    
424            //{
                    
439
                    
440            //foreach (char c in Path.GetInvalidPathChars())
                    
441            //{
                    
                
PageEdit.aspx.cs https://bitbucket.org/kudutest/kenticogit.git | C# | 400 lines
                    
135                    {
                    
136                        foreach (string file in Directory.GetFiles(directory, "*.css"))
                    
137                        {
                    
                
soapsuds.cs https://github.com/hollow87/mono.git | C# | 332 lines
                    
80				assembly = Assembly.LoadFile (inputAssembly);
                    
81				foreach (Type t in assembly.GetTypes ())
                    
82					types.Add (new ServiceType (t, serviceEndpoint));
                    
87				string[] ts = inputTypes.Split (';');
                    
88				foreach (string type in ts)
                    
89				{
                    
162					MetaData.ConvertCodeSourceStreamToAssemblyFile (writtenFiles, outputAssembly, strongNameFile);
                    
163					foreach (string file in writtenFiles)
                    
164						File.Delete (file);
                    
169			
                    
170			foreach (string fn in writtenFiles)
                    
171				Console.WriteLine ("Written file " + fn);
                    
234		
                    
235		foreach (string arg in args)
                    
236		{
                    
                
man-provider.cs https://github.com/hollow87/mono.git | C# | 408 lines
                    
34	{
                    
35		foreach(string TocFile in tocFiles) {
                    
36
                    
42
                    
43			foreach(XmlNode node in nodeList) {
                    
44
                    
91			buf.Append ("<p>Available man pages:</p>").Append ("<blockquote>");
                    
92			foreach (Node n in Tree.Nodes) {
                    
93				buf.Append ("<a href=\"").Append (n.Element).Append ("\">")
                    
                
System_Deployment.aspx.cs https://bitbucket.org/kudutest2/kenticogit.git | C# | 244 lines
                    
38            {
                    
39                foreach (DataRow dr in ds.Tables[0].Rows)
                    
40                {
                    
55            {
                    
56                foreach (DataRow dr in ds.Tables[0].Rows)
                    
57                {
                    
72            {
                    
73                foreach (DataRow dr in ds.Tables[0].Rows)
                    
74                {
                    
97            {
                    
98                foreach (DataRow dr in ds.Tables[0].Rows)
                    
99                {
                    
134            {
                    
135                foreach (DataRow dr in ds.Tables[0].Rows)
                    
136                {
                    
                
DefaultControllerFactory.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 294 lines
                    
88            StringBuilder typeList = new StringBuilder();
                    
89            foreach (Type matchedType in matchingTypes)
                    
90            {
                    
                
HttpStatusLineParserTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 285 lines
                    
136        {
                    
137            foreach (HttpStatusCode status in HttpUnitTestDataSets.AllHttpStatusCodes)
                    
138            {
                    
160        {
                    
161            foreach (HttpStatusCode status in HttpUnitTestDataSets.CustomHttpStatusCodes)
                    
162            {
                    
184        {
                    
185            foreach (string invalidStatus in ParserData.InvalidStatusCodes)
                    
186            {
                    
                
CmdCtf.cs https://github.com/cazzar/MCaznowl-Lava.git | C# | 318 lines
                    
174                    }
                    
175                    foreach (Team t in storedT)
                    
176                    {
                    
248            {
                    
249                foreach (Team team in p.level.ctfgame.teams)
                    
250                {
                    
257            {
                    
258                foreach (Team team in p.level.ctfgame.teams)
                    
259                {
                    
259                {
                    
260                    foreach (Player player in team.players)
                    
261                    {
                    
277            string playerlist = "";
                    
278            foreach (Player player in workTeam.players)
                    
279            {
                    
                
CmdCtf.cs https://github.com/cazzar/MCaznowl-Zombie.git | C# | 318 lines
                    
174                    }
                    
175                    foreach (Team t in storedT)
                    
176                    {
                    
248            {
                    
249                foreach (Team team in p.level.ctfgame.teams)
                    
250                {
                    
257            {
                    
258                foreach (Team team in p.level.ctfgame.teams)
                    
259                {
                    
259                {
                    
260                    foreach (Player player in team.players)
                    
261                    {
                    
277            string playerlist = "";
                    
278            foreach (Player player in workTeam.players)
                    
279            {
                    
                
PlaylistContainer.cs https://github.com/Cyphor/libspotify-sharp.git | C# | 425 lines
                    
386					
                    
387					foreach(Playlist p in playlists.ToArray())
                    
388					{
                    
                
DotTreeGenerator.cs https://gitlab.com/essere.lab.public/qualitas.class-corpus | C# | 216 lines
                    
97            StringBuilder builder = new StringBuilder();
                    
98            foreach ( string line in HeaderLines )
                    
99                builder.AppendLine( line );
                    
105
                    
106            foreach ( var s in nodes )
                    
107                builder.AppendLine( s );
                    
110
                    
111            foreach ( var s in edges )
                    
112                builder.AppendLine( s );
                    
144                yield return GetNodeText( adaptor, child );
                    
145                foreach ( var t in DefineNodes( child, adaptor ) )
                    
146                    yield return t;
                    
172                yield return string.Format( EdgeFormat, parentName, childName, FixString( parentText ), FixString( childText ) );
                    
173                foreach ( var t in DefineEdges( child, adaptor ) )
                    
174                    yield return t;
                    
                
AsyncCommandManager.cs https://github.com/UbitUmarov/Ubit-opensim.git | C# | 338 lines
                    
201
                    
202            foreach (IScriptEngine s in m_ScriptEngines)
                    
203            {
                    
                
DomCecilCompilationUnit.cs https://github.com/jfcantin/monodevelop.git | C# | 292 lines
                    
86		
                    
87			foreach (ModuleDefinition moduleDefinition in assemblyDefinition.Modules) {
                    
88				AddModuleDefinition (moduleDefinition, loadInternals, instantiateTypeParameter);
                    
89			}
                    
90			foreach (CustomAttribute attr in assemblyDefinition.CustomAttributes) {
                    
91				Add (new DomCecilAttribute (attr));
                    
147				// need to handle different file extension casings. Some dlls from windows tend to end with .Dll or .DLL rather than '.dll'
                    
148				foreach (string file in Directory.GetFiles (lookupPath, name.Name + ".*")) {
                    
149					string ext = Path.GetExtension (file);
                    
208			Module module = new Module (moduleDefinition);
                    
209			foreach (TypeDefinition type in moduleDefinition.Types) {
                    
210				if (!loadInternal && IsInternal (DomCecilType.GetModifiers (type.Attributes)))
                    
240			{
                    
241				foreach (TypeParameter p in type.TypeParameters)
                    
242					argTypes[p.Name] = type;
                    
                
CompoundFileWriter.cs https://bitbucket.org/jmblair/lucene.net.git | C# | 275 lines
                    
172                long totalSize = 0;
                    
173                foreach (FileEntry fe in entries)
                    
174                {
                    
192                var buffer = new byte[16384];
                    
193                foreach (FileEntry fe in entries)
                    
194                {
                    
199                // Write the data offsets into the directory of the compound stream
                    
200                foreach (FileEntry fe in entries)
                    
201                {
                    
                
LocalInventoryServiceConnector.cs https://github.com/UbitUmarov/Ubit-opensim.git | C# | 329 lines
                    
195                {
                    
196                    foreach (InventoryItemBase item in items)
                    
197                        UserManager.AddUser(item.CreatorIdAsUuid, item.CreatorData);
                    
                
ConvertConstructorCallIntoInitializer.cs https://github.com/siegfriedpammer/ILSpy.git | C# | 183 lines
                    
123					if (allSame) {
                    
124						foreach (var ctor in instanceCtorsNotChainingWithThis)
                    
125							ctor.Body.First().Remove();
                    
                
ProteinDataBankFile.cs https://github.com/AnthonyNystrom/NuGenBioChemDX.git | C# | 241 lines
                    
101        {
                    
102            foreach (string pdbLine in pdbLines)
                    
103            {
                    
                
ProteinDataBankFile.cs https://github.com/AnthonyNystrom/NuGenBioChem.git | C# | 241 lines
                    
101        {
                    
102            foreach (string pdbLine in pdbLines)
                    
103            {
                    
                
NonReflectiveBinderFixture.cs https://github.com/whut/nhibernate-core.git | C# | 198 lines
                    
51
                    
52			foreach (var element in cm.PropertyIterator)
                    
53			{
                    
                
BindingEntityInfo.cs https://github.com/QuickJack/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
BlogFunctions.cs https://bitbucket.org/kudutest/kenticogit.git | C# | 215 lines
                    
198            Array.Sort(tagsArr);
                    
199            foreach (string tag in tagsArr)
                    
200            {
                    
                
FilesystemBookmarkFunction.cs https://bitbucket.org/henderea/popupmultibox.git | C# | 318 lines
                    
56            List<ResultItem> ritms = new List<ResultItem>(0);
                    
57            foreach (BookmarkItem itm in itms)
                    
58            {
                    
269                string name2 = name.ToLower();
                    
270                foreach (BookmarkItem itm in items)
                    
271                {
                    
306                items.Clear();
                    
307                foreach (string line in lines)
                    
308                {
                    
                
soapsuds.cs https://github.com/iainlane/mono.git | C# | 332 lines
                    
80				assembly = Assembly.LoadFile (inputAssembly);
                    
81				foreach (Type t in assembly.GetTypes ())
                    
82					types.Add (new ServiceType (t, serviceEndpoint));
                    
87				string[] ts = inputTypes.Split (';');
                    
88				foreach (string type in ts)
                    
89				{
                    
162					MetaData.ConvertCodeSourceStreamToAssemblyFile (writtenFiles, outputAssembly, strongNameFile);
                    
163					foreach (string file in writtenFiles)
                    
164						File.Delete (file);
                    
169			
                    
170			foreach (string fn in writtenFiles)
                    
171				Console.WriteLine ("Written file " + fn);
                    
234		
                    
235		foreach (string arg in args)
                    
236		{
                    
                
man-provider.cs https://github.com/iainlane/mono.git | C# | 408 lines
                    
34	{
                    
35		foreach(string TocFile in tocFiles) {
                    
36
                    
42
                    
43			foreach(XmlNode node in nodeList) {
                    
44
                    
91			buf.Append ("<p>Available man pages:</p>").Append ("<blockquote>");
                    
92			foreach (Node n in Tree.Nodes) {
                    
93				buf.Append ("<a href=\"").Append (n.Element).Append ("\">")
                    
                
CmdCtf.cs https://github.com/WanX/MCaznowl-Build.git | C# | 318 lines
                    
174                    }
                    
175                    foreach (Team t in storedT)
                    
176                    {
                    
248            {
                    
249                foreach (Team team in p.level.ctfgame.teams)
                    
250                {
                    
257            {
                    
258                foreach (Team team in p.level.ctfgame.teams)
                    
259                {
                    
259                {
                    
260                    foreach (Player player in team.players)
                    
261                    {
                    
277            string playerlist = "";
                    
278            foreach (Player player in workTeam.players)
                    
279            {
                    
                
AssetServiceConnector.cs https://github.com/UbitUmarov/Ubit-opensim.git | C# | 332 lines
                    
224                            }
                    
225                            foreach(AssetRetrievedEx h in handlers)
                    
226                                h.Invoke(a);
                    
                
HttpUri.cs https://github.com/NzbDrone/NzbDrone.git | C# | 270 lines
                    
111                    {
                    
112                        foreach (var pair in Query.Split('&'))
                    
113                        {
                    
196
                    
197            foreach (var pair in queryParams)
                    
198            {
                    
                
BindingEntityInfo.cs https://github.com/gimlism/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
CodeReader.cs https://github.com/hollow87/mono.git | C# | 357 lines
                    
224			// resolve branches
                    
225			foreach (Instruction i in code) {
                    
226				switch (i.OpCode.OperandType) {
                    
                
BaseAssemblyResolver.cs https://github.com/gluck/cecil.git | C# | 352 lines
                    
176			var extensions = new [] { ".exe", ".dll" };
                    
177			foreach (var directory in directories) {
                    
178				foreach (var extension in extensions) {
                    
271			var prefixes = gac_paths_env.Split (Path.PathSeparator);
                    
272			foreach (var prefix in prefixes) {
                    
273				if (string.IsNullOrEmpty (prefix))
                    
                
BezierCurve.cs https://github.com/White-Wolf/Minesharp.git | C# | 262 lines
                    
208
                    
209            foreach (Vector2 pt in points)
                    
210            {
                    
244
                    
245            foreach (Vector2 pt in points)
                    
246            {
                    
                
DotTreeGenerator.cs https://bitbucket.org/rlyspn/androidrr.git | C# | 216 lines
                    
97            StringBuilder builder = new StringBuilder();
                    
98            foreach ( string line in HeaderLines )
                    
99                builder.AppendLine( line );
                    
105
                    
106            foreach ( var s in nodes )
                    
107                builder.AppendLine( s );
                    
110
                    
111            foreach ( var s in edges )
                    
112                builder.AppendLine( s );
                    
144                yield return GetNodeText( adaptor, child );
                    
145                foreach ( var t in DefineNodes( child, adaptor ) )
                    
146                    yield return t;
                    
172                yield return string.Format( EdgeFormat, parentName, childName, FixString( parentText ), FixString( childText ) );
                    
173                foreach ( var t in DefineEdges( child, adaptor ) )
                    
174                    yield return t;
                    
                
ValueProviderDictionary.cs https://github.com/iainlane/mono.git | C# | 208 lines
                    
133                string[] keys = form.AllKeys;
                    
134                foreach (string key in keys) {
                    
135                    string[] rawValue = form.GetValues(key);
                    
143            if (routeValues != null) {
                    
144                foreach (var kvp in routeValues) {
                    
145                    string key = kvp.Key;
                    
155                string[] keys = queryString.AllKeys;
                    
156                foreach (string key in keys) {
                    
157                    string[] rawValue = queryString.GetValues(key);
                    
                
BindingEntityInfo.cs https://github.com/ccflo/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
ReflectionCache.cs https://bitbucket.org/mdavid/dlr.git | C# | 203 lines
                    
193                int res = 6551;
                    
194                foreach (MemberInfo mi in _members) {
                    
195                    res ^= res << 5 ^ mi.DeclaringType.GetHashCode() ^ mi.MetadataToken;
                    
                
Comprehension.cs https://bitbucket.org/mdavid/dlr.git | C# | 256 lines
                    
124                if (_iterators != null) {
                    
125                    foreach (ComprehensionIterator ci in _iterators) {
                    
126                        ci.Walk(walker);
                    
181                if (_iterators != null) {
                    
182                    foreach (ComprehensionIterator ci in _iterators) {
                    
183                        ci.Walk(walker);
                    
247                if (_iterators != null) {
                    
248                    foreach (ComprehensionIterator ci in _iterators) {
                    
249                        ci.Walk(walker);
                    
                
System_Deployment.aspx.cs https://bitbucket.org/kudutest/kenticogit.git | C# | 244 lines
                    
38            {
                    
39                foreach (DataRow dr in ds.Tables[0].Rows)
                    
40                {
                    
55            {
                    
56                foreach (DataRow dr in ds.Tables[0].Rows)
                    
57                {
                    
72            {
                    
73                foreach (DataRow dr in ds.Tables[0].Rows)
                    
74                {
                    
97            {
                    
98                foreach (DataRow dr in ds.Tables[0].Rows)
                    
99                {
                    
134            {
                    
135                foreach (DataRow dr in ds.Tables[0].Rows)
                    
136                {
                    
                
MergeManager.cs https://github.com/iainlane/mono.git | C# | 406 lines
                    
45
                    
46			foreach (DataTable t in sourceSet.Tables)
                    
47				MergeManager.Merge(targetSet, t, preserveChanges, missingSchemaAction);
                    
167
                    
168			foreach(DataTable sourceTable in sourceSet.Tables) {
                    
169
                    
173
                    
174				foreach (Constraint constraint in sourceTable.Constraints) {
                    
175
                    
200					bool dupConstraintFound = false;
                    
201					foreach (Constraint cons in targetTable.Constraints) {
                    
202					if (!targetConstraint.Equals (cons))
                    
219
                    
220			foreach (DataRelation relation in sourceSet.Relations) {
                    
221				DataRelation targetRelation = targetSet.Relations [relation.RelationName];
                    
                
BindingEntityInfo.cs https://github.com/letssellsomebananas/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
ServiceController.cs https://github.com/letssellsomebananas/ServiceStack.git | C# | 370 lines
                    
69		{
                    
70			foreach (var serviceType in ResolveServicesFn())
                    
71			{
                    
73
                    
74				foreach (var service in serviceType.GetInterfaces())
                    
75				{
                    
110			var attrs = requestType.GetCustomAttributes(typeof(RestServiceAttribute), true);
                    
111			foreach (RestServiceAttribute attr in attrs)
                    
112			{
                    
134		{
                    
135			foreach (var restPath in this.routes.RestPaths)
                    
136			{
                    
147			var yieldedHashMatches = RestPath.GetFirstMatchHashKeys(matchUsingPathParts);
                    
148			foreach (var potentialHashMatch in yieldedHashMatches)
                    
149			{
                    
                
soapsuds.cs https://github.com/QuickJack/mono.git | C# | 332 lines
                    
80				assembly = Assembly.LoadFile (inputAssembly);
                    
81				foreach (Type t in assembly.GetTypes ())
                    
82					types.Add (new ServiceType (t, serviceEndpoint));
                    
87				string[] ts = inputTypes.Split (';');
                    
88				foreach (string type in ts)
                    
89				{
                    
162					MetaData.ConvertCodeSourceStreamToAssemblyFile (writtenFiles, outputAssembly, strongNameFile);
                    
163					foreach (string file in writtenFiles)
                    
164						File.Delete (file);
                    
169			
                    
170			foreach (string fn in writtenFiles)
                    
171				Console.WriteLine ("Written file " + fn);
                    
234		
                    
235		foreach (string arg in args)
                    
236		{
                    
                
DotTreeGenerator.cs https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | C# | 216 lines
                    
97            StringBuilder builder = new StringBuilder();
                    
98            foreach ( string line in HeaderLines )
                    
99                builder.AppendLine( line );
                    
105
                    
106            foreach ( var s in nodes )
                    
107                builder.AppendLine( s );
                    
110
                    
111            foreach ( var s in edges )
                    
112                builder.AppendLine( s );
                    
144                yield return GetNodeText( adaptor, child );
                    
145                foreach ( var t in DefineNodes( child, adaptor ) )
                    
146                    yield return t;
                    
172                yield return string.Format( EdgeFormat, parentName, childName, FixString( parentText ), FixString( childText ) );
                    
173                foreach ( var t in DefineEdges( child, adaptor ) )
                    
174                    yield return t;
                    
                
DotTreeGenerator.cs https://gitlab.com/brian0218/rk3188_rk3066_r-box_android4.4.2_sdk | C# | 216 lines
                    
97            StringBuilder builder = new StringBuilder();
                    
98            foreach ( string line in HeaderLines )
                    
99                builder.AppendLine( line );
                    
105
                    
106            foreach ( var s in nodes )
                    
107                builder.AppendLine( s );
                    
110
                    
111            foreach ( var s in edges )
                    
112                builder.AppendLine( s );
                    
144                yield return GetNodeText( adaptor, child );
                    
145                foreach ( var t in DefineNodes( child, adaptor ) )
                    
146                    yield return t;
                    
172                yield return string.Format( EdgeFormat, parentName, childName, FixString( parentText ), FixString( childText ) );
                    
173                foreach ( var t in DefineEdges( child, adaptor ) )
                    
174                    yield return t;
                    
                
DotTreeGenerator.cs https://gitlab.com/brian0218/rk3288_r-box_android4.4.2_sdk | C# | 216 lines
                    
97            StringBuilder builder = new StringBuilder();
                    
98            foreach ( string line in HeaderLines )
                    
99                builder.AppendLine( line );
                    
105
                    
106            foreach ( var s in nodes )
                    
107                builder.AppendLine( s );
                    
110
                    
111            foreach ( var s in edges )
                    
112                builder.AppendLine( s );
                    
144                yield return GetNodeText( adaptor, child );
                    
145                foreach ( var t in DefineNodes( child, adaptor ) )
                    
146                    yield return t;
                    
172                yield return string.Format( EdgeFormat, parentName, childName, FixString( parentText ), FixString( childText ) );
                    
173                foreach ( var t in DefineEdges( child, adaptor ) )
                    
174                    yield return t;
                    
                
DotTreeGenerator.cs https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C# | 216 lines
                    
97            StringBuilder builder = new StringBuilder();
                    
98            foreach ( string line in HeaderLines )
                    
99                builder.AppendLine( line );
                    
105
                    
106            foreach ( var s in nodes )
                    
107                builder.AppendLine( s );
                    
110
                    
111            foreach ( var s in edges )
                    
112                builder.AppendLine( s );
                    
144                yield return GetNodeText( adaptor, child );
                    
145                foreach ( var t in DefineNodes( child, adaptor ) )
                    
146                    yield return t;
                    
172                yield return string.Format( EdgeFormat, parentName, childName, FixString( parentText ), FixString( childText ) );
                    
173                foreach ( var t in DefineEdges( child, adaptor ) )
                    
174                    yield return t;
                    
                
JSON.cs https://bitbucket.org/rodlogic/arc-reaction.git | C# | 365 lines
                    
143
                    
144                    foreach (var x in xs)
                    
145                        result.Add(GetValueString(x));
                    
305
                    
306                foreach (var value in values)
                    
307                    xs.Add(value);
                    
                
MultiGetProfiling.cs https://github.com/dangerwheeler/ravendb.git | C# | 266 lines
                    
43				Assert.Equal(3, responses.Length);
                    
44				foreach (var response in responses)
                    
45				{
                    
                
MultiGetProfiling.cs https://github.com/chanan/ravendb.git | C# | 266 lines
                    
43				Assert.Equal(3, responses.Length);
                    
44				foreach (var response in responses)
                    
45				{
                    
                
SIP_t_AcceptRange.cs https://github.com/rkabir/inbox2_desktop.git | C# | 232 lines
                    
136            retVal.Append(m_MediaType);
                    
137            foreach(SIP_Parameter parameter in m_pMediaParameters){
                    
138                if(parameter.Value != null){
                    
144            }
                    
145            foreach(SIP_Parameter parameter in m_pParameters){
                    
146                if(parameter.Value != null){
                    
                
SIP_t_AcceptRange.cs https://github.com/csmaster2005/inbox2_desktop.git | C# | 232 lines
                    
136            retVal.Append(m_MediaType);
                    
137            foreach(SIP_Parameter parameter in m_pMediaParameters){
                    
138                if(parameter.Value != null){
                    
144            }
                    
145            foreach(SIP_Parameter parameter in m_pParameters){
                    
146                if(parameter.Value != null){
                    
                
ExchangeClientChannel.cs https://github.com/rkabir/inbox2_desktop.git | C# | 415 lines
                    
151
                    
152			foreach (MessageType inboxItem in client.GetHeaders(folder).Reverse().Skip((int)StartIndex).Take((int)PageSize))
                    
153            {
                    
190			if (inboxItem.ToRecipients != null)
                    
191				foreach (var toRecipient in inboxItem.ToRecipients)
                    
192					message.To.Add(new SourceAddress(toRecipient.EmailAddress, toRecipient.Name));
                    
194			if (inboxItem.CcRecipients != null)
                    
195				foreach (var ccRecipient in inboxItem.CcRecipients)
                    
196					message.CC.Add(new SourceAddress(ccRecipient.EmailAddress, ccRecipient.Name));
                    
198			if (inboxItem.BccRecipients != null)
                    
199				foreach (var bccRecipient in inboxItem.BccRecipients)
                    
200					message.BCC.Add(new SourceAddress(bccRecipient.EmailAddress, bccRecipient.Name));
                    
209			{
                    
210				foreach (AttachmentType exchAttachment in inboxItem.Attachments)
                    
211				{
                    
                
ExchangeClientChannel.cs https://github.com/csmaster2005/inbox2_desktop.git | C# | 415 lines
                    
151
                    
152			foreach (MessageType inboxItem in client.GetHeaders(folder).Reverse().Skip((int)StartIndex).Take((int)PageSize))
                    
153            {
                    
190			if (inboxItem.ToRecipients != null)
                    
191				foreach (var toRecipient in inboxItem.ToRecipients)
                    
192					message.To.Add(new SourceAddress(toRecipient.EmailAddress, toRecipient.Name));
                    
194			if (inboxItem.CcRecipients != null)
                    
195				foreach (var ccRecipient in inboxItem.CcRecipients)
                    
196					message.CC.Add(new SourceAddress(ccRecipient.EmailAddress, ccRecipient.Name));
                    
198			if (inboxItem.BccRecipients != null)
                    
199				foreach (var bccRecipient in inboxItem.BccRecipients)
                    
200					message.BCC.Add(new SourceAddress(bccRecipient.EmailAddress, bccRecipient.Name));
                    
209			{
                    
210				foreach (AttachmentType exchAttachment in inboxItem.Attachments)
                    
211				{
                    
                
SkeletonStreamRenderer.cs https://bitbucket.org/david_nthn/kinect_sseh.git | C# | 297 lines
                    
167            // Render Joints
                    
168            foreach (SkeletonReader.SkeletonFrameJoint joint in skeleton.joints)
                    
169            {
                    
                
BindingEntityInfo.cs https://bitbucket.org/luobailiang/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
BuySellModule.cs https://github.com/UbitUmarov/Ubit-opensim.git | C# | 262 lines
                    
132                {
                    
133                    foreach (SceneObjectPart child in group.Parts)
                    
134                    {
                    
234
                    
235                foreach (UUID invID in invList)
                    
236                {
                    
                
FxCop.cs https://gitlab.com/vectorci/aws-sdk-net | C# | 226 lines
                    
61
                    
62            foreach (var assembly in allAssemblies)
                    
63            {
                    
123            var namespaces = GetNamespacesToExamine(coreAssembly);
                    
124            foreach (var ns in namespaces.OrderBy(k => k, StringComparer.Ordinal))
                    
125            {
                    
156            var allTypes = assembly.GetTypes().ToList();
                    
157            foreach (var type in allTypes)
                    
158            {
                    
173
                    
174            foreach (var toSkip in NamespacePrefixesToSkip)
                    
175                if (ns.StartsWith(toSkip, StringComparison.Ordinal))
                    
205            var matchingNodes = doc.SelectNodes(xpath);
                    
206            foreach (XmlNode node in matchingNodes)
                    
207                targetsNode.RemoveChild(node);
                    
                
FxCop.cs https://gitlab.com/CORP-RESELLER/aws-sdk-net | C# | 226 lines
                    
61
                    
62            foreach (var assembly in allAssemblies)
                    
63            {
                    
123            var namespaces = GetNamespacesToExamine(coreAssembly);
                    
124            foreach (var ns in namespaces.OrderBy(k => k, StringComparer.Ordinal))
                    
125            {
                    
156            var allTypes = assembly.GetTypes().ToList();
                    
157            foreach (var type in allTypes)
                    
158            {
                    
173
                    
174            foreach (var toSkip in NamespacePrefixesToSkip)
                    
175                if (ns.StartsWith(toSkip, StringComparison.Ordinal))
                    
205            var matchingNodes = doc.SelectNodes(xpath);
                    
206            foreach (XmlNode node in matchingNodes)
                    
207                targetsNode.RemoveChild(node);
                    
                
MultiGetProfiling.cs https://github.com/etishor/ravendb.git | C# | 266 lines
                    
43				Assert.Equal(3, responses.Length);
                    
44				foreach (var response in responses)
                    
45				{
                    
                
TwoTestClassesInDifferentNamespacesTestFixture.cs https://github.com/eusebiu/SharpDevelop.git | C# | 282 lines
                    
141			ExtTreeNode newTestClassNode = null;
                    
142			foreach (ExtTreeNode node in testsNamespaceNode.Nodes) {
                    
143				if (node.Text == "MyNewTestFixture") {
                    
183			ExtTreeNode testClassNode = null;
                    
184			foreach (ExtTreeNode node in testsNamespaceNode.Nodes) {
                    
185				if (node.Text == "MyTestFixture") {
                    
218			ExtTreeNode testClassNode = null;
                    
219			foreach (ExtTreeNode node in testsNamespaceNode.Nodes) {
                    
220				if (node.Text == "MyTestFixture") {
                    
247			ExtTreeNode testClassNode = null;
                    
248			foreach (ExtTreeNode node in testsNamespaceNode.Nodes) {
                    
249				if (node.Text == "MyTestFixture") {
                    
260			ExpandRootNode();
                    
261			foreach (ExtTreeNode node in rootNode.Nodes) {
                    
262				if (node.Text == "Project") {
                    
                
DomCecilCompilationUnit.cs https://github.com/Shanto/monodevelop.git | C# | 292 lines
                    
86		
                    
87			foreach (ModuleDefinition moduleDefinition in assemblyDefinition.Modules) {
                    
88				AddModuleDefinition (moduleDefinition, loadInternals, instantiateTypeParameter);
                    
89			}
                    
90			foreach (CustomAttribute attr in assemblyDefinition.CustomAttributes) {
                    
91				Add (new DomCecilAttribute (attr));
                    
147				// need to handle different file extension casings. Some dlls from windows tend to end with .Dll or .DLL rather than '.dll'
                    
148				foreach (string file in Directory.GetFiles (lookupPath, name.Name + ".*")) {
                    
149					string ext = Path.GetExtension (file);
                    
208			Module module = new Module (moduleDefinition);
                    
209			foreach (TypeDefinition type in moduleDefinition.Types) {
                    
210				if (!loadInternal && IsInternal (DomCecilType.GetModifiers (type.Attributes)))
                    
240			{
                    
241				foreach (TypeParameter p in type.TypeParameters)
                    
242					argTypes[p.Name] = type;
                    
                
ReadTest_GroupBy.cs https://github.com/iainlane/mono.git | C# | 322 lines
                    
71            int rowCount = 0;
                    
72            foreach (var g in q2)
                    
73            {
                    
97                Assert.IsTrue(q3 != null && q3.Key != null, "Must have result with Key");
                    
98                foreach (var c in q3)
                    
99                {
                    
123
                    
124                foreach (var g in q2)
                    
125                {
                    
126                    int entryCount = 0;
                    
127                    foreach (var c in g)
                    
128                    {
                    
153            int entryCount = 0;
                    
154            foreach (var g in q2)
                    
155            {
                    
                
CodeReader.cs https://github.com/iainlane/mono.git | C# | 357 lines
                    
224			// resolve branches
                    
225			foreach (Instruction i in code) {
                    
226				switch (i.OpCode.OperandType) {
                    
                
Form1.cs https://github.com/mart0258/OpenRA.git | C# | 490 lines
                    
120			var palettes = new[] { tilePalette, actorPalette, resourcePalette };
                    
121			foreach (var p in palettes) { p.Visible = false; p.SuspendLayout(); }
                    
122			foreach (var t in tileset.Templates)
                    
151
                    
152			foreach (var a in Rules.Info.Keys)
                    
153			{
                    
191
                    
192			foreach (var a in Rules.Info["world"].Traits.WithInterface<ResourceTypeInfo>())
                    
193			{
                    
223
                    
224			foreach (var p in palettes)
                    
225			{
                    
                
UnitTestingWindow.cs https://bitbucket.org/createdbyx/codefarts.unitytesting.git | C# | 260 lines
                    
144                {
                    
145                    foreach (var model in this.testModels)
                    
146                    {
                    
146                    {
                    
147                        foreach (var item in model.Value)
                    
148                        {
                    
158            {
                    
159                foreach (var item in this.testModels)
                    
160                {
                    
166            {
                    
167                foreach (var item in this.testModels)
                    
168                {
                    
188
                    
189            foreach (var item in this.testModels)
                    
190            {
                    
                
ConvertConstructorCallIntoInitializer.cs https://github.com/josephcooney/ILSpy.git | C# | 183 lines
                    
123					if (allSame) {
                    
124						foreach (var ctor in instanceCtorsNotChainingWithThis)
                    
125							ctor.Body.First().Remove();
                    
                
Insert.cs https://bitbucket.org/moisesmiranda/subsonic-4.git | C# | 293 lines
                    
93            Init();
                    
94            foreach(object o in props)
                    
95            {
                    
144            StringBuilder sb = new StringBuilder();
                    
145            foreach(string s in ColumnList)
                    
146            {
                    
164            int itemIndex = 0;
                    
165            foreach(string s in ColumnList)
                    
166            {
                    
277            //add in the commands
                    
278            foreach(InsertSetting s in Inserts)
                    
279            {
                    
                
VNodeX.cs https://gitlab.com/hoseinyeganloo/automatic-graph-layout | C# | 336 lines
                    
162        static void AddCurve(PathFigure pathFigure, Point c, Curve curve) {
                    
163            foreach (ICurve seg in curve.Segments) {
                    
164                var ls = seg as LineSegment;
                    
                
BindingEntityInfo.cs https://github.com/shalinipriya/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
Verify.cs https://github.com/josephcooney/ILSpy.git | C# | 312 lines
                    
296            bool isImplemented = false;
                    
297            foreach (var ifaceType in parameter.GetType().GetInterfaces())
                    
298            {
                    
                
BindingEntityInfo.cs https://github.com/tncor/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
TraktService.cs https://github.com/NzbDrone/NzbDrone.git | C# | 323 lines
                    
100
                    
101            foreach (var episode in episodeFile.Episodes.Value)
                    
102            {
                    
144
                    
145            foreach (var episode in episodeFile.Episodes.Value)
                    
146            {
                    
                
ltablib.cs https://github.com/cadahl/kopilua.git | C# | 298 lines
                    
18
                    
19		private static int foreachi (lua_State L) {
                    
20		  int i;
                    
35
                    
36		private static int _foreach (lua_State L) {
                    
37		  luaL_checktype(L, 1, LUA_TTABLE);
                    
279		  new luaL_Reg("concat", tconcat),
                    
280		  new luaL_Reg("foreach", _foreach),
                    
281		  new luaL_Reg("foreachi", foreachi),
                    
                
soapsuds.cs https://github.com/ccflo/mono.git | C# | 332 lines
                    
80				assembly = Assembly.LoadFile (inputAssembly);
                    
81				foreach (Type t in assembly.GetTypes ())
                    
82					types.Add (new ServiceType (t, serviceEndpoint));
                    
87				string[] ts = inputTypes.Split (';');
                    
88				foreach (string type in ts)
                    
89				{
                    
162					MetaData.ConvertCodeSourceStreamToAssemblyFile (writtenFiles, outputAssembly, strongNameFile);
                    
163					foreach (string file in writtenFiles)
                    
164						File.Delete (file);
                    
169			
                    
170			foreach (string fn in writtenFiles)
                    
171				Console.WriteLine ("Written file " + fn);
                    
234		
                    
235		foreach (string arg in args)
                    
236		{
                    
                
man-provider.cs https://github.com/ccflo/mono.git | C# | 408 lines
                    
34	{
                    
35		foreach(string TocFile in tocFiles) {
                    
36
                    
42
                    
43			foreach(XmlNode node in nodeList) {
                    
44
                    
91			buf.Append ("<p>Available man pages:</p>").Append ("<blockquote>");
                    
92			foreach (Node n in Tree.Nodes) {
                    
93				buf.Append ("<a href=\"").Append (n.Element).Append ("\">")
                    
                
MergeManager.cs https://github.com/QuickJack/mono.git | C# | 406 lines
                    
45
                    
46			foreach (DataTable t in sourceSet.Tables)
                    
47				MergeManager.Merge(targetSet, t, preserveChanges, missingSchemaAction);
                    
167
                    
168			foreach(DataTable sourceTable in sourceSet.Tables) {
                    
169
                    
173
                    
174				foreach (Constraint constraint in sourceTable.Constraints) {
                    
175
                    
200					bool dupConstraintFound = false;
                    
201					foreach (Constraint cons in targetTable.Constraints) {
                    
202					if (!targetConstraint.Equals (cons))
                    
219
                    
220			foreach (DataRelation relation in sourceSet.Relations) {
                    
221				DataRelation targetRelation = targetSet.Relations [relation.RelationName];
                    
                
SpineInspectorUtility.cs https://gitlab.com/hoangduy09100/falling-box | C# | 376 lines
                    
297				var renderers = new List<Object>();
                    
298				foreach (var o in serializedObject.targetObjects) {
                    
299					var component = o as Component;
                    
352				if (renderer.isEditingMultipleObjects)
                    
353					foreach (var o in renderer.targetObjects)
                    
354						EditorUtility.SetDirty(o);
                    
                
FileTemplate.cs https://github.com/eusebiu/SharpDevelop.git | C# | 321 lines
                    
91			name = enumType.GetAttribute("name");
                    
92			foreach (XmlElement node in enumType.ChildNodes) {
                    
93				pairs[node.GetAttribute("name")] = node.GetAttribute("value");
                    
250				XmlNodeList propertyList = doc.DocumentElement["Properties"].SelectNodes("Property");
                    
251				foreach (XmlElement propertyElement in propertyList) {
                    
252					properties.Add(new TemplateProperty(propertyElement));
                    
257				XmlNodeList typeList = doc.DocumentElement["Types"].SelectNodes("Type");
                    
258				foreach (XmlElement typeElement in typeList) {
                    
259					customTypes.Add(new TemplateType(typeElement));
                    
264				XmlNodeList references = doc.DocumentElement["References"].SelectNodes("Reference");
                    
265				foreach (XmlElement reference in references) {
                    
266					if (!reference.HasAttribute("include"))
                    
284			XmlNodeList nodes = files.ChildNodes;
                    
285			foreach (XmlNode filenode in nodes) {
                    
286				if (filenode is XmlElement) {
                    
                
WarmupUpdater.cs https://bitbucket.org/oleg_ator/orchard.test.git | C# | 204 lines
                    
90
                    
91                    foreach (var reportEntry in _reportManager.Read()) {
                    
92                        try {
                    
                
BindingEntityInfo.cs https://github.com/gabrielgreen/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
Utils.cs https://gitlab.com/vectorci/aws-sdk-net | C# | 354 lines
                    
133            {
                    
134                foreach (var item in items)
                    
135                    ilist.Add(item);
                    
142            {
                    
143                foreach (var item in items)
                    
144                    addMethod.Invoke(result, new object[] { item });
                    
178            var attributes = new List<DynamoDBAttribute>();
                    
179            foreach (var attObj in attObjects)
                    
180            {
                    
249            {
                    
250                foreach (var constructor in constructors)
                    
251                {
                    
263        {
                    
264            foreach(var inputTypes in validConstructorInputs)
                    
265            {
                    
                
Utils.cs https://gitlab.com/github-cloud-corp/aws-sdk-unity | C# | 355 lines
                    
134            {
                    
135                foreach (var item in items)
                    
136                    ilist.Add(item);
                    
143            {
                    
144                foreach (var item in items)
                    
145                    addMethod.Invoke(result, new object[] { item });
                    
179            var attributes = new List<DynamoDBAttribute>();
                    
180            foreach (var attObj in attObjects)
                    
181            {
                    
250            {
                    
251                foreach (var constructor in constructors)
                    
252                {
                    
264        {
                    
265            foreach(var inputTypes in validConstructorInputs)
                    
266            {
                    
                
Utils.cs https://gitlab.com/CORP-RESELLER/aws-sdk-net | C# | 354 lines
                    
133            {
                    
134                foreach (var item in items)
                    
135                    ilist.Add(item);
                    
142            {
                    
143                foreach (var item in items)
                    
144                    addMethod.Invoke(result, new object[] { item });
                    
178            var attributes = new List<DynamoDBAttribute>();
                    
179            foreach (var attObj in attObjects)
                    
180            {
                    
249            {
                    
250                foreach (var constructor in constructors)
                    
251                {
                    
263        {
                    
264            foreach(var inputTypes in validConstructorInputs)
                    
265            {
                    
                
ConventionPartCreator.cs https://github.com/jorgemuza/MefContrib.git | C# | 213 lines
                    
104
                    
105            foreach (var importConvention in importConventions)
                    
106            {
                    
106            {
                    
107                foreach (var member in importConvention.Members.Invoke(type))
                    
108                {
                    
                
soapsuds.cs https://github.com/letssellsomebananas/mono.git | C# | 332 lines
                    
80				assembly = Assembly.LoadFile (inputAssembly);
                    
81				foreach (Type t in assembly.GetTypes ())
                    
82					types.Add (new ServiceType (t, serviceEndpoint));
                    
87				string[] ts = inputTypes.Split (';');
                    
88				foreach (string type in ts)
                    
89				{
                    
162					MetaData.ConvertCodeSourceStreamToAssemblyFile (writtenFiles, outputAssembly, strongNameFile);
                    
163					foreach (string file in writtenFiles)
                    
164						File.Delete (file);
                    
169			
                    
170			foreach (string fn in writtenFiles)
                    
171				Console.WriteLine ("Written file " + fn);
                    
234		
                    
235		foreach (string arg in args)
                    
236		{
                    
                
man-provider.cs https://github.com/letssellsomebananas/mono.git | C# | 408 lines
                    
34	{
                    
35		foreach(string TocFile in tocFiles) {
                    
36
                    
42
                    
43			foreach(XmlNode node in nodeList) {
                    
44
                    
91			buf.Append ("<p>Available man pages:</p>").Append ("<blockquote>");
                    
92			foreach (Node n in Tree.Nodes) {
                    
93				buf.Append ("<a href=\"").Append (n.Element).Append ("\">")
                    
                
SerialiserModule.cs https://github.com/UbitUmarov/Ubit-opensim.git | C# | 258 lines
                    
187            {
                    
188                foreach (IFileSerialiser serialiser in m_serialisers)
                    
189                {
                    
201            TextWriter manifestWriter = new StreamWriter(Path.Combine(saveDir, "region.manifest"));
                    
202            foreach (string line in results)
                    
203            {
                    
227        {
                    
228            foreach (Scene region in m_regions)
                    
229            {
                    
239        {
                    
240            foreach (Scene region in m_regions)
                    
241            {
                    
                
KeyConfigMenu.cs https://github.com/SsSanzo/BombEISTIv2.git | C# | 241 lines
                    
56            }
                    
57            foreach (var img in MenuDataList)
                    
58            {
                    
60            }
                    
61            foreach (var lab in MenuLabelList)
                    
62            {
                    
176                }
                    
177                foreach (var img in MenuDataList)
                    
178                {
                    
180                }
                    
181                foreach (var lab in MenuLabelList)
                    
182                {
                    
                
ValueProviderDictionary.cs https://bitbucket.org/danipen/mono.git | C# | 208 lines
                    
133                string[] keys = form.AllKeys;
                    
134                foreach (string key in keys) {
                    
135                    string[] rawValue = form.GetValues(key);
                    
143            if (routeValues != null) {
                    
144                foreach (var kvp in routeValues) {
                    
145                    string key = kvp.Key;
                    
155                string[] keys = queryString.AllKeys;
                    
156                foreach (string key in keys) {
                    
157                    string[] rawValue = queryString.GetValues(key);
                    
                
ExportEngine.cs https://github.com/krazana/eXpand.git | C# | 148 lines
                    
23            _serializeClassInfoGraphNodesCalculator =new SerializeClassInfoGraphNodesCalculator(serializationConfigurationGroup);    
                    
24            foreach (var baseObject in baseCollection) {
                    
25                IEnumerable<IClassInfoGraphNode> serializedClassInfoGraphNodes =
                    
40                root.Add(serializedObjectElement);
                    
41                foreach (var classInfoGraphNode in serializedClassInfoGraphNodes.Where(node => node.SerializationStrategy!=SerializationStrategy.DoNotSerialize)) {
                    
42                    XElement propertyElement = GetPropertyElement(serializedObjectElement, classInfoGraphNode);
                    
95                var theObjects = (IEnumerable)memberInfo.GetValue(selectedObject);
                    
96                foreach (XPBaseObject theObject in theObjects) {
                    
97                    CreateRefElelement(classInfoGraphNode,theObject.GetType().Name, root,  theObject, propertyElement);
                    
117        void CreateRefKeyElements(IEnumerable<IClassInfoGraphNode> serializedClassInfoGraphNodes, XPBaseObject theObject, XElement serializedObjectRefElement) {
                    
118            foreach (var infoGraphNode in serializedClassInfoGraphNodes.Where(node => node.Key)) {
                    
119                var serializedObjectRefKeyElement = new XElement("Key");
                    
                
CodeFormattingPanel.cs https://github.com/Shanto/monodevelop.git | C# | 426 lines
                    
53			
                    
54			foreach (MimeTypeOptionsPanelNode node in AddinManager.GetExtensionNodes ("/MonoDevelop/ProjectModel/Gui/MimeTypePolicyPanels"))
                    
55				mimeTypesWithPolicies.Add (node.MimeType);
                    
67			
                    
68			foreach (string mt in GetItemMimeTypes ())
                    
69				AddPanel (mt);
                    
86			
                    
87			foreach (MimeTypePanelData pd in typeSections.Values) {
                    
88				bool useParentPolicy = false;
                    
89				bool modified = false;
                    
90				foreach (IMimeTypePolicyOptionsPanel panel in pd.Panels) {
                    
91					// Reload the panel if it is handling the modified policy
                    
167			bool useParentPolicy = false;
                    
168			foreach (MimeTypeOptionsPanelNode node in AddinManager.GetExtensionNodes ("/MonoDevelop/ProjectModel/Gui/MimeTypePolicyPanels")) {
                    
169				if (!types.Contains (node.MimeType))
                    
                
AbstractMassTestingFixture.cs https://github.com/RogerKratz/nhibernate-core.git | C# | 276 lines
                    
18				List<string> cacheSettings = new List<string>(configuration.Properties.Keys.Where(x => x.Contains("cache")));
                    
19				foreach (var cacheSetting in cacheSettings)
                    
20				{
                    
37        {
                    
38            foreach (T1 v1 in Enum.GetValues(typeof(T1)))
                    
39            {
                    
39            {
                    
40                foreach (T2 v2 in Enum.GetValues(typeof(T2)))
                    
41                {
                    
41                {
                    
42                    foreach (T3 v3 in Enum.GetValues(typeof(T3)))
                    
43                    {
                    
43                    {
                    
44                        foreach (T4 v4 in Enum.GetValues(typeof(T4)))
                    
45                        {
                    
                
CmdFill.cs https://github.com/cazzar/MCaznowl-Lava.git | C# | 255 lines
                    
127
                    
128                foreach (Pos pos in buffer)
                    
129                {
                    
                
BindingEntityInfo.cs https://github.com/bbourdon/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
ValueProviderDictionary.cs https://github.com/ccflo/mono.git | C# | 208 lines
                    
133                string[] keys = form.AllKeys;
                    
134                foreach (string key in keys) {
                    
135                    string[] rawValue = form.GetValues(key);
                    
143            if (routeValues != null) {
                    
144                foreach (var kvp in routeValues) {
                    
145                    string key = kvp.Key;
                    
155                string[] keys = queryString.AllKeys;
                    
156                foreach (string key in keys) {
                    
157                    string[] rawValue = queryString.GetValues(key);
                    
                
CS1573ParameterHasNoMatchingParamTagIssue.cs https://bitbucket.org/WscriChy/vim-configuration.git | C# | 283 lines
                    
123				xml.AppendLine("<root>");
                    
124				foreach (var cmt in storedXmlComment)
                    
125					xml.AppendLine(cmt.Content);
                    
                
NetUtility.cs https://github.com/notJUSTguitar/MonoGame.git | C# | 378 lines
                    
72				// check each entry for a valid IP address
                    
73				foreach (IPAddress ipCurrent in entry.AddressList)
                    
74				{
                    
107			NetworkInterface best = null;
                    
108			foreach (NetworkInterface adapter in nics)
                    
109			{
                    
176			IPInterfaceProperties properties = ni.GetIPProperties();
                    
177			foreach (UnicastIPAddressInformation unicastAddress in properties.UnicastAddresses)
                    
178			{
                    
                
Database.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 302 lines
                    
113                {
                    
114                    foreach (DbDataRecord record in reader)
                    
115                    {
                    
217
                    
218            foreach (var p in parameters)
                    
219            {
                    
                
DomCecilCompilationUnit.cs https://github.com/kirill85/monodevelop.git | C# | 292 lines
                    
86		
                    
87			foreach (ModuleDefinition moduleDefinition in assemblyDefinition.Modules) {
                    
88				AddModuleDefinition (moduleDefinition, loadInternals, instantiateTypeParameter);
                    
89			}
                    
90			foreach (CustomAttribute attr in assemblyDefinition.CustomAttributes) {
                    
91				Add (new DomCecilAttribute (attr));
                    
147				// need to handle different file extension casings. Some dlls from windows tend to end with .Dll or .DLL rather than '.dll'
                    
148				foreach (string file in Directory.GetFiles (lookupPath, name.Name + ".*")) {
                    
149					string ext = Path.GetExtension (file);
                    
208			Module module = new Module (moduleDefinition);
                    
209			foreach (TypeDefinition type in moduleDefinition.Types) {
                    
210				if (!loadInternal && IsInternal (DomCecilType.GetModifiers (type.Attributes)))
                    
240			{
                    
241				foreach (TypeParameter p in type.TypeParameters)
                    
242					argTypes[p.Name] = type;
                    
                
ValueProviderDictionary.cs https://github.com/acken/mono.git | C# | 208 lines
                    
133                string[] keys = form.AllKeys;
                    
134                foreach (string key in keys) {
                    
135                    string[] rawValue = form.GetValues(key);
                    
143            if (routeValues != null) {
                    
144                foreach (var kvp in routeValues) {
                    
145                    string key = kvp.Key;
                    
155                string[] keys = queryString.AllKeys;
                    
156                foreach (string key in keys) {
                    
157                    string[] rawValue = queryString.GetValues(key);
                    
                
soapsuds.cs https://bitbucket.org/luobailiang/mono.git | C# | 332 lines
                    
80				assembly = Assembly.LoadFile (inputAssembly);
                    
81				foreach (Type t in assembly.GetTypes ())
                    
82					types.Add (new ServiceType (t, serviceEndpoint));
                    
87				string[] ts = inputTypes.Split (';');
                    
88				foreach (string type in ts)
                    
89				{
                    
162					MetaData.ConvertCodeSourceStreamToAssemblyFile (writtenFiles, outputAssembly, strongNameFile);
                    
163					foreach (string file in writtenFiles)
                    
164						File.Delete (file);
                    
169			
                    
170			foreach (string fn in writtenFiles)
                    
171				Console.WriteLine ("Written file " + fn);
                    
234		
                    
235		foreach (string arg in args)
                    
236		{
                    
                
man-provider.cs https://bitbucket.org/luobailiang/mono.git | C# | 408 lines
                    
34	{
                    
35		foreach(string TocFile in tocFiles) {
                    
36
                    
42
                    
43			foreach(XmlNode node in nodeList) {
                    
44
                    
91			buf.Append ("<p>Available man pages:</p>").Append ("<blockquote>");
                    
92			foreach (Node n in Tree.Nodes) {
                    
93				buf.Append ("<a href=\"").Append (n.Element).Append ("\">")
                    
                
NonReflectiveBinderFixture.cs https://github.com/wickedshimmy/nhibernate-core.git | C# | 198 lines
                    
51
                    
52			foreach (var element in cm.PropertyIterator)
                    
53			{
                    
                
PlatformerController.cs https://bitbucket.org/argylelabcoat/unity-platformerscripts.git | C# | 373 lines
                    
206        {
                    
207		    foreach(ParticleEmitter emitter in GetComponentsInChildren<ParticleEmitter> ()) 
                    
208            {
                    
                
ArrayScript.cs https://gitlab.com/smurmann/KDUProjects | C# | 322 lines
                    
155
                    
156        foreach (Node i in nodeArray)
                    
157        {
                    
173            Node tempNode = null;
                    
174            foreach (Node lowest in openList)
                    
175            {
                    
233
                    
234            foreach (Node v in tempNode.neighbourNodes)
                    
235            {
                    
285
                    
286        foreach (Node node in nodeArray)
                    
287        {
                    
                
KeywordGenerator.cs https://github.com/eusebiu/SharpDevelop.git | C# | 388 lines
                    
62			
                    
63			foreach (string terminal in terminals) {
                    
64				if (terminal == "EOF")
                    
74			builder.AppendLine("\t/* ----- special character ----- */");
                    
75			foreach (string specialChar in specialChars.Values) {
                    
76				builder.AppendLine("\t" + specialChar);
                    
80			builder.AppendLine("\t/* ----- keywords ----- */");
                    
81			foreach (string keyword in keywords) {
                    
82				builder.AppendLine("\t\"" + keyword + "\"");
                    
128				}
                    
129				foreach (string keyword in keywords) {
                    
130					if (keyword == "Rem")
                    
158				int tokenValue = 0;
                    
159				foreach (string terminal in terminals)
                    
160					writer.WriteToken(terminal, ref tokenValue);
                    
                
MergeManager.cs https://github.com/gimlism/mono.git | C# | 406 lines
                    
45
                    
46			foreach (DataTable t in sourceSet.Tables)
                    
47				MergeManager.Merge(targetSet, t, preserveChanges, missingSchemaAction);
                    
167
                    
168			foreach(DataTable sourceTable in sourceSet.Tables) {
                    
169
                    
173
                    
174				foreach (Constraint constraint in sourceTable.Constraints) {
                    
175
                    
200					bool dupConstraintFound = false;
                    
201					foreach (Constraint cons in targetTable.Constraints) {
                    
202					if (!targetConstraint.Equals (cons))
                    
219
                    
220			foreach (DataRelation relation in sourceSet.Relations) {
                    
221				DataRelation targetRelation = targetSet.Relations [relation.RelationName];
                    
                
FormatterExpression.cs https://github.com/manzhyk/AutoMapper.git | C# | 227 lines
                    
102            {
                    
103                foreach (IValueFormatter formatter in context.PropertyMap.GetFormatters())
                    
104                {
                    
111                    {
                    
112                        foreach (var typeSpecificFormatter in typeSpecificFormatterConfig.GetFormattersToApply(context))
                    
113                        {
                    
120            {
                    
121                foreach (var typeSpecificFormatter in typeSpecificFormatterConfig.GetFormattersToApply(context))
                    
122                {
                    
126
                    
127            foreach (IValueFormatter formatter in GetFormatters())
                    
128            {
                    
                
DotTreeGenerator.cs https://github.com/Abasti/antlr.git | C# | 216 lines
                    
97            StringBuilder builder = new StringBuilder();
                    
98            foreach ( string line in HeaderLines )
                    
99                builder.AppendLine( line );
                    
105
                    
106            foreach ( var s in nodes )
                    
107                builder.AppendLine( s );
                    
110
                    
111            foreach ( var s in edges )
                    
112                builder.AppendLine( s );
                    
144                yield return GetNodeText( adaptor, child );
                    
145                foreach ( var t in DefineNodes( child, adaptor ) )
                    
146                    yield return t;
                    
172                yield return string.Format( EdgeFormat, parentName, childName, FixString( parentText ), FixString( childText ) );
                    
173                foreach ( var t in DefineEdges( child, adaptor ) )
                    
174                    yield return t;
                    
                
KeyboardState.cs https://bitbucket.org/refuzion/monogame.git | C# | 303 lines
                    
144            if (keys != null)
                    
145                foreach (Keys k in keys)
                    
146                    InternalSetKey(k);
                    
164            if (keys != null)
                    
165                foreach (Keys k in keys)
                    
166                    InternalSetKey(k);
                    
                
ValueProviderDictionary.cs https://github.com/letssellsomebananas/mono.git | C# | 208 lines
                    
133                string[] keys = form.AllKeys;
                    
134                foreach (string key in keys) {
                    
135                    string[] rawValue = form.GetValues(key);
                    
143            if (routeValues != null) {
                    
144                foreach (var kvp in routeValues) {
                    
145                    string key = kvp.Key;
                    
155                string[] keys = queryString.AllKeys;
                    
156                foreach (string key in keys) {
                    
157                    string[] rawValue = queryString.GetValues(key);
                    
                
ValueProviderDictionary.cs https://bitbucket.org/foobar22/mono.git | C# | 208 lines
                    
133                string[] keys = form.AllKeys;
                    
134                foreach (string key in keys) {
                    
135                    string[] rawValue = form.GetValues(key);
                    
143            if (routeValues != null) {
                    
144                foreach (var kvp in routeValues) {
                    
145                    string key = kvp.Key;
                    
155                string[] keys = queryString.AllKeys;
                    
156                foreach (string key in keys) {
                    
157                    string[] rawValue = queryString.GetValues(key);
                    
                
DotTreeGenerator.cs https://bitbucket.org/jwalton/antlr3.git | C# | 216 lines
                    
97            StringBuilder builder = new StringBuilder();
                    
98            foreach ( string line in HeaderLines )
                    
99                builder.AppendLine( line );
                    
105
                    
106            foreach ( var s in nodes )
                    
107                builder.AppendLine( s );
                    
110
                    
111            foreach ( var s in edges )
                    
112                builder.AppendLine( s );
                    
144                yield return GetNodeText( adaptor, child );
                    
145                foreach ( var t in DefineNodes( child, adaptor ) )
                    
146                    yield return t;
                    
172                yield return string.Format( EdgeFormat, parentName, childName, FixString( parentText ), FixString( childText ) );
                    
173                foreach ( var t in DefineEdges( child, adaptor ) )
                    
174                    yield return t;
                    
                
OptionsNode.cs https://github.com/UbitUmarov/Ubit-opensim.git | C# | 634 lines
                    
509            
                    
510			foreach(FieldInfo f in t.GetFields(BindingFlags.NonPublic | BindingFlags.Instance))
                    
511			{
                    
604
                    
605			foreach(XmlNode child in node.ChildNodes)
                    
606			{
                    
621
                    
622			foreach(FieldInfo f in m_OptionFields.Values)
                    
623			{
                    
                
ReadTest_GroupBy.cs https://github.com/QuickJack/mono.git | C# | 322 lines
                    
71            int rowCount = 0;
                    
72            foreach (var g in q2)
                    
73            {
                    
97                Assert.IsTrue(q3 != null && q3.Key != null, "Must have result with Key");
                    
98                foreach (var c in q3)
                    
99                {
                    
123
                    
124                foreach (var g in q2)
                    
125                {
                    
126                    int entryCount = 0;
                    
127                    foreach (var c in g)
                    
128                    {
                    
153            int entryCount = 0;
                    
154            foreach (var g in q2)
                    
155            {
                    
                
ValueProviderDictionary.cs https://github.com/jdecuyper/mono.git | C# | 208 lines
                    
133                string[] keys = form.AllKeys;
                    
134                foreach (string key in keys) {
                    
135                    string[] rawValue = form.GetValues(key);
                    
143            if (routeValues != null) {
                    
144                foreach (var kvp in routeValues) {
                    
145                    string key = kvp.Key;
                    
155                string[] keys = queryString.AllKeys;
                    
156                foreach (string key in keys) {
                    
157                    string[] rawValue = queryString.GetValues(key);
                    
                
ValueProviderDictionary.cs https://github.com/massimiliano-mantione/mono.git | C# | 208 lines
                    
133                string[] keys = form.AllKeys;
                    
134                foreach (string key in keys) {
                    
135                    string[] rawValue = form.GetValues(key);
                    
143            if (routeValues != null) {
                    
144                foreach (var kvp in routeValues) {
                    
145                    string key = kvp.Key;
                    
155                string[] keys = queryString.AllKeys;
                    
156                foreach (string key in keys) {
                    
157                    string[] rawValue = queryString.GetValues(key);
                    
                
DefaultConcurrencyAbstractionLayerTest.cs https://gitlab.com/svsamipillai/Rx.NET | C# | 408 lines
                    
40
                    
41                foreach (var file in Directory.GetFiles(cur))
                    
42                {
                    
                
PushPlugin.cs https://gitlab.com/boxnia/NFU_MOVIL | C# | 258 lines
                    
127
                    
128            foreach (var item in e.Collection)
                    
129            {
                    
                
CreateRecurringPaymentsProfileSample.cs https://gitlab.com/CORP-RESELLER/codesamples-dotnet | C# | 223 lines
                    
202                    List<ErrorType> errorMessages = responseCreateRecurringPaymentsProfileResponseType.Errors;
                    
203                    foreach (ErrorType error in errorMessages)
                    
204                    {
                    
                
SubSonicRepository.cs https://github.com/henrylu/SubSonic-3.0.git | C# | 375 lines
                    
236            BatchQuery bQuery = new BatchQuery(provider);
                    
237            foreach(T item in items)
                    
238            {
                    
280
                    
281            foreach(T item in items)
                    
282            {
                    
306
                    
307            foreach(T item in items)
                    
308            {
                    
                
ExtensionNodeNodeBuilder.cs https://github.com/jfcantin/monodevelop.git | C# | 316 lines
                    
71			StringBuilder desc = new StringBuilder ();
                    
72			foreach (NodeAttribute at in node.Attributes) {
                    
73				if (desc.Length > 0)
                    
94			ExtensionNodeInfo en = (ExtensionNodeInfo) dataObject;
                    
95			foreach (ExtensionNodeInfo child in en.Expand ())
                    
96				treeBuilder.AddChild (child);
                    
169
                    
170			foreach (ExtensionNodeInfo newNode in dataObjects) {
                    
171				if (newNode.Node.Parent is ExtensionNodeDescription)
                    
188		{
                    
189			foreach (ExtensionNodeType ntype in GetAllowedChildTypes ()) {
                    
190				cinfo.Add (ntype.NodeName, ntype);
                    
212		{
                    
213			foreach (ExtensionNodeType ntype in GetAllowedChildTypes ()) {
                    
214				cinfo.Add (ntype.NodeName, ntype);
                    
                
soapsuds.cs https://github.com/shalinipriya/mono.git | C# | 332 lines
                    
80				assembly = Assembly.LoadFile (inputAssembly);
                    
81				foreach (Type t in assembly.GetTypes ())
                    
82					types.Add (new ServiceType (t, serviceEndpoint));
                    
87				string[] ts = inputTypes.Split (';');
                    
88				foreach (string type in ts)
                    
89				{
                    
162					MetaData.ConvertCodeSourceStreamToAssemblyFile (writtenFiles, outputAssembly, strongNameFile);
                    
163					foreach (string file in writtenFiles)
                    
164						File.Delete (file);
                    
169			
                    
170			foreach (string fn in writtenFiles)
                    
171				Console.WriteLine ("Written file " + fn);
                    
234		
                    
235		foreach (string arg in args)
                    
236		{
                    
                
man-provider.cs https://github.com/shalinipriya/mono.git | C# | 408 lines
                    
34	{
                    
35		foreach(string TocFile in tocFiles) {
                    
36
                    
42
                    
43			foreach(XmlNode node in nodeList) {
                    
44
                    
91			buf.Append ("<p>Available man pages:</p>").Append ("<blockquote>");
                    
92			foreach (Node n in Tree.Nodes) {
                    
93				buf.Append ("<a href=\"").Append (n.Element).Append ("\">")
                    
                
NonReflectiveBinderFixture.cs https://github.com/asbjornu/nhibernate-core.git | C# | 198 lines
                    
51
                    
52			foreach (var element in cm.PropertyIterator)
                    
53			{
                    
                
AgentAssetsTransactions.cs https://github.com/Misterblue/opensim.git | C# | 208 lines
                    
98            {
                    
99                foreach (AssetXferUploader uploader in XferUploaders.Values)
                    
100                {
                    
                
NonReflectiveBinderFixture.cs https://github.com/mbp/nhibernate-core.git | C# | 198 lines
                    
51
                    
52			foreach (var element in cm.PropertyIterator)
                    
53			{
                    
                
BindingEntityInfo.cs https://github.com/nzaugg/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
SlotBlendModes.cs https://gitlab.com/hoangduy09100/falling-box | C# | 230 lines
                    
147			int numSlotsWithCustomMaterial = 0;
                    
148			foreach (var s in skeletonRenderer.Skeleton.Slots) {
                    
149				switch (s.data.blendMode) {
                    
165			int storedSlotIndex = 0;
                    
166			foreach (var s in skeletonRenderer.Skeleton.Slots) {
                    
167				switch (s.data.blendMode) {
                    
193
                    
194			foreach (var slotWithCustomMat in slotsWithCustomMaterial) {
                    
195
                    
                
ValueProviderDictionary.cs https://bitbucket.org/luobailiang/mono.git | C# | 208 lines
                    
133                string[] keys = form.AllKeys;
                    
134                foreach (string key in keys) {
                    
135                    string[] rawValue = form.GetValues(key);
                    
143            if (routeValues != null) {
                    
144                foreach (var kvp in routeValues) {
                    
145                    string key = kvp.Key;
                    
155                string[] keys = queryString.AllKeys;
                    
156                foreach (string key in keys) {
                    
157                    string[] rawValue = queryString.GetValues(key);
                    
                
BuildPropertyGroup.cs https://bitbucket.org/luobailiang/mono.git | C# | 302 lines
                    
63				this.properties = new List <BuildProperty> ();
                    
64				foreach (XmlNode xn in propertyGroup.ChildNodes) {
                    
65					if (!(xn is XmlElement))
                    
134			if (FromXml) {
                    
135				foreach (BuildProperty bp in properties) {
                    
136					if (deepClone)
                    
141			} else {
                    
142				foreach (BuildProperty bp in propertiesByName.Values) {
                    
143					if (deepClone)
                    
155			if (FromXml)
                    
156				foreach (BuildProperty bp in properties)
                    
157					yield return bp;
                    
158			else 
                    
159				foreach (KeyValuePair <string, BuildProperty> kvp in propertiesByName)
                    
160					yield return kvp.Value;
                    
                
FormatterExpression.cs https://github.com/ramaboya/AutoMapper.git | C# | 227 lines
                    
102            {
                    
103                foreach (IValueFormatter formatter in context.PropertyMap.GetFormatters())
                    
104                {
                    
111                    {
                    
112                        foreach (var typeSpecificFormatter in typeSpecificFormatterConfig.GetFormattersToApply(context))
                    
113                        {
                    
120            {
                    
121                foreach (var typeSpecificFormatter in typeSpecificFormatterConfig.GetFormattersToApply(context))
                    
122                {
                    
126
                    
127            foreach (IValueFormatter formatter in GetFormatters())
                    
128            {
                    
                
MergeManager.cs https://github.com/ccflo/mono.git | C# | 406 lines
                    
45
                    
46			foreach (DataTable t in sourceSet.Tables)
                    
47				MergeManager.Merge(targetSet, t, preserveChanges, missingSchemaAction);
                    
167
                    
168			foreach(DataTable sourceTable in sourceSet.Tables) {
                    
169
                    
173
                    
174				foreach (Constraint constraint in sourceTable.Constraints) {
                    
175
                    
200					bool dupConstraintFound = false;
                    
201					foreach (Constraint cons in targetTable.Constraints) {
                    
202					if (!targetConstraint.Equals (cons))
                    
219
                    
220			foreach (DataRelation relation in sourceSet.Relations) {
                    
221				DataRelation targetRelation = targetSet.Relations [relation.RelationName];
                    
                
soapsuds.cs https://github.com/tncor/mono.git | C# | 332 lines
                    
80				assembly = Assembly.LoadFile (inputAssembly);
                    
81				foreach (Type t in assembly.GetTypes ())
                    
82					types.Add (new ServiceType (t, serviceEndpoint));
                    
87				string[] ts = inputTypes.Split (';');
                    
88				foreach (string type in ts)
                    
89				{
                    
162					MetaData.ConvertCodeSourceStreamToAssemblyFile (writtenFiles, outputAssembly, strongNameFile);
                    
163					foreach (string file in writtenFiles)
                    
164						File.Delete (file);
                    
169			
                    
170			foreach (string fn in writtenFiles)
                    
171				Console.WriteLine ("Written file " + fn);
                    
234		
                    
235		foreach (string arg in args)
                    
236		{
                    
                
man-provider.cs https://github.com/tncor/mono.git | C# | 408 lines
                    
34	{
                    
35		foreach(string TocFile in tocFiles) {
                    
36
                    
42
                    
43			foreach(XmlNode node in nodeList) {
                    
44
                    
91			buf.Append ("<p>Available man pages:</p>").Append ("<blockquote>");
                    
92			foreach (Node n in Tree.Nodes) {
                    
93				buf.Append ("<a href=\"").Append (n.Element).Append ("\">")
                    
                
SparkViewFactory.cs https://github.com/briandonahue/spark.git | C# | 403 lines
                    
258            var descriptors = new List<SparkViewDescriptor>();
                    
259            foreach (var entry in batch.Entries)
                    
260                descriptors.AddRange(CreateDescriptors(entry));
                    
274
                    
275            foreach (var include in includeViews)
                    
276            {
                    
278                {
                    
279                    foreach (var fileName in ViewFolder.ListViews(controllerName))
                    
280                    {
                    
288                        var isExcluded = false;
                    
289                        foreach (var exclude in entry.ExcludeViews)
                    
290                        {
                    
307
                    
308            foreach (var viewName in viewNames)
                    
309            {
                    
                
BindingEntityInfo.cs https://github.com/westybsa/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
ChatColor.cs https://github.com/Skiles/Terraria-s-Dedicated-Server-Mod.git | C# | 196 lines
                    
161		{
                    
162			foreach (var field in typeof(ChatColor).GetFields (BindingFlags.Static | BindingFlags.Public))
                    
163			{
                    
                
NonReflectiveBinderFixture.cs https://github.com/Saleslogix/nhibernate-core.git | C# | 198 lines
                    
51
                    
52			foreach (var element in cm.PropertyIterator)
                    
53			{
                    
                
DenseMatrixTests.cs https://github.com/fxmozart/mathnet-numerics.git | C# | 191 lines
                    
96
                    
97            foreach (var name in testData.Keys)
                    
98            {
                    
                
MergeManager.cs https://github.com/letssellsomebananas/mono.git | C# | 406 lines
                    
45
                    
46			foreach (DataTable t in sourceSet.Tables)
                    
47				MergeManager.Merge(targetSet, t, preserveChanges, missingSchemaAction);
                    
167
                    
168			foreach(DataTable sourceTable in sourceSet.Tables) {
                    
169
                    
173
                    
174				foreach (Constraint constraint in sourceTable.Constraints) {
                    
175
                    
200					bool dupConstraintFound = false;
                    
201					foreach (Constraint cons in targetTable.Constraints) {
                    
202					if (!targetConstraint.Equals (cons))
                    
219
                    
220			foreach (DataRelation relation in sourceSet.Relations) {
                    
221				DataRelation targetRelation = targetSet.Relations [relation.RelationName];
                    
                
PossibleValueSet.cs https://github.com/whut/nhibernate-core.git | C# | 391 lines
                    
378            PossibleValueSet result = new PossibleValueSet(expressionType);
                    
379            foreach (var v in values)
                    
380            {
                    
                
RTorrentProxy.cs https://github.com/NzbDrone/NzbDrone.git | C# | 296 lines
                    
99
                    
100            foreach (object[] torrent in ret)
                    
101            {
                    
                
DiskStationProxyBase.cs https://github.com/NzbDrone/NzbDrone.git | C# | 265 lines
                    
215
                    
216            foreach (var data in infoResponse.Data)
                    
217            {
                    
                
 

Source

Language