summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Hoefling <andrew@hoeflingsoftware.com>2019-03-04 21:53:52 -0500
committerSantiago Fernandez Madero <safern@microsoft.com>2019-03-08 11:20:58 -0800
commitff55c32b76d8843a9be7481200c05ac0d0e2c4c4 (patch)
tree7ae7ec8d86ff7afcc4a51179ea3d622a07e5e115 /src
parent3460d643fa62340b45b85ad0a57934c523ba5496 (diff)
downloadcoreclr-ff55c32b76d8843a9be7481200c05ac0d0e2c4c4.tar.gz
coreclr-ff55c32b76d8843a9be7481200c05ac0d0e2c4c4.tar.bz2
coreclr-ff55c32b76d8843a9be7481200c05ac0d0e2c4c4.zip
Updated foreach to use T instead of var
Diffstat (limited to 'src')
-rw-r--r--src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs b/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs
index 2fb6a2bf33..e521cb15e2 100644
--- a/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs
+++ b/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/Collection.cs
@@ -192,7 +192,7 @@ namespace System.Collections.ObjectModel
}
int i = 0;
- foreach (var item in collection)
+ foreach (T item in collection)
{
Insert(index + i, item);
i++;