PageRenderTime 45ms queryTime 82ms sortTime 92ms getByIdsTime 50ms findMatchingLines 14ms

100+ results results for 'foreach lang:c#' (45 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                        {
                    
                
BindingEntityInfo.cs https://github.com/iainlane/mono.git | C# | 360 lines
                    
219            
                    
220            foreach (ClientType.ClientProperty p in bindingEntityInfo.ClientType.Properties)
                    
221            {
                    
                
BlogFunctions.cs https://bitbucket.org/kudutest2/kenticogit.git | C# | 215 lines
                    
198            Array.Sort(tagsArr);
                    
199            foreach (string tag in tagsArr)
                    
200            {
                    
                
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 ();
                    
                
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            {
                    
                
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                {
                    
                
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 ("\">")
                    
                
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            {
                    
                
DefaultControllerFactory.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 294 lines
                    
88            StringBuilder typeList = new StringBuilder();
                    
89            foreach (Type matchedType in matchingTypes)
                    
90            {
                    
                
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;
                    
                
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;
                    
                
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                {
                    
                
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) {
                    
                
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);
                    
                
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];
                    
                
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            {
                    
                
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);
                    
                
DefaultConcurrencyAbstractionLayerTest.cs https://gitlab.com/svsamipillai/Rx.NET | C# | 408 lines
                    
40
                    
41                foreach (var file in Directory.GetFiles(cur))
                    
42                {
                    
                
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            {
                    
                
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            {
                    
                
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);
                    
                
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);
                    
                
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            {
                    
                
Verify.cs https://github.com/josephcooney/ILSpy.git | C# | 312 lines
                    
296            bool isImplemented = false;
                    
297            foreach (var ifaceType in parameter.GetType().GetInterfaces())
                    
298            {
                    
                
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");
                    
                
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            {
                    
                
CmdFill.cs https://github.com/cazzar/MCaznowl-Lava.git | C# | 255 lines
                    
127
                    
128                foreach (Pos pos in buffer)
                    
129                {
                    
                
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);
                    
                
PlatformerController.cs https://bitbucket.org/argylelabcoat/unity-platformerscripts.git | C# | 373 lines
                    
206        {
                    
207		    foreach(ParticleEmitter emitter in GetComponentsInChildren<ParticleEmitter> ()) 
                    
208            {
                    
                
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            {
                    
                
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))
                    
                
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            {
                    
                
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                {
                    
                
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            {
                    
                
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            {
                    
                
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);
                    
                
SubqueryTrackingVisitor.cs https://github.com/pruiz/mono.git | C# | 287 lines
                    
95        {
                    
96            foreach (Node n in m_ancestors)
                    
97            {
                    
                
ReadOnlyXmlMembershipProvider.cs https://github.com/oyvindkinsey/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(
                    
                
FeedModel.cs https://bitbucket.org/azzlack/eyecatch.umbraco.rssfeedgenerator.git | C# | 236 lines
                    
195
                    
196            foreach (var descendant in descendants)
                    
197            {
                    
                
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);
                    
                
CodeClass.cs https://bitbucket.org/luobailiang/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 ();
                    
                
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                    {
                    
                
DotDesktopViewWidget.cs https://github.com/jfcantin/monodevelop.git | C# | 501 lines
                    
110			
                    
111			foreach (string loc in entry.GetLocales ())
                    
112				comboLocales.AppendText (loc);
                    
130			
                    
131			foreach (string mt in sortedmt) {
                    
132				string desc = DesktopService.GetMimeTypeDescription (mt);
                    
137			
                    
138			foreach (string s in entry.GetUnknownEntries ()) {
                    
139				storeEntries.AppendValues ("<b>" + s + "</b>", s, entry.GetEntry (s));
                    
159		{
                    
160			foreach (Gtk.Widget w in boxMenu.Children) {
                    
161				if (w != checkShowInMenu)
                    
177			storeEnvs.Clear ();
                    
178			foreach (XmlElement elem in desktopInfo.DocumentElement.SelectNodes ("Environments/Environment")) {
                    
179				bool sel = envCol != null && envCol.Contains (elem.GetAttribute ("name"));
                    
                
IntroduceUsingDeclarations.cs https://github.com/jfcantin/monodevelop.git | C# | 360 lines
                    
49			// Now add using declarations for those namespaces:
                    
50			foreach (string ns in importedNamespaces.OrderByDescending(n => n)) {
                    
51				// we go backwards (OrderByDescending) through the list of namespaces because we insert them backwards
                    
64			FindAmbiguousTypeNames(context.CurrentModule, internalsVisible: true);
                    
65			foreach (AssemblyNameReference r in context.CurrentModule.AssemblyReferences) {
                    
66				AssemblyDefinition d = context.CurrentModule.AssemblyResolver.Resolve(r);
                    
117				string oldNamespace = currentNamespace;
                    
118				foreach (Identifier ident in namespaceDeclaration.Identifiers) {
                    
119					currentNamespace = NamespaceDeclaration.BuildQualifiedName(currentNamespace, ident.Name);
                    
129		{
                    
130			foreach (TypeDefinition type in module.Types) {
                    
131				if (internalsVisible || type.IsPublic) {
                    
156				string oldNamespace = currentNamespace;
                    
157				foreach (Identifier ident in namespaceDeclaration.Identifiers) {
                    
158					currentNamespace = NamespaceDeclaration.BuildQualifiedName(currentNamespace, ident.Name);
                    
                
DeclareVariables.cs https://github.com/jfcantin/monodevelop.git | C# | 329 lines
                    
93					// remove old variable declarations:
                    
94					foreach (VariableDeclarationStatement varDecl in variables) {
                    
95						Debug.Assert(varDecl.Variables.Single().Initializer.IsNull);
                    
101					}
                    
102					foreach (VariableDeclarationStatement varDecl in variables) {
                    
103						string variableName = varDecl.Variables.Single().Name;
                    
125				// Declare the variable within the sub-blocks
                    
126				foreach (Statement stmt in block.Statements) {
                    
127					ForStatement forStmt = stmt as ForStatement;
                    
143						} else if (HasNestedBlocks(child)) {
                    
144							foreach (BlockStatement nestedSubBlock in child.Children.OfType<BlockStatement>()) {
                    
145								DeclareVariableInBlock(daa, nestedSubBlock, type, variableName, allowPassIntoLoops);
                    
299			
                    
300			ForeachStatement foreachStatement = node as ForeachStatement;
                    
301			if (foreachStatement != null) {
                    
                
AbstractLexer.cs https://github.com/jfcantin/monodevelop.git | C# | 374 lines
                    
51			if (!string.IsNullOrEmpty(symbols)) {
                    
52				foreach (string symbol in symbols.Split (';', ' ', '\t')) {
                    
53					string s = symbol.Trim ();
                    
143					specialCommentHash = new Hashtable();
                    
144					foreach (string str in specialCommentTags) {
                    
145						specialCommentHash.Add(str, null);
                    
                
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            {
                    
                
TinyLogger.cs https://github.com/darkschasu/d3sharp.git | C# | 273 lines
                    
74
                    
75            foreach (var target in LogManager.Targets.Where(target => level >= target.MinimumLevel))
                    
76            {
                    
85
                    
86            foreach (var target in LogManager.Targets.Where(target => level >= target.MinimumLevel))
                    
87            {
                    
                
BizForm_Edit_NotificationEmail.aspx.cs https://bitbucket.org/kudutest2/kenticogit.git | C# | 415 lines
                    
245                // Add visible fields to the list
                    
246                foreach (FormFieldInfo ffi in fields)
                    
247                {
                    
                
WebRequest.cs https://github.com/iainlane/mono.git | C# | 517 lines
                    
95			if (s != null) {
                    
96				foreach (WebRequestModuleElement el in
                    
97					 s.WebRequestModules)
                    
259				
                    
260			foreach(BypassElement elem in sec.BypassList)
                    
261				p.BypassArrayList.Add(elem.Address);
                    
342					if (strProxyServer.Contains ("=")) {
                    
343						foreach (string strEntry in strProxyServer.Split (new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries))
                    
344							if (strEntry.StartsWith ("http=")) {
                    
352					
                    
353						foreach (string str in bypassList) {
                    
354							if (str != "<local>")
                    
399						
                    
400							foreach (string str in bypassList) {
                    
401								if (str != "*.local")
                    
                
NunitWebTest.cs https://github.com/iainlane/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							{
                    
                
StatusStrip.cs https://github.com/iainlane/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) {
                    
                
DebugNavMesh.cs https://github.com/angerwin/d3sharp.git | C# | 347 lines
                    
95
                    
96            Parallel.ForEach(scenes, scene =>
                    
97            {
                    
109
                    
110            Parallel.ForEach(actors, actor =>
                    
111            {
                    
122        {
                    
123            Parallel.ForEach(scene.NavZone.NavCells, cell =>
                    
124            {
                    
155
                    
156            foreach (var scene in this.MasterScenes)
                    
157            {
                    
202            {
                    
203                foreach (var scene in this.MasterScenes)
                    
204                {
                    
                
X509AttrCertStoreSelector.cs https://bitbucket.org/festevezga/socketex.git | C# | 376 lines
                    
359			{
                    
360				foreach (object o in names)
                    
361				{
                    
                
UpdateStreamingDistributionRequestMarshaller.cs https://bitbucket.org/mdavid/aws-sdk-for-net.git | C# | 215 lines
                    
51        
                    
52                foreach (string s in queryString.Split('&')) 
                    
53                {
                    
113                                xmlWriter.WriteStartElement("Items", "http://cloudfront.amazonaws.com/doc/2012-05-05/");
                    
114                                foreach (string aliasesAliasesitemsListValue in aliasesAliasesitemsList) 
                    
115                                {
                    
175                                xmlWriter.WriteStartElement("Items", "http://cloudfront.amazonaws.com/doc/2012-05-05/");
                    
176                                foreach (string trustedSignersTrustedSignersitemsListValue in trustedSignersTrustedSignersitemsList) 
                    
177                                {
                    
                
AtomicComposition.cs https://github.com/iainlane/mono.git | C# | 305 lines
                    
172            {
                    
173                foreach (Action action in this._completeActionList)
                    
174                {
                    
191            {
                    
192                foreach (Action action in this._completeActionList)
                    
193                {
                    
199            {
                    
200                foreach (Action action in this._revertActionList)
                    
201                {
                    
                
SocketPermission.cs https://github.com/iainlane/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")
                    
                
aiCameraVector.cs https://github.com/Akranar/daguerreo.git | C# | 348 lines
                    
49      throw new ArgumentNullException("c");
                    
50    foreach (aiCamera element in c) {
                    
51      this.Add(element);
                    
                
TypeReference.cs https://github.com/jfcantin/monodevelop.git | C# | 445 lines
                    
71			
                    
72			foreach (KeyValuePair<string, string> pair in types) {
                    
73				typesReverse.Add(pair.Value, pair.Key);
                    
74			}
                    
75			foreach (KeyValuePair<string, string> pair in vbtypes) {
                    
76				vbtypesReverse.Add(pair.Value, pair.Key);
                    
148			}
                    
149			foreach (TypeReference r in from.genericTypes) {
                    
150				to.genericTypes.Add(r.Clone());
                    
330			if (IsArrayType) {
                    
331				foreach (int rank in rankSpecifier) {
                    
332					b.Append('[');
                    
                
TemplateGenerator.cs https://github.com/jfcantin/monodevelop.git | C# | 373 lines
                    
195		{
                    
196			//foreach (string referencePath in ReferencePaths) {
                    
197			//	
                    
257			if (location == null) {
                    
258				foreach (string path in includePaths) {
                    
259					string f = Path.Combine (path, requestFileName);
                    
                
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                {
                    
                
ReflectedActionDescriptor.cs https://github.com/iainlane/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) {
                    
                
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            {
                    
                
Default.aspx.cs https://bitbucket.org/kudutest2/kenticogit.git | C# | 428 lines
                    
159            // Loop through the individual items
                    
160            foreach (DataRow categoryDr in categories.Tables[0].Rows)
                    
161            {
                    
267            // Loop through the individual items
                    
268            foreach (DataRow groupDr in groups.Tables[0].Rows)
                    
269            {
                    
377            // Loop through the individual items
                    
378            foreach (DataRow keyDr in keys.Tables[0].Rows)
                    
379            {
                    
                
PropertiesToMethodMapper.cs https://github.com/elfrostie/ncqrs.git | C# | 230 lines
                    
140
                    
141            foreach (var method in potentialTargets)
                    
142            {
                    
                
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))) {
                    
                
EntityRepository.cs https://bitbucket.org/virtualstaticvoid/naom.git | C# | 244 lines
                    
124    {
                    
125      foreach (TEntity entity in GetAll().Where(expression))
                    
126      {
                    
145      // now add user-defined properties
                    
146      foreach (IInternalAttributeType attributeType in entityType.AttributeTypes)
                    
147      {
                    
221
                    
222      foreach (IInternalAttributeType attributeType in entityType.AttributeTypes)
                    
223      {
                    
                
DataTableCollectionTest.cs https://github.com/iainlane/mono.git | C# | 402 lines
                    
76			
                    
77			foreach( DataTable table in tbcol )
                    
78   			{
                    
80				j=0;
                    
81       			foreach( DataColumn column in table.Columns )
                    
82       			{
                    
90			i=0;
                    
91			foreach( DataTable table in tbcol )
                    
92   			{
                    
94				j=0;
                    
95       			foreach( DataColumn column in table.Columns )
                    
96       			{
                    
159			i=0;
                    
160			foreach( DataTable table in tbcol )
                    
161   			{
                    
                
JArrayTests.cs https://github.com/ayoung/Newtonsoft.Json.git | C# | 440 lines
                    
363      int i = 1;
                    
364      foreach (JToken token in a)
                    
365      {
                    
                
ModelWalker.cs https://github.com/jrista/jsonfx.git | C# | 430 lines
                    
71			{
                    
72				foreach (var filter in settings.Filters)
                    
73				{
                    
152			{
                    
153				foreach (var filter in this.Filters)
                    
154				{
                    
351
                    
352			foreach (var memberName in value.GetDynamicMemberNames())
                    
353			{
                    
383
                    
384			foreach (var map in members)
                    
385			{
                    
415			{
                    
416				foreach (DataName n in typeNames)
                    
417				{
                    
                
PgpPublicKeyRingBundle.cs https://bitbucket.org/festevezga/socketex.git | C# | 280 lines
                    
49
                    
50			foreach (object obj in e)
                    
51            {
                    
119
                    
120			foreach (PgpPublicKeyRing pubRing in GetKeyRings())
                    
121			{
                    
121			{
                    
122				foreach (string nextUserID in pubRing.GetPublicKey().GetUserIds())
                    
123				{
                    
154        {
                    
155            foreach (PgpPublicKeyRing pubRing in GetKeyRings())
                    
156            {
                    
177
                    
178			foreach (PgpPublicKeyRing pubRing in GetKeyRings())
                    
179            {
                    
                
PurchasesController.cs https://gitlab.com/Andersonrm28/Ecomerce | C# | 239 lines
                    
202            {
                    
203                foreach (var item in purchaseDetails)
                    
204                {
                    
                
MediaTypeHeaderValueEqualityComparerTests.cs https://bitbucket.org/mdavid/aspnetwebstack.git | C# | 199 lines
                    
95
                    
96            foreach (string parameter in parameters)
                    
97            {
                    
124
                    
125            foreach (string parameter in parameters)
                    
126            {
                    
                
Extensions.cs https://bitbucket.org/barakianc/nvidia-physx-and-apex-in-gge.git | C# | 333 lines
                    
22		{
                    
23			foreach (T obj in enumerable)
                    
24				list.Add(obj);
                    
34        {
                    
35            foreach (T obj in enumerable.ToList())
                    
36                list.Remove(obj);
                    
46        {
                    
47            foreach (object obj in enumerable)
                    
48                list.Add(obj);
                    
58        {
                    
59            foreach (T obj in enumerable)
                    
60                list.Insert(index++, obj);
                    
89            int index = 0;
                    
90            foreach (TSource item in items)
                    
91            {
                    
                
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            {
                    
                
DescribeReservedInstancesOfferingsRequest.cs https://bitbucket.org/mdavid/aws-sdk-for-net.git | C# | 301 lines
                    
76        {
                    
77            foreach (string item in list)
                    
78            {
                    
220        {
                    
221            foreach (Filter item in list)
                    
222            {
                    
                
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                            {   
                    
                
EndpointPermission.cs https://github.com/iainlane/mono.git | C# | 349 lines
                    
130				// enough in this case?
                    
131				foreach (IPAddress addr in this.addresses)
                    
132					if (IsSubsetOf (addr.ToString (), perm.hostname))
                    
139			// enough in this case?
                    
140			foreach (IPAddress addr in perm.addresses)
                    
141				if (IsSubsetOf (this.hostname, addr.ToString ())) 
                    
                
DesignerOptionService.cs https://github.com/iainlane/mono.git | C# | 331 lines
                    
137				get {
                    
138					foreach (DesignerOptionCollection dc in _children) {
                    
139						if (String.Compare (dc.Name, index, true, CultureInfo.InvariantCulture) == 0)
                    
168					
                    
169					foreach (PropertyDescriptor pd in properties)
                    
170						wrappedProperties.Add (new WrappedPropertyDescriptor (pd, _propertiesProvider));
                    
320			DesignerOptionCollection options = this.Options;
                    
321			foreach (string page in pages) {
                    
322				options = options[page];
                    
                
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            {
                    
                
SqlServer2000Generator.cs https://github.com/timosaikkonen/fluentmigrator.git | C# | 213 lines
                    
98
                    
99            foreach (string column in expression.ColumnNames) 
                    
100            {
                    
                
 

Source

Language