267 implementations of Current
mscorlib (55)
system\array.cs (3)
2597public Object Current { 2675public Object Current { 2886object IEnumerator.Current {
system\arraysegment.cs (1)
325object IEnumerator.Current
system\charenumerator.cs (1)
58Object IEnumerator.Current {
system\collections\arraylist.cs (3)
1190public Object Current { 2139public Object Current { 2593public Object Current {
system\collections\bitarray.cs (1)
504public virtual Object Current {
system\Collections\Concurrent\ConcurrentDictionary.cs (1)
2173public object Current
system\collections\concurrent\OrderablePartitioner.cs (1)
265Object IEnumerator.Current
system\collections\concurrent\PartitionerStatic.cs (2)
416Object IEnumerator.Current 1525Object IEnumerator.Current
system\collections\emptyreadonlydictionaryinternal.cs (1)
166public Object Current {
system\collections\generic\dictionary.cs (3)
744object IEnumerator.Current { 964Object System.Collections.IEnumerator.Current { 1149Object System.Collections.IEnumerator.Current {
system\collections\generic\list.cs (1)
1187Object System.Collections.IEnumerator.Current {
system\collections\hashtable.cs (1)
1602public virtual Object Current {
system\collections\listdictionaryinternal.cs (2)
264public Object Current { 391public Object Current {
system\collections\objectmodel\readonlydictionary.cs (1)
322public object Current {
system\collections\queue.cs (1)
430public virtual Object Current {
system\collections\sortedlist.cs (1)
793public virtual Object Current {
system\collections\stack.cs (1)
348public virtual Object Current {
system\deployment\isolationinterop.cs (7)
163object IEnumerator.Current { get { return GetCurrent(); } } 224object IEnumerator.Current { get { return GetCurrent(); } } 288object IEnumerator.Current { get { return GetCurrent(); } } 355object IEnumerator.Current { get { return GetCurrent(); } } 421object IEnumerator.Current { get { return GetCurrent(); } } 485object IEnumerator.Current { get { return GetCurrent(); } } 549object IEnumerator.Current { get { return GetCurrent(); } }
system\globalization\textelementenumerator.cs (1)
110public Object Current {
system\io\filesystemenumerable.cs (1)
130object IEnumerator.Current
system\io\isolatedstorage\isolatedstoragefile.cs (2)
2718public Object Current 2902public Object Current
system\resources\resourcereader.cs (1)
1375public Object Current {
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (1)
273Object IEnumerator.Current {
system\runtime\interopservices\windowsruntime\dictionarykeycollection.cs (1)
113Object IEnumerator.Current {
system\runtime\interopservices\windowsruntime\dictionaryvaluecollection.cs (1)
120Object IEnumerator.Current {
system\runtime\interopservices\windowsruntime\enumeratortoiteratoradapter.cs (1)
59public object Current { get { return enumerator.Current; } }
system\runtime\interopservices\windowsruntime\imapviewtoireadonlydictionaryadapter.cs (2)
214Object IEnumerator.Current { 313Object IEnumerator.Current {
system\runtime\interopservices\windowsruntime\iteratortoenumeratoradapter.cs (1)
138object IEnumerator.Current
system\runtime\remoting\ichannel.cs (1)
773public Object Current { get { return Entry; } }
system\runtime\remoting\message.cs (1)
2294public Object Current {
system\runtime\serialization\serializationinfoenumerator.cs (1)
100Object IEnumerator.Current { //Actually returns a SerializationEntry
system\security\accesscontrol\acl.cs (1)
56object IEnumerator.Current
system\security\permissions\keycontainerpermission.cs (1)
352Object IEnumerator.Current {
system\security\permissionsetenumerator.cs (1)
22public Object Current
system\security\policy\applicationtrust.cs (1)
674object IEnumerator.Current {
system\security\policy\evidence.cs (2)
1641object IEnumerator.Current 1862public object Current
system\security\principal\ircollection.cs (1)
428object IEnumerator.Current
system\security\readonlypermissionset.cs (1)
141public object Current
PresentationCore (37)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (1)
743object IEnumerator.Current
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (1)
207object System.Collections.IEnumerator.Current
Core\CSharp\MS\Internal\Generic\Span.cs (1)
402object IEnumerator.Current
Core\CSharp\MS\Internal\Span.cs (1)
474public object Current
Core\CSharp\System\Windows\FreezableCollection.cs (1)
1099object IEnumerator.Current
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (1)
849object IEnumerator.Current
Core\CSharp\System\Windows\Markup\XmlLanguage.cs (1)
618object IEnumerator.Current
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
857object IEnumerator.Current
Core\CSharp\System\Windows\Media\Animation\TimelineClockCollection.cs (1)
367object System.Collections.IEnumerator.Current
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (1)
581object SC.IEnumerator.Current
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
401public virtual object Current
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
856object IEnumerator.Current
Core\CSharp\System\Windows\Media\FamilyMapCollection.cs (1)
433object SC.IEnumerator.Current
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (1)
449object SC.IEnumerator.Current
Core\CSharp\System\Windows\Media\FormattedText.cs (1)
984object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (1)
877object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\DrawingCollection.cs (1)
893object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
858object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\GeometryCollection.cs (1)
893object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
962object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (1)
877object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
949object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (1)
858object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (1)
879object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\TextEffectCollection.cs (1)
858object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\TransformCollection.cs (1)
893object IEnumerator.Current
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (1)
879object IEnumerator.Current
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (1)
48object IEnumerator.Current
Core\CSharp\System\Windows\Media\VisualCollection.cs (1)
997object IEnumerator.Current
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
854object IEnumerator.Current
Core\CSharp\System\Windows\Media3D\Generated\MaterialCollection.cs (1)
889object IEnumerator.Current
Core\CSharp\System\Windows\Media3D\Generated\Model3DCollection.cs (1)
889object IEnumerator.Current
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (1)
876object IEnumerator.Current
Core\CSharp\System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
889object IEnumerator.Current
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
876object IEnumerator.Current
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
687object IEnumerator.Current
Shared\MS\Internal\GenericEnumerator.cs (1)
72IEnumerator.Current
PresentationFramework (25)
src\Framework\MS\Internal\Controls\EmptyEnumerator.cs (1)
61public object Current {
src\Framework\MS\Internal\Controls\ModelTreeEnumerator.cs (1)
30object IEnumerator.Current
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (1)
838object IEnumerator.Current
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (1)
1581public object Current
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (1)
772object IEnumerator.Current
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
773object IEnumerator.Current
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
372object IEnumerator.Current
src\Framework\MS\Internal\Documents\HostedElements.cs (1)
161object IEnumerator.Current
src\Framework\MS\Internal\ListOfObject.cs (1)
137object IEnumerator.Current
src\Framework\MS\Internal\Navigation\JournalEntryStack.cs (2)
133public object Current 222public object Current
src\Framework\System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
100public object Current
src\Framework\System\Windows\Controls\Grid.cs (1)
4151public Object Current
src\Framework\System\Windows\Controls\MultipleCopiesCollection.cs (1)
354object IEnumerator.Current
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (1)
162object IEnumerator.Current
src\Framework\System\Windows\Controls\TextBlock.cs (1)
4017object IEnumerator.Current
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
293object IEnumerator.Current
src\Framework\System\Windows\Data\CollectionView.cs (1)
1718public object Current
src\Framework\System\Windows\Documents\RangeContentEnumerator.cs (1)
72public object Current
src\Framework\System\Windows\Documents\Table.cs (1)
497public Object Current
src\Framework\System\Windows\Documents\TextElementEnumerator.cs (1)
74object System.Collections.IEnumerator.Current
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
105object IEnumerator.Current
src\Framework\System\Windows\ResourceDictionary.cs (2)
2112object IEnumerator.Current 2183object IEnumerator.Current
src\Framework\System\Windows\Window.cs (1)
8660object IEnumerator.Current
System (30)
compmod\system\collections\generic\linkedlist.cs (1)
507object System.Collections.IEnumerator.Current {
compmod\system\collections\generic\queue.cs (1)
400Object System.Collections.IEnumerator.Current {
compmod\system\collections\generic\sorteddictionary.cs (3)
397object IEnumerator.Current { 581object IEnumerator.Current { 736object IEnumerator.Current {
compmod\system\collections\generic\sortedlist.cs (3)
757Object System.Collections.IEnumerator.Current { 834Object System.Collections.IEnumerator.Current { 895Object System.Collections.IEnumerator.Current {
compmod\system\collections\generic\sortedset.cs (1)
2325object IEnumerator.Current {
compmod\system\collections\generic\stack.cs (1)
314Object System.Collections.IEnumerator.Current {
compmod\system\collections\specialized\listdictionary.cs (2)
295public object Current { 415public object Current {
compmod\system\collections\specialized\nameobjectcollectionbase.cs (1)
653public Object Current {
compmod\system\collections\specialized\ordereddictionary.cs (1)
399public object Current {
compmod\system\componentmodel\ArraySubsetEnumerator.cs (1)
44public object Current {
compmod\system\componentmodel\PropertyDescriptorCollection.cs (1)
694public object Current {
net\System\Net\_ProxyChain.cs (1)
113object IEnumerator.Current
net\System\Net\cookiecollection.cs (1)
285object IEnumerator.Current {
net\System\Net\CredentialCache.cs (1)
342object IEnumerator.Current {
net\System\Net\HttpListenerPrefixCollection.cs (1)
35object System.Collections.IEnumerator.Current{
net\System\Net\X509CertificateCollection.cs (1)
114object IEnumerator.Current {
regex\system\text\regularexpressions\RegexCaptureCollection.cs (1)
195public Object Current {
regex\system\text\regularexpressions\RegexGroupCollection.cs (1)
223public Object Current {
regex\system\text\regularexpressions\RegexMatchCollection.cs (1)
244public Object Current {
security\system\security\cryptography\asnencodeddata.cs (1)
215Object IEnumerator.Current {
security\system\security\cryptography\oid.cs (1)
232Object IEnumerator.Current {
security\system\security\cryptography\x509\x509certificate2collection.cs (1)
1157object IEnumerator.Current {
security\system\security\cryptography\x509\x509chainelement.cs (1)
162Object IEnumerator.Current {
security\system\security\cryptography\x509\x509extension.cs (1)
721Object IEnumerator.Current {
services\monitoring\system\diagnosticts\EventLogEntryCollection.cs (1)
112public object Current {
System.Activities (1)
System\Activities\ActivityInstance.cs (1)
1702object IEnumerator.Current
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
270object IEnumerator.Current
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
462public object Current {
System.AddIn (2)
System\Addin\Hosting\ContravarianceAdapter.cs (1)
58Object IEnumerator.Current
System\Addin\Pipeline\ContractListAdapter.cs (1)
178object System.Collections.IEnumerator.Current
System.Configuration (2)
System\Configuration\ConfigurationElementCollection.cs (1)
1295Object IEnumerator.Current {
System\Configuration\ConfigurationValues.cs (1)
222Object IEnumerator.Current {
System.Core (8)
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (1)
490object System.Collections.IEnumerator.Current {
System\Collections\Generic\HashSet.cs (1)
1587Object System.Collections.IEnumerator.Current {
System\Linq\Enumerable.cs (1)
106object IEnumerator.Current {
System\Linq\Parallel\Enumerables\EmptyEnumerable.cs (1)
71object IEnumerator.Current { get { return null; } }
System\Linq\Parallel\Enumerables\EnumerableWrapperWeakToStrong.cs (1)
74object IEnumerator.Current
System\Linq\Parallel\Merging\MergeEnumerator.cs (1)
50object IEnumerator.Current
System\Linq\Parallel\QueryOperators\QueryOpeningEnumerator.cs (1)
90object IEnumerator.Current
System\Linq\Parallel\QueryOperators\QueryOperatorEnumerator.cs (1)
81object IEnumerator.Current
System.Data (6)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryBase.cs (1)
270object IEnumerator.Current
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (1)
462public object Current {
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (1)
227Object System.Collections.IEnumerator.Current {
fx\src\data\System\Data\Common\dbenumerator.cs (1)
51public object Current {
fx\src\data\System\Data\DataViewSettingCollection.cs (1)
173public object Current {
fx\src\data\System\Data\RbTree.cs (1)
2009Object System.Collections.IEnumerator.Current {
System.Data.Entity (10)
System\Data\Common\Internal\Materialization\Shaper.cs (4)
1263object System.Collections.IEnumerator.Current 1344object System.Collections.IEnumerator.Current 1459object System.Collections.IEnumerator.Current { get { return this.Current; } } 1626object System.Collections.IEnumerator.Current
System\Data\Common\Utils\Set.cs (1)
332object IEnumerator.Current { get { return ((IEnumerator)keys).Current; } }
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (1)
304object System.Collections.IEnumerator.Current
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTableEnumerator.cs (1)
68object System.Collections.IEnumerator.Current
System\Data\Metadata\Edm\ReadOnlyMetadataCollection.cs (1)
70object IEnumerator.Current
System\Data\Objects\EntityEntry.cs (1)
837object IEnumerator.Current
System\Data\Query\InternalTrees\Vars.cs (1)
256object IEnumerator.Current
System.Data.Linq (2)
SqlClient\Reader\ObjectReaderCompiler.cs (1)
2694object IEnumerator.Current {
Types.cs (1)
545object IEnumerator.Current {
System.Data.Services (3)
System\Data\Services\DataService.cs (1)
2827object IEnumerator.Current
System\Data\Services\Internal\ProjectedWrapper.cs (1)
471public object Current
System\Data\Services\Providers\BasicExpandProvider.cs (1)
460public object Current
System.Data.Services.Client (1)
System\Data\Services\Client\MaterializeFromAtom.cs (1)
166public object Current
System.Data.SqlXml (1)
System\Xml\Xsl\ListBase.cs (1)
209object System.Collections.IEnumerator.Current {
System.Drawing (1)
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
1945public object Current {
System.IO.Log (5)
System\IO\Log\FileLogRecordEnumerator.cs (1)
69object IEnumerator.Current
System\IO\Log\LogExtentCollection.cs (1)
212object IEnumerator.Current
System\IO\Log\LogLogRecordEnumerator.cs (1)
60object IEnumerator.Current
System\IO\Log\LogRestartAreaEnumerator.cs (1)
40object IEnumerator.Current
System\IO\Log\ReservationCollection.cs (1)
361object IEnumerator.Current
System.Management (4)
managementobjectcollection.cs (1)
507object IEnumerator.Current
methodset.cs (1)
290object IEnumerator.Current { get { return (object)this.Current; } }
propertyset.cs (1)
271 object IEnumerator.Current { get { return (object)this.Current; } }
qualifierset.cs (1)
363 object IEnumerator.Current { get { return (object)this.Current; } }
System.Messaging (2)
System\Messaging\MessageEnumerator.cs (1)
59object IEnumerator.Current
System\Messaging\MessageQueueEnumerator.cs (1)
74object IEnumerator.Current
System.Runtime.Remoting (2)
channels\core\basetransportheaders.cs (1)
299public Object Current
channels\http\combinedhttpchannel.cs (1)
322public Object Current { get { return Entry; } }
System.Runtime.Serialization (2)
System\Runtime\Serialization\CollectionDataContract.cs (2)
1468object System.Collections.IEnumerator.Current 1506object System.Collections.IEnumerator.Current
System.Security (4)
system\security\cryptography\cryptographicattribute.cs (1)
263Object IEnumerator.Current {
system\security\cryptography\pkcs\pkcs7recipient.cs (1)
197Object IEnumerator.Current {
system\security\cryptography\pkcs\recipientinfo.cs (1)
540Object IEnumerator.Current {
system\security\cryptography\pkcs\signerinfo.cs (1)
866Object IEnumerator.Current {
System.ServiceModel (8)
System\ServiceModel\Channels\HttpHeadersWebHeaderCollection.cs (1)
448public object Current
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
764public Object Current
System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
194object IEnumerator.Current
System\ServiceModel\Description\PolicyReader.cs (1)
359object IEnumerator.Current
System\ServiceModel\Dispatcher\MessageQueryTable.cs (2)
248object IEnumerator.Current 349object IEnumerator.Current
System\ServiceModel\Dispatcher\QueryNode.cs (1)
1153public object Current
System\ServiceModel\SynchronizedReadOnlyCollection.cs (1)
285public object Current
System.Web (15)
Hosting\MapPathBasedVirtualPathProvider.cs (1)
410object IEnumerator.Current {
httpstaticobjectscollection.cs (1)
323public Object Current {
UI\ControlCollection.cs (1)
364object IEnumerator.Current {
UI\WebControls\DummyDataSource.cs (1)
61public object Current {
UI\WebControls\MenuItemCollection.cs (1)
383object IEnumerator.Current {
UI\WebControls\PagedDataSource.cs (4)
385public object Current { 424public object Current { 468public object Current { 508public object Current {
UI\WebControls\TreeNodeCollection.cs (1)
432object IEnumerator.Current {
Util\DoubleLinkListEnumerator.cs (1)
41public Object Current {
Util\EmptyCollection.cs (1)
37object IEnumerator.Current { get { return null; } }
Util\FileEnumerator.cs (1)
143object IEnumerator.Current {
Util\ObjectSet.cs (1)
163public object Current { get { return null; } }
Util\SingleObjectCollection.cs (1)
27public object Current { get { return _object; } }
System.Web.Extensions (4)
UI\WebControls\ListViewPagedDataSource.cs (4)
283public object Current { 322public object Current { 366public object Current { 406public object Current {
System.Web.Services (1)
System\Web\Services\Description\WebServicesInteroperability.cs (1)
809object System.Collections.IEnumerator.Current {
System.Windows.Forms (18)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (9)
169object IEnumerator.Current { get { return GetCurrent(); } } 231object IEnumerator.Current { get { return GetCurrent(); } } 296object IEnumerator.Current { get { return GetCurrent(); } } 364object IEnumerator.Current { get { return GetCurrent(); } } 431object IEnumerator.Current { get { return GetCurrent(); } } 496object IEnumerator.Current { get { return GetCurrent(); } } 561object IEnumerator.Current { get { return GetCurrent(); } } 746object IEnumerator.Current { get { return GetCurrent(); } } 809object IEnumerator.Current { get { return GetCurrent(); } }
winforms\Managed\System\WinForms\Control.cs (1)
15256public object Current {
winforms\Managed\System\WinForms\DataGridViewCellLinkedList.cs (1)
238object IEnumerator.Current
winforms\Managed\System\WinForms\DataGridViewIntLinkedList.cs (1)
239object IEnumerator.Current
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (1)
2948object IEnumerator.Current
winforms\Managed\System\WinForms\ListBox.cs (3)
2917object IEnumerator.Current { 3804object IEnumerator.Current { 4093object IEnumerator.Current {
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (1)
2301public virtual Object Current {
winforms\Managed\System\WinForms\WinFormsUtils.cs (1)
473public object Current {
System.Xml (11)
System\Xml\Dom\XmlChildEnumerator.cs (1)
43object IEnumerator.Current {
System\Xml\Dom\XmlElementList.cs (2)
281public object Current { 297public object Current {
System\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (1)
134public object Current {
System\Xml\Dom\XPathNodeList.cs (1)
98public object Current {
System\Xml\EmptyEnumerator.cs (1)
22object IEnumerator.Current {
System\Xml\Schema\XmlSchemaCollection.cs (1)
425object IEnumerator.Current {
System\Xml\Schema\XmlSchemaObjectCollection.cs (1)
202object IEnumerator.Current {
System\Xml\Schema\XmlSchemaObjectTable.cs (1)
258public Object Current {
System\Xml\Serialization\XmlSchemas.cs (1)
782object System.Collections.IEnumerator.Current {
System\Xml\XPath\XPathNodeIterator.cs (1)
52public virtual object Current {
WindowsBase (5)
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
312object IEnumerator.Current {
Base\System\IO\Packaging\PackageRelationshipCollection.cs (1)
160Object IEnumerator.Current
Base\System\Windows\LocalValueEnumerator.cs (1)
90object IEnumerator.Current
Base\System\Windows\NameScope.cs (1)
443object IEnumerator.Current
Shared\MS\Internal\WeakReferenceEnumerator.cs (1)
44object IEnumerator.Current
507 references to Current
mscorlib (83)
system\collections\arraylist.cs (3)
993_list.Insert(index++, en.Current); 1089_list[index++] = en.Current; 1196return _en.Current;
system\collections\queue.cs (1)
82Enqueue(en.Current);
system\collections\stack.cs (1)
68Push(en.Current);
system\reflection\assembly.cs (1)
2101AssemblyName ainfo = new AssemblyName((String)myEnum.Current);
system\runtime\interopservices\windowsruntime\enumeratortoiteratoradapter.cs (1)
59public object Current { get { return enumerator.Current; } }
system\runtime\remoting\ichannel.cs (1)
777public Object Key { get { return _keyEnum.Current; } }
system\security\accesscontrol\acl.cs (1)
72get { return (( IEnumerator )this ).Current as GenericAce; }
system\security\permissions\keycontainerpermission.cs (2)
579SecurityElement current = (SecurityElement) enumerator.Current; 602SecurityElement current = (SecurityElement) elemEnumerator.Current;
system\security\permissions\principalpermission.cs (2)
362idrolesArray[index++] = (IDRole)idrolesEnumerator.Current; 556idrole.FromXml( (SecurityElement)enumerator.Current );
system\security\permissionset.cs (7)
1582return enumerator.Current as IPermission; 2003IPermission tempPerm = CreatePerm( (SecurityElement)enumerator.Current, ignoreTypeLoadFailures); 2016IPermission tempPerm = CreatePerm( (SecurityElement)enumerator.Current, ignoreTypeLoadFailures); 2033IPermission tempPerm = CreatePerm( (SecurityElement)enumerator.Current, ignoreTypeLoadFailures ); 2044finalPerm = XMLUtil.CreatePermission( GetPermissionElement((SecurityElement)enumerator.Current), PermissionState.Unrestricted, ignoreTypeLoadFailures ); 2064IPermission tempPerm = CreatePerm( (SecurityElement)enumerator.Current, ignoreTypeLoadFailures ); 2140return GetPermissionElement((SecurityElement)enumerator.Current);
system\security\policy\applicationtrust.cs (1)
272fullTrustAssembly.FromXml(enumerator.Current as SecurityElement);
system\security\policy\codegroup.cs (4)
141newList.Add( ((CodeGroup)enumerator.Current).Copy() ); 160CodeGroup group = enumerator.Current as CodeGroup; 373e.AddChild( ((CodeGroup)enumerator.Current).ToXml( level ) ); 587CodeGroupPositionMarker marker = (CodeGroupPositionMarker)enumerator.Current;
system\security\policy\evidence.cs (12)
819Type hostEvidenceType = hostEnumerator.Current.GetType(); 825EvidenceBase hostEvidence = WrapLegacyEvidence(hostEnumerator.Current); 836EvidenceBase assemblyEvidence = WrapLegacyEvidence(assemblyEnumerator.Current); 861EvidenceBase hostEvidence = WrapLegacyEvidence(hostEnumerator.Current); 870EvidenceBase assemblyEvidence = WrapLegacyEvidence(assemblyEnumerator.Current); 909hostList.Add(hostEnumerator.Current); 917assemblyList.Add(assemblyEnumerator.Current); 1077array.SetValue(hostEnumerator.Current, currentIndex); 1084array.SetValue(assemblyEnumerator.Current, currentIndex); 1833LegacyEvidenceWrapper legacyWrapper = currentEnumerator.Current as LegacyEvidenceWrapper; 1834LegacyEvidenceList legacyList = currentEnumerator.Current as LegacyEvidenceList; 1848m_currentEvidence = currentEnumerator.Current;
system\security\policy\filecodegroup.cs (3)
61PolicyStatement childPolicy = PolicyManager.ResolveCodeGroup(enumerator.Current as CodeGroup, 105CodeGroup matchingGroups = ((CodeGroup)enumerator.Current).ResolveMatchingCodeGroups(evidence); 155group.AddChild((CodeGroup)enumerator.Current);
system\security\policy\firstmatchcodegroup.cs (3)
55childPolicy = PolicyManager.ResolveCodeGroup(enumerator.Current as CodeGroup, 131CodeGroup matchingGroups = ((CodeGroup)enumerator.Current).ResolveMatchingCodeGroups( evidence ); 164group.AddChild( (CodeGroup)enumerator.Current );
system\security\policy\netcodegroup.cs (3)
387PolicyStatement childPolicy = PolicyManager.ResolveCodeGroup(enumerator.Current as CodeGroup, 440CodeGroup matchingGroups = ((CodeGroup)enumerator.Current).ResolveMatchingCodeGroups( evidence ); 739group.AddChild( (CodeGroup)enumerator.Current );
system\security\policy\pefileevidencefactory.cs (3)
176if (enumerator.Current != null) 180EvidenceBase currentEvidence = enumerator.Current as EvidenceBase; 183currentEvidence = new LegacyEvidenceWrapper(enumerator.Current);
system\security\policy\policylevel.cs (16)
247newList.Add(((NamedPermissionSet)enumerator.Current).Copy()); 282if (((StrongNameMembershipCondition)enumerator.Current).Equals(snMC)) 313if (((StrongNameMembershipCondition)enumerator.Current).Equals(snMC)) { 314toRemove = enumerator.Current; 348if (((NamedPermissionSet)enumerator.Current).Name.Equals(permSet.Name)) 416groups.Add(childEnumerator.Current); 456currentPSet.SetPermission(((IPermission)enumerator.Current).Copy()); 526elPermSets.AddChild(NormalizeClassDeep(((NamedPermissionSet)enumerator.Current).ToXml(), classes)); 534elFullTrust.AddChild(NormalizeClassDeep(((StrongNameMembershipCondition)enumerator.Current).ToXml(), classes)); 569SecurityElement current = (SecurityElement)enumerator.Current; 590sn.FromXml((SecurityElement)enumerator.Current); 763PolicyStatement ps = ((CodeGroupStackFrame)enumerator.Current).policy; 952StrongNameMembershipCondition snMC = (StrongNameMembershipCondition) enumerator.Current; 1170SecurityElement elPermSet = (SecurityElement)elemEnumerator.Current; 1327NormalizeClassDeep((SecurityElement)enumerator.Current, classes); 1364UnnormalizeClassDeep((SecurityElement)enumerator.Current, classes);
system\security\policy\unioncodegroup.cs (3)
67PolicyStatement childPolicy = PolicyManager.ResolveCodeGroup(enumerator.Current as CodeGroup, 122CodeGroup matchingGroups = ((CodeGroup)enumerator.Current).ResolveMatchingCodeGroups( evidence ); 155group.AddChild( (CodeGroup)enumerator.Current );
system\security\policymanager.cs (4)
112currentLevel = (PolicyLevel)levelEnumerator.Current; 178Object obj = enumerator.Current; 204CodeGroup temp = ((PolicyLevel)levelEnumerator.Current).ResolveMatchingCodeGroups(evidence); 398list.Add(enumerator.Current);
system\security\principal\ircollection.cs (1)
435get { return (( IEnumerator )this).Current as IdentityReference; }
system\security\readonlypermissionset.cs (1)
145IPermission currentPermission = m_permissionSetEnumerator.Current as IPermission;
system\security\securityelement.cs (7)
205throw new ArgumentException( String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Argument_InvalidElementName" ), (String)enumerator.Current ) ); 258if (enumerator.Current == null) 445e1 = (SecurityElement)lhs.Current; 446e2 = (SecurityElement)rhs.Current; 826SecurityElement current = (SecurityElement)enumerator.Current; 890String current = ((SecurityElement)enumerator.Current).SearchForTextOfLocalName( strLocalName ); 923String current = ((SecurityElement)enumerator.Current).SearchForTextOfTag( tag );
system\security\util\stringexpressionset.cs (2)
301finalArray[index++] = (String)enumerator.Current; 507String currentString = (String)enumerator.Current;
PresentationCore (4)
Core\CSharp\System\Windows\Input\Command\CommandBindingCollection.cs (1)
216CommandBinding cmdBinding = collectionEnum.Current as CommandBinding;
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (1)
284InputBinding inputBinding = collectionEnum.Current as InputBinding;
Core\CSharp\System\Windows\Input\Command\InputGestureCollection.cs (1)
306InputGesture inputGesture = collectionEnum.Current as InputGesture;
Core\CSharp\System\Windows\Input\MouseDevice.cs (1)
493IMouseInputProvider provider = inputProviders.Current as IMouseInputProvider;
PresentationFramework (53)
src\Framework\MS\Internal\Controls\ModelTreeEnumerator.cs (1)
246return _items.Current;
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (1)
834_current = _subEnum.Current;
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (1)
1544_current = _containerEnumerator.Current;
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
546_snapshot.Add(ie.Current);
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (5)
118if (object.Equals(_enumerator.Current, item)) 129CacheCurrentItem(index, _enumerator.Current); 266CacheCurrentItem(index, _enumerator.Current); 765while ( (returnValue = _enumerator.MoveNext()) && !_filterCallback(_enumerator.Current)) 776return _enumerator.Current;
src\Framework\MS\Internal\DataStreams.cs (1)
393WalkLogicalTree(e.Current, operation);
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
370/// <see cref="IEnumerator.Current"/>
src\Framework\MS\Internal\Documents\TableTextElementCollectionInternal.cs (3)
340if (objectSearchFor == enumChildren.Current) 345if (enumChildren.Current is TElementType || enumChildren.Current is DummyProxy)
src\Framework\MS\Internal\IO\Packaging\PackageFilter.cs (1)
374PackagePart currentPart = (PackagePart)_partIterator.Current;
src\Framework\MS\Internal\ListOfObject.cs (2)
121get { return _ie.Current; } 139get { return _ie.Current; }
src\Framework\MS\Internal\Navigation\JournalEntryStack.cs (1)
224get { return _ienum.Current; }
src\Framework\System\Windows\Controls\ListBox.cs (1)
844SelectionChange.Select(NewItemInfo(enumerator.Current, null, index), true /* assumeInItemsCollection */);
src\Framework\System\Windows\Controls\RadioButton.cs (1)
177RadioButton rb = itor.Current as RadioButton;
src\Framework\System\Windows\Data\CollectionView.cs (5)
132currentItem = e.Current; 1585object item = ie.Current; 1673(_newItem == NoNewItem || _baseEnumerator.Current != _newItem 1714(_newItem == NoNewItem || _baseEnumerator.Current != _newItem 1724: _baseEnumerator.Current;
src\Framework\System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
231string prefix = (string) enumerator.Current;
src\Framework\System\Windows\DescendentsWalker.cs (2)
205DependencyObject child = logicalChildren.Current as DependencyObject; 264object current = logicalChildren.Current;
src\Framework\System\Windows\Documents\FixedPage.cs (2)
952element = (DependencyObject)itor.Current; 1069if (itor.Current == e)
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (9)
976namedNode = elements.Current as IFrameworkInputElement; 980elements.Current as UIElement, 985if (_IsImage(elements.Current) || 986(elements.Current is Glyphs && (elements.Current as Glyphs).MeasurementGlyphRun != null)) 993else if (constructLines && elements.Current is Path) 995pageStructure.PageConstructor.ProcessPath(elements.Current as Path, transform); 997else if (elements.Current is Canvas) 1004Canvas canvas = elements.Current as Canvas;
src\Framework\System\Windows\Documents\Table.cs (2)
473currentChild = _columns.Current; 479currentChild = _rowGroups.Current;
src\Framework\System\Windows\Documents\TextElement.cs (1)
1156TextElement child = children.Current as TextElement;
src\Framework\System\Windows\Documents\TextElementCollection.cs (1)
350TextElementType element = enumerator.Current as TextElementType;
src\Framework\System\Windows\FrameworkContentElement.cs (1)
2028DependencyObject child =enumerator.Current as DependencyObject;
src\Framework\System\Windows\FrameworkElement.cs (1)
3097DependencyObject child = enumerator.Current as DependencyObject;
src\Framework\System\Windows\LogicalTreeHelper.cs (1)
111childNode = childEnumerator.Current as DependencyObject;
src\Framework\System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
62return (DictionaryEntry) _enumerator.Current;
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
405ScrollViewer sv = children.Current as ScrollViewer; 4778object child = children.Current;
src\Framework\System\Windows\ResourceDictionary.cs (4)
2138object key = _keysEnumerator.Current; 2148return _keysEnumerator.Current; 2156return _owner[_keysEnumerator.Current]; 2187return _owner[_keysEnumerator.Current];
System (103)
compmod\microsoft\csharp\csharpcodeprovider.cs (33)
852if (en.Current is CodeMemberEvent) { 853currentMember = (CodeTypeMember)en.Current; 862CodeMemberEvent imp = (CodeMemberEvent)en.Current; 877if (en.Current is CodeMemberField) { 878currentMember = (CodeTypeMember)en.Current; 887CodeMemberField imp = (CodeMemberField)en.Current; 1127((ICodeGenerator)this).GenerateCodeFromStatement((CodeStatement)en.Current, output.InnerWriter, options); 1140CodeNamespaceImport imp = (CodeNamespaceImport)en.Current; 1503CodeCatchClause current = (CodeCatchClause)en.Current; 1821if (en.Current is CodeMemberMethod 1822&& !(en.Current is CodeTypeConstructor) 1823&& !(en.Current is CodeConstructor)) { 1824currentMember = (CodeTypeMember)en.Current; 1833CodeMemberMethod imp = (CodeMemberMethod)en.Current; 1835if (en.Current is CodeEntryPointMethod) { 1836GenerateEntryPointMethod((CodeEntryPointMethod)en.Current, e); 1911if (en.Current is CodeMemberProperty) { 1912currentMember = (CodeTypeMember)en.Current; 1921CodeMemberProperty imp = (CodeMemberProperty)en.Current; 2202if (en.Current is CodeConstructor) { 2203currentMember = (CodeTypeMember)en.Current; 2212CodeConstructor imp = (CodeConstructor)en.Current; 2512if (en.Current is CodeTypeConstructor) { 2513currentMember = (CodeTypeMember)en.Current; 2522CodeTypeConstructor imp = (CodeTypeConstructor)en.Current; 2537if (en.Current is CodeSnippetTypeMember) { 2539currentMember = (CodeTypeMember)en.Current; 2548CodeSnippetTypeMember imp = (CodeSnippetTypeMember)en.Current; 2580if (en.Current is CodeTypeDeclaration) { 2584CodeTypeDeclaration currentClass = (CodeTypeDeclaration)en.Current; 2661((ICodeGenerator)this).GenerateCodeFromExpression((CodeExpression)en.Current, output.InnerWriter, options); 2679CodeParameterDeclarationExpression current = (CodeParameterDeclarationExpression)en.Current; 3064CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current;
compmod\microsoft\visualbasic\VBCodeProvider.cs (8)
680CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current; 1571CodeCatchClause current = (CodeCatchClause)en.Current; 1807if (!(en.Current is CodeMemberMethod)) 1809CodeMemberMethod meth = (CodeMemberMethod) en.Current; 1811if (!(en.Current is CodeTypeConstructor) 1812&& !(en.Current is CodeConstructor) 1952if (!(en.Current is CodeMemberProperty)) 1954CodeMemberProperty prop = (CodeMemberProperty) en.Current;
compmod\system\codedom\compiler\CodeGenerator.cs (32)
337if (en.Current is CodeTypeConstructor) { 338currentMember = (CodeTypeMember)en.Current; 347CodeTypeConstructor imp = (CodeTypeConstructor)en.Current; 553if (en.Current is CodeConstructor) { 554currentMember = (CodeTypeMember)en.Current; 563CodeConstructor imp = (CodeConstructor)en.Current; 577if (en.Current is CodeMemberEvent) { 578currentMember = (CodeTypeMember)en.Current; 587CodeMemberEvent imp = (CodeMemberEvent)en.Current; 690if (en.Current is CodeMemberField) { 691currentMember = (CodeTypeMember)en.Current; 700CodeMemberField imp = (CodeMemberField)en.Current; 715if (en.Current is CodeSnippetTypeMember) { 717currentMember = (CodeTypeMember)en.Current; 726CodeSnippetTypeMember imp = (CodeSnippetTypeMember)en.Current; 775if (en.Current is CodeMemberMethod 776&& !(en.Current is CodeTypeConstructor) 777&& !(en.Current is CodeConstructor)) { 778currentMember = (CodeTypeMember)en.Current; 787CodeMemberMethod imp = (CodeMemberMethod)en.Current; 789if (en.Current is CodeEntryPointMethod) { 790GenerateEntryPointMethod((CodeEntryPointMethod)en.Current, e); 806if (en.Current is CodeTypeDeclaration) { 810CodeTypeDeclaration currentClass = (CodeTypeDeclaration)en.Current; 850CodeNamespaceImport imp = (CodeNamespaceImport)en.Current; 860if (en.Current is CodeMemberProperty) { 861currentMember = (CodeTypeMember)en.Current; 870CodeMemberProperty imp = (CodeMemberProperty)en.Current; 967((ICodeGenerator)this).GenerateCodeFromStatement((CodeStatement)en.Current, output.InnerWriter, options); 989CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current; 1227((ICodeGenerator)this).GenerateCodeFromExpression((CodeExpression)en.Current, output.InnerWriter, options); 1306CodeParameterDeclarationExpression current = (CodeParameterDeclarationExpression)en.Current;
compmod\system\codedom\compiler\CodeValidator.cs (6)
135CodeNamespaceImport imp = (CodeNamespaceImport)en.Current; 149CodeAttributeDeclaration current = (CodeAttributeDeclaration)en.Current; 410ValidateStatement((CodeStatement)en.Current); 453CodeCatchClause current = (CodeCatchClause)en.Current; 519CodeParameterDeclarationExpression current = (CodeParameterDeclarationExpression)en.Current; 530ValidateExpression((CodeExpression)en.Current);
compmod\system\collections\specialized\nameobjectcollectionbase.cs (2)
519array.SetValue(e.Current, index++); 736array.SetValue(e.Current, index++);
compmod\system\collections\specialized\ordereddictionary.cs (6)
402return ((DictionaryEntry)arrayEnumerator.Current).Key; 405return ((DictionaryEntry)arrayEnumerator.Current).Value; 416return new DictionaryEntry(((DictionaryEntry)arrayEnumerator.Current).Key, ((DictionaryEntry)arrayEnumerator.Current).Value); 425return ((DictionaryEntry)arrayEnumerator.Current).Key; 434return ((DictionaryEntry)arrayEnumerator.Current).Value;
compmod\system\collections\specialized\stringcollection.cs (1)
227return (string)(baseEnumerator.Current);
compmod\system\componentmodel\CultureInfoConverter.cs (2)
112CultureInfo info = (CultureInfo)e.Current; 135CultureInfo info = (CultureInfo)e.Current;
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
705IExtenderProvider p = componentEnum.Current as IExtenderProvider;
compmod\system\componentmodel\TypeDescriptor.cs (6)
2706if (cacheEnum.Current != memberEnum.Current) { 2754if (primaryEnum.Current != mergeEnum.Current) 2767if (secondaryEnum.Current != mergeEnum.Current)
net\System\Net\HttpListenerPrefixCollection.cs (2)
21return (string)enumerator.Current; 37return enumerator.Current;
net\System\Net\X509CertificateCollection.cs (2)
109return ((X509Certificate)(baseEnumerator.Current)); 116return baseEnumerator.Current;
security\system\security\cryptography\x509\x509certificate2collection.cs (2)
1152return ((X509Certificate2)(baseEnumerator.Current)); 1159return baseEnumerator.Current;
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
964object current = dictionaryEnumerator.Current;
System.AddIn (1)
System\Addin\Hosting\ContravarianceAdapter.cs (1)
60get { return ((IEnumerator)_enumerator).Current; }
System.Configuration (3)
System\Configuration\ClientConfigPaths.cs (1)
378temp = e.Current;
System\Configuration\ConfigurationElement.cs (1)
1767ValidateElement((ConfigurationElement)it.Current, null, true);
System\Configuration\ConfigurationElementCollection.cs (1)
1281Entry entry = (Entry)_itemsEnumerator.Current;
System.Core (3)
System\Linq\Enumerable.cs (1)
2795tempList.Add(currentEnumerator.Current);
System\Linq\Parallel\Enumerables\EnumerableWrapperWeakToStrong.cs (2)
76get { return m_wrappedEnumerator.Current; } 81get { return m_wrappedEnumerator.Current; }
System.Data (9)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
964object current = dictionaryEnumerator.Current;
fx\src\data\System\Data\ConstraintEnumerator.cs (3)
39constraints = ((DataTable)tables.Current).Constraints.GetEnumerator(); 47Debug.Assert(constraints.Current is Constraint, "ConstraintEnumerator, contains object which is not constraint"); 48candidate = (Constraint)constraints.Current;
fx\src\data\System\Data\DataColumn.cs (1)
1239UniqueConstraint o = (e.Current as UniqueConstraint);
fx\src\data\System\Data\DataViewSettingCollection.cs (3)
102ar.SetValue(Enumerator.Current, index++); 109ar.SetValue(Enumerator.Current, index++); 175return dataViewSettings[(DataTable) tableEnumerator.Current];
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
1047_currentRow = (DataRow)_rowEnumerator.Current;
System.Data.Entity (2)
System\Data\Common\Utils\Set.cs (1)
332object IEnumerator.Current { get { return ((IEnumerator)keys).Current; } }
System\Data\Metadata\ObjectHelper.cs (1)
99yield return new KeyValuePair<T, S>((T)leftEnumerator.Current, rightEnumerator.Current);
System.Data.Services (19)
System\Data\Services\DataService.cs (6)
908if (!hasMoved || queryResults.Current == null) 917responseFormat = ResolveUnknownFormat(description, queryResults.Current, dataService); 1344object resource = queryResults.Current; 1512object resource = queryResults.Current; 1558responseFormat = ResolveUnknownFormat(description, queryResults.Current, dataService); 2829get { return this.enumerator.Current; }
System\Data\Services\Internal\ProjectedWrapper.cs (1)
473get { return ProjectedWrapper.ProcessResultInstance(this.enumerator.Current); }
System\Data\Services\RequestDescription.cs (1)
362CheckQueryResult(queryResults.Current, segmentInfo);
System\Data\Services\ResponseBodyWriter.cs (3)
75this.mediaResourceStream = service.StreamProvider.GetReadStream(this.queryResults.Current, this.service.OperationContext); 125binarySerializer.WriteRequest(this.queryResults.Current); 138textSerializer.WriteRequest(this.queryResults.Current);
System\Data\Services\Serializers\JsonSerializer.cs (3)
137object o = elements.Current; 226object o = elements.Current; 502object elementInCollection = elements.Current;
System\Data\Services\Serializers\PlainXmlSerializer.cs (2)
179object element = elements.Current; 240object element = elements.Current;
System\Data\Services\Serializers\Serializer.cs (2)
222this.WriteLink(queryResults.Current); 238this.WriteTopLevelElement(expanded, queryResults.Current);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
647object o = elements.Current;
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\UriWriter.cs (1)
309Expression e = ((Expression)options.Current);
System.Drawing (3)
commonui\System\Drawing\FontConverter.cs (3)
646string fontName = e.Current.ToString().ToLower(CultureInfo.InvariantCulture); 650return e.Current.ToString(); 654bestMatch = e.Current.ToString();
System.Management (3)
managementoperationwatcher.cs (2)
180DictionaryEntry entry = (DictionaryEntry) sinkEnum.Current; 197DictionaryEntry entry = (DictionaryEntry) copiedSinkEnum.Current;
methodset.cs (1)
301return new MethodData(parent, (string)en.Current);
System.Messaging (5)
System\Messaging\Design\QueuePathDialog.cs (1)
310queues[index] = (MessageQueue)messageQueues.Current;
System\Messaging\MessageQueue.cs (1)
1709MessageQueue messageQueue = (MessageQueue)messageQueues.Current;
System\Messaging\MessageQueuePermission.cs (3)
339MessageQueuePermissionEntry entry = (MessageQueuePermissionEntry)enumerator.Current; 375MessageQueue queue = (MessageQueue)messageQueues.Current; 410MessageQueuePermissionEntry entry = (MessageQueuePermissionEntry)enumerator.Current;
System.Runtime.Remoting (3)
channels\core\basetransportheaders.cs (1)
316return _otherHeadersEnumerator.Current;
channels\http\combinedhttpchannel.cs (1)
326public Object Key { get { return _keyEnum.Current; } }
channels\tcp\tcpsocketmanager.cs (1)
246DictionaryEntry header = (DictionaryEntry)it.Current;
System.Security (12)
system\security\cryptography\xml\encryptedxml.cs (7)
348kiName = keyInfoEnum.Current as KeyInfoName; 371kiRetrievalMethod = keyInfoEnum.Current as KeyInfoRetrievalMethod; 378kiEncKey = keyInfoEnum.Current as KeyInfoEncryptedKey; 424kiName = keyInfoEnum.Current as KeyInfoName; 443kiX509Data = keyInfoEnum.Current as KeyInfoX509Data; 459kiRetrievalMethod = keyInfoEnum.Current as KeyInfoRetrievalMethod; 480kiEncKey = keyInfoEnum.Current as KeyInfoEncryptedKey;
system\security\cryptography\xml\keyinfo.cs (1)
137tempObj = tempEnum.Current;
system\security\cryptography\xml\signedxml.cs (4)
460RSAKeyValue rsaKeyValue = m_keyInfoEnum.Current as RSAKeyValue; 464DSAKeyValue dsaKeyValue = m_keyInfoEnum.Current as DSAKeyValue; 468KeyInfoX509Data x509Data = m_keyInfoEnum.Current as KeyInfoX509Data; 498X509Certificate2 certificate = (X509Certificate2) m_x509Enum.Current;
System.ServiceModel (3)
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
322XmlNode currentNode = (XmlNode)nodes.Current;
System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
196get { return ((IEnumerator)inner).Current; }
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (1)
135((XmlSchema)en.Current).Items.Add(outerType);
System.Web (68)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
1468object child = en.Current;
Compilation\PreservationFileReader.cs (2)
178XmlNode dependenciesNode = (XmlNode)childEnumerator.Current; 205XmlNode dependencyNode = (XmlNode)childEnumerator.Current;
Handlers\TraceHandler.cs (9)
373parent = HttpUtility.HtmlEncode ((string) ((DataRow) en.Current)[SR.Trace_Parent_Id]); 374control = HttpUtility.HtmlEncode((string) ((DataRow) en.Current)[SR.Trace_Control_Id]); 396AddCell(trow, (string) ((DataRow) en.Current)[SR.Trace_Type]); 398object size = ((DataRow) en.Current)[SR.Trace_Render_Size]; 404size = ((DataRow) en.Current)[SR.Trace_Viewstate_Size]; 410size = ((DataRow) en.Current)[SR.Trace_Controlstate_Size]; 459datarow = ((DataRowView) en.Current).Row; 532AddHeaderCell(trow, SR.GetString(((DataColumn) en.Current).ColumnName)); 537cells = ((DataRow) en.Current).ItemArray;
Hosting\MapPathBasedVirtualPathProvider.cs (3)
347FileData fileData = (FileData) _fileEnumerator.Current; 392FileData fileData = (FileData) _fileEnumerator.Current; 405return (VirtualFileBase) _virtualEnumerator.Current;
httpstaticobjectscollection.cs (1)
144array.SetValue(e.Current, index++);
State\SessionStateContainer.cs (1)
297array.SetValue(e.Current, index++);
UI\ClientScriptManager.cs (1)
1054writer.Write(elements.Current);
UI\ControlBuilder.cs (2)
1313ControlBuilder builder = (ControlBuilder)subBuilders.Current; 1436object cur = en.Current;
UI\DataBindingCollection.cs (1)
173array.SetValue(e.Current, index++);
UI\DesignTimeTemplateParser.cs (1)
74object cur = en.Current;
UI\ExpressionBindingCollection.cs (2)
173array.SetValue(e.Current, index++); 181array.SetValue(e.Current, index++);
UI\Html32TextWriter.cs (1)
207FontStackItem fontInfo = (FontStackItem) e.Current;
UI\HtmlControls\HtmlTableCellCollection.cs (1)
123array.SetValue(e.Current, index++);
UI\HtmlControls\HtmlTableRowCollection.cs (1)
113array.SetValue(e.Current, index++);
UI\TraceContext.cs (4)
516temp = (string) en.Current; 554temp = (string) en.Current; 584temp = (string) en.Current; 621temp = (string) en.Current;
UI\ValidatorCollection.cs (1)
92array.SetValue(e.Current, index++);
UI\WebControls\AdRotator.cs (2)
355Object sampleItem = enumerator.Current; 429dict.Add(field, DataBinder.GetPropertyValue(enumerator.Current, field));
UI\WebControls\ColumnCollection.cs (1)
150array.SetValue(e.Current, index++);
UI\WebControls\DataGrid.cs (2)
900sampleItem = e.Current; 1155object dataItem = dataSource.Current;
UI\WebControls\DataGridItemCollection.cs (1)
90array.SetValue(e.Current, index++);
UI\WebControls\DataKeyArray.cs (1)
93array.SetValue(e.Current, index++);
UI\WebControls\DataKeyCollection.cs (1)
86array.SetValue(e.Current, index++);
UI\WebControls\DataList.cs (2)
1311Control c = (Control)controlEnum.Current; 1319((TableRow)rowEnum.Current).MergeStyle(compositeStyle);
UI\WebControls\DataListItem.cs (2)
134Control c = (Control)controlEnum.Current; 144TableRow r = (TableRow)rowEnum.Current;
UI\WebControls\DataListItemCollection.cs (1)
87array.SetValue(e.Current, index++);
UI\WebControls\DetailsView.cs (2)
1650lastItem = dataSourceEnumerator.Current; 1662_dataItem = dataSourceEnumerator.Current;
UI\WebControls\DetailsViewRowCollection.cs (1)
92array.SetValue(e.Current, index++);
UI\WebControls\DummyDataSource.cs (1)
43array.SetValue(e.Current, index++);
UI\WebControls\FormView.cs (2)
1415lastItem = dataSourceEnumerator.Current; 1427_dataItem = dataSourceEnumerator.Current;
UI\WebControls\GridView.cs (2)
2101object sampleItem = e.Current; 2210object dataRow = pagedDataSourceEnumerator.Current;
UI\WebControls\GridViewColumnsGenerator.cs (1)
57sampleItem = e.Current;
UI\WebControls\GridViewRowCollection.cs (1)
96array.SetValue(e.Current, index++);
UI\WebControls\PagedDataSource.cs (3)
311array.SetValue(e.Current, index++); 387return realEnum.Current; 426return collectionEnum.Current;
UI\WebControls\RepeaterItemCollection.cs (1)
92array.SetValue(e.Current, index++);
UI\WebControls\SelectedDatesCollection.cs (1)
116array.SetValue(e.Current, index++);
UI\WebControls\TableCellCollection.cs (1)
145array.SetValue(e.Current, index++);
UI\WebControls\TableRowCollection.cs (1)
143array.SetValue(e.Current, index++);
UI\WebControls\WebControl.cs (1)
641string attrName = (string)(keys.Current);
UI\WebControls\XmlDataSourceView.cs (1)
109array.SetValue(e.Current, index++);
Util\AspCompat.cs (2)
572sb.Append(EncodeTab(e.Current)); 575sb.Append(EncodeTab(e.Current));
Util\SmtpMail.cs (2)
224MailAttachment a = (MailAttachment)e.Current; 370MailAttachment a = (MailAttachment)e.Current;
System.Web.DataVisualization (39)
Common\DataManager\DataPoint.cs (30)
487xValueObj = ConvertEnumerationItem(enumerator.Current, xField); 498yValuesObj[0] = ConvertEnumerationItem(enumerator.Current, null); 509yValuesObj[i] = ConvertEnumerationItem(enumerator.Current, yFieldNames[i]); 525object obj = ConvertEnumerationItem(enumerator.Current, otherFieldNames[i]); 696xValueObj = ConvertEnumerationItem(xEnumerator.Current, null); 707yValuesObj[i] = ConvertEnumerationItem(yEnumerator[i].Current, null); 876xValueObj = ConvertEnumerationItem(xEnumerator.Current, xField); 887yValuesObj[0] = ConvertEnumerationItem(yEnumerator.Current, null); 898yValuesObj[i] = ConvertEnumerationItem(yEnumerator.Current, yFieldNames[i]); 1362 if(enumerator.Current == null) 1374 if(enumerator.Current is DataRow) 1380 if(((DataRow)enumerator.Current).Table.Columns.Contains(field)) 1382 columnDataType = ((DataRow)enumerator.Current).Table.Columns[field].DataType; 1394columnDataType = ((DataRow)enumerator.Current).Table.Columns[columnIndex].DataType; 1409 else if(((DataRow)enumerator.Current).Table.Columns.Count > 0) 1411 columnDataType = ((DataRow)enumerator.Current).Table.Columns[0].DataType; 1416 else if(enumerator.Current is DataRowView) 1422 if(((DataRowView)enumerator.Current).DataView.Table.Columns.Contains(field)) 1424 columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[field].DataType; 1435columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[columnIndex].DataType; 1450 else if(((DataRowView)enumerator.Current).DataView.Table.Columns.Count > 0) 1452 columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[0].DataType; 1457 else if(enumerator.Current is DbDataRecord) 1465 columnIndex = ((DbDataRecord)enumerator.Current).GetOrdinal(field); 1466 columnDataType = ((DbDataRecord)enumerator.Current).GetFieldType(columnIndex); 1477columnDataType = ((DbDataRecord)enumerator.Current).GetFieldType(columnIndex); 1487 else if(((DbDataRecord)enumerator.Current).FieldCount > 0) 1489 columnDataType = ((DbDataRecord)enumerator.Current).GetFieldType(0); 1497PropertyDescriptor descriptor = TypeDescriptor.GetProperties(enumerator.Current).Find(field, true); 1505columnDataType = enumerator.Current.GetType();
Common\General\Chart.cs (9)
591foreach (PropertyDescriptor pd in TypeDescriptor.GetProperties(e.Current)) 843 xValueObj = DataPointCollection.ConvertEnumerationItem(enumerator.Current, series.XValueMember.Trim()); 854 yValuesObj[0] = DataPointCollection.ConvertEnumerationItem(enumerator.Current, null); 867 yValuesObj[i] = DataPointCollection.ConvertEnumerationItem(enumerator.Current, yFieldNames[i]); 1184 enumerator.Current, 1242 xValueObj = DataPointCollection.ConvertEnumerationItem(enumerator.Current, xField); 1253 yValuesObj[0] = DataPointCollection.ConvertEnumerationItem(enumerator.Current, null); 1264 yValuesObj[i] = DataPointCollection.ConvertEnumerationItem(enumerator.Current, yFieldNames[i]); 1280 object obj = DataPointCollection.ConvertEnumerationItem(enumerator.Current, otherFieldNames[i]);
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceView.cs (2)
1668object itemA = enumeratorA.Current; 1669object itemB = enumeratorB.Current;
System.Web.Extensions (12)
Compilation\WCFModel\SchemaMerger.cs (2)
397differentItem1 = list1.MoveNext() ? list1.Current : null; 398differentItem2 = list2.MoveNext() ? list2.Current : null;
Compilation\WCFModel\WsdlInspector.cs (2)
437tX = enumeratorX.MoveNext() ? (T)enumeratorX.Current : null; 438tY = enumeratorY.MoveNext() ? (T)enumeratorY.Current : null;
UI\WebControls\DataPager.cs (1)
244string attrName = (string)(keys.Current);
UI\WebControls\LinqDataSourceHelper.cs (2)
13object itemA = enumeratorA.Current; 14object itemB = enumeratorB.Current;
UI\WebControls\ListViewPagedDataSource.cs (3)
202array.SetValue(e.Current, index++); 285return realEnum.Current; 324return collectionEnum.Current;
UI\WebControls\QueryableDataSourceHelper.cs (2)
76object itemA = enumeratorA.Current; 77object itemB = enumeratorB.Current;
System.Web.Mobile (9)
UI\MobileControls\Design\Converters\ChoiceConverter.cs (2)
213string filterName = e.Current.ToString(); 219else if (e.Current.ToString().StartsWith(name, StringComparison.OrdinalIgnoreCase))
UI\MobileControls\Design\Converters\FontNameConverter.cs (1)
136string fontName = e.Current.ToString();
UI\MobileControls\Design\MobileControlPersister.cs (2)
136object collItem = e.Current; 303DataBinding db = (DataBinding)bindingEnum.Current;
UI\MobileControls\MobilePage.cs (2)
1334MobileControl c = e.Current as MobileControl; 1342SavePrivateViewStateRecursive((Control)e.Current);
UI\MobileControls\ObjectList.cs (2)
744Object dataItem = enumerator.Current; 836Object sampleItem = enumerator.Current;
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Application.cs (1)
2168ComponentHashtableEntry idleEntry = (ComponentHashtableEntry)enumerator.Current;
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (1)
387DataGridColumnStyle column = (DataGridColumnStyle)e.Current;
winforms\Managed\System\WinForms\ErrorProvider.cs (1)
544DictionaryEntry entry = (DictionaryEntry) enumerator.Current;
winforms\Managed\System\WinForms\ListBindingHelper.cs (1)
664instance = listEnumerator.Current;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
2583object o = childEnum.Current;
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (2)
2303ToolStripPanelCell cell = arrayListEnumerator.Current as ToolStripPanelCell; 2304Debug.Assert(cell != null, "Expected ToolStripPanel cells only!!!" + arrayListEnumerator.Current.GetType().ToString());
System.Windows.Forms.DataVisualization (39)
Common\DataManager\DataPoint.cs (30)
487xValueObj = ConvertEnumerationItem(enumerator.Current, xField); 498yValuesObj[0] = ConvertEnumerationItem(enumerator.Current, null); 509yValuesObj[i] = ConvertEnumerationItem(enumerator.Current, yFieldNames[i]); 525object obj = ConvertEnumerationItem(enumerator.Current, otherFieldNames[i]); 696xValueObj = ConvertEnumerationItem(xEnumerator.Current, null); 707yValuesObj[i] = ConvertEnumerationItem(yEnumerator[i].Current, null); 876xValueObj = ConvertEnumerationItem(xEnumerator.Current, xField); 887yValuesObj[0] = ConvertEnumerationItem(yEnumerator.Current, null); 898yValuesObj[i] = ConvertEnumerationItem(yEnumerator.Current, yFieldNames[i]); 1362 if(enumerator.Current == null) 1374 if(enumerator.Current is DataRow) 1380 if(((DataRow)enumerator.Current).Table.Columns.Contains(field)) 1382 columnDataType = ((DataRow)enumerator.Current).Table.Columns[field].DataType; 1394columnDataType = ((DataRow)enumerator.Current).Table.Columns[columnIndex].DataType; 1409 else if(((DataRow)enumerator.Current).Table.Columns.Count > 0) 1411 columnDataType = ((DataRow)enumerator.Current).Table.Columns[0].DataType; 1416 else if(enumerator.Current is DataRowView) 1422 if(((DataRowView)enumerator.Current).DataView.Table.Columns.Contains(field)) 1424 columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[field].DataType; 1435columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[columnIndex].DataType; 1450 else if(((DataRowView)enumerator.Current).DataView.Table.Columns.Count > 0) 1452 columnDataType = ((DataRowView)enumerator.Current).DataView.Table.Columns[0].DataType; 1457 else if(enumerator.Current is DbDataRecord) 1465 columnIndex = ((DbDataRecord)enumerator.Current).GetOrdinal(field); 1466 columnDataType = ((DbDataRecord)enumerator.Current).GetFieldType(columnIndex); 1477columnDataType = ((DbDataRecord)enumerator.Current).GetFieldType(columnIndex); 1487 else if(((DbDataRecord)enumerator.Current).FieldCount > 0) 1489 columnDataType = ((DbDataRecord)enumerator.Current).GetFieldType(0); 1497PropertyDescriptor descriptor = TypeDescriptor.GetProperties(enumerator.Current).Find(field, true); 1505columnDataType = enumerator.Current.GetType();
Common\General\Chart.cs (9)
591foreach (PropertyDescriptor pd in TypeDescriptor.GetProperties(e.Current)) 843 xValueObj = DataPointCollection.ConvertEnumerationItem(enumerator.Current, series.XValueMember.Trim()); 854 yValuesObj[0] = DataPointCollection.ConvertEnumerationItem(enumerator.Current, null); 867 yValuesObj[i] = DataPointCollection.ConvertEnumerationItem(enumerator.Current, yFieldNames[i]); 1184 enumerator.Current, 1242 xValueObj = DataPointCollection.ConvertEnumerationItem(enumerator.Current, xField); 1253 yValuesObj[0] = DataPointCollection.ConvertEnumerationItem(enumerator.Current, null); 1264 yValuesObj[i] = DataPointCollection.ConvertEnumerationItem(enumerator.Current, yFieldNames[i]); 1280 object obj = DataPointCollection.ConvertEnumerationItem(enumerator.Current, otherFieldNames[i]);
System.Workflow.Activities (3)
WebServiceResponse.cs (3)
612if (srcEnum.Current.Equals(destEnum.Current)) 613leastCommonParent = (String)srcEnum.Current;
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
805string metadataName = (string)metadataNames.Current;
System.Workflow.Runtime (1)
Tracking\PropertyHelper.cs (1)
140obj = e.Current;
System.Xml (11)
System\Xml\Schema\XmlSchemaDataType.cs (2)
261Object cur = enumerator.Current; 270cur = enumerator.Current;
System\Xml\Schema\XmlSchemaObjectCollection.cs (2)
185get { return (XmlSchemaObject)enumerator.Current; } 203get { return enumerator.Current; }
System\Xml\Serialization\XmlSchemaImporter.cs (1)
806typeDescs[i] = ((ElementAccessor)enumerator.Current).Mapping.TypeDesc;
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1152WritePotentiallyReferencingElement("Item", "", e.Current, elementType, false, true);
System\Xml\XmlConvert.cs (5)
108Match m = (Match)en.Current; 116Match m = (Match)en.Current; 202Match m = (Match)en.Current; 232Match m = (Match)en.Current; 249Match m = (Match)en.Current;
UIAutomationClientsideProviders (2)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (2)
453if (!AttributeValuesAreEqual(e1.Current, e2.Current))
WindowsBase (2)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
346KeyInfoX509Data x509Data = (KeyInfoX509Data)keyInfoClauseEnum.Current;
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (1)
304WeakReference wr = ie.Current as WeakReference;