PageRenderTime 8549ms queryTime 743ms sortTime 113ms getByIdsTime 402ms findMatchingLines 135ms

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

Not the results you expected?
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 ();
                    
                
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;
                    
                
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;
                    
                
AccountController.cs https://gitlab.com/hebron80/sample-app | C# | 409 lines
                    
343        {
                    
344            foreach (var error in result.Errors)
                    
345            {
                    
                
DefaultConcurrencyAbstractionLayerTest.cs https://gitlab.com/svsamipillai/Rx.NET | C# | 408 lines
                    
40
                    
41                foreach (var file in Directory.GetFiles(cur))
                    
42                {
                    
                
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);
                    
                
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            {
                    
                
SkeletonRenderSeparatorInspector.cs https://gitlab.com/hoangduy09100/falling-box | C# | 323 lines
                    
190					int currentRenderers = 0;
                    
191					foreach (var r in componentRenderers) {
                    
192						if (r != null)
                    
216								if (EditorUtility.DisplayDialog("Destroy Renderers", "Do you really want to destroy all the Parts Renderer GameObjects in the list?", "Destroy", "Cancel")) {
                    
217									foreach (var r in componentRenderers) {
                    
218										if (r != null)
                    
288			var orphans = new System.Collections.Generic.List<SkeletonPartsRenderer>();
                    
289			foreach (var r in children) {
                    
290				if (!component.partsRenderers.Contains(r))
                    
295				if (EditorUtility.DisplayDialog("Destroy Submesh Renderers", "Unassigned renderers were found. Do you want to delete them? (These may belong to another Render Separator in the same hierarchy. If you don't have another Render Separator component in the children of this GameObject, it's likely safe to delete. Warning: This operation cannot be undone.)", "Delete", "Cancel")) {
                    
296					foreach (var o in orphans) {
                    
297						Undo.DestroyObjectImmediate(o.gameObject);
                    
                
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        {
                    
                
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
                    
                
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                    {
                    
                
CredentialManager.cs https://gitlab.com/CORP-RESELLER/sdk-core-dotnet | C# | 219 lines
                    
65        {                        
                    
66            foreach (KeyValuePair<string, string> kvPair in config)
                    
67            {
                    
                
FxCop.cs https://gitlab.com/github-cloud-corp/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);
                    
                
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);
                    
                
SwitchCflowDeobfuscator.cs https://bitbucket.org/SquallATF/de4dot.git | C# | 483 lines
                    
68			Local local = null;
                    
69			foreach (var instr in switchBlock.Instructions) {
                    
70				if (!instr.IsLdloc())
                    
77
                    
78			foreach (var source in switchBlock.Sources) {
                    
79				var instrs = source.Instructions;
                    
157			bool modified = false;
                    
158			foreach (var source in new List<Block>(block.Sources)) {
                    
159				if (!isBranchBlock(source))
                    
183			bool modified = false;
                    
184			foreach (var source in new List<Block>(block.Sources)) {
                    
185				if (isBranchBlock(source)) {
                    
222			bool modified = false;
                    
223			foreach (var source in new List<Block>(block.Sources)) {
                    
224				if (!isBranchBlock(source))
                    
                
Scramble.cs https://gitlab.com/MFathirIrhas/TugasAkhir1 | C# | 450 lines
                    
53            List<int> bvm = new List<int>();
                    
54            foreach (int i in vm)
                    
55            {
                    
                
ComAdapter.cs https://gitlab.com/unofficial-mirrors/PowerShell | C# | 328 lines
                    
44            yield return GetComTypeName(_comTypeInfo.Clsid);
                    
45            foreach (string baseType in GetDotNetTypeNameHierarchy(obj))
                    
46            {
                    
106            {
                    
107                foreach (ComProperty prop in _comTypeInfo.Properties.Values)
                    
108                {
                    
126            {
                    
127                foreach (ComMethod method in _comTypeInfo.Methods.Values)
                    
128                {
                    
                
Utils.cs https://gitlab.com/github-cloud-corp/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            {
                    
                
OresmeDocXDocument.cs https://gitlab.com/minaz922/subtitleedit | C# | 290 lines
                    
27            var sb = new StringBuilder();
                    
28            lines.ForEach(line => sb.AppendLine(line));
                    
29            string xmlAsString = sb.ToString().Trim();
                    
227            var sb = new StringBuilder();
                    
228            lines.ForEach(line => sb.AppendLine(line));
                    
229            var xml = new XmlDocument();
                    
232            nsmgr.AddNamespace("w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main");
                    
233            foreach (XmlNode node in xml.DocumentElement.SelectNodes("//w:tr", nsmgr))
                    
234            {
                    
242                        sb = new StringBuilder();
                    
243                        foreach (XmlNode wrNode in node.SelectNodes("w:tc/w:p/w:r", nsmgr))
                    
244                        {
                    
244                        {
                    
245                            foreach (XmlNode child in wrNode.ChildNodes)
                    
246                            {
                    
                
Split.cs https://gitlab.com/minaz922/subtitleedit | C# | 353 lines
                    
76            _encoding = encoding;
                    
77            foreach (Paragraph p in _subtitle.Paragraphs)
                    
78                _totalNumberOfCharacters += p.Text.Length;
                    
95
                    
96            foreach (SubtitleFormat f in SubtitleFormat.AllSubtitleFormats)
                    
97            {
                    
107            comboBoxEncoding.Items.Add(Encoding.UTF8.EncodingName);
                    
108            foreach (EncodingInfo ei in Encoding.GetEncodings())
                    
109            {
                    
233            {
                    
234                foreach (Subtitle sub in _parts)
                    
235                {
                    
307
                    
308            foreach (EncodingInfo ei in Encoding.GetEncodings())
                    
309            {
                    
                
TypeAccessor.cs https://gitlab.com/pgksunilkumar/Serenity | C# | 309 lines
                    
71            OpCode propName = isStatic ? OpCodes.Ldarg_1 : OpCodes.Ldarg_2, target = isStatic ? OpCodes.Ldarg_0 : OpCodes.Ldarg_1;
                    
72            foreach (PropertyInfo prop in props)
                    
73            {
                    
93            }
                    
94            foreach (FieldInfo field in fields)
                    
95            {
                    
130                LocalBuilder loc = type.IsValueType ? il.DeclareLocal(type) : null;
                    
131                foreach (PropertyInfo prop in props)
                    
132                {
                    
150                }
                    
151                foreach (FieldInfo field in fields)
                    
152                {
                    
                
PushPlugin.cs https://gitlab.com/boxnia/NFU_MOVIL | C# | 258 lines
                    
127
                    
128            foreach (var item in e.Collection)
                    
129            {
                    
                
SubqueryTrackingVisitor.cs https://github.com/pruiz/mono.git | C# | 287 lines
                    
95        {
                    
96            foreach (Node n in m_ancestors)
                    
97            {
                    
                
BindingEntityInfo.cs https://github.com/rasmus-toftdahl-olesen/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
TrunkMonkey.cs https://github.com/jpoehls/dotconsole.git | C# | 312 lines
                    
37
                    
38            foreach (var cmdLine in args)
                    
39            {
                    
47                {
                    
48                    foreach (var c in cmdLine.Substring(1))
                    
49                    {
                    
200        {
                    
201            foreach (var key in results.Keys)
                    
202            {
                    
211
                    
212                foreach (var value in results[key])
                    
213                {
                    
                
GMLWriter.cs https://github.com/maxm/osmuy.git | C# | 368 lines
                    
80        {
                    
81            foreach (ICoordinate coord in coordinates)
                    
82                Write(coord, writer);
                    
289            int count = InitValue;
                    
290            foreach (IGeometry g in geometryCollection.Geometries)
                    
291                count += SetByteStreamLength(g);
                    
302            int count = InitValue;
                    
303            foreach (IPolygon p in multiPolygon.Geometries)
                    
304                count += SetByteStreamLength(p);
                    
315            int count = InitValue;
                    
316            foreach (ILineString ls in multiLineString.Geometries)
                    
317                count += SetByteStreamLength(ls);
                    
328            int count = InitValue;
                    
329            foreach (IPoint p in multiPoint.Geometries)
                    
330                count += SetByteStreamLength(p);
                    
                
Batch.cs https://gitlab.com/zerohun/RaputaJump | C# | 200 lines
                    
124        {
                    
125            foreach (var arg in Environment.GetCommandLineArgs())
                    
126            {
                    
149            BuildTarget buildTarget;
                    
150            foreach (var arg in Environment.GetCommandLineArgs())
                    
151            {
                    
178            var sceneList = new List<string>();
                    
179            foreach (var arg in Environment.GetCommandLineArgs())
                    
180            {
                    
183                    var scenesFromParam = arg.Substring(param.Length).Split(',');
                    
184                    foreach (var scene in scenesFromParam)
                    
185                    {
                    
                
DelegateUtils.cs https://gitlab.com/godotengine/godot | C# | 395 lines
                    
30
                    
31                    foreach (Delegate oneDelegate in invocationList)
                    
32                        someDelegatesSerialized |= TrySerializeDelegate(oneDelegate, multiCastData);
                    
114
                    
115                            foreach (FieldInfo field in fields)
                    
116                            {
                    
231
                    
232            foreach (object elem in serializedData)
                    
233            {
                    
                
man-provider.cs https://github.com/sdether/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 ("\">")
                    
                
soapsuds.cs https://github.com/pruiz/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		{
                    
                
HtmlParameterEncoder.cs https://github.com/pruiz/mono.git | C# | 239 lines
                    
213
                    
214            foreach (var c in UrlParameterSafeList()) {
                    
215                yield return c;
                    
                
TimelineUtility.cs https://gitlab.com/hieplv.amgame/c0lor-blocks | C# | 315 lines
                    
15        {
                    
16            foreach (var i in tracks)
                    
17                allTracks.Remove(i);
                    
116            var allDirectors = Resources.FindObjectsOfTypeAll(typeof(PlayableDirector)) as PlayableDirector[];
                    
117            foreach (var director in allDirectors)
                    
118            {
                    
235
                    
236            foreach (TrackAsset t in asset.GetChildTracks())
                    
237            {
                    
268
                    
269            foreach (var track in timelineAsset.GetOutputTracks())
                    
270            {
                    
270            {
                    
271                foreach (var clip in track.clips)
                    
272                {
                    
                
PersistentArrayHolder.cs https://github.com/enjoii/WCell.git | C# | 353 lines
                    
197			int index = 0;
                    
198			foreach (object element in tempList)
                    
199			{
                    
                
BellmanFordShortestPathAlgorithm.cs https://github.com/rhishi/QuickGraph.git | C# | 248 lines
                    
176            this.VertexColors.Clear();
                    
177            foreach (var u in VisitedGraph.Vertices)
                    
178            {
                    
185            if (!this.TryGetRootVertex(out root))
                    
186                foreach (var v in this.VisitedGraph.Vertices)
                    
187                {
                    
208                bool atLeastOneTreeEdge = false;
                    
209                foreach (var e in this.VisitedGraph.Edges)
                    
210                {
                    
225            var relaxer = this.DistanceRelaxer;
                    
226            foreach (var e in this.VisitedGraph.Edges)
                    
227            {
                    
                
CaretMoveActions.cs https://github.com/azeno/monodevelop.git | C# | 342 lines
                    
52			FoldSegment segment = null;
                    
53			foreach (FoldSegment folding in foldings) {
                    
54				if (folding.IsFolded && folding.EndColumn == data.Caret.Column) {
                    
96			FoldSegment segment = null;
                    
97			foreach (FoldSegment folding in foldings) {
                    
98				if (folding.IsFolded && folding.Column == data.Caret.Column) {
                    
161			IEnumerable<FoldSegment> foldings = data.Document.GetFoldingsFromOffset (offset);
                    
162			foreach (FoldSegment folding in foldings) {
                    
163				if (folding.IsFolded) {
                    
228			FoldSegment segment = null;
                    
229			foreach (FoldSegment folding in foldings) {
                    
230				if (folding.IsFolded && folding.Contains (data.Document.LocationToOffset (newLocation))) {
                    
271			FoldSegment segment = null;
                    
272			foreach (FoldSegment folding in foldings) {
                    
273				if (folding.IsFolded && folding.Contains (data.Document.LocationToOffset (newLocation))) {
                    
                
PurchasesController.cs https://gitlab.com/Andersonrm28/Ecomerce | C# | 239 lines
                    
202            {
                    
203                foreach (var item in purchaseDetails)
                    
204                {
                    
                
AdRotator.cs https://github.com/pruiz/mono.git | C# | 310 lines
                    
137			
                    
138			foreach (Hashtable a in ads) {
                    
139				if (keywordFilterEmpty || KeywordFilter == (string) a ["Keyword"])
                    
144
                    
145			foreach (Hashtable a in ads) {
                    
146				if (!keywordFilterEmpty && KeywordFilter != (string) a ["Keyword"])
                    
170			
                    
171			foreach (XmlNode n in d.DocumentElement.ChildNodes) {
                    
172
                    
174				
                    
175				foreach (XmlNode nn in n.ChildNodes)
                    
176					ad.Add (nn.Name, nn.InnerText);
                    
                
NavigationSidePanel.ascx.cs https://gitlab.com/rekby-archive/onlyoffice-CommunityServer | C# | 292 lines
                    
102        {
                    
103            foreach (var module in WebItemManager.Instance.GetSubItems(CommunityProduct.ID))
                    
104            {
                    
                
PaginatedResourceFactory.cs https://gitlab.com/github-cloud-corp/aws-sdk-unity | C# | 293 lines
                    
97
                    
98            foreach (string property in propPath)
                    
99            {
                    
110            PropertyInfo currentProperty = null;
                    
111            foreach (string property in propPath)
                    
112            {
                    
                
Comment.cs https://github.com/AnthonyNystrom/GenXSource.git | C# | 292 lines
                    
80                            // Send notification email to all members participating in the thread
                    
81                            foreach (DataRow row in targetMembers.Tables[0].Rows)
                    
82                            {   
                    
                
WmlControlAdapter.cs https://github.com/pruiz/mono.git | C# | 354 lines
                    
126
                    
127                        foreach(String name in dictionary.Keys)
                    
128                        {
                    
                
ToonEditor.cs https://gitlab.com/RunningFromLions/CombatSyatem | C# | 378 lines
                    
221        int Count = 0;
                    
222        foreach (Attributes.StatName stat in System.Enum.GetValues(typeof(Attributes.StatName)))
                    
223        {
                    
231            Toon.Stats.Clear();
                    
232            foreach (Attributes.StatName stat in System.Enum.GetValues(typeof(Attributes.StatName)))
                    
233            {
                    
299        int Count = 0;
                    
300        foreach (CreateNewCharacter.CharacterAudio.ClipName clip in System.Enum.GetValues(typeof(CreateNewCharacter.CharacterAudio.ClipName)))
                    
301        {
                    
309            Toon.AudioClips.Clear();
                    
310            foreach (CreateNewCharacter.CharacterAudio.ClipName clip in System.Enum.GetValues(typeof(CreateNewCharacter.CharacterAudio.ClipName)))
                    
311            {
                    
                
ModelClass.cs https://github.com/castleprojectcontrib/Projects.git | C# | 230 lines
                    
178            {
                    
179                foreach (ModelProperty modelProperty in Properties)
                    
180                    if (modelProperty.KeyType != KeyType.None)
                    
189            {
                    
190                foreach (ModelProperty modelProperty in Properties)
                    
191                    if (modelProperty.KeyType != KeyType.None)
                    
                
MainWindow.cs https://github.com/joslinm/CSL.git | C# | 352 lines
                    
174                {
                    
175                    foreach (string torrent in torrents)
                    
176                    {
                    
254
                    
255            foreach (string file in files)
                    
256            {
                    
259                {
                    
260                    foreach (string unzipped in DirectoryHandler.UnzipFile(file))
                    
261                        items.Add(new FileInfo(unzipped));
                    
                
scenario4_foregroundgeofence.xaml.cs https://gitlab.com/Rockyspade/Windows-universal-samples | C# | 340 lines
                    
191            {
                    
192                foreach (GeofenceStateChangeReport report in reports)
                    
193                {
                    
                
Map.cs https://gitlab.com/ErikZappy/Fallen | C# | 554 lines
                    
58	private void setUpMap(){
                    
59		foreach(Transform ch in transform){
                    
60			Land land = ch.gameObject.GetComponent<Land>();
                    
160
                    
161		foreach(Land current in landList){
                    
162			int thing = landList.IndexOf(current);
                    
296
                    
297		foreach(Land l in actualList){
                    
298			int newDist = mDist(u.getLandInhabiting(), l);
                    
539		int numLow = 100;
                    
540		foreach(Land l in list){
                    
541			int fScore = mDist(l, end) + g_Scores[l];
                    
                
WinRawMouse.cs https://gitlab.com/gonzague.defraiteur/GoliatEditor | C# | 366 lines
                    
88                // Discover mouse devices
                    
89                foreach (RawInputDeviceList dev in ridl)
                    
90                {
                    
326                MouseState master = new MouseState();
                    
327                foreach (MouseState ms in mice)
                    
328                {
                    
                
CodeClass.cs https://github.com/sdether/mono.git | C# | 348 lines
                    
204			FieldBuilder fb = typeBuilder.DefineField (GetFieldName (name), type, attrs);
                    
205			foreach (CodeCustomAttribute a in customAttributes)
                    
206				fb.SetCustomAttribute (a.Builder);
                    
297			
                    
298			foreach (FieldInfo f in fields) {
                    
299				cw.BeginLine ();
                    
300				ArrayList atts = (ArrayList) fieldAttributes [f];
                    
301				foreach (CodeCustomAttribute a in atts)
                    
302					a.PrintCode (cw);
                    
329				
                    
330			foreach (CodeProperty prop in properties)
                    
331				prop.Generate ();
                    
332
                    
333			foreach (CodeMethod met in methods)
                    
334				met.Generate ();
                    
                
InfraredFrameSource.cs https://gitlab.com/IOException/KinectGame | C# | 289 lines
                    
121                var args = new Windows.Kinect.FrameCapturedEventArgs(result);
                    
122                foreach(var func in callbackList)
                    
123                {
                    
182                var args = new Windows.Data.PropertyChangedEventArgs(result);
                    
183                foreach(var func in callbackList)
                    
184                {
                    
                
MessageSecurityBindingSupport.cs https://github.com/rasmus-toftdahl-olesen/mono.git | C# | 447 lines
                    
197		{
                    
198			foreach (SecurityTokenParameters p in s.Signed)
                    
199				l.Add (new SupportingTokenInfo (GetSigningToken (p), SecurityTokenAttachmentMode.Signed, required));
                    
199				l.Add (new SupportingTokenInfo (GetSigningToken (p), SecurityTokenAttachmentMode.Signed, required));
                    
200			foreach (SecurityTokenParameters p in s.Endorsing)
                    
201				l.Add (new SupportingTokenInfo (GetSigningToken (p), SecurityTokenAttachmentMode.Endorsing, required));
                    
201				l.Add (new SupportingTokenInfo (GetSigningToken (p), SecurityTokenAttachmentMode.Endorsing, required));
                    
202			foreach (SecurityTokenParameters p in s.SignedEndorsing)
                    
203				l.Add (new SupportingTokenInfo (GetSigningToken (p), SecurityTokenAttachmentMode.SignedEndorsing, required));
                    
203				l.Add (new SupportingTokenInfo (GetSigningToken (p), SecurityTokenAttachmentMode.SignedEndorsing, required));
                    
204			foreach (SecurityTokenParameters p in s.SignedEncrypted)
                    
205				l.Add (new SupportingTokenInfo (GetSigningToken (p), SecurityTokenAttachmentMode.SignedEncrypted, required));
                    
                
TabControlTests.cs https://gitlab.com/kush/Avalonia | C# | 332 lines
                    
309
                    
310            foreach (var tabItem in target.GetLogicalChildren().OfType<TabItem>())
                    
311            {
                    
                
LambdaSimplifierCodeRefactoringProvider.cs https://gitlab.com/sharadag/TestProject2 | C# | 295 lines
                    
171            // Check if any of the parameter is of Type Dynamic
                    
172            foreach (var parameter in lambdaMethod.Parameters)
                    
173            {
                    
                
AspViewCompiler.cs https://github.com/castleprojectcontrib/Projects.git | C# | 216 lines
                    
80					Directory.CreateDirectory(targetTemporarySourceFilesDirectory);
                    
81				foreach (AspViewFile file in files)
                    
82					SaveFile(file, targetTemporarySourceFilesDirectory);
                    
105			string[] fileNames = Directory.GetFiles(viewsDirectory, "*.aspx", SearchOption.AllDirectories);
                    
106			foreach (string fileName in fileNames)
                    
107			{
                    
162
                    
163			foreach (ReferencedAssembly reference in actualReferences)
                    
164			{
                    
174				sb.Append(" /addmodule: ");
                    
175				foreach (string moduleToAdd in modulesToAdd)
                    
176					sb.Append(Path.Combine(targetDirectory, moduleToAdd));
                    
184				List<string> fileNames = new List<string>(files.Count);
                    
185				foreach (AspViewFile file in files)
                    
186					fileNames.Add(Path.Combine(targetTemporarySourceFilesDirectory, file.FileName));
                    
                
ActiveAnimation.cs https://gitlab.com/knnnrd/arbattlebot | C# | 352 lines
                    
80
                    
81			foreach (AnimationState state in mAnim)
                    
82			{
                    
106		{
                    
107			foreach (AnimationState state in mAnim)
                    
108			{
                    
157
                    
158			foreach (AnimationState state in mAnim)
                    
159			{
                    
232			// Update the animation speed based on direction -- forward or back
                    
233			foreach (AnimationState state in mAnim)
                    
234			{
                    
                
HandlerBase.cs https://github.com/pruiz/mono.git | C# | 300 lines
                    
224        internal static void CheckForNonCommentChildNodes(XmlNode node) {
                    
225            foreach (XmlNode childNode in node.ChildNodes) {
                    
226                if (childNode.NodeType != XmlNodeType.Comment) {
                    
                
BezierCurve.cs https://gitlab.com/gonzague.defraiteur/GoliatEditor | C# | 262 lines
                    
208
                    
209            foreach (Vector2 pt in points)
                    
210            {
                    
244
                    
245            foreach (Vector2 pt in points)
                    
246            {
                    
                
OAProjectConfigurationProperties.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 395 lines
                    
385            public int OnPropertyChanged(uint itemid, int propid, uint flags) {
                    
386                foreach (var sink in _props._sinks) {
                    
387                    sink.OnChanged(propid);
                    
                
StudyNode.cs https://github.com/scottshea/monodicom.git | C# | 302 lines
                    
101			{
                    
102				foreach (SeriesNode series in source._series)
                    
103				{
                    
269			this.Series.Add(series);
                    
270			foreach (SopInstanceNode node in sopInstances)
                    
271			{
                    
281		{
                    
282			foreach (SeriesNode node in series)
                    
283			{
                    
                
ReflectedActionDescriptor.cs https://bitbucket.org/foobar22/mono.git | C# | 219 lines
                    
177        private static void MergeFiltersIntoList<TFilter>(IList<FilterAttribute> allFilters, IList<TFilter> destFilters) where TFilter : class {
                    
178            foreach (FilterAttribute filter in allFilters) {
                    
179                TFilter castFilter = filter as TFilter;
                    
206            ParameterInfo[] parameterInfos = methodInfo.GetParameters();
                    
207            foreach (ParameterInfo parameterInfo in parameterInfos) {
                    
208                if (parameterInfo.IsOut || parameterInfo.ParameterType.IsByRef) {
                    
                
BattlegroundInfo.cs https://github.com/enjoii/WCell.git | C# | 492 lines
                    
359					// also dequeue everyone else
                    
360					relation.Characters.ForeachCharacter(chr =>
                    
361					{
                    
                
BitSet.cs https://gitlab.com/brian0218/rk3066_r-box_android4.2.2_sdk | C# | 380 lines
                    
83        {
                    
84            foreach ( int i in items )
                    
85                Add( i );
                    
                
BuildPropertyGroup.cs https://github.com/ambroff/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;
                    
                
WpfEventBindingProvider.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 229 lines
                    
85            text.Append("self");
                    
86            foreach (var param in eventDescription.Parameters) {
                    
87                text.Append(", ");
                    
                
ProjectCustomizations.cs https://gitlab.com/SplatoonModdingHub/PTVS | C# | 222 lines
                    
37            bool anySet = false;
                    
38            foreach (var prop in project.Properties.Where(p => p.Name == name)) {
                    
39                prop.Value = value;
                    
49            bool anySet = false;
                    
50            foreach (var prop in group.Properties.Where(p => p.Name == name)) {
                    
51                prop.Value = value;
                    
                
MergeManager.cs https://github.com/skolima/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];
                    
                
CheetahCaption.cs https://gitlab.com/minaz922/subtitleedit | C# | 319 lines
                    
92            // paragraphs
                    
93            foreach (Paragraph p in subtitle.Paragraphs)
                    
94            {
                    
185
                    
186                foreach (byte b in textBytes) // text
                    
187                    fs.WriteByte(b);
                    
                
DelegateInfo.cs https://github.com/mattsnyder/ironruby.git | C# | 233 lines
                    
194            // fixup any references
                    
195            foreach (ReturnFixer rf in fixers) {
                    
196                rf.FixReturn(cg);
                    
                
DynamoDbTableBuilder.cs https://github.com/iancooper/Paramore.git | C# | 208 lines
                    
77
                    
78                    foreach (var result in allResults)
                    
79                    {
                    
105
                    
106                foreach (var tableName in tablesResponse.TableNames)
                    
107                {
                    
127
                    
128            foreach (var attribute in existingAttributes)
                    
129            {
                    
151        {
                    
152            foreach (var index in tableRequest.LocalSecondaryIndexes)
                    
153            {
                    
153            {
                    
154                foreach (var keySchemaElement in index.KeySchema)
                    
155                {
                    
                
MatchRule.cs https://github.com/oskarb/dbus-sharp.git | C# | 338 lines
                    
95			// It shouldn't matter though as long as we're consistent.
                    
96			foreach (KeyValuePair<FieldCode,MatchTest> pair in Fields) {
                    
97				Append (sb, pair.Key.ToString ().ToLower (), pair.Value.Value);
                    
104			if (Args != null)
                    
105				foreach (ArgMatchTest test in tests)
                    
106					if (test.Signature == Signature.StringSig)
                    
137			int argNum = 0;
                    
138			foreach (ArgMatchTest test in tests) {
                    
139				if (argNum > test.ArgNum) {
                    
169
                    
170			foreach (KeyValuePair<FieldCode,MatchTest> pair in Fields) {
                    
171				object value;
                    
                
BrainHelper.cs https://gitlab.com/Tiger66639/neural_network_designer | C# | 259 lines
                    
139            IList<Neuron> iChildren;
                    
140            using (ChildrenAccessor iList = toDelete.Children)                               //don't wrap foreach, this will delete, but for as long as iList is active, the list is locked for reading.
                    
141                iChildren = iList.ConvertTo<Neuron>();
                    
142            Brain.Current.Delete(toDelete);
                    
143            foreach (Neuron i in iChildren)
                    
144            {
                    
166                                                     select ((NeuronCluster)Brain.Current[i])).ToList();
                    
167                    foreach (NeuronCluster i in iClusters)
                    
168                    {
                    
                
PostController.cs https://bitbucket.org/kingshine/wojilu.git | C# | 261 lines
                    
207            IBlock block = getBlock( "list" );
                    
208            foreach (ForumPost post in list.Results) {
                    
209
                    
237            IBlock block = getBlock( "list" );
                    
238            foreach (ForumPost post in list.Results) {
                    
239
                    
                
AutoHideStripBase.cs https://github.com/jspraul/TickZoomPublic.git | C# | 508 lines
                    
230                    int count = 0;
                    
231                    foreach (DockPane pane in DockPanel.Panes)
                    
232                    {
                    
245                    int count = 0;
                    
246                    foreach (DockPane pane in DockPanel.Panes)
                    
247                    {
                    
274                int index = 0;
                    
275                foreach (DockPane dockPane in DockPanel.Panes)
                    
276                {
                    
                
AIMLLoader.cs https://bitbucket.org/VahidN/aimlbot4glider.git | C# | 350 lines
                    
54                {
                    
55                    foreach (string filename in fileEntries)
                    
56                    {
                    
99            // process each of these child nodes
                    
100            foreach (XmlNode currentNode in rootChildren)
                    
101            {
                    
128            // process all the category nodes
                    
129            foreach (XmlNode thisNode in node.ChildNodes)
                    
130            {
                    
230        {
                    
231            foreach(XmlNode child in node.ChildNodes)
                    
232            {
                    
324            // Normalize all words unless they're the AIML wildcards "*" and "_" during AIML loading
                    
325            foreach (string word in substitutedWords)
                    
326            {
                    
                
GridCreator.cs https://gitlab.com/spost/eecs290fps | C# | 347 lines
                    
92	void SetRandomNumbers () {
                    
93		foreach (Transform child in transform) {
                    
94			int weight = Random.Range(0,10);
                    
177
                    
178		foreach (Transform adj in cellToAdd.GetComponent<CellScript>().Adjacents) {
                    
179			adj.GetComponent<CellScript>().AdjacentsOpened++;
                    
212
                    
213				foreach (Transform cell in Grid) {
                    
214					// Removes displayed weight
                    
333				// ...Remove all the pickups [Broken]
                    
334/**				foreach (Transform pickup in allPickups) {
                    
335					if (pickup.gameObject != null){
                    
                
CodeReader.cs https://github.com/skolima/mono.git | C# | 357 lines
                    
224			// resolve branches
                    
225			foreach (Instruction i in code) {
                    
226				switch (i.OpCode.OperandType) {
                    
                
ReadTest_GroupBy.cs https://github.com/skolima/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            {
                    
                
LambdaTests.cs https://gitlab.com/vectorci/aws-sdk-net | C# | 274 lines
                    
43            var deletedFunctions = new List<string>();
                    
44            foreach(var function in createdFunctionNames)
                    
45            {
                    
53
                    
54            foreach (var df in deletedFunctions)
                    
55                createdFunctionNames.Remove(df);
                    
                
FormattingContext.InitialContextFinder.cs https://gitlab.com/sharadag/Roslyn | C# | 200 lines
                    
82                                _formattingRules.AddIndentBlockOperations(list, n, _lastToken);
                    
83                                foreach (var element in list)
                    
84                                {
                    
                
VowpalWabbitAsync.cs https://gitlab.com/admin-github-cloud/vowpal_wabbit | C# | 322 lines
                    
159                {
                    
160                    foreach (var serializer in this.serializers)
                    
161                    {
                    
299                {
                    
300                    foreach (var serializer in this.serializers)
                    
301                    {
                    
310                {
                    
311                    foreach (var serializer in this.actionDependentFeatureSerializers)
                    
312                    {
                    
                
Release.cs https://github.com/dufoli/banshee.git | C# | 395 lines
                    
99            if (type_string != null) {
                    
100                foreach (string token in type_string.Split (' ')) {
                    
101                    if (type == null) {
                    
                
scenario2_receivemidimessages.xaml.cs https://gitlab.com/Rockyspade/Windows-universal-samples | C# | 263 lines
                    
67            // Close all MidiInPorts
                    
68            foreach (MidiInPort inPort in this.midiInPorts)
                    
69            {
                    
                
MainForm.cs https://gitlab.com/seranth/FreeImage | C# | 412 lines
                    
103				int mCnt = 0;
                    
104				foreach (MetadataModel model in mData.List)
                    
105				{
                    
315						// structure for the bitmaps data. These structures can be accessed
                    
316						// by using the foreach clause.
                    
317						else if (bitmap.ColorDepth == 16)
                    
322							{
                    
323								foreach (Scanline<FI16RGB555> scanline in bitmap)
                    
324								{
                    
336							{
                    
337								foreach (Scanline<FI16RGB565> scanline in bitmap)
                    
338								{
                    
353							// For 24bpp Scanline<RGBTRIPLE> must be used
                    
354							foreach (Scanline<RGBTRIPLE> scanline in bitmap)
                    
355							{
                    
                
AdminCommands.cs https://github.com/enjoii/WCell.git | C# | 423 lines
                    
112			Array.Sort(roles, (role1, role2) => role1.Rank - role2.Rank);
                    
113			foreach (var r in roles)
                    
114			{
                    
350				var i = 0;
                    
351				foreach (var ban in bans)
                    
352				{
                    
408				{
                    
409					foreach (var ban in bans)
                    
410					{
                    
                
ConcurrentDictionary.cs https://github.com/sdether/mono.git | C# | 438 lines
                    
49		{
                    
50			foreach (KeyValuePair<TKey, TValue> pair in values)
                    
51				Add (pair.Key, pair.Value);
                    
61		{
                    
62			foreach (KeyValuePair<TKey, TValue> pair in values)
                    
63				Add (pair.Key, pair.Value);
                    
310
                    
311			foreach (KeyValuePair<TKey, TValue> kvp in this)
                    
312				temp.Add (extractor (kvp));
                    
337		{
                    
338			foreach (var kvp in this) {
                    
339				array [startIndex++] = kvp;
                    
                
HostedTransportConfigurationManager.cs https://github.com/pruiz/mono.git | C# | 275 lines
                    
167                        // Register protocols.
                    
168                        foreach (string protocol in metabaseSettings.GetProtocols())
                    
169                        {
                    
255            List<Uri> baseAddresses = new List<Uri>();
                    
256            foreach (HostedTransportConfiguration configuration in configurations.Values)
                    
257            {
                    
                
Constant.cs https://github.com/pruiz/mono.git | C# | 345 lines
                    
89            bool isFirst = true;
                    
90            foreach (Constant constant in constants)
                    
91            {
                    
                
Form1.cs https://github.com/alzeih/OpenRA.git | C# | 526 lines
                    
82				// TODO: make this work properly
                    
83				foreach( var init in Rules.Info[kv.Value.Type].GetInitKeys() )
                    
84					apd.AddRow(init.First,
                    
145			var palettes = new[] { tilePalette, actorPalette, resourcePalette };
                    
146			foreach (var p in palettes) { p.Visible = false; p.SuspendLayout(); }
                    
147			foreach (var t in tileset.Templates)
                    
176
                    
177			foreach (var a in Rules.Info.Keys)
                    
178			{
                    
216
                    
217			foreach (var a in Rules.Info["world"].Traits.WithInterface<ResourceTypeInfo>())
                    
218			{
                    
248
                    
249			foreach (var p in palettes)
                    
250			{
                    
                
DeleteRequestHandler.cs https://gitlab.com/pgksunilkumar/Serenity | C# | 262 lines
                    
45        {
                    
46            foreach (var behavior in behaviors)
                    
47                behavior.OnBeforeDelete(this);
                    
63
                    
64            foreach (var behavior in behaviors)
                    
65                behavior.OnAfterDelete(this);
                    
69        {
                    
70            foreach (var behavior in behaviors)
                    
71                behavior.OnValidateRequest(this);
                    
77
                    
78            foreach (var behavior in behaviors)
                    
79                behavior.OnPrepareQuery(this, query);
                    
160                BatchGenerationUpdater.OnCommit(this.UnitOfWork, Row.GetFields().GenerationKey);
                    
161                foreach (var key in attr.GenerationKeys)
                    
162                    BatchGenerationUpdater.OnCommit(this.UnitOfWork, key);
                    
                
ExternalModel.cs https://github.com/willkurt/Flash-Card-for-the-Microsoft-Surface.git | C# | 221 lines
                    
40            this.imageUrisUnlabeled = new List<string> { };
                    
41            foreach (string address in imageUris)
                    
42            {
                    
                
PageThemeCompiler.cs https://github.com/cschlote/mono.git | C# | 283 lines
                    
103			if (builder.Children != null) {
                    
104				foreach (object o in builder.Children) {
                    
105					if (! (o is ControlBuilder))
                    
168			if (builder.Children != null) {
                    
169				foreach (object o in builder.Children) {
                    
170					if (! (o is ControlBuilder))
                    
212			if (builder.Children != null) {
                    
213				foreach (object o in builder.Children) {
                    
214					if (o is string) /* literal stuff gets ignored */
                    
250			if (builder.Children != null) {
                    
251				foreach (object o in builder.Children) {
                    
252					if (o is string) /* literal stuff gets ignored */
                    
                
SqlNamer.cs https://github.com/pruiz/mono.git | C# | 270 lines
                    
112            private bool IsUniqueName(List<SqlColumn> columns, ICollection<string> reservedNames, SqlColumn c, string name) {
                    
113                foreach (SqlColumn sc in columns) {
                    
114                    if (sc != c && string.Compare(sc.Name, name, StringComparison.OrdinalIgnoreCase) == 0)
                    
185                }
                    
186                foreach (SqlMemberAssign ma in sox.Members) {
                    
187                    string n = ma.Member.Name;
                    
221
                    
222                foreach (var expr in orderList) {
                    
223                    visitor.Visit(expr.Expression);
                    
                
PutLifecycleConfigurationRequestMarshaller.cs https://gitlab.com/CORP-RESELLER/aws-sdk-net | C# | 197 lines
                    
61                        {
                    
62                            foreach (var lifecycleConfigurationLifecycleConfigurationrulesListValue in lifecycleConfigurationLifecycleConfigurationrulesList)
                    
63                            {
                    
88                                    {
                    
89                                        foreach (var transition in transitions)
                    
90                                        {
                    
124                                    {
                    
125                                        foreach (var noncurrentVersionTransition in noncurrentVersionTransitions)
                    
126                                        {
                    
                
Profile.aspx.cs https://gitlab.com/CORP-RESELLER/rest-api-sample-app-dotnet | C# | 261 lines
                    
56                {
                    
57                    foreach (var row in distinctRows)
                    
58                    {
                    
105                {
                    
106                    foreach (var row in distinctRows)
                    
107                    {
                    
                
BluetoothLeService.cs https://gitlab.com/muthuprabhu/monodroid-samples | C# | 341 lines
                    
98					StringBuilder stringBuilder = new StringBuilder (data.Length);
                    
99					foreach (byte byteChar in data)
                    
100						stringBuilder.Append (String.Format ("{0}02X ", byteChar));
                    
                
TypeNameDecoder.cs https://gitlab.com/sharadag/Roslyn | C# | 258 lines
                    
186
                    
187                foreach (bool flag in argumentRefersToNoPiaLocalType)
                    
188                {
                    
208            {
                    
209                foreach (int rank in fullName.ArrayRanks)
                    
210                {
                    
226
                    
227            foreach (var argument in arguments)
                    
228            {
                    
                
InMethodBinder.cs https://gitlab.com/sharadag/Roslyn | C# | 302 lines
                    
51                _parameterMap = new MultiDictionary<string, ParameterSymbol>(parameters.Length, EqualityComparer<string>.Default);
                    
52                foreach (var parameter in parameters)
                    
53                {
                    
68            var declarationMap = _definitionMap ?? (_definitionMap = new SmallDictionary<string, Symbol>());
                    
69            foreach (Symbol s in definitions)
                    
70            {
                    
210
                    
211            foreach (var parameterSymbol in _parameterMap[name])
                    
212            {
                    
220            {
                    
221                foreach (var parameter in _methodSymbol.Parameters)
                    
222                {
                    
                
ReplaceMethodWithPropertyTests.cs https://gitlab.com/sharadag/Roslyn | C# | 425 lines
                    
303            await TestAsync(
                    
304@"using System.Collections; class C { public IEnumerator [||]GetEnumerator() { } void Bar() { foreach (var x in this) { } } }",
                    
305@"using System.Collections; class C { public IEnumerator Enumerator { get { } } void Bar() { {|Conflict:foreach (var x in this) { }|} } }");
                    
                
SessionStateCmdletAPIs.cs https://gitlab.com/unofficial-mirrors/PowerShell | C# | 354 lines
                    
62
                    
63            foreach (SessionStateScope scope in scopeEnumerator)
                    
64            {
                    
153
                    
154            foreach (SessionStateScope scope in scopeEnumerator)
                    
155            {
                    
155            {
                    
156                foreach (KeyValuePair<string, List<CmdletInfo>> entry in scope.CmdletTable)
                    
157                {
                    
163                        List<CmdletInfo> toBeAdded = new List<CmdletInfo>();
                    
164                        foreach (CmdletInfo cmdletInfo in entry.Value)
                    
165                        {
                    
206
                    
207            foreach (KeyValuePair<string, List<CmdletInfo>> entry in scope.CmdletTable)
                    
208            {
                    
                
Package.cs https://github.com/AnthonyNystrom/GenXSource.git | C# | 551 lines
                    
193		{
                    
194			foreach(Requirement tmpRequirement in this.requirements)
                    
195			{
                    
207
                    
208			foreach(Requirement tmpRequirement in this.requirements)
                    
209			{
                    
315		{
                    
316			foreach(Actor actor in this.actors)
                    
317			{
                    
320
                    
321			foreach(Package subPackage in this.packages)
                    
322			{
                    
340
                    
341			foreach(Requirement requirement in this.requirements)
                    
342			{
                    
                
RoomView.cs https://gitlab.com/nicolas.diazb97/chrome-score | C# | 354 lines
                    
59			if(myChatsMembers != null){
                    
60				foreach (ChatsMembers cm in myChatsMembers.list ) {
                    
61					remoteMembers.Add(cm.Members);
                    
119
                    
120		foreach (Member m in remoteMembers) {
                    
121			if(m.MemberId == _msj.Sender){
                    
145	void PutMessages(MessagesList msjs, bool isNewMessages){
                    
146		foreach (Messages m in msjs.list) {
                    
147			CheckRemoteMembersAndThenInstantiateCard(m);
                    
178//	void PutMessages(MessagesList msjs, bool isNewMessages){
                    
179//		foreach (Messages m in msjs.list) {
                    
180//			CheckRemoteMembersAndThenInstantiateCard(m);
                    
251		string result = "";
                    
252		foreach (Member m in remoteMembers) {
                    
253			if(m.MemberId == _id){
                    
                
NewWAPackVMTests.cs https://gitlab.com/jslee1/azure-powershell | C# | 353 lines
                    
340
                    
341            foreach (var vm in this.CreatedVirtualMachines)
                    
342            {
                    
                
PropertiesToMethodMapper.cs https://github.com/mrtns/ncqrs.git | C# | 230 lines
                    
140
                    
141            foreach (var method in potentialTargets)
                    
142            {
                    
                
NunitWebTest.cs https://github.com/sdether/mono.git | C# | 301 lines
                    
160			XmlNodeList allNodes = tempDoc.SelectNodes ("//*");
                    
161			foreach (XmlNode n in allNodes) {
                    
162				if (n.Attributes["style"] != null) {
                    
227				{
                    
228					foreach (XmlElement tmpXmlElement in DocNodeList)
                    
229					{
                    
229					{
                    
230						foreach (XmlAttribute tmpIgnoreAttr in XmlIgnoreNode.Attributes)
                    
231						{
                    
257				{
                    
258					foreach (XmlElement tmpXmlElement in DocNodeList)
                    
259					{
                    
261						{
                    
262							foreach (XmlAttribute tmpIgnoreAttr in XmlIgnoreNode.Attributes)
                    
263							{
                    
                
ReadOnlyXmlMembershipProvider.cs https://github.com/gstoyanov/dotnetopenid.git | C# | 270 lines
                    
178
                    
179			foreach (KeyValuePair<string, MembershipUser> pair in this.users) {
                    
180				users.Add(pair.Value);
                    
247
                    
248					foreach (XmlNode node in nodes) {
                    
249						MembershipUser user = new MembershipUser(
                    
                
EndpointAddress.cs https://github.com/sdether/mono.git | C# | 390 lines
                    
143
                    
144			foreach (AddressHeader h in this.Headers) {
                    
145				bool match = false;
                    
145				bool match = false;
                    
146				foreach (AddressHeader o in other.Headers)
                    
147					if (h.Equals (o)) {
                    
                
ServiceConfiguration.cs https://github.com/pruiz/mono.git | C# | 348 lines
                    
298
                    
299                foreach (var uri in this.host.BaseAddresses)
                    
300                {
                    
302                    {
                    
303                        foreach (ContractDescription contract in mostSpecificContracts)
                    
304                        {
                    
                
NetworkChange.cs https://github.com/pruiz/mono.git | C# | 506 lines
                    
397			NetworkInterface [] adapters = NetworkInterface.GetAllNetworkInterfaces ();
                    
398			foreach (NetworkInterface n in adapters) {
                    
399				// TODO: also check for a default route present?
                    
                
DiscreteACO.cs https://gitlab.com/alvinahmadov2/aifh | C# | 363 lines
                    
224            // Adjust for ants.
                    
225            foreach (DiscreteAnt a in _ants)
                    
226            {
                    
242            {
                    
243                foreach (DiscreteAnt a in _ants)
                    
244                {
                    
255        {
                    
256            foreach (DiscreteAnt a in _ants)
                    
257            {
                    
268
                    
269            foreach (DiscreteAnt a in _ants)
                    
270            {
                    
                
Spell.Aura.cs https://github.com/enjoii/WCell.git | C# | 472 lines
                    
186
                    
187			ForeachEffect(effect =>
                    
188			{
                    
315			var list = new List<Spell>(spellSetIds.Length * 6);
                    
316			foreach (var id in spellSetIds)
                    
317			{
                    
333			}
                    
334			foreach (var spell in spells)
                    
335			{
                    
370			var list = new List<Spell>(spellSetIds.Length * 6);
                    
371			foreach (var id in spellSetIds)
                    
372			{
                    
388			}
                    
389			foreach (var spell in spells)
                    
390			{
                    
                
Minus.cs https://gitlab.com/billyprice1/ShareX | C# | 394 lines
                    
171                Config.FolderList.Clear();
                    
172                foreach (MinusFolder minusFolder in mflr.results)
                    
173                {
                    
                
LocalizationHandler.cs https://gitlab.com/pgksunilkumar/Serenity | C# | 291 lines
                    
172
                    
173            foreach (var field in row.GetFields())
                    
174            {
                    
266
                    
267            foreach (var localRow in localRows)
                    
268            {
                    
                
PBXParser.cs https://gitlab.com/mutatis/Krazy | C# | 470 lines
                    
400            int i=0;
                    
401            foreach( KeyValuePair<string, object> pair in dictionary ) {
                    
402                SerializeString( pair.Key, builder );
                    
                
LayoutItemStatePersister.cs https://gitlab.com/Katze/gemini | C# | 214 lines
                    
33
                    
34                    foreach (var item in itemStates)
                    
35                    {
                    
                
SkeletonClipping.cs https://gitlab.com/hoangduy09100/falling-box | C# | 296 lines
                    
59			clippingPolygons = triangulator.Decompose(clippingPolygon, triangulator.Triangulate(clippingPolygon));
                    
60			foreach (var polygon in clippingPolygons) {
                    
61				MakeClockwise(polygon);
                    
                
SecurityElement.cs https://github.com/acken/mono.git | C# | 458 lines
                    
111			if (se.attributes != null) {
                    
112				foreach (SecurityAttribute sa in se.attributes) {
                    
113					this.AddAttribute (sa.Name, sa.Value);
                    
116			if (se.children != null) {
                    
117				foreach (SecurityElement child in se.children) {
                    
118					this.AddChild (child);
                    
128				Hashtable result = new Hashtable (attributes.Count);
                    
129				foreach (SecurityAttribute sa in attributes) {
                    
130					result.Add (sa.Name, sa.Value);
                    
158				if (value != null) {
                    
159					foreach (object o in value) {
                    
160						if (o == null)
                    
261					return false;
                    
262				foreach (SecurityAttribute sa1 in attributes) {
                    
263					SecurityAttribute sa2 = other.GetAttribute (sa1.Name);
                    
                
AdminController.cs https://bitbucket.org/Maslow/breusable-codeplex.git | C# | 319 lines
                    
118                case RulesBulkAction.Enable:
                    
119                    foreach (var entry in checkedEntries) {
                    
120                        _rulesServices.GetRule(entry.RuleId).Enabled = true;
                    
123                case RulesBulkAction.Disable:
                    
124                    foreach (var entry in checkedEntries) {
                    
125                        _rulesServices.GetRule(entry.RuleId).Enabled = false;
                    
128                case RulesBulkAction.Delete:
                    
129                    foreach (var entry in checkedEntries) {
                    
130                        _rulesServices.DeleteRule(entry.RuleId);
                    
191
                    
192            foreach (var eventRecord in rule.Events) {
                    
193                var category = eventRecord.Category;
                    
216
                    
217            foreach (var actionRecord in rule.Actions.OrderBy(x => x.Position)) {
                    
218                var category = actionRecord.Category;
                    
                
X509CertificateStoreTokenResolver.cs https://github.com/pruiz/mono.git | C# | 222 lines
                    
138            token = null;
                    
139            foreach (SecurityKeyIdentifierClause clause in keyIdentifier)
                    
140            {
                    
171                certs = store.Certificates;
                    
172                foreach (X509Certificate2 cert in certs)
                    
173                {
                    
                
StatusStrip.cs https://github.com/pruiz/mono.git | C# | 313 lines
                    
174
                    
175			foreach (ToolStripItem tsi in this.Items) {
                    
176				overflow[i] = tsi.Overflow;
                    
218				
                    
219				foreach (ToolStripItem tsi in this.Items) {
                    
220					if (tsi is ToolStripStatusLabel && (tsi as ToolStripStatusLabel).Spring)
                    
231			// Now we should know where everything goes, so lay everything out
                    
232			foreach (ToolStripItem tsi in this.Items) {
                    
233				tsi.SetPlacement (placement[i]);
                    
250
                    
251			foreach (ToolStripItem tsi in this.Items)
                    
252				if (tsi.Placement == ToolStripItemPlacement.Main && tsi.Available) {
                    
                
Setup.cs https://github.com/pruiz/mono.git | C# | 321 lines
                    
118		{
                    
119			foreach (string db in databases) {
                    
120
                    
                
ForumManager.cs https://gitlab.com/rekby-archive/onlyoffice-CommunityServer | C# | 272 lines
                    
193
                    
194            foreach (var attachment in post.Attachments)
                    
195            {
                    
201        {
                    
202            foreach (var offsetPath in attachmentPaths)
                    
203            {
                    
                
Extensions.cs https://bitbucket.org/suddenelfilio/rilsharp.git | C# | 313 lines
                    
172
                    
173      foreach (JToken token in source)
                    
174      {
                    
182          {
                    
183            foreach (JToken t in token.Children())
                    
184            {
                    
240
                    
241      foreach (JToken token in source)
                    
242      {
                    
                
UploadFileRPC.cs https://bitbucket.org/sendhil/wordpress-windowsphone.git | C# | 359 lines
                    
319            List<Media> result = new List<Media>();
                    
320            foreach (XElement structElement in xDoc.Descendants(XmlRPCResponseConstants.STRUCT))
                    
321            {
                    
335            string value = null;
                    
336            foreach (XElement member in element.Descendants(XmlRPCResponseConstants.MEMBER))
                    
337            {
                    
                
SocketPermission.cs https://github.com/pruiz/mono.git | C# | 354 lines
                    
129		{
                    
130			foreach (EndpointPermission perm1 in list1) {
                    
131				foreach (EndpointPermission perm2 in list2) {
                    
181		{
                    
182			foreach (EndpointPermission perm1 in list1) {
                    
183				bool issubset = false;
                    
183				bool issubset = false;
                    
184				foreach (EndpointPermission perm2 in list2) 
                    
185					if (perm1.IsSubsetOf (perm2)) {
                    
300			ArrayList children = securityElement.Children;
                    
301			foreach (SecurityElement child in children) {
                    
302				if (child.Tag == "ConnectAccess") 
                    
310		{
                    
311			foreach (SecurityElement endpoint in endpoints) {
                    
312				if (endpoint.Tag != "ENDPOINT")
                    
                
Autopilot.Navigator.WeldBlock.cs https://gitlab.com/N3X15/SECE-ARMS | C# | 378 lines
                    
104
                    
105			IEnumerator<Vector3I> neighbours = this.m_targetSlim.ForEachNeighbourCell();
                    
106			while (neighbours.MoveNext())
                    
268			float damage = m_targetSlim.Damage();
                    
269			foreach (Vector3I cell in m_neighbours)
                    
270			{
                    
336			MyAPIGateway.Utilities.TryInvokeOnGameThread(() => {
                    
337				foreach (IMyShipWelder welder in allWelders)
                    
338					if (!welder.Closed)
                    
348
                    
349			foreach (Vector3I emptyCell in m_emptyNeighbours)
                    
350			{
                    
370			if (removeList != null)
                    
371				foreach (Vector3I cell in removeList)
                    
372					m_emptyNeighbours.Remove(cell);
                    
                
Program.cs https://gitlab.com/goolic/WinObjC | C# | 254 lines
                    
32        {
                    
33            foreach (PropertyInfo pi in obj.GetType().GetProperties(BindingFlags.Public | BindingFlags.DeclaredOnly | BindingFlags.Instance))
                    
34            {
                    
116
                    
117            foreach (PropertyCategoryAttribute catAttr in allAttributes)
                    
118            {
                    
123
                    
124            foreach(MemberInfo member in members) {
                    
125                PropertyPageAttribute[] attrs = (PropertyPageAttribute[])Attribute.GetCustomAttributes(member, typeof(PropertyPageAttribute));
                    
126
                    
127                foreach (PropertyPageAttribute attr in attrs)
                    
128                {
                    
176                                FieldInfo[] fields = enumAttr.Enumeration.GetFields(BindingFlags.Public | BindingFlags.Static);
                    
177                                foreach (FieldInfo field in fields)
                    
178                                {
                    
                
ReflectionCache.cs https://github.com/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;
                    
                
 

Source

Language