6 interfaces inheriting from IEnumerable
Microsoft.Maui (1)
Hosting\Fonts\IFontCollection.cs (1)
9 public interface IFontCollection : IList<FontDescriptor>, ICollection<FontDescriptor>, IEnumerable<FontDescriptor>, IEnumerable
System.Linq.Expressions (1)
System\Linq\IQueryable.cs (1)
13public interface IQueryable : IEnumerable
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IEnumerable.cs (1)
12public interface IEnumerable<out T> : IEnumerable
src\libraries\System.Private.CoreLib\src\System\Collections\ICollection.cs (1)
8public interface ICollection : IEnumerable
src\libraries\System.Private.CoreLib\src\System\Resources\IResourceReader.cs (1)
11public interface IResourceReader : IEnumerable, IDisposable
System.ServiceModel.Primitives (1)
netstandard.cs (1)
841public partial interface IExtensionCollection<T> : System.Collections.Generic.ICollection<System.ServiceModel.IExtension<T>>, System.Collections.Generic.IEnumerable<System.ServiceModel.IExtension<T>>, System.Collections.IEnumerable where T : System.ServiceModel.IExtensibleObject<T>
127 implementations of IEnumerable
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
16internal sealed class CircularBuffer<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Aspire.Hosting (1)
src\Shared\CircularBuffer.cs (1)
16internal sealed class CircularBuffer<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.cs (1)
12public partial class XmlNamedNodeMap : IEnumerable
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNode.cs (1)
19public abstract class XmlNode : ICloneable, IEnumerable, IXPathNavigable
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeList.cs (1)
12public abstract class XmlNodeList : IEnumerable, IDisposable
FrameworkFork\Microsoft.Xml\Xml\XmlNamespaceManager.cs (1)
13public class XmlNamespaceManager : IXmlNamespaceResolver, IEnumerable
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNodeIterator.cs (1)
16public abstract class XPathNodeIterator : ICloneable, IEnumerable
Microsoft.AspNetCore.Components.Tests (1)
ParameterViewTest.Assignment.cs (1)
738class ParameterViewBuilder : IEnumerable
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
57private class JustEnumerable : IEnumerable
Microsoft.Build.Tasks.Core (13)
BootstrapperUtil\PackageCollection.cs (1)
13internal class PackageCollection : IEnumerable
BootstrapperUtil\ProductBuilderCollection.cs (1)
18public class ProductBuilderCollection : IProductBuilderCollection, IEnumerable
BootstrapperUtil\ProductCollection.cs (1)
19public class ProductCollection : IProductCollection, IEnumerable
CSharptokenizer.cs (1)
17internal sealed class CSharpTokenizer : IEnumerable
ManifestUtil\AssemblyReferenceCollection.cs (1)
17public sealed class AssemblyReferenceCollection : IEnumerable
ManifestUtil\CompatibleFrameworkCollection.cs (1)
13public sealed class CompatibleFrameworkCollection : IEnumerable
ManifestUtil\FileAssociationCollection.cs (1)
13public sealed class FileAssociationCollection : IEnumerable
ManifestUtil\FileReferenceCollection.cs (1)
17public sealed class FileReferenceCollection : IEnumerable
ManifestUtil\OutputMessage.cs (1)
77public sealed class OutputMessageCollection : IEnumerable
ResolveManifestFiles.cs (3)
828private class AssemblyMap : IEnumerable 893private class SatelliteRefAssemblyMap : IEnumerable 941private class FileMap : IEnumerable
VisualBasictokenizer.cs (1)
17internal sealed class VisualBasicTokenizer : IEnumerable
Microsoft.CodeAnalysis (1)
InternalUtilities\SpecializedCollections.ReadOnly.Enumerable`1.cs (1)
13internal class Enumerable<TUnderlying> : IEnumerable
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Enumerable`1.cs (1)
13internal class Enumerable<TUnderlying> : IEnumerable
Microsoft.CodeAnalysis.UnitTests (1)
Collections\ImmutablesTestBase.nonnetstandard.cs (1)
78private class NonGenericEnumerableWrapper : IEnumerable
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Enumerable`1.cs (1)
13internal class Enumerable<TUnderlying> : IEnumerable
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Enumerable`1.cs (1)
13internal class Enumerable<TUnderlying> : IEnumerable
Microsoft.Data.Analysis (1)
DataFrameColumn.cs (1)
19public abstract partial class DataFrameColumn : IEnumerable
Microsoft.DotNet.XUnitAssert.Tests (1)
EqualityAssertsTests.cs (1)
1053 class UnsafeEnumerable : IEnumerable
Microsoft.Maui (2)
Animations\Animation.cs (1)
12 public class Animation : IDisposable, IEnumerable
Primitives\LockableObservableListWrapper.cs (1)
12 public class LockableObservableListWrapper : IList<string>, ICollection<string>, INotifyCollectionChanged, INotifyPropertyChanged, IReadOnlyList<string>, IReadOnlyCollection<string>, IEnumerable<string>, IEnumerable
Microsoft.Maui.Controls (1)
DragAndDrop\DataPackagePropertySet.cs (1)
9 public class DataPackagePropertySet : IEnumerable
Microsoft.ML.DataView (1)
VBuffer.cs (1)
31public readonly struct VBuffer<T> : IEnumerable
PresentationCore (4)
MS\Internal\Span.cs (1)
22internal class SpanVector : IEnumerable
System\Windows\Input\Stylus\Common\TabletDeviceCollection.cs (1)
12public class TabletDeviceCollection : ICollection, IEnumerable
System\Windows\Markup\XmlLanguage.cs (1)
461internal struct MatchingLanguageCollection : IEnumerable<XmlLanguage>, IEnumerable
System\Windows\Media\Imaging\BitmapMetadata.cs (1)
20public partial class BitmapMetadata : ImageMetadata, IEnumerable, IEnumerable<String>
PresentationFramework (19)
MS\Internal\Controls\EmptyEnumerable.cs (1)
16internal class EmptyEnumerable : IEnumerable
MS\Internal\Data\IndexedEnumerable.cs (1)
31internal class IndexedEnumerable : IEnumerable, IWeakEventListener
MS\Internal\Navigation\JournalEntryStack.cs (2)
14internal abstract class JournalEntryStack : IEnumerable, INotifyCollectionChanged 152internal class LimitedJournalEntryStackEnumerable : IEnumerable, INotifyCollectionChanged
System\Windows\Controls\DataGridColumnHeaderCollection.cs (1)
16internal class DataGridColumnHeaderCollection : IEnumerable, INotifyCollectionChanged, IDisposable
System\Windows\Controls\MultipleCopiesCollection.cs (1)
21IEnumerable,
System\Windows\Documents\DocumentStructures\SemanticBasicElement.cs (9)
45public class SectionStructure : SemanticBasicElement, IAddChild, IEnumerable<BlockElement>, IEnumerable 91public class ParagraphStructure : SemanticBasicElement, IAddChild, IEnumerable<NamedElement>, IEnumerable 136public class FigureStructure : SemanticBasicElement, IAddChild, IEnumerable<NamedElement>, IEnumerable 178public class ListStructure : SemanticBasicElement, IAddChild, IEnumerable<ListItemStructure>, IEnumerable 220public class ListItemStructure : SemanticBasicElement, IAddChild, IEnumerable<BlockElement>, IEnumerable 274public class TableStructure : SemanticBasicElement, IAddChild, IEnumerable<TableRowGroupStructure>, IEnumerable 316public class TableRowGroupStructure : SemanticBasicElement, IAddChild, IEnumerable<TableRowStructure>, IEnumerable 359public class TableRowStructure : SemanticBasicElement, IAddChild, IEnumerable<TableCellStructure>, IEnumerable 401public class TableCellStructure : SemanticBasicElement, IAddChild, IEnumerable<BlockElement>, IEnumerable
System\Windows\Documents\DocumentStructures\StoryFragments.cs (2)
19public class StoryFragments : IAddChild, IEnumerable<StoryFragment>, IEnumerable 77public class StoryFragment : IAddChild, IEnumerable<BlockElement>, IEnumerable
System\Windows\LogicalTreeHelper.cs (1)
451private class EnumeratorWrapper : IEnumerable
System\Windows\Navigation\JournalEntryListConverter.cs (1)
134internal class UnifiedJournalEntryStackEnumerable : IEnumerable, INotifyCollectionChanged
ReachFramework (1)
Serialization\Manager\ReachSerializableProperties.cs (1)
21IEnumerable,
System.Collections.Specialized (1)
System\Collections\Specialized\StringDictionary.cs (1)
19public class StringDictionary : IEnumerable
System.ComponentModel.TypeConverter (2)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
497internal sealed class XDeferredAxis<T> : IEnumerable<T>, IEnumerable where T : XObject
System\ComponentModel\AttributeCollection.cs (1)
14public class AttributeCollection : ICollection, IEnumerable
System.Configuration.ConfigurationManager (5)
System\Configuration\ConfigurationValues.cs (3)
143private sealed class EmptyCollection : IEnumerable 170private sealed class ConfigurationElementsCollection : IEnumerable 192private sealed class InvalidValuesCollection : IEnumerable
System\Configuration\SettingsPropertyCollection.cs (1)
8public class SettingsPropertyCollection : IEnumerable, ICloneable, ICollection
System\Configuration\SettingsPropertyValueCollection.cs (1)
8public class SettingsPropertyValueCollection : IEnumerable, ICloneable, ICollection
System.Data.Common (3)
System\Data\Common\DbDataReader.cs (1)
14public abstract class DbDataReader : MarshalByRefObject, IDataReader, IEnumerable, IAsyncDisposable
System\Data\EnumerableRowCollection.cs (1)
16public abstract class EnumerableRowCollection : IEnumerable
System\Data\RbTree.cs (1)
92internal abstract class RBTree<K> : IEnumerable
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
246public sealed partial class OleDbErrorCollection : System.Collections.ICollection, System.Collections.IEnumerable
System.Diagnostics.EventLog (1)
artifacts\obj\System.Diagnostics.EventLog\Debug\net10.0\System.Diagnostics.EventLog.notsupported.cs (1)
123public partial class EventLogEntryCollection : System.Collections.ICollection, System.Collections.IEnumerable
System.DirectoryServices (4)
artifacts\obj\System.DirectoryServices\Debug\net10.0\System.DirectoryServices.notsupported.cs (4)
134public partial class DirectoryEntries : System.Collections.IEnumerable 365public partial class PropertyCollection : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable 437public partial class SchemaNameCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList 472public partial class SearchResultCollection : System.MarshalByRefObject, System.Collections.ICollection, System.Collections.IEnumerable, System.IDisposable
System.DirectoryServices.AccountManagement (3)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (3)
226public partial class PrincipalCollection : System.Collections.Generic.ICollection<System.DirectoryServices.AccountManagement.Principal>, System.Collections.Generic.IEnumerable<System.DirectoryServices.AccountManagement.Principal>, System.Collections.ICollection, System.Collections.IEnumerable 327public partial class PrincipalSearchResult<T> : System.Collections.Generic.IEnumerable<T>, System.Collections.IEnumerable, System.IDisposable 353public partial class PrincipalValueCollection<T> : System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T>, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList
System.Drawing.Common (4)
Special\NotSupported.cs (4)
3047public partial class PaperSizeCollection : System.Collections.ICollection, System.Collections.IEnumerable 3063public partial class PaperSourceCollection : System.Collections.ICollection, System.Collections.IEnumerable 3079public partial class PrinterResolutionCollection : System.Collections.ICollection, System.Collections.IEnumerable 3095public partial class StringCollection : System.Collections.ICollection, System.Collections.IEnumerable
System.Linq.Parallel (1)
System\Linq\Parallel\Enumerables\ParallelQuery.cs (1)
22public class ParallelQuery : IEnumerable
System.Management (4)
artifacts\obj\System.Management\Debug\net10.0\System.Management.notsupported.cs (4)
332public partial class ManagementObjectCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.IDisposable 555public partial class MethodDataCollection : System.Collections.ICollection, System.Collections.IEnumerable 624public partial class PropertyDataCollection : System.Collections.ICollection, System.Collections.IEnumerable 675public partial class QualifierDataCollection : System.Collections.ICollection, System.Collections.IEnumerable
System.Net.Primitives (1)
System\Net\CredentialCache.cs (1)
14public class CredentialCache : ICredentials, ICredentialsByHost, IEnumerable
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
1249private sealed class SyncHashtable : Hashtable, IEnumerable
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceSet.cs (1)
19public class ResourceSet : IDisposable, IEnumerable
src\libraries\System.Private.CoreLib\src\System\Resources\RuntimeResourceSet.cs (1)
157internal sealed class RuntimeResourceSet : ResourceSet, IEnumerable
src\libraries\System.Private.CoreLib\src\System\Security\PermissionSet.cs (1)
13public partial class PermissionSet : ICollection, IEnumerable, IDeserializationCallback, ISecurityEncodable, IStackWalk
src\libraries\System.Private.CoreLib\src\System\String.cs (1)
28IEnumerable,
System.Private.Windows.Core (1)
System\Private\Windows\BinaryFormat\Serializer\ArrayRecord.cs (1)
19internal abstract class ArrayRecord : ObjectRecord, IEnumerable
System.Private.Xml (5)
System\Xml\Dom\XmlNamedNodemap.cs (1)
9public partial class XmlNamedNodeMap : IEnumerable
System\Xml\Dom\XmlNode.cs (1)
19public abstract class XmlNode : ICloneable, IEnumerable, IXPathNavigable
System\Xml\Dom\XmlNodeList.cs (1)
9public abstract class XmlNodeList : IEnumerable, IDisposable
System\Xml\XmlNamespacemanager.cs (1)
12public class XmlNamespaceManager : IXmlNamespaceResolver, IEnumerable
System\Xml\XPath\XPathNodeIterator.cs (1)
10public abstract class XPathNodeIterator : ICloneable, IEnumerable
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\Resources\RuntimeResourceSet.cs (1)
157internal sealed class RuntimeResourceSet : ResourceSet, IEnumerable
System.Runtime.Caching (1)
System\Runtime\Caching\MemoryCache.cs (1)
20public class MemoryCache : ObjectCache, IEnumerable, IDisposable
System.Security.AccessControl (2)
artifacts\obj\System.Security.AccessControl\Debug\net10.0\System.Security.AccessControl.notsupported.cs (2)
279public abstract partial class GenericAcl : System.Collections.ICollection, System.Collections.IEnumerable 538public sealed partial class Evidence : System.Collections.ICollection, System.Collections.IEnumerable
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\SignerInfoCollection.cs (1)
11public sealed class SignerInfoCollection : ICollection, IEnumerable
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\KeyInfo.cs (1)
10public class KeyInfo : IEnumerable
System.Security.Permissions (1)
System\Security\Policy\ApplicationTrustCollection.cs (1)
8public sealed partial class ApplicationTrustCollection : ICollection, IEnumerable
System.Security.Principal.Windows (1)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (1)
42public partial class IdentityReferenceCollection : System.Collections.Generic.ICollection<System.Security.Principal.IdentityReference>, System.Collections.Generic.IEnumerable<System.Security.Principal.IdentityReference>, System.Collections.IEnumerable
System.ServiceModel.Primitives (2)
netstandard.cs (2)
1675public sealed partial class MessageHeaders : System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.MessageHeaderInfo>, System.Collections.IEnumerable 1721public sealed partial class MessageProperties : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IDictionary<string, object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.IEnumerable, System.IDisposable
System.Speech (1)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (1)
296public sealed partial class SemanticValue : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Speech.Recognition.SemanticValue>>, System.Collections.Generic.IDictionary<string, System.Speech.Recognition.SemanticValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, System.Speech.Recognition.SemanticValue>>, System.Collections.IEnumerable
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellLinkedList.cs (1)
11internal class DataGridViewCellLinkedList : IEnumerable
System\Windows\Forms\Controls\DataGridView\DataGridViewIntLinkedList.cs (1)
11internal class DataGridViewIntLinkedList : IEnumerable
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (1)
29internal partial class ToolStripPanelRowControlCollection : ArrangedElementCollection, IList, IEnumerable
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\StatementContext.cs (1)
34public sealed class ObjectStatementCollection : IEnumerable
System.Windows.Forms.Primitives (1)
System\Windows\Forms\NonNullCollection.cs (1)
13: IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>
System.Windows.Forms.Tests (3)
System\Windows\Forms\ListBindingHelperTests.cs (3)
649private class IEnumerableWrapper : IEnumerable 663private class NotSupportedIEnumerable : IEnumerable 708private class EnumerableITypedListImplementor : ITypedList, IEnumerable
System.Xaml.Tests (8)
System\Xaml\XamlTypeTests.cs (8)
1844private class ICollectionImplementer : IEnumerable 1855private class InternalICollectionImplementer : IEnumerable 1861private class PrivateICollectionImplementer : IEnumerable 1867private class ProtectedICollectionImplementer : IEnumerable 1873private class IDictionaryImplementer : IEnumerable 1885private class InternalIDictionaryImplementer : IEnumerable 1891private class PrivateIDictionaryImplementer : IEnumerable 1897private class ProtectedIDictionaryImplementer : IEnumerable
WindowsBase.Tests (2)
System\Windows\Markup\Primitives\MarkupObjectTests.cs (1)
521private class IEnumerableWrapper : IEnumerable
System\Windows\Markup\Primitives\MarkupPropertyTests.cs (1)
607public class IEnumerableWrapper : IEnumerable
1994 references to IEnumerable
Aspire.Dashboard (1)
src\Shared\CircularBuffer.cs (1)
258IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Aspire.Hosting (2)
ApplicationModel\ResourceCollection.cs (1)
27IEnumerator IEnumerable.GetEnumerator() => _resources.GetEnumerator();
src\Shared\CircularBuffer.cs (1)
258IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Aspire.RabbitMQ.Client (1)
RabbitMQEventSourceLogForwarder.cs (1)
94IEnumerator IEnumerable.GetEnumerator()
BinaryFormatTests (6)
FormatTests\FormattedObject\BinaryFormatWriterTests.cs (4)
60else if (value is IEnumerable enumerable) 62((IEnumerable)deserialized).Should().BeEquivalentTo(enumerable); 117else if (value is IEnumerable enumerable) 119((IEnumerable)deserialized!).Should().BeEquivalentTo(enumerable);
SerializationRecordExtensionsTests.cs (2)
43else if (value is IEnumerable enumerable) 45((IEnumerable)deserialized!).Should().BeEquivalentTo(enumerable);
ConfigurationSchemaGenerator (1)
RuntimeSource\SourceGenerators\ImmutableEquatableArray.cs (1)
46IEnumerator IEnumerable.GetEnumerator() => _values.GetEnumerator();
dotnet-svcutil.xmlserializer (2)
Microsoft\Tools\ServiceModel\SvcUtil\XmlSerializerGenerator.cs (2)
232System.Collections.IEnumerable operations = (System.Collections.IEnumerable)operationsProperty.GetValue(contract);
dotnet-svcutil-lib (51)
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (1)
36private void Enumerate(IEnumerable coll)
FrameworkFork\Microsoft.CodeDom\Compiler\TempFiles.cs (1)
132IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\Microsoft.CodeDom\System\CodeNamespaceImportCollection.cs (1)
192IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNode.cs (1)
876IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\Microsoft.Xml\Xml\schema\GenerateConverter.cs (1)
1000if (name == "IEnumerable") return typeof(IEnumerable);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaCollection.cs (1)
250IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaDatatype.cs (2)
276if (t == typeof(IEnumerable) && t != typeof(System.String)) 279IEnumerator enumerator = (value as IEnumerable).GetEnumerator();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (9)
343protected static readonly Type IEnumerableType = typeof(IEnumerable); 3412if (!(value is IEnumerable) || value.GetType() == StringType || value.GetType() == ByteArrayType) 3482if (!(value is IEnumerable) || !IsListType(destinationType)) 3493return ListAsString((IEnumerable)value, nsResolver); 3582IEnumerable enumSrc = list as IEnumerable; 3610IEnumerable enumSrc = list as IEnumerable; 3632private string ListAsString(IEnumerable list, IXmlNamespaceResolver nsResolver)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (3)
949if (typeof(IEnumerable).IsAssignableFrom(type) && !IsArraySegment(type)) 1065else if (typeof(IEnumerable).IsAssignableFrom(type)) 1279if (typeof(IEnumerable).IsAssignableFrom(type))
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (7)
1230while ((elementType.IsArray || typeof(IEnumerable).IsAssignableFrom(elementType)) && GetPrimitiveTypeName(elementType, false) == null) 1319if (!typeof(IEnumerable).IsAssignableFrom(type)) throw new InvalidOperationException(string.Format(ResXml.XmlInternalErrorDetails, "not array like type " + type.FullName)); 1334IEnumerator e = ((IEnumerable)o).GetEnumerator(); 1422if (t.IsArray || typeof(IEnumerable).IsAssignableFrom(t)) 2601Writer.Write(typeof(IEnumerable).FullName); 2808Writer.Write(typeof(IEnumerable).FullName); 4314typeName = typeof(IEnumerable).FullName;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
1582Type typeIEnumerable = arrayTypeDesc.IsGenericInterface ? typeof(IEnumerable<>).MakeGenericType(arrayElementTypeDesc.Type) : typeof(IEnumerable);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
756s_typeOfIEnumerable = typeof(IEnumerable);
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\ClaimSet.cs (1)
118IEnumerator IEnumerable.GetEnumerator() { return this.GetEnumerator(); }
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (1)
144IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (1)
738IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
788IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UnderstoodHeaders.cs (1)
38IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ImportedPolicyConversionContext.cs (1)
164IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
1171private static IEnumerable GetSchema(XmlSchemaSet schemaSet, string ns)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyReader.cs (2)
346IEnumerator IEnumerable.GetEnumerator() 393IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
868(!isArray && typeof(IEnumerable).IsAssignableFrom(member.MemberType) && member.MemberType != typeof(string) && !typeof(XmlNode).IsAssignableFrom(member.MemberType) && !typeof(IXmlSerializable).IsAssignableFrom(member.MemberType)))
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (5)
65private static Type s_typeOfIEnumerable = typeof(IEnumerable); 160foreach (object headerItemValue in (IEnumerable)headerValue) 223foreach (object item in (IEnumerable)graph) 332return Queryable.AsQueryable((IEnumerable)val); 570return Queryable.AsQueryable((IEnumerable)val);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
115foreach (object unknownHeader in (IEnumerable)parameters[unknownHeaderDescription.Index])
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceChannelManager.cs (1)
503System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (1)
219IEnumerator IEnumerable.GetEnumerator()
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedReadOnlyCollection.cs (3)
190IEnumerator IEnumerable.GetEnumerator() 194IEnumerable asEnumerable = _items as IEnumerable;
Shared\Options\ListValue.cs (1)
202IEnumerator IEnumerable.GetEnumerator()
illink (3)
ILLink.RoslynAnalyzer (3)
src\tools\illink\src\ILLink.Shared\DataFlow\DefaultValueDictionary.cs (1)
78 IEnumerator IEnumerable.GetEnumerator () => GetEnumerator ();
src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
141 IEnumerator IEnumerable.GetEnumerator () => GetEnumerator ();
src\tools\illink\src\ILLink.Shared\TypeSystemProxy\ParameterCollection.cs (1)
35 IEnumerator IEnumerable.GetEnumerator () => new ParameterEnumerator (_start, _end, _method);
InMemory.FunctionalTests (3)
Http2\Http2ConnectionTests.cs (1)
309IEnumerator IEnumerable.GetEnumerator() => _innerHeaders.GetEnumerator();
Http3\Http3ConnectionTests.cs (1)
844IEnumerator IEnumerable.GetEnumerator() => _innerHeaders.GetEnumerator();
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
457IEnumerator IEnumerable.GetEnumerator() => FastEnumerable().GetEnumerator();
Microsoft.Analyzers.Local (2)
ApiLifecycle\Json\JsonArray.cs (1)
125System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => GetEnumerator();
ApiLifecycle\Json\JsonObject.cs (1)
145System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.Analyzers.Local.Tests (2)
Json\JsonArrayTest.cs (1)
132var legacyEnumerator = ((IEnumerable)obj).GetEnumerator();
Json\JsonObjectTest.cs (1)
76IEnumerable legacyEnumerable = obj;
Microsoft.Arcade.Test.Common (4)
AssertEx.cs (4)
87var enumerableX = x as IEnumerable; 88var enumerableY = y as IEnumerable;
Microsoft.AspNetCore.Authentication.OAuth (1)
ClaimActionCollection.cs (1)
46IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Authorization (2)
src\Shared\Debugger\DebuggerHelpers.cs (2)
72else if (kvp.Value is IEnumerable enumerable) 106if (value is not string && value is IEnumerable enumerable && !enumerable.GetEnumerator().MoveNext())
Microsoft.AspNetCore.Components (7)
NavigationManagerExtensions.cs (2)
224if (valueType != typeof(string) && typeof(IEnumerable).IsAssignableFrom(valueType)) 231var values = ((IEnumerable)value).Cast<object>();
RenderTree\ArrayBuilderSegment.cs (2)
57IEnumerator IEnumerable.GetEnumerator() 58=> ((IEnumerable)new ArraySegment<T>(Array, _offset, _count)).GetEnumerator();
ResourceAssetCollection.cs (1)
70IEnumerator IEnumerable.GetEnumerator() => _resources.GetEnumerator();
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
476IEnumerator IEnumerable.GetEnumerator()
src\Http\Routing\src\PathTokenizer.cs (1)
114IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Components.Endpoints (3)
FormMapping\FormDataReader.cs (1)
300IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Rendering\EndpointHtmlRenderer.cs (1)
266IEnumerator IEnumerable.GetEnumerator()
Rendering\EndpointHtmlRenderer.PrerenderingState.cs (1)
260IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Binding\FormDataMapperTests.cs (1)
2427IEnumerator IEnumerable.GetEnumerator() => _inner.GetEnumerator();
Builder\TestFileProvider\TestDirectoryContent.cs (1)
37IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.AspNetCore.Components.QuickGrid (1)
QuickGrid.razor.cs (1)
23/// <see cref="System.Linq.Queryable.AsQueryable(System.Collections.IEnumerable)"/> extension method,
Microsoft.AspNetCore.Components.Server.Tests (4)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\TestHubMessageEqualityComparer.cs (4)
114var leftEnumerable = left as IEnumerable; 115var rightEnumerable = right as IEnumerable;
Microsoft.AspNetCore.Components.Tests (1)
Lifetime\ComponentStatePersistenceManagerTest.cs (1)
307IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Components.WebView (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
250IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.AspNetCore.Components.WebView.Maui (1)
iOS\iOSMauiAssetFileProvider.cs (1)
70 IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Components.WebView.Test (1)
StaticContentProviderTests.cs (1)
96System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
128IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Cors (2)
src\Shared\Debugger\DebuggerHelpers.cs (2)
72else if (kvp.Value is IEnumerable enumerable) 106if (value is not string && value is IEnumerable enumerable && !enumerable.GetEnumerator().MoveNext())
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.AspNetCore.Hosting (5)
Internal\HostingApplicationDiagnostics.cs (1)
546IEnumerator IEnumerable.GetEnumerator()
Internal\HostingRequestFinishedLog.cs (1)
80IEnumerator IEnumerable.GetEnumerator()
Internal\HostingRequestStartingLog.cs (1)
62IEnumerator IEnumerable.GetEnumerator()
Internal\HostingRequestUnhandledLog.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
250IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.AspNetCore.Hosting.Tests (4)
HostingApplicationTests.cs (1)
228IEnumerator IEnumerable.GetEnumerator() => Features.GetEnumerator();
StaticWebAssets\ManifestStaticWebAssetsFileProviderTests.cs (1)
805IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
WebHostTests.cs (2)
1341IEnumerator IEnumerable.GetEnumerator() 1444IEnumerator IEnumerable.GetEnumerator() => null;
Microsoft.AspNetCore.Http (8)
FormCollection.cs (1)
161IEnumerator IEnumerable.GetEnumerator()
HeaderDictionary.cs (1)
359IEnumerator IEnumerable.GetEnumerator()
Internal\ItemsDictionary.cs (1)
141IEnumerator IEnumerable.GetEnumerator() => _items?.GetEnumerator() ?? EmptyEnumerator.Instance;
Internal\RequestCookieCollection.cs (1)
164IEnumerator IEnumerable.GetEnumerator()
QueryCollection.cs (1)
178IEnumerator IEnumerable.GetEnumerator()
QueryCollectionInternal.cs (1)
80IEnumerator IEnumerable.GetEnumerator() => Store.GetEnumerator();
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
149IEnumerator IEnumerable.GetEnumerator()
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
335IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Http.Abstractions (15)
EndpointFilterInvocationContextOfT.Generated.cs (10)
128IEnumerator IEnumerable.GetEnumerator() 257IEnumerator IEnumerable.GetEnumerator() 393IEnumerator IEnumerable.GetEnumerator() 536IEnumerator IEnumerable.GetEnumerator() 686IEnumerator IEnumerable.GetEnumerator() 843IEnumerator IEnumerable.GetEnumerator() 1007IEnumerator IEnumerable.GetEnumerator() 1178IEnumerator IEnumerable.GetEnumerator() 1356IEnumerator IEnumerable.GetEnumerator() 1541IEnumerator IEnumerable.GetEnumerator()
Internal\HeaderSegmentCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
Routing\EndpointMetadataCollection.cs (1)
160IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Routing\RouteValueDictionary.cs (1)
476IEnumerator IEnumerable.GetEnumerator()
src\Shared\Debugger\DebuggerHelpers.cs (2)
72else if (kvp.Value is IEnumerable enumerable) 106if (value is not string && value is IEnumerable enumerable && !enumerable.GetEnumerator().MoveNext())
Microsoft.AspNetCore.Http.Connections (1)
Internal\ConnectionLogScope.cs (1)
43IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Http.Connections.Client (1)
Internal\ConnectionLogScope.cs (1)
51IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Http.Extensions (2)
QueryBuilder.cs (1)
114IEnumerator IEnumerable.GetEnumerator()
src\Components\Endpoints\src\FormMapping\FormDataReader.cs (1)
300IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.AspNetCore.Http.Tests (2)
Internal\ItemsDictionaryTests.cs (2)
17IEnumerable en = (IEnumerable)dict;
Microsoft.AspNetCore.HttpLogging (1)
HttpLog.cs (1)
70IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Mvc.Abstractions (13)
ModelBinding\ModelMetadata.cs (6)
252/// implements <see cref="IEnumerable"/>. 257/// implements <see cref="IEnumerable"/> but not <see cref="IEnumerable{T}"/>. <c>null</c> otherwise i.e. when 450/// implements <see cref="IEnumerable"/>. 475/// from <see cref="string"/> and without a <c>TryParse</c> method. Most POCO and <see cref="IEnumerable"/> types are therefore complex. 524/// <see cref="IEnumerable"/>, and is not a <see cref="string"/>. 783if (ModelType != typeof(string) && !ModelType.IsArray && typeof(IEnumerable).IsAssignableFrom(ModelType))
ModelBinding\ModelStateDictionary.cs (5)
757IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 997IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1130IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1185/// An <see cref="IEnumerable"/> for <see cref="ModelStateEntry"/>. 1205IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
ModelBinding\Validation\ValidationStateDictionary.cs (1)
135IEnumerator IEnumerable.GetEnumerator()
ModelBinding\ValueProviderResult.cs (1)
138IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Mvc.Abstractions.Test (4)
ModelBinding\ModelMetadataTest.cs (4)
97[InlineData(typeof(IEnumerable))] 133[InlineData(typeof(IEnumerable))] 225[InlineData(typeof(IEnumerable), typeof(object))] 819IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Mvc.Core (8)
ApiBehaviorOptions.cs (1)
96IEnumerator IEnumerable.GetEnumerator() => _switches.GetEnumerator();
Diagnostics\EventData.cs (1)
34IEnumerator IEnumerable.GetEnumerator()
Infrastructure\CopyOnWriteList.cs (1)
114IEnumerator IEnumerable.GetEnumerator()
ModelBinding\Binders\FormCollectionModelBinder.cs (1)
82IEnumerator IEnumerable.GetEnumerator()
ModelBinding\Validation\DefaultCollectionValidationStrategy.cs (1)
86return (model as IEnumerable<T>)?.GetEnumerator() ?? ((IEnumerable)model).GetEnumerator();
MvcCoreLoggerExtensions.cs (1)
324IEnumerator IEnumerable.GetEnumerator()
MvcOptions.cs (1)
375IEnumerator IEnumerable.GetEnumerator() => _switches.GetEnumerator();
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
149IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Mvc.Core.Test (5)
Infrastructure\ConfigureCompatibilityOptionsTest.cs (1)
104IEnumerator IEnumerable.GetEnumerator() => _switches.GetEnumerator();
ModelBinding\Metadata\DefaultModelMetadataTest.cs (2)
252[InlineData(typeof(IEnumerable), typeof(object))] 834[InlineData(typeof(IEnumerable))]
ModelBinding\Validation\DefaultCollectionValidationStrategyTest.cs (1)
135IEnumerator IEnumerable.GetEnumerator()
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategyTest.cs (1)
195IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
MvcDataAnnotationsLocalizationOptions.cs (1)
24IEnumerator IEnumerable.GetEnumerator() => _switches.GetEnumerator();
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
DelegatingEnumerable.cs (1)
74IEnumerator IEnumerable.GetEnumerator()
MvcXmlOptions.cs (1)
19IEnumerator IEnumerable.GetEnumerator() => _switches.GetEnumerator();
Microsoft.AspNetCore.Mvc.IntegrationTests (12)
ActionParametersIntegrationTest.cs (1)
1057System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
CollectionModelBinderIntegrationTest.cs (8)
1272IEnumerator IEnumerable.GetEnumerator() 1274return ((IEnumerable)_data).GetEnumerator(); 1341IEnumerator IEnumerable.GetEnumerator() 1343return ((IEnumerable)_data).GetEnumerator(); 1412IEnumerator IEnumerable.GetEnumerator() 1414return ((IEnumerable)_data).GetEnumerator(); 1481IEnumerator IEnumerable.GetEnumerator() 1483return ((IEnumerable)_data).GetEnumerator();
DictionaryModelBinderIntegrationTest.cs (2)
1595IEnumerator IEnumerable.GetEnumerator() 1700IEnumerator IEnumerable.GetEnumerator()
TryUpdateModelIntegrationTest.cs (1)
1348System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
MvcNewtonsoftJsonOptions.cs (1)
72IEnumerator IEnumerable.GetEnumerator() => _switches.GetEnumerator();
Microsoft.AspNetCore.Mvc.RazorPages (1)
RazorPagesOptions.cs (1)
46IEnumerator IEnumerable.GetEnumerator() => _switches.GetEnumerator();
Microsoft.AspNetCore.Mvc.TagHelpers (1)
SelectTagHelper.cs (1)
100typeof(IEnumerable).IsAssignableFrom(realModelType);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
SelectTagHelperTest.cs (1)
153{ typeof(IEnumerable), null, true },
ValidationSummaryTagHelperTest.cs (1)
701IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Mvc.ViewFeatures (34)
AttributeDictionary.cs (3)
310IEnumerator IEnumerable.GetEnumerator() 434IEnumerator IEnumerable.GetEnumerator() 539IEnumerator IEnumerable.GetEnumerator()
DefaultDisplayTemplates.cs (3)
80var enumerable = model as IEnumerable; 85"Collection", model.GetType().FullName, typeof(IEnumerable).FullName));
DefaultEditorTemplates.cs (3)
62var enumerable = model as IEnumerable; 67"Collection", model.GetType().FullName, typeof(IEnumerable).FullName));
DefaultHtmlGenerator.cs (2)
939IEnumerable rawValues; 942rawValues = rawValue as IEnumerable;
IHtmlGenerator.cs (1)
581/// <see cref="System.Collections.IEnumerable"/> type, instead converts each item in the collection and returns
MvcViewOptions.cs (1)
49IEnumerator IEnumerable.GetEnumerator() => _switches.GetEnumerator();
Rendering\MultiSelectList.cs (11)
25public MultiSelectList(IEnumerable items) 36public MultiSelectList(IEnumerable items, IEnumerable selectedValues) 48public MultiSelectList(IEnumerable items, string dataValueField, string dataTextField) 62IEnumerable items, 65IEnumerable selectedValues) 85IEnumerable items, 88IEnumerable selectedValues, 123public IEnumerable Items { get; } 128public IEnumerable SelectedValues { get; } 250IEnumerator IEnumerable.GetEnumerator()
Rendering\SelectList.cs (6)
19public SelectList(IEnumerable items) 30public SelectList(IEnumerable items, object selectedValue) 42public SelectList(IEnumerable items, string dataValueField, string dataTextField) 56IEnumerable items, 81IEnumerable items, 98private static IEnumerable ToEnumerable(object selectedValue)
TempDataDictionary.cs (1)
268IEnumerator IEnumerable.GetEnumerator()
TemplateRenderer.cs (1)
215if (typeof(IEnumerable).IsAssignableFrom(fieldType))
ViewComponents\DefaultViewComponentInvoker.cs (1)
324IEnumerator IEnumerable.GetEnumerator()
ViewDataDictionary.cs (1)
592IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
CookieTempDataProviderTest.cs (1)
383IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Mvc.Views.TestCommon (1)
TestDirectoryContent.cs (1)
37IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.AspNetCore.Owin (4)
DictionaryStringArrayWrapper.cs (1)
58IEnumerator IEnumerable.GetEnumerator() => Inner.Select(Convert).GetEnumerator();
DictionaryStringValuesWrapper.cs (1)
103IEnumerator IEnumerable.GetEnumerator() => Inner.Select(Convert).GetEnumerator();
OwinEnvironment.cs (1)
303IEnumerator IEnumerable.GetEnumerator()
OwinFeatureCollection.cs (1)
392IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Owin.Tests (1)
OwinEnvironmentTests.cs (1)
134Assert.NotNull(((IEnumerable)owinEnvironment).GetEnumerator());
Microsoft.AspNetCore.Razor.Runtime (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
149IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Rewrite (2)
IISUrlRewrite\ConditionCollection.cs (1)
56IEnumerator IEnumerable.GetEnumerator()
IISUrlRewrite\IISRewriteMapCollection.cs (1)
30IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Routing (6)
PathTokenizer.cs (1)
114IEnumerator IEnumerable.GetEnumerator()
Patterns\RoutePatternFactory.cs (1)
668else if (kvp.Value is IEnumerable multiplePolicies)
src\Shared\Debugger\DebuggerHelpers.cs (2)
72else if (kvp.Value is IEnumerable enumerable) 106if (value is not string && value is IEnumerable enumerable && !enumerable.GetEnumerator().MoveNext())
Template\TemplateBinder.cs (2)
602var values = kvp.Value as IEnumerable;
Microsoft.AspNetCore.Server.HttpSys (4)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
247IEnumerator IEnumerable.GetEnumerator()
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
250IEnumerator IEnumerable.GetEnumerator()
StandardFeatureCollection.cs (1)
89IEnumerator IEnumerable.GetEnumerator()
UrlPrefixCollection.cs (1)
179IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Server.IIS (3)
Core\IISHttpContext.FeatureCollection.cs (1)
433IEnumerator IEnumerable.GetEnumerator() => FastEnumerable().GetEnumerator();
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
247IEnumerator IEnumerable.GetEnumerator()
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
250IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Server.IntegrationTesting (1)
TestMatrix.cs (1)
313IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\ConnectionLogScope.cs (1)
43IEnumerator IEnumerable.GetEnumerator()
Internal\Http\HttpHeaders.cs (1)
235IEnumerator IEnumerable.GetEnumerator()
Internal\Http\HttpProtocol.Generated.cs (1)
958IEnumerator IEnumerable.GetEnumerator() => FastEnumerable().GetEnumerator();
Internal\ServerAddressesCollection.cs (2)
95IEnumerator IEnumerable.GetEnumerator() 159IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTests.cs (1)
1214IEnumerator IEnumerable.GetEnumerator() => _innerHeaders.GetEnumerator();
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
457IEnumerator IEnumerable.GetEnumerator() => FastEnumerable().GetEnumerator();
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
457IEnumerator IEnumerable.GetEnumerator() => FastEnumerable().GetEnumerator();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
457IEnumerator IEnumerable.GetEnumerator() => FastEnumerable().GetEnumerator();
src\Servers\Kestrel\shared\TransportMultiplexedConnection.Generated.cs (1)
319IEnumerator IEnumerable.GetEnumerator() => FastEnumerable().GetEnumerator();
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Servers\Kestrel\shared\TransportConnection.Generated.cs (1)
457IEnumerator IEnumerable.GetEnumerator() => FastEnumerable().GetEnumerator();
Microsoft.AspNetCore.Session (2)
DefaultDistributedSessionStore.cs (1)
31IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
NoOpSessionStore.cs (1)
36IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.AspNetCore.Shared.Tests (8)
ClosedGenericMatcherTest.cs (4)
130typeof(IEnumerable), 212IEnumerator IEnumerable.GetEnumerator() 230IEnumerator IEnumerable.GetEnumerator() 318IEnumerator IEnumerable.GetEnumerator()
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
149IEnumerator IEnumerable.GetEnumerator()
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
335IEnumerator IEnumerable.GetEnumerator()
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
247IEnumerator IEnumerable.GetEnumerator()
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
250IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.SignalR.Client.Core (2)
Internal\ConnectionLogScope.cs (1)
52IEnumerator IEnumerable.GetEnumerator()
src\SignalR\common\Shared\MessageBuffer.cs (1)
440IEnumerator IEnumerable.GetEnumerator()
Microsoft.AspNetCore.SignalR.Common.Tests (4)
Internal\Protocol\TestHubMessageEqualityComparer.cs (4)
114var leftEnumerable = left as IEnumerable; 115var rightEnumerable = right as IEnumerable;
Microsoft.AspNetCore.SignalR.Core (2)
Internal\HubGroupList.cs (1)
52IEnumerator IEnumerable.GetEnumerator()
src\SignalR\common\Shared\MessageBuffer.cs (1)
440IEnumerator IEnumerable.GetEnumerator()
Microsoft.Build (80)
BackEnd\BuildManager\GlobalPropertiesLookup.cs (1)
40IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
BackEnd\Components\Caching\ConfigCache.cs (1)
329System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
BackEnd\Components\Caching\ConfigCacheWithOverride.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
BackEnd\Components\Caching\ResultsCache.cs (1)
406IEnumerator IEnumerable.GetEnumerator()
BackEnd\Components\Caching\ResultsCacheWithOverride.cs (1)
127IEnumerator IEnumerable.GetEnumerator()
BackEnd\Components\Logging\EvaluationLoggingContext.cs (3)
45internal void LogProjectEvaluationFinished(IEnumerable globalProperties, IEnumerable properties, IEnumerable items, ProfilerResult? profilerResult)
BackEnd\Components\Logging\ILoggingService.cs (3)
527IEnumerable globalProperties, 528IEnumerable properties, 529IEnumerable items,
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (3)
453IEnumerable globalProperties, 454IEnumerable properties, 455IEnumerable items,
BackEnd\Components\Logging\TargetLoggingContext.cs (1)
176IEnumerator IEnumerable.GetEnumerator()
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
51private static Dictionary<string, string> ExtractPropertiesLookup(System.Collections.IEnumerable? propertiesFromEventArgs)
Collections\ArrayDictionary.cs (1)
165IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Collections\ConvertingEnumerable.cs (1)
50IEnumerator IEnumerable.GetEnumerator()
Collections\CopyOnReadEnumerable.cs (1)
96IEnumerator IEnumerable.GetEnumerator()
Collections\CopyOnWritePropertyDictionary.cs (1)
145IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Collections\ItemDictionary.cs (1)
167IEnumerator IEnumerable.GetEnumerator()
Collections\MultiDictionary.cs (1)
231IEnumerator IEnumerable.GetEnumerator()
Collections\PropertyDictionary.cs (2)
251IEnumerator IEnumerable.GetEnumerator() 255return ((IEnumerable)_properties.Values).GetEnumerator();
Collections\ReadOnlyConvertingDictionary.cs (1)
194System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (1)
505IEnumerator IEnumerable.GetEnumerator()
Collections\WeakValueDictionary.cs (1)
253IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Construction\ProjectElementContainer.cs (2)
863IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 956IEnumerator IEnumerable.GetEnumerator() => _enumerator;
CopyOnWriteDictionary.cs (1)
308IEnumerator IEnumerable.GetEnumerator()
Definition\ProjectCollection.cs (1)
2489IEnumerator IEnumerable.GetEnumerator()
Evaluation\Evaluator.cs (4)
342IEnumerable globalProperties = null; 343IEnumerable properties = null; 344IEnumerable items = null; 824private IEnumerable FilterOutEnvironmentDerivedProperties(PropertyDictionary<P> dictionary)
Evaluation\Expander.cs (1)
1506else if (valueToConvert is IEnumerable enumerable)
Evaluation\LazyItemEvaluator.OrderedItemDataCollection.cs (1)
47System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => _listBuilder.GetEnumerator();
Evaluation\SemiColonTokenizer.cs (1)
39IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (2)
100IEnumerator IEnumerable.GetEnumerator() => _values.GetEnumerator(); 198IEnumerator IEnumerable.GetEnumerator()
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (2)
160IEnumerator IEnumerable.GetEnumerator() => _values.GetEnumerator(); 238IEnumerator IEnumerable.GetEnumerator()
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (1)
142IEnumerator IEnumerable.GetEnumerator() => GetEnumeratorImpl();
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (2)
138IEnumerator IEnumerable.GetEnumerator() 248IEnumerator IEnumerable.GetEnumerator()
Instance\ImmutableProjectCollections\ImmutableStringValuedListConverter.cs (1)
87IEnumerator IEnumerable.GetEnumerator()
Logging\BaseConsoleLogger.cs (2)
495internal List<DictionaryEntry> ExtractPropertyList(IEnumerable properties) 586internal SortedList ExtractItemList(IEnumerable items)
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
691IEnumerable? globalProperties = null;
Logging\BinaryLogger\BuildEventArgsWriter.cs (4)
861private void WriteTaskItemList(IEnumerable items, bool writeMetadata = true) 923private void WriteProjectItems(IEnumerable items) 1007itemList is not IEnumerable list) 1055private void WriteProperties(IEnumerable properties)
Logging\BuildEventArgsExtensions.cs (4)
83private static IEnumerable<PropertyData> EnumerateProperties(IEnumerable? properties) 86private static IEnumerable<ItemData> EnumerateItems(IEnumerable? items) 89private static IEnumerable<ItemData> EnumerateItemsOfType(IEnumerable? items, string typeName) 92private static IEnumerable<ItemData> EnumerateItemsOfTypes(IEnumerable? items, string[] typeNames)
Logging\ParallelLogger\ParallelConsoleLogger.cs (4)
587private string ReadProjectConfigurationDescription(IEnumerable items) 733internal void WriteProperties(BuildEventArgs e, IEnumerable properties) 800internal void WriteItems(BuildEventArgs e, IEnumerable items) 887IEnumerable targetOutputs = e.TargetOutputs;
Logging\SerialConsoleLogger.cs (1)
387IEnumerable targetOutputs = e.TargetOutputs;
LogMessagePacketBase.cs (4)
1095private void WriteProperties(IEnumerable properties, ITranslator translator) 1125private void WriteItems(IEnumerable items, ITranslator translator) 1421private IEnumerable ReadProperties(ITranslator translator) 1442private IEnumerable ReadItems(ITranslator translator)
ReadOnlyCollection.cs (2)
178IEnumerator IEnumerable.GetEnumerator() 180return ((IEnumerable)_backing).GetEnumerator();
ReadOnlyEmptyCollection.cs (1)
133System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
ReadOnlyEmptyDictionary.cs (1)
265System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Utilities\Utilities.cs (9)
598public static int FastCountOrZero(this IEnumerable enumerable) 632public static IEnumerable<PropertyData> EnumerateProperties(IEnumerable properties) 652IEnumerable<PropertyData> CastOneByOne(IEnumerable props) 690public static void EnumerateProperties<TArg>(IEnumerable properties, TArg arg, Action<TArg, KeyValuePair<string, string>> callback) 701public static IEnumerable<ItemData> EnumerateItems(IEnumerable items) 740public static IEnumerable<ItemData> EnumerateItemsOfType(IEnumerable items, string typeName) 769public static IEnumerable<ItemData> EnumerateItemsOfTypes(IEnumerable items, string[] typeNames) 799public static void EnumerateItems(IEnumerable items, Action<DictionaryEntry> callback) 813private static IEnumerable<ItemData> CastItemsOneByOne(IEnumerable items, string[] itemTypeNamesToFetch)
VersionUtilities.cs (1)
31internal static SortedDictionary<Version, List<string>> GatherVersionStrings(Version targetPlatformVersion, IEnumerable versions)
Microsoft.Build.BuildCheck.UnitTests (4)
EditorConfig_Tests.cs (4)
82var enumerableX = x as IEnumerable; 83var enumerableY = y as IEnumerable;
Microsoft.Build.CommandLine.UnitTests (1)
VersionUtilities.cs (1)
31internal static SortedDictionary<Version, List<string>> GatherVersionStrings(Version targetPlatformVersion, IEnumerable versions)
Microsoft.Build.Engine.OM.UnitTests (3)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (3)
137public ICollection<ElementLinkPair<CT>> QueryChildrenWithValidation<CT>(Func<T, IEnumerable> getter, Func<CT, bool> matcher, int expectedCount) 145public ICollection<ElementLinkPair<CT>> QueryChildrenWithValidation<CT>(Func<T, IEnumerable> getter, Func<CT, bool> matcher) 200public ElementLinkPair<CT> QuerySingleChildrenWithValidation<CT>(Func<T, IEnumerable> getter, Func<CT, bool> matcher)
Microsoft.Build.Engine.UnitTests (20)
BackEnd\BuildManager_Tests.cs (1)
3542private static Dictionary<string, string> ExtractProjectStartedPropertyList(IEnumerable properties)
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1571private void VerifyTargetFinishedEvent(string targetName, string projectFile, string projectFileOfTarget, bool succeeded, string message, ProcessBuildEventHelper service, IEnumerable targetOutputs)
BackEnd\MockLoggingService.cs (3)
528IEnumerable globalProperties, 529IEnumerable properties, 530IEnumerable items,
BackEnd\NodePackets_Tests.cs (1)
162private static IEnumerable CreateProperties()
BackEnd\TargetEntry_Tests.cs (6)
714IEnumerable targetOutputsA = targeta.TargetOutputs; 715IEnumerable targetOutputsB = targetb.TargetOutputs; 716IEnumerable targetOutputsC = targetc.TargetOutputs; 811IEnumerable targetOutputsA = targeta.TargetOutputs; 812IEnumerable targetOutputsB = targetb.TargetOutputs; 813IEnumerable targetOutputsC = targetc.TargetOutputs;
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
174IEnumerator IEnumerable.GetEnumerator()
BackEnd\TranslationHelpers.cs (3)
169internal static string GetPropertiesString(IEnumerable properties) 179internal static string GetMultiItemsString(IEnumerable items) 188internal static string GetItemsString(IEnumerable items)
Collections\OMcollections_tests.cs (4)
255IEnumerable enumerable = (IEnumerable)collection; 298IEnumerable enumerable = (IEnumerable)collection;
Microsoft.Build.Framework (40)
IEnumerableCalls.cs (2)
10/// Provides static methods to invoke <see cref="IEnumerable"/> members on value types that explicitly implement the 21where TEnumerable : IEnumerable
ImmutableSegmentedDictionary`2.cs (1)
345IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+Builder.cs (1)
228IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+Enumerator.cs (2)
28/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is 35/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedList`1.cs (1)
640IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedList`1+Builder.cs (1)
227IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedList`1+ValueBuilder.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
ProjectEvaluationFinishedEventArgs.cs (3)
39public IEnumerable? GlobalProperties { get; set; } 44public IEnumerable? Properties { get; set; } 49public IEnumerable? Items { get; set; }
ProjectStartedEventArgs.cs (14)
59IEnumerable properties, 60IEnumerable items) 83IEnumerable? properties, 84IEnumerable? items, 110IEnumerable? properties, 111IEnumerable? items, 137IEnumerable? properties, 138IEnumerable? items, 167IEnumerable? properties, 168IEnumerable? items, 288private IEnumerable? properties; 293public IEnumerable? Properties 315private IEnumerable? items; 320public IEnumerable? Items
SegmentedArray`1.cs (1)
303IEnumerator IEnumerable.GetEnumerator()
SegmentedDictionary`2.cs (3)
914IEnumerator IEnumerable.GetEnumerator() 1323IEnumerator IEnumerable.GetEnumerator() 1523IEnumerator IEnumerable.GetEnumerator()
SegmentedList`1.cs (1)
607IEnumerator IEnumerable.GetEnumerator()
TargetFinishedEventArgs.cs (5)
73IEnumerable targetOutputs) 89/// <param name="targetOutputs">An <see cref="IEnumerable"/> containing the outputs of the target.</param> 98IEnumerable targetOutputs) 112private IEnumerable targetOutputs; 170public IEnumerable TargetOutputs
Microsoft.Build.Tasks.Core (12)
AssemblyFoldersEx.cs (1)
486IEnumerator IEnumerable.GetEnumerator()
AssemblyFoldersFromConfig.cs (1)
105IEnumerator IEnumerable.GetEnumerator()
CopyOnWriteDictionary.cs (1)
308IEnumerator IEnumerable.GetEnumerator()
NativeMethods.cs (1)
1438IEnumerator IEnumerable.GetEnumerator()
ReadOnlyCollection.cs (2)
178IEnumerator IEnumerable.GetEnumerator() 180return ((IEnumerable)_backing).GetEnumerator();
ReadOnlyEmptyCollection.cs (1)
133System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
ReadOnlyEmptyDictionary.cs (1)
265System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
ResolveManifestFiles.cs (3)
885IEnumerator IEnumerable.GetEnumerator() 932IEnumerator IEnumerable.GetEnumerator() 973IEnumerator IEnumerable.GetEnumerator()
VersionUtilities.cs (1)
31internal static SortedDictionary<Version, List<string>> GatherVersionStrings(Version targetPlatformVersion, IEnumerable versions)
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
1165public static int Count(IEnumerable enumerable)
Microsoft.Build.Utilities.Core (6)
AssemblyFoldersEx.cs (1)
486IEnumerator IEnumerable.GetEnumerator()
AssemblyFoldersFromConfig.cs (1)
105IEnumerator IEnumerable.GetEnumerator()
CopyOnWriteDictionary.cs (1)
308IEnumerator IEnumerable.GetEnumerator()
ReadOnlyEmptyCollection.cs (1)
133System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
ReadOnlyEmptyDictionary.cs (1)
265System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
VersionUtilities.cs (1)
31internal static SortedDictionary<Version, List<string>> GatherVersionStrings(Version targetPlatformVersion, IEnumerable versions)
Microsoft.Cci.Extensions (1)
Differs\ElementDiffer.cs (1)
116System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis (59)
Collections\Grouping.cs (1)
37IEnumerator IEnumerable.GetEnumerator()
Collections\IdentifierCollection.Collection.cs (1)
73System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Collections\OrderedSet.cs (2)
78IEnumerator IEnumerable.GetEnumerator() 80return ((IEnumerable)_list).GetEnumerator();
Collections\OrderPreservingMultiDictionary.cs (2)
134IEnumerator IEnumerable.GetEnumerator() 292IEnumerator IEnumerable.GetEnumerator()
Collections\SmallDictionary.cs (3)
613IEnumerator IEnumerable.GetEnumerator() 730IEnumerator IEnumerable.GetEnumerator() 836IEnumerator IEnumerable.GetEnumerator()
Collections\UnionCollection.cs (1)
137System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
InternalUtilities\ConcurrentSet.cs (1)
166IEnumerator IEnumerable.GetEnumerator()
InternalUtilities\ConsList`1.cs (1)
126IEnumerator IEnumerable.GetEnumerator()
InternalUtilities\ImmutableSetWithInsertionOrder`1.cs (1)
74IEnumerator IEnumerable.GetEnumerator()
InternalUtilities\MultiDictionary.cs (2)
137IEnumerator IEnumerable.GetEnumerator() 273IEnumerator IEnumerable.GetEnumerator()
InternalUtilities\OrderedMultiDictionary.cs (1)
58IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
InternalUtilities\SetWithInsertionOrder.cs (1)
92IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
InternalUtilities\SpecializedCollections.Empty.Enumerable.cs (1)
26System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
InternalUtilities\SpecializedCollections.ReadOnly.Enumerable`1.cs (1)
14where TUnderlying : IEnumerable
InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
Operations\IOperation.OperationList.cs (1)
66IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<IOperation>)this).GetEnumerator();
Operations\IOperation.OperationList.Reversed.cs (1)
80IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<IOperation>)this).GetEnumerator();
SpecialType.cs (1)
146/// Indicates that the type is <see cref="IEnumerable"/>.
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
129IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
28/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is 35/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
240IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
365IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
124IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
278IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
640IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
227IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\Internal\IEnumerableCalls.cs (2)
10/// Provides static methods to invoke <see cref="IEnumerable"/> members on value types that explicitly implement the 21where TEnumerable : IEnumerable
src\Dependencies\Collections\SegmentedArray`1.cs (1)
300IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
942IEnumerator IEnumerable.GetEnumerator() 1365IEnumerator IEnumerable.GetEnumerator() 1573IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
370IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\Dependencies\Collections\SegmentedList`1.cs (1)
738IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
511System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Syntax\ChildSyntaxList.cs (1)
434IEnumerator IEnumerable.GetEnumerator()
Syntax\ChildSyntaxList.Reversed.cs (1)
43IEnumerator IEnumerable.GetEnumerator()
Syntax\SeparatedSyntaxList.cs (1)
617IEnumerator IEnumerable.GetEnumerator()
Syntax\SyntaxList`1.cs (1)
450IEnumerator IEnumerable.GetEnumerator()
Syntax\SyntaxNodeOrTokenList.cs (1)
464IEnumerator IEnumerable.GetEnumerator()
Syntax\SyntaxTokenList.cs (1)
463IEnumerator IEnumerable.GetEnumerator()
Syntax\SyntaxTokenList.Reversed.cs (1)
44IEnumerator IEnumerable.GetEnumerator()
Syntax\SyntaxTriviaList.cs (1)
437IEnumerator IEnumerable.GetEnumerator()
Syntax\SyntaxTriviaList.Reversed.cs (1)
44IEnumerable.GetEnumerator()
Text\TextLineCollection.cs (1)
91IEnumerator IEnumerable.GetEnumerator()
TreeDumper.cs (2)
217var seq = o as IEnumerable;
Microsoft.CodeAnalysis.CodeStyle (41)
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (2)
134IEnumerator IEnumerable.GetEnumerator() 292IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
166IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
126IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (2)
137IEnumerator IEnumerable.GetEnumerator() 273IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\OrderedMultiDictionary.cs (1)
58IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Compilers\Core\Portable\InternalUtilities\SetWithInsertionOrder.cs (1)
92IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Enumerable.cs (1)
26System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Enumerable`1.cs (1)
14where TUnderlying : IEnumerable
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
129IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
28/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is 35/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
240IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
365IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
124IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
278IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
640IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
227IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\Internal\IEnumerableCalls.cs (2)
10/// Provides static methods to invoke <see cref="IEnumerable"/> members on value types that explicitly implement the 21where TEnumerable : IEnumerable
src\Dependencies\Collections\SegmentedArray`1.cs (1)
300IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
942IEnumerator IEnumerable.GetEnumerator() 1365IEnumerator IEnumerable.GetEnumerator() 1573IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
370IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\Dependencies\Collections\SegmentedList`1.cs (1)
738IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
511System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\ImmutableIntervalTree`1.cs (1)
276IEnumerator IEnumerable.GetEnumerator()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\MutableIntervalTree`1.cs (1)
129IEnumerator IEnumerable.GetEnumerator()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (1)
139=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
30IEnumerator IEnumerable.GetEnumerator()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumerableConditionalWeakTable.cs (1)
129IEnumerator IEnumerable.GetEnumerator()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
43IEnumerator IEnumerable.GetEnumerator() => list.GetEnumerator();
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
src\Workspaces\CoreTestUtilities\OptionsCollection.cs (1)
81IEnumerator IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.Collections.Package (23)
ImmutableSegmentedDictionary`2.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+Builder.cs (1)
129IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+Enumerator.cs (2)
28/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is 35/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is
ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
240IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedHashSet`1.cs (1)
365IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedHashSet`1+Builder.cs (1)
124IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
278IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedList`1.cs (1)
640IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedList`1+Builder.cs (1)
227IEnumerator IEnumerable.GetEnumerator()
ImmutableSegmentedList`1+ValueBuilder.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
Internal\IEnumerableCalls.cs (2)
10/// Provides static methods to invoke <see cref="IEnumerable"/> members on value types that explicitly implement the 21where TEnumerable : IEnumerable
SegmentedArray`1.cs (1)
300IEnumerator IEnumerable.GetEnumerator()
SegmentedDictionary`2.cs (3)
942IEnumerator IEnumerable.GetEnumerator() 1365IEnumerator IEnumerable.GetEnumerator() 1573IEnumerator IEnumerable.GetEnumerator()
SegmentedHashSet`1.cs (1)
370IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
SegmentedList`1.cs (1)
738IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
Microsoft.CodeAnalysis.CSharp (1)
Utilities\FirstAmongEqualsSet.cs (1)
115System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Analyzers\CSharp\CodeFixes\Iterator\CSharpAddYieldCodeFixProvider.cs (2)
118var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 191var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!);
src\Analyzers\CSharp\CodeFixes\Iterator\CSharpChangeToIEnumerableCodeFixProvider.cs (1)
116ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\NameSyntaxIterator.cs (1)
43System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (3)
Recommendations\TheoryDataKeywordsIndicatingLocalFunction.cs (3)
30IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 47IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 62IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\CSharpDeterministicBuildCompilationTests.cs (1)
281IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.CodeAnalysis.CSharp.Features (3)
src\Analyzers\CSharp\CodeFixes\Iterator\CSharpAddYieldCodeFixProvider.cs (2)
118var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!); 191var ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!);
src\Analyzers\CSharp\CodeFixes\Iterator\CSharpChangeToIEnumerableCodeFixProvider.cs (1)
116ienumerableSymbol = model.Compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
ObjectFormatterTests.cs (1)
473IEnumerator IEnumerable.GetEnumerator() => null;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\LookupSymbolsInfoTests.cs (1)
69System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestSource.cs (1)
90IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException();
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Utilities\NameSyntaxIterator.cs (1)
43System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Collections\Immutable\Maps\MapTests.cs (1)
28foreach (var v in (IEnumerable)map)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
src\Compilers\Core\Portable\SpecialType.cs (1)
146/// Indicates that the type is <see cref="IEnumerable"/>.
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DebuggerTypeProxyExpansion.cs (1)
18/// May include <see cref="System.Collections.IEnumerable"/> and
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\DebuggerTypeProxyExpansion.cs (1)
18/// May include <see cref="System.Collections.IEnumerable"/> and
Microsoft.CodeAnalysis.Features (3)
Completion\CompletionService_GetCompletions.cs (1)
445System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
ExternalAccess\UnitTesting\API\UnitTestingInvocationReasons.cs (1)
42IEnumerator IEnumerable.GetEnumerator()
SignatureHelp\CommonSignatureHelpUtilities.cs (1)
155var ienumerableType = compilation.GetTypeByMetadataName(typeof(IEnumerable).FullName!);
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
511System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.PooledObjects.Package (1)
ArrayBuilder.cs (1)
511System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.Remote.Workspaces (4)
VisualStudioMefHostServices.cs (4)
23private ImmutableDictionary<ExportKey, IEnumerable> _exportsMap 24= ImmutableDictionary<ExportKey, IEnumerable>.Empty; 47if (!_exportsMap.TryGetValue(key, out var exports)) 64if (!_exportsMap.TryGetValue(key, out var exports))
Microsoft.CodeAnalysis.Scripting (5)
Hosting\ObjectFormatter\CommonObjectFormatter.Visitor.cs (4)
243IEnumerable enumerable; 249else if ((enumerable = obj as IEnumerable) != null) 321return typeof(IEnumerable).GetTypeInfo().IsAssignableFrom(originalType) && members.All(member => member.Index >= 0); 619private void FormatSequenceMembers(Builder result, IEnumerable sequence, bool inline)
Hosting\SynchronizedList.cs (1)
90IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ObjectFormatterFixtures\Custom.cs (1)
439IEnumerator IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.Test.Utilities (6)
Assert\AssertEx.cs (6)
95if (x is IEnumerable enumerableX && y is IEnumerable enumerableY) 146if (expected is IEnumerable expectedEnumerable && actual is IEnumerable actualEnumerable) 1063/// The core <see cref="Xunit.Assert.Empty(IEnumerable)"/> is annotated to not accept null but many 1066public static void AssertEmpty(IEnumerable? collection)
Microsoft.CodeAnalysis.UnitTests (39)
Collections\EnumerableExtensionsTests.cs (1)
43IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException();
Collections\HashSet\SegmentedHashSet_IEnumerable_NonGeneric_Tests.cs (2)
20protected override IEnumerable NonGenericIEnumerableFactory(int count) 43yield return (IEnumerable enumerable) =>
Collections\IdentifierCollectionTests.cs (2)
42Assert.Equal(idcol.GetEnumerator().GetType(), ((System.Collections.IEnumerable)idcol).GetEnumerator().GetType()); 59Assert.Equal(idcol.GetEnumerator().GetType(), ((System.Collections.IEnumerable)idcol).GetEnumerator().GetType());
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (1)
270private static List<T> ToListNonGeneric<T>(IEnumerable sequence)
Collections\ImmutableListTestBase.cs (1)
523IEnumerable enumerableNonGeneric = enumerable;
Collections\ImmutableSetTest.cs (1)
234internal static List<T> ToListNonGeneric<T>(System.Collections.IEnumerable sequence)
Collections\ImmutablesTestBase.cs (2)
114protected static string ToString(System.Collections.IEnumerable sequence) 140protected static object ToStringDeferred(System.Collections.IEnumerable sequence)
Collections\ImmutablesTestBase.nonnetstandard.cs (2)
80private readonly IEnumerable _enumerable; 82internal NonGenericEnumerableWrapper(IEnumerable enumerable)
Collections\List\ICollection.NonGeneric.Tests.cs (1)
112protected override IEnumerable NonGenericIEnumerableFactory(int count) => NonGenericICollectionFactory(count);
Collections\List\IEnumerable.Generic.Tests.cs (1)
332IEnumerable enumerable = GenericIEnumerableFactory(0);
Collections\List\IEnumerable.NonGeneric.Tests.cs (15)
31protected abstract IEnumerable NonGenericIEnumerableFactory(int count); 39protected delegate bool ModifyEnumerable(IEnumerable enumerable); 122IEnumerable enumerable = NonGenericIEnumerableFactory(0); 147IEnumerable enumerable = NonGenericIEnumerableFactory(count); 156IEnumerable enumerable = NonGenericIEnumerableFactory(count); 197IEnumerable enumerable = NonGenericIEnumerableFactory(count); 219IEnumerable enumerable = NonGenericIEnumerableFactory(count); 245IEnumerable enumerable = NonGenericIEnumerableFactory(count); 296IEnumerable enumerable = NonGenericIEnumerableFactory(count); 313IEnumerable enumerable = NonGenericIEnumerableFactory(count); 326IEnumerable enumerable = NonGenericIEnumerableFactory(count); 342IEnumerable enumerable = NonGenericIEnumerableFactory(count); 375IEnumerable enumerable = NonGenericIEnumerableFactory(count); 397IEnumerable enumerable = NonGenericIEnumerableFactory(count); 423IEnumerable enumerable = NonGenericIEnumerableFactory(count);
Collections\List\IList.NonGeneric.Tests.cs (6)
110yield return (IEnumerable enumerable) => 123yield return (IEnumerable enumerable) => 136yield return (IEnumerable enumerable) => 146yield return (IEnumerable enumerable) => 159yield return (IEnumerable enumerable) => 172yield return (IEnumerable enumerable) =>
Collections\List\SegmentedList.Generic.Tests.AddRange.cs (1)
165IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException();
Collections\SegmentedArrayTests.cs (1)
70var enumerator2 = ((IEnumerable)data).GetEnumerator();
InternalUtilities\ConcurrentLruCacheTests.cs (1)
37IEnumerator IEnumerable.GetEnumerator()
InternalUtilities\SpecializedCollectionsTests.cs (1)
30Assert.False(((IEnumerable)emptySet).GetEnumerator().MoveNext());
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\QueryHelper.vb (1)
20Public Function GetEnumerator1() As System.Collections.IEnumerator Implements System.Collections.IEnumerable.GetEnumerator
Microsoft.CodeAnalysis.Workspaces (46)
Log\AbstractLogAggregator.cs (1)
44IEnumerator IEnumerable.GetEnumerator()
Shared\Extensions\ISymbolExtensions.cs (2)
619var xpathResult = (IEnumerable)System.Xml.XPath.Extensions.XPathEvaluate(node, xpath);
SolutionCrawler\InvocationReasons.cs (1)
42IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (2)
134IEnumerator IEnumerable.GetEnumerator() 292IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
166IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
126IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (2)
137IEnumerator IEnumerable.GetEnumerator() 273IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\OrderedMultiDictionary.cs (1)
58IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Compilers\Core\Portable\InternalUtilities\SetWithInsertionOrder.cs (1)
92IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Enumerable.cs (1)
26System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Enumerable`1.cs (1)
14where TUnderlying : IEnumerable
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
129IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
28/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is 35/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
240IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
365IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
124IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
278IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
640IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
227IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\Internal\IEnumerableCalls.cs (2)
10/// Provides static methods to invoke <see cref="IEnumerable"/> members on value types that explicitly implement the 21where TEnumerable : IEnumerable
src\Dependencies\Collections\SegmentedArray`1.cs (1)
300IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
942IEnumerator IEnumerable.GetEnumerator() 1365IEnumerator IEnumerable.GetEnumerator() 1573IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
370IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\Dependencies\Collections\SegmentedList`1.cs (1)
738IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
511System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\ImmutableIntervalTree`1.cs (1)
276IEnumerator IEnumerable.GetEnumerator()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\MutableIntervalTree`1.cs (1)
129IEnumerator IEnumerable.GetEnumerator()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (1)
139=> compilation.GetTypeByMetadataName(typeof(System.Collections.IEnumerable).FullName!);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\ConcatImmutableArray`1.cs (1)
30IEnumerator IEnumerable.GetEnumerator()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumerableConditionalWeakTable.cs (1)
129IEnumerator IEnumerable.GetEnumerator()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IReadOnlyListExtensions.cs (1)
43IEnumerator IEnumerable.GetEnumerator() => list.GetEnumerator();
Workspace\Solution\ChecksumCollection.cs (1)
46IEnumerator IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.Workspaces.Desktop (4)
Workspace\Host\Mef\MefV1HostServices.cs (4)
35private ImmutableDictionary<ExportKey, IEnumerable> _exportsMap 36= ImmutableDictionary<ExportKey, IEnumerable>.Empty; 84if (!_exportsMap.TryGetValue(key, out var exports)) 101if (!_exportsMap.TryGetValue(key, out var exports))
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (35)
MSBuild\Logging\DiagnosticLog.cs (1)
22IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\ConcurrentSet.cs (1)
166IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
126IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\ImmutableSetWithInsertionOrder`1.cs (1)
74IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (2)
137IEnumerator IEnumerable.GetEnumerator() 273IEnumerator IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\OrderedMultiDictionary.cs (1)
58IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Compilers\Core\Portable\InternalUtilities\SetWithInsertionOrder.cs (1)
92IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Enumerable.cs (1)
26System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.ReadOnly.Enumerable`1.cs (1)
14where TUnderlying : IEnumerable
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Singleton.Collection`1.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
129IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+KeyCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder+ValueCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Enumerator.cs (2)
28/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is 35/// The return value from the implementation of <see cref="IEnumerable.GetEnumerator"/> is
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+KeyCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
240IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueCollection.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
365IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+Builder.cs (1)
124IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedHashSet`1+ValueBuilder.cs (1)
278IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
640IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1+Builder.cs (1)
227IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\ImmutableSegmentedList`1+ValueBuilder.cs (1)
336IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\Internal\IEnumerableCalls.cs (2)
10/// Provides static methods to invoke <see cref="IEnumerable"/> members on value types that explicitly implement the 21where TEnumerable : IEnumerable
src\Dependencies\Collections\SegmentedArray`1.cs (1)
300IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\SegmentedDictionary`2.cs (3)
942IEnumerator IEnumerable.GetEnumerator() 1365IEnumerator IEnumerable.GetEnumerator() 1573IEnumerator IEnumerable.GetEnumerator()
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
370IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\Dependencies\Collections\SegmentedList`1.cs (1)
738IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
511System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
FileSet.cs (1)
42IEnumerator IEnumerable.GetEnumerator()
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
OptionsCollection.cs (1)
81IEnumerator IEnumerable.GetEnumerator()
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
178|| sysType == typeof(System.Collections.IEnumerable)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (1)
152new PredefinedTypeInfo(PredefinedType.PT_IENUMERABLE, typeof(System.Collections.IEnumerable), "System.Collections.IEnumerable"),
Microsoft.Data.Analysis (7)
DataFrame.IO.cs (2)
694private static void AppendValuesToRecord(StringBuilder record, IEnumerable values, char separator, CultureInfo cultureInfo) 734case IEnumerable nestedValues:
DataFrameColumn.cs (1)
199IEnumerator IEnumerable.GetEnumerator() => GetEnumeratorCore();
DataFrameRow.cs (1)
92IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
DataFrameRowCollection.cs (1)
54IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
GroupBy.cs (1)
96IEnumerator IEnumerable.GetEnumerator()
PrimitiveColumnContainer.cs (1)
423IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.DotNet.AsmDiff (1)
AssemblySet.cs (1)
241IEnumerator IEnumerable.GetEnumerator()
Microsoft.DotNet.Build.Tasks.Installers (1)
src\RpmHeader.cs (1)
59else if (entry.Value is IEnumerable collection)
Microsoft.DotNet.NuGetRepack.Tests (4)
TestHelpers\AssertEx.cs (4)
87var enumerableX = x as IEnumerable; 88var enumerableY = y as IEnumerable;
Microsoft.DotNet.XUnitAssert.Tests (24)
AsyncCollectionAssertsTests.cs (2)
861 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1011 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
CollectionAssertsTests.cs (9)
656 Assert.Throws<ArgumentNullException>("collection", () => Assert.Empty(default(IEnumerable)!)); 921 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 945 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1101 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1222 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 2347 IEnumerable collection = new ArrayList { "Hello", "World" }; 2355 IEnumerable collection = new ArrayList { "Hello", "World!", null }; 2363 IEnumerable collection = new ArrayList { "Hello", "World" }; 2611 IEnumerator IEnumerable.GetEnumerator() => this;
EqualityAssertsTests.cs (8)
1062 class MyComparer : IEqualityComparer<IEnumerable> 1064 public bool Equals(IEnumerable? x, IEnumerable? y) 1067 public int GetHashCode([DisallowNull] IEnumerable obj) => 1115 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 3344 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 4381 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 4650 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Sdk\ArgumentFormatterTests.cs (4)
303 public static TheoryData<IEnumerable> Collections = new() 315 public static void EnumerableValue(IEnumerable collection) 339 public static TheoryData<IEnumerable> LongCollections = new() 351 public static void OnlyFirstFewValuesOfEnumerableAreRendered(IEnumerable collection)
Utility\ReadOnlySet.cs (1)
25 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.DotNet.XUnitExtensions (1)
Extensions\TheoryExtensions.cs (1)
34IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.Extensions.AI (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Extensions.AI.Abstractions (4)
AdditionalPropertiesDictionary{TValue}.cs (1)
137IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Embeddings\GeneratedEmbeddings.cs (1)
81IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Extensions.AI.Abstractions.Tests (4)
test\Shared\JsonSchemaExporter\TestTypes.cs (4)
1100IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1112IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1164IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)_dictionary).GetEnumerator();
Microsoft.Extensions.AI.AzureAIInference (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Extensions.AI.Ollama (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Extensions.AI.OpenAI (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Extensions.Compliance.Redaction (2)
src\Shared\Data.Validation\LengthAttribute.cs (2)
15/// Specifies the minimum length of any <see cref="IEnumerable"/> or <see cref="string"/> objects. 123case IEnumerable e:
Microsoft.Extensions.Configuration (3)
ConfigurationManager.cs (2)
258IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 348IEnumerator IEnumerable.GetEnumerator()
MemoryConfigurationProvider.cs (1)
59IEnumerator IEnumerable.GetEnumerator()
Microsoft.Extensions.Configuration.Binder (7)
ConfigurationBinder.cs (7)
362bindingPoint.SetValue(BindArray(type, (IEnumerable?)bindingPoint.Value, config, options)); 383object? newValue = BindSet(type, (IEnumerable?)bindingPoint.Value, config, options); 656var orig = source as IEnumerable; 803private static Array BindArray(Type type, IEnumerable? source, IConfiguration config, BinderOptions options) 862private static object? BindSet(Type type, IEnumerable? source, IConfiguration config, BinderOptions options) 892source = (IEnumerable)instance;
Microsoft.Extensions.Configuration.KeyPerFile.Tests (1)
KeyPerFileTests.cs (1)
499IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ServiceCollection.cs (1)
79IEnumerator IEnumerable.GetEnumerator()
Microsoft.Extensions.Diagnostics.HealthChecks (2)
DefaultHealthCheckService.cs (1)
308IEnumerator IEnumerable.GetEnumerator()
HealthCheckLogScope.cs (1)
43IEnumerator IEnumerable.GetEnumerator()
Microsoft.Extensions.Diagnostics.Probes (2)
src\Shared\Data.Validation\LengthAttribute.cs (2)
15/// Specifies the minimum length of any <see cref="IEnumerable"/> or <see cref="string"/> objects. 123case IEnumerable e:
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
src\Shared\Data.Validation\LengthAttribute.cs (2)
15/// Specifies the minimum length of any <see cref="IEnumerable"/> or <see cref="string"/> objects. 123case IEnumerable e:
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogger.cs (1)
145else if (pair.Value is IEnumerable ve)
Microsoft.Extensions.Features (1)
FeatureCollection.cs (1)
94IEnumerator IEnumerable.GetEnumerator()
Microsoft.Extensions.FileProviders.Abstractions (1)
NotFoundDirectoryContents.cs (1)
30IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.Extensions.FileProviders.Composite (1)
CompositeDirectoryContents.cs (1)
89IEnumerator IEnumerable.GetEnumerator()
Microsoft.Extensions.FileProviders.Embedded (2)
EnumerableDirectoryContents.cs (1)
32IEnumerator IEnumerable.GetEnumerator()
Manifest\ManifestDirectoryInfo.cs (1)
78IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.Extensions.FileProviders.Physical (2)
Internal\PhysicalDirectoryContents.cs (1)
44IEnumerator IEnumerable.GetEnumerator() => _info.GetEnumerator();
PhysicalDirectoryInfo.cs (1)
78IEnumerator IEnumerable.GetEnumerator()
Microsoft.Extensions.Http (2)
DependencyInjection\DefaultHttpClientBuilderServiceCollection.cs (1)
74IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Logging\HttpHeadersLogValue.cs (1)
81IEnumerator IEnumerable.GetEnumerator()
Microsoft.Extensions.Http.Diagnostics (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Extensions.Http.Resilience (2)
src\Shared\Data.Validation\LengthAttribute.cs (2)
15/// Specifies the minimum length of any <see cref="IEnumerable"/> or <see cref="string"/> objects. 123case IEnumerable e:
Microsoft.Extensions.Logging (2)
LoggerFactoryScopeProvider.cs (2)
217IEnumerator IEnumerable.GetEnumerator() 236IEnumerator IEnumerable.GetEnumerator() => new BaggageEnumerator(_items.GetEnumerator());
Microsoft.Extensions.Logging.Abstractions (9)
FormattedLogValues.cs (1)
109IEnumerator IEnumerable.GetEnumerator()
LoggerMessage.cs (7)
498IEnumerator IEnumerable.GetEnumerator() 546IEnumerator IEnumerable.GetEnumerator() 597IEnumerator IEnumerable.GetEnumerator() 652IEnumerator IEnumerable.GetEnumerator() 713IEnumerator IEnumerable.GetEnumerator() 778IEnumerator IEnumerable.GetEnumerator() 847IEnumerator IEnumerable.GetEnumerator()
LogValuesFormatter.cs (1)
262if (value is not string && value is IEnumerable enumerable)
Microsoft.Extensions.Options.DataAnnotations (1)
DataAnnotationValidateOptions.cs (1)
119else if (value is IEnumerable enumerable &&
Microsoft.Extensions.Primitives (2)
StringTokenizer.cs (1)
68IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
StringValues.cs (1)
412IEnumerator IEnumerable.GetEnumerator()
Microsoft.Extensions.Telemetry (6)
Logging\ExtendedLogger.LegacyTagJoiner.cs (1)
78IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Logging\ExtendedLogger.ModernTagJoiner.cs (1)
88IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Logging\Import\LoggerFactoryScopeProvider.cs (2)
233IEnumerator IEnumerable.GetEnumerator() 253IEnumerator IEnumerable.GetEnumerator() => new BaggageEnumerator(_items.GetEnumerator());
src\Shared\Data.Validation\LengthAttribute.cs (2)
15/// Specifies the minimum length of any <see cref="IEnumerable"/> or <see cref="string"/> objects. 123case IEnumerable e:
Microsoft.Extensions.Telemetry.Abstractions (2)
Logging\LoggerMessageHelper.cs (1)
49public static string Stringify(IEnumerable? enumerable)
Logging\LoggerMessageState.ReadOnlyList.cs (1)
28IEnumerator IEnumerable.GetEnumerator()
Microsoft.Extensions.Telemetry.Abstractions.Tests (3)
Logging\LoggerMessageHelperTests.cs (1)
18public static void Enumerate(IEnumerable? enumerable, string expected)
Logging\LoggerMessageStateTests.cs (2)
162var e = (IEnumerable)list;
Microsoft.Gen.ComplianceReports.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Gen.ContextualOptions.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Gen.Logging.Generated.Tests (2)
test\Generators\Microsoft.Gen.Logging\TestClasses\EnumerableTestExtensions.cs (1)
64IEnumerator IEnumerable.GetEnumerator() => _numbers.GetEnumerator();
test\Generators\Microsoft.Gen.Logging\TestClasses\SignatureTestExtensions.cs (1)
62private static partial void M5(ILogger logger, System.Collections.IEnumerable items);
Microsoft.Gen.Logging.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Gen.MetadataExtractor.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Gen.Metrics.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Gen.MetricsReports.Unit.Tests (2)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\Shared\EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Microsoft.Interop.SourceGeneration (4)
SequenceEqualImmutableArray.cs (2)
44IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)Array).GetEnumerator();
ValueEqualityImmutableDictionary.cs (2)
58IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)Map).GetEnumerator();
Microsoft.Maui (7)
Extensions\EnumerableExtensions.cs (1)
101 public static int IndexOf(this IEnumerable enumerable, object item)
Hosting\Internal\FontCollection.cs (1)
32 IEnumerator IEnumerable.GetEnumerator() => _descriptors.GetEnumerator();
Hosting\Internal\MauiServiceCollection.cs (1)
45 IEnumerator IEnumerable.GetEnumerator() =>
Primitives\ItemDelegateList.cs (1)
26 IEnumerator IEnumerable.GetEnumerator()
Primitives\LockableObservableListWrapper.cs (2)
131 IEnumerator IEnumerable.GetEnumerator() 133 return ((IEnumerable)_list).GetEnumerator();
WeakList.cs (1)
75 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.Maui.Controls (122)
BindableLayout\BindableLayout.cs (9)
22 BindableProperty.CreateAttached("ItemsSource", typeof(IEnumerable), typeof(IBindableLayout), default(IEnumerable), 23 propertyChanged: (b, o, n) => { GetBindableLayoutController(b).ItemsSource = (IEnumerable)n; }); 49 public static void SetItemsSource(BindableObject b, IEnumerable value) 55 public static IEnumerable GetItemsSource(BindableObject b) 57 return (IEnumerable)b.GetValue(ItemsSourceProperty); 242 IEnumerable _itemsSource; 250 public IEnumerable ItemsSource { get => _itemsSource; set => SetItemsSource(value); } 276 void SetItemsSource(IEnumerable itemsSource)
BindingBase.cs (5)
12 static readonly ConditionalWeakTable<IEnumerable, CollectionSynchronizationContext> SynchronizedCollections = new ConditionalWeakTable<IEnumerable, CollectionSynchronizationContext>(); 100 public static void DisableCollectionSynchronization(IEnumerable collection) 111 public static void EnableCollectionSynchronization(IEnumerable collection, object context, CollectionSynchronizationCallback callback) 179 internal static bool TryGetSynchronizedCollection(IEnumerable collection, out CollectionSynchronizationContext synchronizationContext)
CollectionSynchronizationCallback.cs (1)
7 public delegate void CollectionSynchronizationCallback(IEnumerable collection, object context, Action accessMethod, bool writeAccess);
DefinitionCollection.cs (1)
61 IEnumerator IEnumerable.GetEnumerator()
DragAndDrop\DataPackagePropertySet.cs (1)
48 IEnumerator IEnumerable.GetEnumerator()
DragAndDrop\DataPackagePropertySetView.cs (1)
40 IEnumerator IEnumerable.GetEnumerator() => _dataPackagePropertySet.GetEnumerator();
Element\Element.cs (1)
1100 System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => _inner.GetEnumerator();
Handlers\Items\iOS\ItemsSourceFactory.cs (7)
12 public static IItemsViewSource Create(IEnumerable itemsSource, UICollectionViewController collectionViewController) 23 case IEnumerable _ when itemsSource is INotifyCollectionChanged: 24 return new ObservableItemsSource(itemsSource as IEnumerable, collectionViewController); 34 public static IItemsViewSource CreateGrouped(IEnumerable itemsSource, UICollectionViewController collectionViewController) 44 public static ILoopItemsViewSource CreateForCarouselView(IEnumerable itemsSource, UICollectionViewController collectionViewController, bool loop) 55 case IEnumerable _ when itemsSource is INotifyCollectionChanged: 56 return new LoopObservableItemsSource(itemsSource as IEnumerable, collectionViewController, loop);
Handlers\Items\iOS\ListSource.cs (1)
28 public ListSource(IEnumerable enumerable)
Handlers\Items\iOS\LoopListSource.cs (1)
17 public LoopListSource(IEnumerable enumerable, bool loop)
Handlers\Items\iOS\LoopObservableItemsSource.cs (1)
14 public LoopObservableItemsSource(IEnumerable itemSource, UICollectionViewController collectionViewController, bool loop, int group = -1) : base(itemSource, collectionViewController, group)
Handlers\Items\iOS\ObservableGroupedSource.cs (5)
19 public ObservableGroupedSource(IEnumerable groupSource, UICollectionViewController collectionViewController) 136 if (_groupSource[n] is INotifyCollectionChanged && _groupSource[n] is IEnumerable list) 322 case IEnumerable enumerable: 341 case IEnumerable enumerable: 364 case IEnumerable enumerable:
Handlers\Items\iOS\ObservableItemsSource.cs (2)
16 readonly IEnumerable _itemsSource; 19 public ObservableItemsSource(IEnumerable itemSource, UICollectionViewController collectionViewController, int group = -1)
Handlers\Items2\iOS\ItemsSourceFactory2.cs (3)
13 public static ILoopItemsViewSource CreateForCarouselView(IEnumerable itemsSource, UICollectionViewController collectionViewController, bool loop) 23 IEnumerable _ when itemsSource is INotifyCollectionChanged => new LoopObservableItemsSource2(itemsSource as IEnumerable, collectionViewController, loop),
Handlers\Items2\iOS\LoopListSource2.cs (1)
15 public LoopListSource2(IEnumerable enumerable, bool loop)
Handlers\Items2\iOS\LoopObservableItemsSource2.cs (1)
16 public LoopObservableItemsSource2(IEnumerable itemSource, UICollectionViewController collectionViewController, bool loop, int group = -1) : base(itemSource, collectionViewController, group)
IndicatorView\IndicatorView.cs (6)
51 public static readonly BindableProperty ItemsSourceProperty = BindableProperty.Create(nameof(ItemsSource), typeof(IEnumerable), typeof(IndicatorView), null, propertyChanged: (bindable, oldValue, newValue) 52 => ((IndicatorView)bindable).ResetItemsSource((IEnumerable)oldValue)); 130 public IEnumerable ItemsSource 132 get => (IEnumerable)GetValue(ItemsSourceProperty); 160 void ResetItemsSource(IEnumerable oldItemsSource) 181 var enumerator = (sender as IEnumerable)?.GetEnumerator();
Interactivity\TriggerBase.cs (2)
191 IEnumerator IEnumerable.GetEnumerator() 193 return ((IEnumerable)_actual).GetEnumerator();
Internals\PropertyPropagationExtensions.cs (1)
9 internal static void PropagatePropertyChanged(string propertyName, Element element, IEnumerable children)
ITemplatedItemsList.cs (1)
19 IEnumerable ItemsSource { get; }
Items\ItemsView.cs (3)
42 BindableProperty.Create(nameof(ItemsSource), typeof(IEnumerable), typeof(ItemsView), null); 45 public IEnumerable ItemsSource 47 get => (IEnumerable)GetValue(ItemsSourceProperty);
Items\SelectionList.cs (1)
111 IEnumerator IEnumerable.GetEnumerator()
ItemsView.cs (3)
26 BindableProperty.Create(nameof(ItemsSource), typeof(IEnumerable), typeof(ItemsView<TVisual>), null, 38 public IEnumerable ItemsSource 40 get => (IEnumerable)GetValue(ItemsSourceProperty);
Label\Label.cs (4)
280 void SetupSpans(IEnumerable spans) 289 void SetupSpanGestureRecognizers(IEnumerable gestureRecognizers) 296 void RemoveSpans(IEnumerable spans) 305 void RemoveSpanGestureRecognizers(IEnumerable gestureRecognizers)
Layout\Layout.cs (1)
140 IEnumerator IEnumerable.GetEnumerator() => _children.GetEnumerator();
LegacyLayouts\LayoutOfT.cs (1)
74 IEnumerator IEnumerable.GetEnumerator()
ListProxy.cs (3)
32 internal ListProxy(IEnumerable enumerable, int windowSize = int.MaxValue, IDispatcher dispatcher = null) 56 public IEnumerable ProxiedEnumerable { get; } 58 IEnumerator IEnumerable.GetEnumerator()
ListView\IListProxy.cs (1)
11 IEnumerable ProxiedEnumerable { get; }
Menu\MenuBar.cs (1)
120 IEnumerator IEnumerable.GetEnumerator()
Menu\MenuBarItem.cs (1)
116 IEnumerator IEnumerable.GetEnumerator()
Menu\MenuFlyout.cs (1)
98 IEnumerator IEnumerable.GetEnumerator()
Menu\MenuFlyoutSubItem.cs (1)
92 IEnumerator IEnumerable.GetEnumerator()
MultiPage.cs (3)
19 public static readonly BindableProperty ItemsSourceProperty = BindableProperty.Create(nameof(ItemsSource), typeof(IEnumerable), typeof(MultiPage<>), null); 43 public IEnumerable ItemsSource 45 get { return (IEnumerable)GetValue(ItemsSourceProperty); }
NavigationStepRequest.cs (1)
113 IEnumerator IEnumerable.GetEnumerator()
ObservableWrapper.cs (1)
106 IEnumerator IEnumerable.GetEnumerator()
OrderedDictionary.cs (2)
239 IEnumerator IEnumerable.GetEnumerator() 419 IEnumerator IEnumerable.GetEnumerator()
RadioButton\RadioButtonGroup.cs (1)
76 IEnumerable children = ((IElementController)parent).LogicalChildren;
ReadOnlyCastingList.cs (6)
18 IEnumerator IEnumerable.GetEnumerator() 20 return ((IEnumerable)_list).GetEnumerator(); 48 IEnumerator IEnumerable.GetEnumerator() 50 return ((IEnumerable)_readonlyList).GetEnumerator(); 121 IEnumerator IEnumerable.GetEnumerator() 123 return ((IEnumerable)_list).GetEnumerator();
ResourceDictionary.cs (1)
273 IEnumerator IEnumerable.GetEnumerator()
Shell\MenuItemCollection.cs (2)
59 IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)_inner).GetEnumerator();
Shell\SearchHandler.cs (4)
376 BindableProperty.Create(nameof(ItemsSource), typeof(IEnumerable), typeof(SearchHandler), null, BindingMode.OneTime, 518 public IEnumerable ItemsSource 520 get { return (IEnumerable)GetValue(ItemsSourceProperty); } 650 self.ListProxy = new ListProxy((IEnumerable)newValue, dispatcher: self.Dispatcher);
Shell\Shell.cs (1)
1504 public IEnumerable FlyoutItems => _flyoutManager.FlyoutItems;
Shell\ShellElementCollection.cs (5)
141 IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)Inner).GetEnumerator(); 166 void Removing(IEnumerable items) 321 IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)Inner).GetEnumerator();
Shell\ShellFlyoutItemsManager.cs (1)
17 public IEnumerable FlyoutItems => _flyoutItemsReadonly;
Shell\ShellNavigationQueryParameters.cs (1)
107 IEnumerator IEnumerable.GetEnumerator() =>
Shell\ShellUriHandler.cs (4)
870 IEnumerable items = null; 944 static IEnumerable GetItems(object node) 946 IEnumerable results = null; 1001 public IEnumerable Items
SwipeView\SwipeItems.cs (1)
151 IEnumerator IEnumerable.GetEnumerator()
SynchronizedList.cs (1)
68 IEnumerator IEnumerable.GetEnumerator()
TableView\TableSection.cs (1)
85 IEnumerator IEnumerable.GetEnumerator()
TemplatedItemsList.cs (10)
69 IEnumerable source = GetItemsViewSource(); 76 internal TemplatedItemsList(TemplatedItemsList<TView, TItem> parent, IEnumerable itemSource, TView itemsView, BindableProperty itemTemplateProperty, int windowSize = int.MaxValue) 162 public IEnumerable ItemsSource 257 IEnumerator IEnumerable.GetEnumerator() 698 IEnumerable GetItemsViewSource() 700 return (IEnumerable)_itemsView.GetValue(_itemSourceProperty); 734 var children = item as IEnumerable; 955 IEnumerable itemSource = GetItemsViewSource(); 1252 IEnumerator IEnumerable.GetEnumerator()
VisualStateManager.cs (4)
236 IEnumerator IEnumerable.GetEnumerator() 238 return ((IEnumerable)_internalList).GetEnumerator(); 741 IEnumerator IEnumerable.GetEnumerator() 743 return ((IEnumerable)_internalList).GetEnumerator();
Microsoft.Maui.Controls.BindingSourceGen (2)
EquatableArray.cs (2)
88 IEnumerator IEnumerable.GetEnumerator() 90 return ((IEnumerable)AsImmutableArray()).GetEnumerator();
Microsoft.Maui.Controls.Compatibility (17)
iOS\CollectionView\ItemsSourceFactory.cs (7)
11 public static IItemsViewSource Create(IEnumerable itemsSource, UICollectionViewController collectionViewController) 22 case IEnumerable _ when itemsSource is INotifyCollectionChanged: 23 return new ObservableItemsSource(itemsSource as IEnumerable, collectionViewController); 31 public static IItemsViewSource CreateGrouped(IEnumerable itemsSource, UICollectionViewController collectionViewController) 41 public static ILoopItemsViewSource CreateForCarouselView(IEnumerable itemsSource, UICollectionViewController collectionViewController, bool loop) 52 case IEnumerable _ when itemsSource is INotifyCollectionChanged: 53 return new LoopObservableItemsSource(itemsSource as IEnumerable, collectionViewController, loop);
iOS\CollectionView\ListSource.cs (1)
19 public ListSource(IEnumerable enumerable)
iOS\CollectionView\LoopListSource.cs (1)
16 public LoopListSource(IEnumerable enumerable, bool loop)
iOS\CollectionView\LoopObservableItemsSource.cs (1)
12 public LoopObservableItemsSource(IEnumerable itemSource, UICollectionViewController collectionViewController, bool loop, int group = -1) : base(itemSource, collectionViewController, group)
iOS\CollectionView\ObservableGroupedSource.cs (5)
19 public ObservableGroupedSource(IEnumerable groupSource, UICollectionViewController collectionViewController) 124 if (_groupSource[n] is INotifyCollectionChanged && _groupSource[n] is IEnumerable list) 273 case IEnumerable enumerable: 292 case IEnumerable enumerable: 315 case IEnumerable enumerable:
iOS\CollectionView\ObservableItemsSource.cs (2)
16 readonly IEnumerable _itemsSource; 19 public ObservableItemsSource(IEnumerable itemSource, UICollectionViewController collectionViewController, int group = -1)
Microsoft.Maui.Controls.Maps (11)
HandlerImpl\Polygon.Impl.cs (1)
138 IEnumerator IEnumerable.GetEnumerator()
HandlerImpl\Polyline.Impl.cs (1)
137 IEnumerator IEnumerable.GetEnumerator()
Map.cs (9)
34 public static readonly BindableProperty ItemsSourceProperty = BindableProperty.Create(nameof(ItemsSource), typeof(IEnumerable), typeof(Map), default(IEnumerable), 35 propertyChanged: (b, o, n) => ((Map)b).OnItemsSourcePropertyChanged((IEnumerable)o, (IEnumerable)n)); 136 public IEnumerable ItemsSource 138 get { return (IEnumerable)GetValue(ItemsSourceProperty); } 205 IEnumerator IEnumerable.GetEnumerator() 267 void OnItemsSourcePropertyChanged(IEnumerable oldItemsSource, IEnumerable newItemsSource)
Microsoft.Maui.Controls.Xaml (4)
ApplyPropertiesVisitor.cs (4)
167 && typeof(IEnumerable).IsAssignableFrom(Context.Types[parentElement]) 208 var collection = GetPropertyValue(source, parentList.XmlName, Context.RootElement, parentList, out _, out _) as IEnumerable; 735 if (!(GetPropertyValue(element, propertyName, rootElement, lineInfo, out _, out var targetProperty) is IEnumerable collection))
Microsoft.ML.AutoML (1)
Sweepers\ISweeper.cs (1)
111IEnumerator IEnumerable.GetEnumerator()
Microsoft.ML.Core (4)
Data\IEstimator.cs (1)
216IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Utilities\BigArray.cs (1)
471IEnumerator IEnumerable.GetEnumerator()
Utilities\NormStr.cs (1)
285IEnumerator IEnumerable.GetEnumerator()
Utilities\Tree.cs (1)
211IEnumerator IEnumerable.GetEnumerator()
Microsoft.ML.CpuMath (3)
AlignedMatrix.cs (3)
224IEnumerator IEnumerable.GetEnumerator() 492IEnumerator IEnumerable.GetEnumerator() 674IEnumerator IEnumerable.GetEnumerator()
Microsoft.ML.Data (4)
DataLoadSave\TransformerChain.cs (1)
238IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Deprecated\Instances\HeaderSchema.cs (1)
241IEnumerator IEnumerable.GetEnumerator()
Prediction\Calibrator.cs (1)
1402IEnumerator IEnumerable.GetEnumerator()
Transforms\Normalizer.cs (1)
498IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.ML.DataView (4)
DataViewSchema.cs (1)
71IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
IDataView.cs (3)
43/// to iterate over. If set to an empty <see cref="IEnumerable"/> no column is requested. The schema of the returned 46/// <param name="columnsNeeded">The active columns needed. If passed an empty <see cref="IEnumerable"/> no column is requested.</param> 68/// <param name="columnsNeeded">The active columns needed. If passed an empty <see cref="IEnumerable"/> no column is requested.</param>
Microsoft.ML.FastTree (1)
Dataset\IntArray.cs (1)
266System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft.ML.GenAI.Core (2)
Trainer\CausalLMDataset.cs (2)
108IEnumerator IEnumerable.GetEnumerator() 110return ((IEnumerable)_data).GetEnumerator();
Microsoft.ML.SearchSpace (9)
Option\NestOption.cs (2)
152IEnumerator IEnumerable.GetEnumerator() 154return ((IEnumerable)_options).GetEnumerator();
Parameter.cs (5)
144/// Create a <see cref="Parameter"/> from a <see cref="IEnumerable"/> value. The <see cref="ParameterType"/> will be <see cref="ParameterType.Array"/>. 150return Parameter.FromIEnumerable(values as IEnumerable); 153private static Parameter FromIEnumerable(IEnumerable values) 182IEnumerable vs => Parameter.FromIEnumerable(vs), 352IEnumerator IEnumerable.GetEnumerator()
SearchSpace.cs (2)
371System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() 373return ((System.Collections.IEnumerable)_options).GetEnumerator();
Microsoft.ML.StandardTrainers (1)
Standard\LinearModelParameters.cs (1)
91IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Microsoft.ML.Sweeper (1)
ISweeper.cs (1)
140IEnumerator IEnumerable.GetEnumerator()
Microsoft.ML.TorchSharp (2)
Utils\DefaultDictionary.cs (2)
50IEnumerator IEnumerable.GetEnumerator() 52return ((IEnumerable)_dictionary).GetEnumerator();
MSBuild (3)
CopyOnWriteDictionary.cs (1)
308IEnumerator IEnumerable.GetEnumerator()
ReadOnlyEmptyCollection.cs (1)
133System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
ReadOnlyEmptyDictionary.cs (1)
265System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
MSBuildTaskHost (4)
CopyOnWriteDictionary.cs (1)
308IEnumerator IEnumerable.GetEnumerator()
Immutable\ImmutableDictionary.cs (1)
87IEnumerator IEnumerable.GetEnumerator()
ReadOnlyEmptyCollection.cs (1)
133System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
ReadOnlyEmptyDictionary.cs (1)
265System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
108[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.IEnumerable))]
netstandard (1)
netstandard.cs (1)
139[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.IEnumerable))]
PresentationBuildTasks (4)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (1)
480(ReflectionHelper.GetMscorlibType(typeof(IEnumerable)).IsAssignableFrom(propertyType) && !propertyCanWrite))
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (2)
4197ReflectionHelper.GetMscorlibType(typeof(IEnumerable)).IsAssignableFrom(propertyType) && 4652!ReflectionHelper.GetMscorlibType(typeof(IEnumerable)).IsAssignableFrom(parentType) &&
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsDictionary.cs (1)
242IEnumerator IEnumerable.GetEnumerator()
PresentationCore (55)
MS\Internal\FontCache\FamilyCollection.cs (1)
594IEnumerator IEnumerable.GetEnumerator()
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
763IEnumerator IEnumerable.GetEnumerator()
MS\Internal\FontCache\FontSourceCollection.cs (1)
174System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
MS\Internal\FontFace\TypefaceCollection.cs (1)
120System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
MS\Internal\Generic\Span.cs (1)
76IEnumerator IEnumerable.GetEnumerator()
MS\Internal\PartialArray.cs (1)
179IEnumerator IEnumerable.GetEnumerator()
MS\Internal\TextFormatting\ThousandthOfEmRealDoubles.cs (1)
212 System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
MS\Internal\TextFormatting\ThousandthOfEmRealPoints.cs (1)
157 System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (1)
150IEnumerator IEnumerable.GetEnumerator()
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PartialList.cs (1)
171IEnumerator IEnumerable.GetEnumerator()
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SequentialUshortCollection.cs (1)
84IEnumerator IEnumerable.GetEnumerator()
System\Windows\BinaryFormat\ArrayRecord.cs (1)
59IEnumerator IEnumerable.GetEnumerator() => ArrayObjects.GetEnumerator();
System\Windows\BinaryFormat\ListConverterHelper.cs (1)
29IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException();
System\Windows\BinaryFormat\MemberTypeInfo.cs (1)
68IEnumerator IEnumerable.GetEnumerator() => _info.GetEnumerator();
System\Windows\FreezableCollection.cs (1)
523IEnumerator IEnumerable.GetEnumerator()
System\Windows\Generated\TextDecorationCollection.cs (1)
431IEnumerator IEnumerable.GetEnumerator()
System\Windows\Input\IInputLanguageSource.cs (1)
45IEnumerable InputLanguageList
System\Windows\Input\InputLanguageManager.cs (1)
268public IEnumerable AvailableInputLanguages
System\Windows\Input\InputLanguageSource.cs (1)
119public IEnumerable InputLanguageList
System\Windows\Input\Stylus\Common\TabletDeviceCollection.cs (1)
111IEnumerator IEnumerable.GetEnumerator()
System\Windows\Markup\XmlLanguage.cs (1)
483IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
430IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
169System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Windows\Media\CharacterMetricsDictionary.cs (1)
32SC.IEnumerator SC.IEnumerable.GetEnumerator()
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
37SC.IEnumerator SC.IEnumerable.GetEnumerator()
System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
430IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\FamilyMapCollection.cs (1)
37SC.IEnumerator SC.IEnumerable.GetEnumerator()
System\Windows\Media\FamilyTypefaceCollection.cs (1)
49SC.IEnumerator SC.IEnumerable.GetEnumerator()
System\Windows\Media\Fonts.cs (1)
376System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Windows\Media\Generated\DoubleCollection.cs (1)
398IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\DrawingCollection.cs (1)
443IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
428IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\GeometryCollection.cs (1)
443IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\GradientStopCollection.cs (1)
429IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\Int32Collection.cs (1)
397IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\PathFigureCollection.cs (1)
434IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\PathSegmentCollection.cs (1)
428IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\PointCollection.cs (1)
397IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\TextEffectCollection.cs (1)
428IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\TransformCollection.cs (1)
443IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Generated\VectorCollection.cs (1)
397IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\GlyphRun.cs (2)
2171IEnumerator IEnumerable.GetEnumerator() 2273IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\GlyphTypeface.cs (2)
1857IEnumerator IEnumerable.GetEnumerator() 1942IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\Imaging\BitmapMetadata.cs (1)
1158IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media\VisualCollection.cs (1)
872IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
428IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media3D\Generated\MaterialCollection.cs (1)
443IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media3D\Generated\Model3DCollection.cs (1)
443IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media3D\Generated\Point3DCollection.cs (1)
398IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
443IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media3D\Generated\Vector3DCollection.cs (1)
398IEnumerator IEnumerable.GetEnumerator()
System\Windows\Media3D\Visual3DCollection.cs (1)
214IEnumerator IEnumerable.GetEnumerator()
System\Windows\PresentationSource.cs (1)
370public static IEnumerable CurrentSources
PresentationCore.Tests (4)
BinaryFormat\BinaryFormatWriterTests.cs (4)
55else if (value is IEnumerable enumerable) 57((IEnumerable)deserialized).Should().BeEquivalentTo(enumerable); 85else if (value is IEnumerable enumerable) 87((IEnumerable)deserialized!).Should().BeEquivalentTo(enumerable);
PresentationFramework (198)
MS\Internal\Annotations\ObservableDictionary.cs (1)
119IEnumerator IEnumerable.GetEnumerator()
MS\Internal\AppModel\INavigator.cs (2)
267IEnumerable BackStack 274IEnumerable ForwardStack
MS\Internal\AppModel\JournalNavigationScope.cs (6)
59"BackStack", typeof(IEnumerable), typeof(JournalNavigationScope), 60new FrameworkPropertyMetadata((IEnumerable)null)); 67"ForwardStack", typeof(IEnumerable), typeof(JournalNavigationScope), 68new FrameworkPropertyMetadata((IEnumerable)null)); 232public System.Collections.IEnumerable BackStack 241public System.Collections.IEnumerable ForwardStack
MS\Internal\Controls\EmptyEnumerable.cs (3)
23IEnumerator IEnumerable.GetEnumerator() 31public static IEnumerable Instance 43private static IEnumerable _instance;
MS\Internal\Controls\InnerItemCollectionView.cs (1)
363public override IEnumerable SourceCollection
MS\Internal\Data\CollectionViewProxy.cs (2)
82public override IEnumerable SourceCollection 989protected override IEnumerator GetEnumerator() { return ((IEnumerable)ProxiedView).GetEnumerator(); }
MS\Internal\Data\CompositeCollectionView.cs (1)
1525IEnumerable ie = cc.View; // View is null when Collection is null
MS\Internal\Data\DataBindEngine.cs (1)
350IEnumerable collection,
MS\Internal\Data\DifferencingCollection.cs (4)
41internal DifferencingCollection(IEnumerable enumerable) 46internal void Update(IEnumerable enumerable) 221void LoadItems(IEnumerable enumerable) 230void Reload(IEnumerable enumerable)
MS\Internal\Data\EnumerableCollectionView.cs (4)
34internal EnumerableCollectionView(IEnumerable source) 377return ((IEnumerable)_view).GetEnumerator(); 496void LoadSnapshot(IEnumerable source) 529void LoadSnapshotCore(IEnumerable source)
MS\Internal\Data\IndexedEnumerable.cs (8)
42internal IndexedEnumerable(IEnumerable collection) 50internal IndexedEnumerable(IEnumerable collection, Predicate<object> filterCallback) 255internal IEnumerable Enumerable 294internal static void CopyTo(IEnumerable collection, Array array, int index) 466private void SetCollection(IEnumerable collection) 684private IEnumerable _enumerable; 712public FilteredEnumerator(IndexedEnumerable indexedEnumerable, IEnumerable enumerable, Predicate<object> filterCallback) 763IEnumerable _enumerable;
MS\Internal\Data\RBTree.cs (1)
612IEnumerator IEnumerable.GetEnumerator()
MS\Internal\Data\ViewManager.cs (8)
389public void AccessCollection(IEnumerable collection, Action accessMethod, bool writeAccess) 570IEnumerable ie = collection as IEnumerable; 631IEnumerable ie = collection as IEnumerable; 642IEnumerable collection, 662internal SynchronizationInfo GetSynchronizationInfo(IEnumerable collection) 669IEnumerable collection,
MS\Internal\Data\XDeferredAxisSource.cs (8)
52public IEnumerable this[string name] 69IEnumerable xda = _propertyDescriptor.GetValue(component) as IEnumerable; 85as IEnumerable; 103internal IEnumerable FullCollection 115public Record(IEnumerable xda) 125public IEnumerable XDA { get { return _xda; } } 129IEnumerable _xda; // the XDeferredAxis
MS\Internal\Documents\ContentElementCollection.cs (2)
116IEnumerator IEnumerable.GetEnumerator() 121/// <see cref="IEnumerable.GetEnumerator"/>
MS\Internal\ListOfObject.cs (1)
103System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
MS\Internal\Navigation\JournalEntryStack.cs (4)
35internal IEnumerable GetLimitedJournalEntryStackEnumerable() 154internal LimitedJournalEntryStackEnumerable(IEnumerable ieble) 181private IEnumerable _ieble; 186internal LimitedJournalEntryStackEnumerator(IEnumerable ieble, uint viewLimit)
MS\Internal\SystemXmlHelper.cs (2)
47internal static IComparer PrepareXmlComparer(IEnumerable collection, SortDescriptionCollection sort, CultureInfo culture) 74internal static object FindXmlNodeWithInnerText(IEnumerable items, object innerText, out int index)
MS\Internal\WeakDictionary.cs (3)
92IEnumerator IEnumerable.GetEnumerator() 179IEnumerator IEnumerable.GetEnumerator() 349IEnumerator IEnumerable.GetEnumerator()
MS\Internal\WeakHashSet.cs (1)
104IEnumerator IEnumerable.GetEnumerator()
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.net5.cs (1)
125protected override void ReleaseObjects(IEnumerable objects)
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (2)
80global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() => GetEnumerator(); 183IEnumerator global::System.Collections.IEnumerable.GetEnumerator() => GetEnumerator();
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (2)
105global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() => GetEnumerator(); 433IEnumerator global::System.Collections.IEnumerable.GetEnumerator() => GetEnumerator();
System\Windows\Controls\ColumnDefinition.cs (3)
343/// <see cref="IEnumerable.GetEnumerator"/> 345IEnumerator IEnumerable.GetEnumerator() 351/// <see cref="IEnumerable<T>.GetEnumerator"/>
System\Windows\Controls\CustomDictionarySources.cs (1)
65IEnumerator IEnumerable.GetEnumerator()
System\Windows\Controls\DataGrid.cs (4)
4911IEnumerator enumerator = ((IEnumerable)Items).GetEnumerator(); 7591protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue) 8625private IEnumerable _cachedItemsSource = null; // Reference to the ItemsSource instance, used to clear SortDescriptions on ItemsSource change
System\Windows\Controls\DataGridComboBoxColumn.cs (2)
359public IEnumerable ItemsSource 361get { return (IEnumerable)GetValue(ItemsSourceProperty); }
System\Windows\Controls\Frame.cs (4)
976public IEnumerable BackStack 980IEnumerable backStack = _ownJournalScope?.BackStack; 988public IEnumerable ForwardStack 992IEnumerable fwdStack = _ownJournalScope?.ForwardStack;
System\Windows\Controls\GridSplitter.cs (3)
833IEnumerable definitions = _resizeData.ResizeDirection == GridResizeDirection.Columns ? (IEnumerable)_resizeData.Grid.ColumnDefinitions : (IEnumerable)_resizeData.Grid.RowDefinitions;
System\Windows\Controls\ItemCollection.cs (5)
203return ((IEnumerable)_collectionView).GetEnumerator(); 533public override IEnumerable SourceCollection 1492internal void SetItemsSource(IEnumerable value, Func<object, object> GetSourceItem = null) 1526internal IEnumerable ItemsSource 2443private IEnumerable _itemsSource; // ItemsControl.ItemsSource property
System\Windows\Controls\ItemContainerGenerator.cs (1)
971internal IEnumerable RecyclableContainers
System\Windows\Controls\ItemsControl.cs (9)
177= DependencyProperty.Register("ItemsSource", typeof(IEnumerable), typeof(ItemsControl), 178new FrameworkPropertyMetadata((IEnumerable)null, 184IEnumerable oldValue = (IEnumerable)e.OldValue; 185IEnumerable newValue = (IEnumerable)e.NewValue; 214protected virtual void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue) 233public IEnumerable ItemsSource
System\Windows\Controls\ListBox.cs (2)
229protected bool SetSelectedItems(IEnumerable selectedItems) 877IEnumerator enumerator = ((IEnumerable)Items).GetEnumerator();
System\Windows\Controls\Primitives\Selector.cs (4)
804internal bool SetSelectedItemsImpl(IEnumerable selectedItems) 1350protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue) 2836IEnumerator IEnumerable.GetEnumerator()
System\Windows\Controls\RadioButton.cs (1)
169IEnumerable children = LogicalTreeHelper.GetChildren(parent);
System\Windows\Controls\RowDefinition.cs (3)
338/// <see cref="IEnumerable.GetEnumerator"/> 340IEnumerator IEnumerable.GetEnumerator() 346/// <see cref="IEnumerable<T>.GetEnumerator"/>
System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
215IEnumerator IEnumerable.GetEnumerator()
System\Windows\Data\BindingExpression.cs (1)
2341IEnumerable ie = indei.GetErrors(propertyName);
System\Windows\Data\BindingExpressionBase.cs (1)
2094if (targetDP.PropertyType == typeof(System.Collections.IEnumerable))
System\Windows\Data\BindingOperations.cs (5)
290IEnumerable collection, 307IEnumerable collection, 323IEnumerable collection) 359IEnumerable collection, 484internal static void OnCollectionRegistering(IEnumerable collection, object parent)
System\Windows\Data\CollectionContainer.cs (5)
40typeof(IEnumerable), 70public IEnumerable Collection 72get { return (IEnumerable) GetValue(CollectionContainer.CollectionProperty); } 326cc.HookUpToCollection((IEnumerable) e.NewValue, true); 337private void HookUpToCollection(IEnumerable newCollection, bool shouldRaiseChangeEvent)
System\Windows\Data\CollectionRegisteringEventArgs.cs (3)
17internal CollectionRegisteringEventArgs(IEnumerable collection, object parent=null) 23public IEnumerable Collection { get { return _collection; } } 27IEnumerable _collection;
System\Windows\Data\CollectionSynchronizationCallback.cs (1)
39IEnumerable collection,
System\Windows\Data\CollectionView.cs (8)
49public CollectionView(IEnumerable collection) 54internal CollectionView(IEnumerable collection, int moveToFirst) 138internal CollectionView(IEnumerable collection, bool shouldProcessCollectionChanged) 195public virtual IEnumerable SourceCollection 592IEnumerator IEnumerable.GetEnumerator() 1434IEnumerable collection = SourceCollection; 1438IEnumerable properties = null; 2136IEnumerable _sourceCollection; // the underlying collection
System\Windows\Data\CollectionViewSource.cs (2)
136o is IEnumerable || 144return ( o is IEnumerable ||
System\Windows\Data\CompositeCollection.cs (1)
73IEnumerator IEnumerable.GetEnumerator()
System\Windows\Documents\DocumentReferenceCollection.cs (1)
51 System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Windows\Documents\DocumentStructures\SemanticBasicElement.cs (9)
82IEnumerator IEnumerable.GetEnumerator() 127IEnumerator IEnumerable.GetEnumerator() 169IEnumerator IEnumerable.GetEnumerator() 212IEnumerator IEnumerable.GetEnumerator() 254IEnumerator IEnumerable.GetEnumerator() 307IEnumerator IEnumerable.GetEnumerator() 350IEnumerator IEnumerable.GetEnumerator() 392IEnumerator IEnumerable.GetEnumerator() 437IEnumerator IEnumerable.GetEnumerator()
System\Windows\Documents\DocumentStructures\StoryFragments.cs (2)
57IEnumerator IEnumerable.GetEnumerator() 118IEnumerator IEnumerable.GetEnumerator()
System\Windows\Documents\FixedPage.cs (2)
899IEnumerable currentChildrens = LogicalTreeHelper.GetChildren((DependencyObject)element); 1023IEnumerable currentChildrens = LogicalTreeHelper.GetChildren(parent);
System\Windows\Documents\FixedTextBuilder.cs (4)
919IEnumerable oneLevel, 969IEnumerable children; 1253IEnumerator IEnumerable.GetEnumerator() 1394IEnumerable children = LogicalTreeHelper.GetChildren(elem);
System\Windows\Documents\PageContentCollection.cs (1)
76IEnumerator IEnumerable.GetEnumerator()
System\Windows\Documents\Table.cs (2)
416_columns = ((IEnumerable)_table._columns).GetEnumerator(); 417_rowGroups = ((IEnumerable)_table._rowGroups).GetEnumerator();
System\Windows\Documents\TableCellCollection.cs (2)
88/// <see cref="IEnumerable.GetEnumerator"/> 90IEnumerator IEnumerable.GetEnumerator()
System\Windows\Documents\TableColumnCollection.cs (2)
88/// <see cref="IEnumerable.GetEnumerator"/> 90IEnumerator IEnumerable.GetEnumerator()
System\Windows\Documents\TableRowCollection.cs (2)
88/// <see cref="IEnumerable.GetEnumerator"/> 90IEnumerator IEnumerable.GetEnumerator()
System\Windows\Documents\TableRowGroupCollection.cs (2)
88/// <see cref="IEnumerable.GetEnumerator"/> 90IEnumerator IEnumerable.GetEnumerator()
System\Windows\Documents\TextElementCollection.cs (2)
315public void AddRange(IEnumerable range) 375System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Windows\LogicalTreeHelper.cs (4)
138public static IEnumerable GetChildren(DependencyObject current) 160public static IEnumerable GetChildren(FrameworkElement current) 170public static IEnumerable GetChildren(FrameworkContentElement current) 465IEnumerator IEnumerable.GetEnumerator()
System\Windows\Markup\BamlRecordReader.cs (1)
3035else if (typeof(IEnumerable).IsAssignableFrom(expectedType) &&
System\Windows\Markup\BamlRecords.cs (1)
488(typeof(IEnumerable).IsAssignableFrom(propertyType) && !propertyCanWrite)))
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
380IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Windows\Markup\Primitives\ElementMarkupObject.cs (11)
119IEnumerable enumerable = value as IEnumerable; 145IEnumerable enumerable = _instance as IEnumerable; 148yield return new ElementItemsPseudoProperty(enumerable, typeof(IEnumerable), this); 520IEnumerable items = value as IEnumerable; 590IEnumerable collection = value as IEnumerable; 1102internal ElementItemsPseudoProperty(IEnumerable value, Type type, ElementMarkupObject obj) : base(value, type, obj) 1133IEnumerable _value;
System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (1)
276get { return typeof(IEnumerable); }
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
422IEnumerator IEnumerable.GetEnumerator() 1149return typeof(IEnumerable).IsAssignableFrom(type) ||
System\Windows\Markup\XmlnsDictionary.cs (1)
242IEnumerator IEnumerable.GetEnumerator()
System\Windows\Navigation\NavigationWindow.cs (2)
511public IEnumerable BackStack 519public IEnumerable ForwardStack
System\Windows\ResourceDictionary.cs (2)
911IEnumerator IEnumerable.GetEnumerator() 2271IEnumerator IEnumerable.GetEnumerator()
System\Windows\SystemResources.cs (1)
2145IEnumerator IEnumerable.GetEnumerator()
System\Windows\TriggerActionCollection.cs (2)
257IEnumerator IEnumerable.GetEnumerator() 259return ((IEnumerable)_rawList).GetEnumerator();
PresentationFramework-SystemXml (2)
SystemXmlExtension.cs (2)
53internal override IComparer PrepareXmlComparer(IEnumerable collection, SortDescriptionCollection sort, CultureInfo culture) 88internal override object FindXmlNodeWithInnerText(IEnumerable items, object innerText, out int index)
RazorBuildWebSite (1)
UpdateableFileProvider.cs (1)
121IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
ReachFramework (34)
Serialization\Manager\NGCPageContentCollectionSerializerAsync.cs (4)
110IEnumerable enumerableObject = serializableObjectContext.TargetObject as IEnumerable; 114throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable))); 154IEnumerator enumerator = ((IEnumerable)serializableObjectContext.TargetObject).GetEnumerator();
Serialization\Manager\NGCSerializer.cs (8)
673IEnumerable enumerableObject = serializedObject as IEnumerable; 677throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable))); 698IEnumerable enumerableObject 892IEnumerable enumerableObject = serializedObject as IEnumerable; 896throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable))); 916IEnumerable enumerableObject
Serialization\Manager\NGCUIElementCollectionSerializerAsync.cs (4)
124IEnumerable enumerableObject = serializableObjectContext.TargetObject as IEnumerable; 128throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable))); 155IEnumerator enumerator = ((IEnumerable)serializableObjectContext.TargetObject).GetEnumerator();
Serialization\Manager\ReachPageContentCollectionSerializer.cs (4)
62IEnumerable enumerableObject = serializableObjectContext.TargetObject as IEnumerable; 66throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable))); 95foreach (object pageContent in (IEnumerable)serializableObjectContext.TargetObject)
Serialization\Manager\ReachPageContentCollectionSerializerAsync.cs (4)
108IEnumerable enumerableObject = serializableObjectContext.TargetObject as IEnumerable; 112throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable))); 152IEnumerator enumerator = ((IEnumerable)serializableObjectContext.TargetObject).GetEnumerator();
Serialization\Manager\ReachSerializationUtils.cs (2)
789System.Collections.IEnumerable enumerable = page.Children; 862System.Collections.IEnumerable enumerable = LogicalTreeHelper.GetChildren(dependencyObject);
Serialization\Manager\ReachUIElementCollectionSerializer.cs (4)
85IEnumerable enumerableObject = serializableObjectContext.TargetObject as IEnumerable; 89throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable))); 116foreach (object uiElement in (IEnumerable)serializableObjectContext.TargetObject)
Serialization\Manager\ReachUIElementCollectionSerializerAsync.cs (4)
125IEnumerable enumerableObject = serializableObjectContext.TargetObject as IEnumerable; 129throw new XpsSerializationException(SR.Format(SR.MustBeOfType, "serializableObjectContext.TargetObject", typeof(IEnumerable))); 156IEnumerator enumerator = ((IEnumerable)serializableObjectContext.TargetObject).GetEnumerator();
Roslyn.VisualStudio.Next.UnitTests (1)
Remote\SerializationValidator.cs (1)
68IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Shared (4)
Data.Validation\LengthAttribute.cs (2)
15/// Specifies the minimum length of any <see cref="IEnumerable"/> or <see cref="string"/> objects. 123case IEnumerable e:
EmptyCollections\EmptyReadonlyDictionary.cs (1)
28IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
EmptyCollections\EmptyReadOnlyList.cs (1)
23IEnumerator IEnumerable.GetEnumerator() => _enumerator;
Shared.Tests (9)
Data.Validation\LengthAttributeTests.cs (1)
138IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
EmptyCollections\EmptyCollectionExtensionsTests.cs (2)
85IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 95IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
EmptyCollections\EmptyReadOnlyListTests.cs (2)
25Assert.Same(((IEnumerable)instance).GetEnumerator(), ((IEnumerable)instance).GetEnumerator());
JsonSchemaExporter\TestTypes.cs (4)
1100IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1112IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1164IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)_dictionary).GetEnumerator();
SignalRSamples (1)
ConnectionList.cs (1)
46IEnumerator IEnumerable.GetEnumerator()
SocialWeather (1)
ConnectionList.cs (1)
47IEnumerator IEnumerable.GetEnumerator()
System.CodeDom (2)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
98IEnumerator IEnumerable.GetEnumerator() => _files.Keys.GetEnumerator();
System\CodeDom\CodeNamespaceImportCollection.cs (1)
87IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System.Collections (13)
System\Collections\Generic\LinkedList.cs (1)
501IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
System\Collections\Generic\OrderedDictionary.cs (3)
1161IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<KeyValuePair<TKey, TValue>>)this).GetEnumerator(); 1592IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<TKey>)this).GetEnumerator(); 1737IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<TValue>)this).GetEnumerator();
System\Collections\Generic\PriorityQueue.cs (1)
1070IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<(TElement Element, TPriority Priority)>)this).GetEnumerator();
System\Collections\Generic\SortedDictionary.cs (3)
402IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<KeyValuePair<TKey, TValue>>)this).GetEnumerator(); 534IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<TKey>)this).GetEnumerator(); 695IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<TValue>)this).GetEnumerator();
System\Collections\Generic\SortedList.cs (3)
553IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<KeyValuePair<TKey, TValue>>)this).GetEnumerator(); 1089IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1203IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Collections\Generic\SortedSet.cs (1)
597IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
System\Collections\Generic\Stack.cs (1)
163IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
System.Collections.Concurrent (10)
System\Collections\Concurrent\BlockingCollection.cs (1)
1640IEnumerator IEnumerable.GetEnumerator()
System\Collections\Concurrent\ConcurrentBag.cs (1)
475IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Collections\Concurrent\ConcurrentDictionary.cs (3)
112/// class that contains elements copied from the specified <see cref="IEnumerable"/>, has the default concurrency 128/// class that contains elements copied from the specified <see cref="IEnumerable"/>, 1678IEnumerator IEnumerable.GetEnumerator() => ((ConcurrentDictionary<TKey, TValue>)this).GetEnumerator();
System\Collections\Concurrent\ConcurrentStack.cs (1)
758IEnumerator IEnumerable.GetEnumerator()
System\Collections\Concurrent\OrderablePartitioner.cs (1)
226IEnumerator IEnumerable.GetEnumerator()
System\Collections\Concurrent\PartitionerStatic.cs (3)
612IEnumerator IEnumerable.GetEnumerator() 1186IEnumerator IEnumerable.GetEnumerator() 1266IEnumerator IEnumerable.GetEnumerator()
System.Collections.Immutable (28)
System\Collections\Frozen\FrozenDictionary.cs (1)
594IEnumerator IEnumerable.GetEnumerator() =>
System\Collections\Frozen\FrozenSet.cs (1)
396IEnumerator IEnumerable.GetEnumerator() =>
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
1047IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableArray_1.Minimal.cs (1)
399IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
693IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
816IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (1)
107IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableExtensions.cs (2)
158IEnumerator IEnumerable.GetEnumerator() 244IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableExtensions.Minimal.cs (2)
23return TryGetCount<T>((IEnumerable)sequence, out count); 33internal static bool TryGetCount<T>(this IEnumerable sequence, out int count)
System\Collections\Immutable\ImmutableHashSet_1.Builder.cs (1)
426IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
584IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableHashSet_1.NodeEnumerable.cs (1)
64IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableList_1.Builder.cs (1)
245IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableList_1.cs (1)
914System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => this.GetEnumerator();
System\Collections\Immutable\ImmutableList_1.Node.cs (1)
223IEnumerator IEnumerable.GetEnumerator() => this.GetEnumerator();
System\Collections\Immutable\ImmutableQueue_1.cs (1)
259IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
545IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
713System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableSortedDictionary_2.Node.cs (1)
177IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableSortedSet_1.Builder.cs (1)
407IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableSortedSet_1.cs (2)
974System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() 1259IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableSortedSet_1.Node.cs (1)
284IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\ImmutableStack_1.cs (1)
223IEnumerator IEnumerable.GetEnumerator()
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (2)
119/// See <see cref="System.Collections.IEnumerable"/> 121IEnumerator IEnumerable.GetEnumerator()
System.Collections.NonGeneric (2)
System\Collections\DictionaryBase.cs (1)
162IEnumerator IEnumerable.GetEnumerator()
System\Collections\SortedList.cs (1)
393IEnumerator IEnumerable.GetEnumerator()
System.Collections.Specialized (7)
System\Collections\Specialized\HybridDictionary.cs (1)
310IEnumerator IEnumerable.GetEnumerator()
System\Collections\Specialized\ListDictionary.cs (2)
225IEnumerator IEnumerable.GetEnumerator() 404IEnumerator IEnumerable.GetEnumerator()
System\Collections\Specialized\OrderedDictionary.cs (2)
374IEnumerator IEnumerable.GetEnumerator() 575IEnumerator IEnumerable.GetEnumerator()
System\Collections\Specialized\StringCollection.cs (2)
229IEnumerator IEnumerable.GetEnumerator() 241_baseEnumerator = ((IEnumerable)mappings).GetEnumerator();
System.ComponentModel.Composition (11)
Microsoft\Internal\Collections\CollectionServices.CollectionOfObject.cs (2)
86IEnumerator IEnumerable.GetEnumerator() 141IEnumerator IEnumerable.GetEnumerator()
Microsoft\Internal\Collections\CollectionServices.cs (1)
16private static readonly Type IEnumerableType = typeof(IEnumerable);
Microsoft\Internal\GenerationServices.cs (3)
35private static readonly Type s_iEnumerableType = typeof(System.Collections.IEnumerable); 109ilGenerator.LoadEnumerable((IEnumerable)rawValue); 214private static void LoadEnumerable(this ILGenerator ilGenerator, IEnumerable enumerable)
System\ComponentModel\Composition\Hosting\ComposablePartCatalogCollection.cs (1)
243IEnumerator IEnumerable.GetEnumerator()
System\ComponentModel\Composition\Primitives\ComposablePartCatalog.cs (1)
168Collections.IEnumerator Collections.IEnumerable.GetEnumerator()
System\ComponentModel\Composition\ReflectionModel\ImportingMember.cs (3)
31SetCollectionMemberValue(instance, (IEnumerable)value); 105private void SetCollectionMemberValue(object? instance, IEnumerable values) 213private void PopulateCollection(ICollection<object?> collection, IEnumerable values)
System.ComponentModel.Composition.Registration (1)
System\ComponentModel\Composition\Registration\ImportBuilder.cs (1)
76bool asMany = (!_asManySpecified) ? type != s_stringType && typeof(IEnumerable).IsAssignableFrom(type) : _asMany;
System.ComponentModel.TypeConverter (6)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
518IEnumerator IEnumerable.GetEnumerator()
System\ComponentModel\AttributeCollection.cs (1)
337IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\ComponentModel\Design\DesignerCollection.cs (1)
65IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\ComponentModel\EventDescriptorCollection.cs (1)
374IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\ComponentModel\ListSortDescriptionCollection.cs (1)
71IEnumerator IEnumerable.GetEnumerator() => _sorts.GetEnumerator();
System\ComponentModel\PropertyDescriptorCollection.cs (1)
412IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System.Composition.Hosting (2)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (2)
115Collections.IEnumerator Collections.IEnumerable.GetEnumerator() 117return ((Collections.IEnumerable)ActualMetadata).GetEnumerator();
System.Composition.Runtime (4)
System\Composition\Hosting\Core\CompositionContract.cs (4)
201if (firstItem.Value is IEnumerable firstEnumerable && !(firstEnumerable is string)) 203var secondEnumerable = secondValue as IEnumerable; 231if (kv.Value is IEnumerable enumerableValue)
System.Configuration.ConfigurationManager (9)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
98IEnumerator IEnumerable.GetEnumerator() => _files.Keys.GetEnumerator();
System\Configuration\BaseConfigurationRecord.cs (1)
3400IEnumerable children = _children.Values;
System\Configuration\ConfigurationValues.cs (7)
11private static volatile IEnumerable s_emptyCollection; 39internal IEnumerable ConfigurationElements 42internal IEnumerable InvalidValues 45private static IEnumerable EmptyCollectionInstance 152IEnumerator IEnumerable.GetEnumerator() 179IEnumerator IEnumerable.GetEnumerator() 201IEnumerator IEnumerable.GetEnumerator()
System.Data.Common (6)
System\Data\Common\DbBatchCommandCollection.cs (1)
13IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Data\Common\DbConnectionStringBuilder.cs (1)
331IEnumerator IEnumerable.GetEnumerator()
System\Data\DataViewManager.cs (1)
141IEnumerator IEnumerable.GetEnumerator()
System\Data\EnumerableRowCollection.cs (2)
25IEnumerator IEnumerable.GetEnumerator() 125IEnumerator IEnumerable.GetEnumerator()
System\Data\TypedTableBase.cs (1)
51IEnumerator IEnumerable.GetEnumerator()
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\Activity.cs (2)
1632IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 1795IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Diagnostics\ActivityTagsCollection.cs (1)
215IEnumerator IEnumerable.GetEnumerator() => new Enumerator(_list);
System\Diagnostics\DiagLinkedList.cs (1)
151IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Diagnostics\DsesFilterAndTransform.cs (2)
877IEnumerable? enumerable = obj as IEnumerable;
System\Diagnostics\Metrics\TagList.netcore.cs (1)
263readonly IEnumerator IEnumerable.GetEnumerator() => new Enumerator(in this);
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
82IEnumerator IEnumerable.GetEnumerator() => _contents.GetEnumerator();
System.DirectoryServices (1)
artifacts\obj\System.DirectoryServices\Debug\net10.0\System.DirectoryServices.notsupported.cs (1)
386System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); }
System.DirectoryServices.AccountManagement (3)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (3)
255System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } 332System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); } 378System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
System.Drawing.Common (4)
Special\NotSupported.cs (4)
3060System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3076System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3092System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3108System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Formats.Nrbf (1)
System\Formats\Nrbf\RecordMap.cs (1)
30IEnumerator IEnumerable.GetEnumerator() => _map.GetEnumerator();
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
783IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System.IO.Packaging (4)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
41IEnumerator IEnumerable.GetEnumerator()
System\IO\Packaging\OrderedDictionary.cs (1)
73IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\IO\Packaging\PackagePartCollection.cs (1)
23IEnumerator IEnumerable.GetEnumerator()
System\IO\Packaging\PackageRelationshipCollection.cs (1)
25IEnumerator IEnumerable.GetEnumerator()
System.Linq (12)
System\Linq\Cast.cs (2)
16> Cast<TResult>(this IEnumerable source) 36private static IEnumerable<TResult> CastIterator<TResult>(IEnumerable source)
System\Linq\DebugView.cs (2)
64public SystemCore_EnumerableDebugView(IEnumerable enumerable) 91private readonly IEnumerable _enumerable;
System\Linq\Grouping.cs (1)
395IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Linq\Iterator.cs (1)
106IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Linq\Lookup.cs (2)
196IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 310IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Linq\OfType.cs (3)
12public static IEnumerable<TResult> OfType<TResult>(this IEnumerable source) 30private sealed partial class OfTypeIterator<TResult>(IEnumerable source) : Iterator<TResult> 32private readonly IEnumerable _source = source;
System\Linq\OrderedEnumerable.cs (1)
27IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System.Linq.AsyncEnumerable (2)
System\Linq\GroupBy.cs (1)
409IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Linq\ToLookupAsync.cs (1)
264IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System.Linq.Expressions (14)
System\Dynamic\ExpandoObject.cs (3)
451System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() 605System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() 743System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Dynamic\Utils\ListArgumentProvider.cs (1)
139IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Linq\Expressions\BlockExpression.cs (1)
818System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Linq\Expressions\Compiler\CompilerScope.cs (1)
561IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Linq\Expressions\ListInitExpression.cs (2)
188/// The <see cref="Type"/> property of <paramref name="newExpression"/> must represent a type that implements <see cref="Collections.IEnumerable"/>. 203/// The <see cref="Type"/> property of <paramref name="newExpression"/> must represent a type that implements <see cref="Collections.IEnumerable"/>.
System\Linq\Expressions\MemberListBinding.cs (5)
66/// <paramref name="member"/> does not represent a field or property.-or-The <see cref="FieldInfo.FieldType"/> or <see cref="PropertyInfo.PropertyType"/> of the field or property that <paramref name="member"/> represents does not implement <see cref="Collections.IEnumerable"/>.</exception> 79/// <paramref name="member"/> does not represent a field or property.-or-The <see cref="FieldInfo.FieldType"/> or <see cref="PropertyInfo.PropertyType"/> of the field or property that <paramref name="member"/> represents does not implement <see cref="Collections.IEnumerable"/>.</exception> 98/// <paramref name="propertyAccessor"/> does not represent a property accessor method.-or-The <see cref="PropertyInfo.PropertyType"/> of the property that the method represented by <paramref name="propertyAccessor"/> accesses does not implement <see cref="IEnumerable"/>.</exception> 112/// <paramref name="propertyAccessor"/> does not represent a property accessor method.-or-The <see cref="PropertyInfo.PropertyType"/> of the property that the method represented by <paramref name="propertyAccessor"/> accesses does not implement <see cref="IEnumerable"/>.</exception> 123if (!typeof(IEnumerable).IsAssignableFrom(listType))
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
263IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System.Linq.Parallel (13)
System\Linq\Parallel\Enumerables\EnumerableWrapperWeakToStrong.cs (3)
24private readonly IEnumerable _wrappedEnumerable; // The wrapped enumerable object. 30internal EnumerableWrapperWeakToStrong(IEnumerable wrappedEnumerable) 36IEnumerator IEnumerable.GetEnumerator()
System\Linq\Parallel\Enumerables\ParallelEnumerableWrapper.cs (2)
22private readonly IEnumerable _source; // The wrapped enumerable object. 28internal ParallelEnumerableWrapper(Collections.IEnumerable source)
System\Linq\Parallel\Enumerables\ParallelQuery.cs (1)
86IEnumerator IEnumerable.GetEnumerator()
System\Linq\Parallel\Merging\MergeExecutor.cs (1)
111IEnumerator IEnumerable.GetEnumerator()
System\Linq\Parallel\QueryOperators\QueryResults.cs (1)
154IEnumerator IEnumerable.GetEnumerator()
System\Linq\Parallel\QueryOperators\Unary\GroupByQueryOperator.cs (2)
715IEnumerator IEnumerable.GetEnumerator() 764IEnumerator IEnumerable.GetEnumerator()
System\Linq\Parallel\Utils\ListChunk.cs (1)
86System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Linq\Parallel\Utils\Lookup.cs (1)
143IEnumerator IEnumerable.GetEnumerator()
System\Linq\ParallelEnumerable.cs (1)
234public static ParallelQuery AsParallel(this IEnumerable source)
System.Linq.Queryable (10)
System\Linq\EnumerableQuery.cs (4)
14internal abstract IEnumerable? Enumerable { get; } 20internal static IQueryable Create(Type elementType, IEnumerable sequence) 57internal override IEnumerable? Enumerable => _enumerable; 100IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Linq\EnumerableRewriter.cs (5)
138if (typeof(IEnumerable).IsAssignableFrom(t)) 139return typeof(IEnumerable); 154{ typeof(IQueryable), typeof(IEnumerable) }, 155{ typeof(IEnumerable), typeof(IEnumerable) }
System\Linq\Queryable.cs (1)
27public static IQueryable AsQueryable(this IEnumerable source)
System.Management (4)
artifacts\obj\System.Management\Debug\net10.0\System.Management.notsupported.cs (4)
343System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } 568System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } 638System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); } 688System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
System.Net.Http (12)
src\libraries\Common\src\System\Collections\Generic\BidirectionalDictionary.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
src\libraries\Common\src\System\Net\Security\SslClientAuthenticationOptionsExtensions.cs (3)
45if (origValue is IEnumerable origEnumerable) 47IEnumerable? cloneEnumerable = cloneValue as IEnumerable;
System\Net\Http\Headers\HeaderStringValues.cs (1)
60IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Net\Http\Headers\HttpHeaders.cs (1)
373Collections.IEnumerator Collections.IEnumerable.GetEnumerator() => GetEnumerator();
System\Net\Http\Headers\HttpHeadersNonValidated.cs (1)
94IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Net\Http\Headers\HttpHeaderValueCollection.cs (1)
169Collections.IEnumerator Collections.IEnumerable.GetEnumerator()
System\Net\Http\Headers\ObjectCollection.cs (1)
148IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Net\Http\HttpRequestOptions.cs (2)
45System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => ((System.Collections.IEnumerable)Options).GetEnumerator();
System\Net\Http\MultipartContent.cs (1)
133Collections.IEnumerator Collections.IEnumerable.GetEnumerator()
System.Net.HttpListener (1)
System\Net\HttpListenerPrefixCollection.cs (1)
80IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System.Net.Mail (1)
src\libraries\Common\src\System\Collections\Generic\BidirectionalDictionary.cs (1)
58IEnumerator IEnumerable.GetEnumerator()
System.Net.NetworkInformation (4)
System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (1)
71System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Net\NetworkInformation\IPAddressInformationCollection.cs (1)
52System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (1)
52System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (1)
53System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System.Net.Primitives (1)
System\Net\NetworkInformation\IPAddressCollection.cs (1)
45System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System.Net.Security (4)
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (4)
35private ServiceNameCollection(IList list, IEnumerable serviceNames) 71public ServiceNameCollection Merge(IEnumerable serviceNames) => new ServiceNameCollection(InnerList, serviceNames); 76private void AddIfNew(IEnumerable serviceNames, bool expectStrings) 148private static int GetCountOrOne(IEnumerable collection)
System.Net.WebSockets.Client (1)
System\Net\WebSockets\HttpResponseHeadersReadOnlyCollection.cs (1)
65IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\Tensor.cs (1)
567IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System.ObjectModel (1)
System\ComponentModel\INotifyDataErrorInfo.cs (1)
12IEnumerable GetErrors(string? propertyName);
System.Private.CoreLib (43)
src\libraries\Common\src\System\Collections\Concurrent\SingleProducerSingleConsumerQueue.cs (1)
335IEnumerator IEnumerable.GetEnumerator() { return GetEnumerator(); }
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
270IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentQueue.cs (1)
171IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1531IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<KeyValuePair<TKey, TValue>>)this).GetEnumerator(); 1949IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<TKey>)this).GetEnumerator(); 2143IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<TValue>)this).GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (1)
689IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
671IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
189IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<T>)this).GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (2)
751IEnumerator IEnumerable.GetEnumerator() 1338IEnumerator IEnumerable.GetEnumerator()
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (2)
172IEnumerator IEnumerable.GetEnumerator() 336IEnumerator IEnumerable.GetEnumerator()
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (2)
161IEnumerator IEnumerable.GetEnumerator() 163return ((IEnumerable)items).GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (2)
92IEnumerator IEnumerable.GetEnumerator() 94return ((IEnumerable)list).GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (6)
105IEnumerator IEnumerable.GetEnumerator() 107return ((IEnumerable)m_dictionary).GetEnumerator(); 289IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)_collection).GetEnumerator(); 341IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)_collection).GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlySet.cs (1)
42IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\CounterPayload.cs (2)
43IEnumerator IEnumerable.GetEnumerator() 98IEnumerator IEnumerable.GetEnumerator()
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EnumerableTypeInfo.cs (4)
36IEnumerable? enumerable = (IEnumerable?)value.ReferenceValue; 52var iterType = (IEnumerable)value;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (1)
93IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEnumerable.cs (1)
48IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\IO\Iterator.cs (1)
60IEnumerator IEnumerable.GetEnumerator()
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceFallbackManager.cs (1)
34IEnumerator IEnumerable.GetEnumerator()
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
234IEnumerator IEnumerable.GetEnumerator()
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceSet.cs (1)
119IEnumerator IEnumerable.GetEnumerator()
src\libraries\System.Private.CoreLib\src\System\Resources\RuntimeResourceSet.cs (1)
233IEnumerator IEnumerable.GetEnumerator()
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ConditionalWeakTable.cs (1)
361IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable<KeyValuePair<TKey, TValue>>)this).GetEnumerator();
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (1)
133protected abstract void ReleaseObjects(IEnumerable objects);
src\libraries\System.Private.CoreLib\src\System\String.cs (1)
598IEnumerator IEnumerable.GetEnumerator()
src\libraries\System.Private.CoreLib\src\System\Text\StringRuneEnumerator.cs (1)
59IEnumerator IEnumerable.GetEnumerator() => this;
src\System\Collections\EmptyReadOnlyDictionaryInternal.cs (1)
29IEnumerator IEnumerable.GetEnumerator()
src\System\Runtime\InteropServices\ComWrappers.cs (1)
309internal static void CallReleaseObjects(ComWrappers? comWrappersImpl, IEnumerable objects)
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\CollectionDataContract.cs (2)
815IEnumerator enumerator = ((IEnumerable)obj).GetEnumerator(); 1095getEnumeratorMethod = typeof(IEnumerable).GetMethod(Globals.GetEnumeratorMethodName)!;
System\Runtime\Serialization\Globals.cs (1)
266s_typeOfIEnumerable ??= typeof(IEnumerable);
System.Private.Windows.Core (5)
System\Collections\Generic\ListConverter.cs (1)
34IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException();
System\Private\Windows\BinaryFormat\Serializer\ArrayRecord.cs (2)
37IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 73IEnumerator IEnumerable.GetEnumerator() => ArrayObjects.GetEnumerator();
System\Private\Windows\BinaryFormat\Serializer\ArraySingleString.StringListAdapter.cs (1)
45IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
Windows\Win32\System\Com\WinFormsComWrappers.cs (1)
45protected override void ReleaseObjects(IEnumerable objects)
System.Private.Windows.Core.TestUtilities (4)
XUnit\EnumerableTupleTheoryData.cs (2)
24IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 42IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
XUnit\ReadOnlyTheoryData.cs (2)
22public ReadOnlyTheoryData(IEnumerable data) 33IEnumerator IEnumerable.GetEnumerator() => _data.GetEnumerator();
System.Private.Xml (35)
System\Xml\Dom\XmlNode.cs (1)
890IEnumerator IEnumerable.GetEnumerator()
System\Xml\Schema\XmlSchemaCollection.cs (1)
217IEnumerator IEnumerable.GetEnumerator()
System\Xml\Schema\XmlSchemaDataType.cs (2)
176if (t == typeof(IEnumerable) && t != typeof(string)) 179IEnumerator enumerator = (value as IEnumerable)!.GetEnumerator();
System\Xml\Schema\XmlValueConverter.cs (9)
296protected static readonly Type IEnumerableType = typeof(IEnumerable); 2880if (!(value is IEnumerable) || value.GetType() == StringType || value.GetType() == ByteArrayType) 2950if (!(value is IEnumerable) || !IsListType(destinationType)) 2961return ListAsString((IEnumerable)value, nsResolver); 3050IEnumerable enumSrc = (list as IEnumerable)!; 3078IEnumerable enumSrc = (list as IEnumerable)!; 3100private string ListAsString(IEnumerable list, IXmlNamespaceResolver? nsResolver)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (1)
1486if (collectionItems is IEnumerable enumerableItems)
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (6)
166var a = o as IEnumerable; 359var enumerable = (IEnumerable)o!; 780var a = (IEnumerable)memberValue;
System\Xml\Serialization\Types.cs (3)
904if (typeof(IEnumerable).IsAssignableFrom(type) && !IsArraySegment(type)) 1016else if (typeof(IEnumerable).IsAssignableFrom(type)) 1250if (typeof(IEnumerable).IsAssignableFrom(type))
System\Xml\Serialization\XmlSerializationWriter.cs (7)
1195while ((elementType.IsArray || typeof(IEnumerable).IsAssignableFrom(elementType)) && GetPrimitiveTypeName(elementType, false) == null) 1284if (!typeof(IEnumerable).IsAssignableFrom(type)) throw new InvalidOperationException(SR.Format(SR.XmlInternalErrorDetails, "not array like type " + type.FullName)); 1299IEnumerator e = ((IEnumerable)o).GetEnumerator(); 1388if (t.IsArray || typeof(IEnumerable).IsAssignableFrom(t)) 2094typeName = typeof(IEnumerable).FullName!; 3337Writer.Write(typeof(IEnumerable).FullName); 3545Writer.Write(typeof(IEnumerable).FullName);
System\Xml\Serialization\XmlSerializationWriterILGen.cs (1)
1487Type typeIEnumerable = typeof(IEnumerable);
System\Xml\Xsl\ListBase.cs (1)
110System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System\Xml\Xsl\QIL\QilNode.cs (1)
145IEnumerator IEnumerable.GetEnumerator()
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
615foreach (object o in (IEnumerable)value)
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (1)
108System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System.Private.Xml.Linq (84)
System\Xml\Linq\Extensions.cs (59)
6using IEnumerable = System.Collections.IEnumerable; 17/// this <see cref="IEnumerable"/> of <see cref="XElement"/>. 20/// An <see cref="IEnumerable"/> of <see cref="XAttribute"/> containing the XML 21/// Attributes for every <see cref="XElement"/> in the target <see cref="IEnumerable"/> 33/// <see cref="XElement"/>'s <see cref="XAttribute"/>s in the target <see cref="IEnumerable"/> 37/// An <see cref="IEnumerable"/> of <see cref="XAttribute"/> containing the XML 39/// the target <see cref="IEnumerable"/> of <see cref="XElement"/>. 49/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the ancestors (parent 51/// <see cref="IEnumerable"/> of <see cref="XElement"/>. 54/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the ancestors (parent 56/// <see cref="IEnumerable"/> of <see cref="XElement"/>. 66/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the ancestors (parent 68/// <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 71/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the ancestors (parent 73/// <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 83/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 85/// This is done for each <see cref="XElement"/> in this <see cref="IEnumerable"/> of 89/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 91/// This is done for each <see cref="XElement"/> in this <see cref="IEnumerable"/> of 102/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 105/// <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 108/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 111/// <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 121/// Returns an <see cref="IEnumerable"/> of <see cref="XNode"/> over the content of a set of nodes 150/// Returns an <see cref="IEnumerable"/> of <see cref="XNode"/> over the descendants of a set of nodes 160/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the descendants (children 162/// this <see cref="IEnumerable"/> of <see cref="XElement"/>. 165/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the descendants (children 167/// this <see cref="IEnumerable"/> of <see cref="XElement"/>. 177/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the descendants (children 179/// for each <see cref="XElement"/> in the target <see cref="IEnumerable"/> of <see cref="XElement"/>. 182/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the descendants (children 184/// for each <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 194/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 197/// <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 200/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 203/// <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 213/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 215/// to the leaf nodes). This is done for each <see cref="XElement"/> in this <see cref="IEnumerable"/> 219/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 221/// to the leaf nodes). This is done for each <see cref="XElement"/> in this <see cref="IEnumerable"/> 232/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 235/// each <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 238/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 241/// each <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 251/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the child elements 252/// for each <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 255/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the child elements 256/// for each <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 266/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the child elements 267/// with a matching for each <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 270/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the child elements 271/// for each <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 281/// Returns an <see cref="IEnumerable"/> of <see cref="XElement"/> containing the child elements 282/// with a matching for each <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 285/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the child elements 286/// for each <see cref="XElement"/> in this <see cref="IEnumerable"/> of <see cref="XElement"/>. 308/// Removes each <see cref="XAttribute"/> represented in this <see cref="IEnumerable"/> of 325/// Removes each <see cref="XNode"/> represented in this <see cref="IEnumerable"/>
System\Xml\Linq\XContainer.cs (12)
9using IEnumerable = System.Collections.IEnumerable; 173IEnumerable? e = content as IEnumerable; 277/// <returns>An <see cref="IEnumerable"/> of <see cref="XElement"/></returns> 316/// An <see cref="IEnumerable"/> over all of this <see cref="XContainer"/>'s child <see cref="XElement"/>s. 330/// An <see cref="IEnumerable"/> of <see cref="XElement"/> children of this <see cref="XContainer"/> that have 344/// Returns the content of this <see cref="XContainer"/> as an <see cref="IEnumerable"/> of <see cref="object"/>. Note 500IEnumerable? e = content as IEnumerable; 1355IEnumerable? e = content is string ? null : content as IEnumerable; 1372if (content is string || !(content is IEnumerable)) return content;
System\Xml\Linq\XElement.cs (8)
14using IEnumerable = System.Collections.IEnumerable; 334/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing all of 347/// resulting <see cref="IEnumerable"/> or <see cref="XElement"/>. 354/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing the 396/// An <see cref="IEnumerable"/> of <see cref="XAttribute"/> containing all of the <see cref="XAttribute"/>s 436/// as an <see cref="IEnumerable"/> of <see cref="XElement"/>. 440/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing this <see cref="XElement"/> 457/// An <see cref="IEnumerable"/> of <see cref="XElement"/> containing all of the descendant
System\Xml\Linq\XLinq.cs (5)
8using IEnumerable = System.Collections.IEnumerable; 104IEnumerable? e = content as IEnumerable; 616IEnumerable? e = content as IEnumerable;
System.Reflection.Metadata (29)
System\Reflection\Metadata\BlobBuilder.Enumerators.cs (2)
61IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); 99IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Reflection\Metadata\PortablePdb\HandleCollections.Debug.cs (7)
45IEnumerator IEnumerable.GetEnumerator() 144IEnumerator IEnumerable.GetEnumerator() 250IEnumerator IEnumerable.GetEnumerator() 458IEnumerator IEnumerable.GetEnumerator() 564IEnumerator IEnumerable.GetEnumerator() 663IEnumerator IEnumerable.GetEnumerator() 770IEnumerator IEnumerable.GetEnumerator()
System\Reflection\Metadata\PortablePdb\ImportDefinitionCollection.cs (1)
31IEnumerator IEnumerable.GetEnumerator()
System\Reflection\Metadata\PortablePdb\SequencePointCollection.cs (1)
28IEnumerator IEnumerable.GetEnumerator()
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (18)
57IEnumerator IEnumerable.GetEnumerator() 165IEnumerator IEnumerable.GetEnumerator() 269IEnumerator IEnumerable.GetEnumerator() 390IEnumerator IEnumerable.GetEnumerator() 497IEnumerator IEnumerable.GetEnumerator() 617IEnumerator IEnumerable.GetEnumerator() 737IEnumerator IEnumerable.GetEnumerator() 857IEnumerator IEnumerable.GetEnumerator() 973IEnumerator IEnumerable.GetEnumerator() 1072IEnumerator IEnumerable.GetEnumerator() 1184IEnumerator IEnumerable.GetEnumerator() 1276IEnumerator IEnumerable.GetEnumerator() 1366IEnumerator IEnumerable.GetEnumerator() 1456IEnumerator IEnumerable.GetEnumerator() 1546IEnumerator IEnumerable.GetEnumerator() 1682IEnumerator IEnumerable.GetEnumerator() 1790IEnumerator IEnumerable.GetEnumerator() 1880IEnumerator IEnumerable.GetEnumerator()
System.Resources.Extensions (2)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
234IEnumerator IEnumerable.GetEnumerator()
src\libraries\System.Private.CoreLib\src\System\Resources\RuntimeResourceSet.cs (1)
233IEnumerator IEnumerable.GetEnumerator()
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
99[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.IEnumerable))]
System.Runtime.Caching (2)
System\Runtime\Caching\MemoryCache.cs (1)
496IEnumerator IEnumerable.GetEnumerator()
System\Runtime\Caching\ObjectCache.cs (1)
50IEnumerator IEnumerable.GetEnumerator()
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\StrategyBasedComWrappers.cs (1)
105protected sealed override void ReleaseObjects(IEnumerable objects)
System.Security.AccessControl (1)
artifacts\obj\System.Security.AccessControl\Debug\net10.0\System.Security.AccessControl.notsupported.cs (1)
295System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
System.Security.Cryptography (10)
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (1)
137IEnumerator IEnumerable.GetEnumerator()
System\Security\Cryptography\AsnEncodedDataCollection.cs (1)
61IEnumerator IEnumerable.GetEnumerator()
System\Security\Cryptography\OidCollection.cs (1)
70IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Security\Cryptography\X509Certificates\X509Certificate2Enumerator.cs (1)
18_enumerator = ((IEnumerable)collection).GetEnumerator();
System\Security\Cryptography\X509Certificates\X509CertificateEnumerator.cs (1)
18_enumerator = ((IEnumerable)mappings).GetEnumerator();
System\Security\Cryptography\X509Certificates\X509ChainElementCollection.cs (1)
81IEnumerator IEnumerable.GetEnumerator()
System\Security\Cryptography\X509Certificates\X509ExtensionCollection.cs (1)
100IEnumerator IEnumerable.GetEnumerator()
System\Security\Cryptography\XmlKeyHelper.cs (3)
165private IEnumerable? _enumerable; 299internal static IEnumerable? GetElements(object? element) => 300(IEnumerable?)s_getElementsMethod.Invoke(element, Array.Empty<object>());
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
210IEnumerator IEnumerable.GetEnumerator()
System.Security.Cryptography.Pkcs (4)
src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (1)
137IEnumerator IEnumerable.GetEnumerator()
System\Security\Cryptography\Pkcs\CmsRecipientCollection.cs (1)
83IEnumerator IEnumerable.GetEnumerator()
System\Security\Cryptography\Pkcs\RecipientInfoCollection.cs (1)
52IEnumerator IEnumerable.GetEnumerator()
System\Security\Cryptography\Pkcs\SignerInfoCollection.cs (1)
52IEnumerator IEnumerable.GetEnumerator() => new SignerInfoEnumerator(this);
System.Security.Permissions (2)
System\Security\Permissions\KeyContainerPermissionAccessEntryCollection.cs (1)
22IEnumerator IEnumerable.GetEnumerator() { throw new NotImplementedException(); }
System\Security\Policy\ApplicationTrustCollection.cs (1)
28IEnumerator IEnumerable.GetEnumerator() { return GetEnumerator(); }
System.Security.Principal.Windows (1)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (1)
55System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_Principal); }
System.ServiceModel.Primitives (6)
netstandard.cs (6)
38IEnumerator IEnumerable.GetEnumerator() { return default; } 76System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() => default; 300System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return default; } 1713System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return default; } 1746System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return default; } 1858System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { return default; }
System.ServiceModel.Primitives.Tests (1)
Channels\UnderstoodHeadersTest.cs (1)
58IEnumerator iEnum2 = ((IEnumerable)requestMessage.Headers.UnderstoodHeaders).GetEnumerator();
System.Speech (1)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (1)
319System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); }
System.Text.Json (21)
System\Text\Json\Document\JsonElement.ArrayEnumerator.cs (1)
61IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Text\Json\Document\JsonElement.ObjectEnumerator.cs (1)
66IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Text\Json\Nodes\JsonArray.IList.cs (2)
225IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)List).GetEnumerator();
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
217IEnumerator IEnumerable.GetEnumerator() => Dictionary.GetEnumerator();
System\Text\Json\Serialization\ConfigurationList.cs (1)
128IEnumerator IEnumerable.GetEnumerator()
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverter.cs (1)
16where TCollection : IEnumerable
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverterFactory.cs (5)
22private static readonly IEnumerableConverter<IEnumerable> s_converterForIEnumerable = new IEnumerableConverter<IEnumerable>(); 30return typeof(IEnumerable).IsAssignableFrom(typeToConvert); 172Debug.Assert(typeof(IEnumerable).IsAssignableFrom(typeToConvert)); 173if (typeToConvert == typeof(IEnumerable))
System\Text\Json\Serialization\Converters\Collection\StackOrQueueConverter.cs (1)
12where TCollection : IEnumerable
System\Text\Json\Serialization\Converters\Collection\StackOrQueueConverterWithReflection.cs (1)
13where TCollection : IEnumerable
System\Text\Json\Serialization\Converters\Object\ObjectConverterFactory.cs (1)
33Debug.Assert(!typeof(IEnumerable).IsAssignableFrom(typeToConvert));
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Collections.cs (4)
378where TCollection : IEnumerable 396where TCollection : IEnumerable 403where TCollection : IEnumerable 429where TCollection : IEnumerable
System\Text\Json\Serialization\ReadStack.cs (2)
288if (frame.ReturnValue is not IEnumerable enumerable) 305static int GetCount(IEnumerable enumerable)
System.Text.Json.SourceGeneration (2)
Helpers\KnownTypeSymbols.cs (1)
31public INamedTypeSymbol? IEnumerableType => GetOrResolveType(typeof(IEnumerable), ref _IEnumerableType);
src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
46IEnumerator IEnumerable.GetEnumerator() => _values.GetEnumerator();
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\DoublyLinkedList.cs (1)
133IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System.Threading.Channels (1)
src\libraries\Common\src\System\Collections\Concurrent\SingleProducerSingleConsumerQueue.cs (1)
335IEnumerator IEnumerable.GetEnumerator() { return GetEnumerator(); }
System.Threading.Tasks.Dataflow (1)
src\libraries\Common\src\System\Collections\Concurrent\SingleProducerSingleConsumerQueue.cs (1)
335IEnumerator IEnumerable.GetEnumerator() { return GetEnumerator(); }
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (5)
407public IEnumerable ContextualTabGroupsSource 409get { return (IEnumerable)GetValue(ContextualTabGroupsSourceProperty); } 418typeof(IEnumerable), 420new FrameworkPropertyMetadata((IEnumerable)null, new PropertyChangedCallback(OnContextualTabGroupsSourceChanged))); 1470ribbon.ContextualTabGroupItemsControl.ItemsSource = (IEnumerable)args.NewValue;
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (1)
539IEnumerator IEnumerable.GetEnumerator()
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
1065protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
432protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (1)
1599System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (1)
621System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
System.Windows.Forms (27)
System\Resources\ResXResourceReader.cs (1)
305IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCollection.cs (1)
52IEnumerator IEnumerable.GetEnumerator() => _items.GetEnumerator();
System\Windows\Forms\Controls\DataGridView\DataGridViewCellLinkedList.cs (1)
18IEnumerator IEnumerable.GetEnumerator() => new DataGridViewCellLinkedListEnumerator(_headElement);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
63IEnumerator IEnumerable.GetEnumerator() => _items.GetEnumerator();
System\Windows\Forms\Controls\DataGridView\DataGridViewIntLinkedList.cs (1)
17IEnumerator IEnumerable.GetEnumerator()
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
78IEnumerator IEnumerable.GetEnumerator() => new UnsharingRowEnumerator(this);
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedCellCollection.cs (1)
65IEnumerator IEnumerable.GetEnumerator() => _items.GetEnumerator();
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedColumnCollection.cs (1)
61IEnumerator IEnumerable.GetEnumerator() => _items.GetEnumerator();
System\Windows\Forms\Controls\DataGridView\DataGridViewSelectedRowCollection.cs (1)
50IEnumerator IEnumerable.GetEnumerator() => _items.GetEnumerator();
System\Windows\Forms\Controls\ListBoxes\ListBox.IntegerCollection.cs (1)
328IEnumerator IEnumerable.GetEnumerator()
System\Windows\Forms\Controls\Unsupported\DataGrid\GridColumnStylesCollection.cs (1)
60IEnumerator IEnumerable.GetEnumerator() => throw null;
System\Windows\Forms\Controls\Unsupported\DataGrid\GridTableStylesCollection.cs (1)
58IEnumerator IEnumerable.GetEnumerator() => throw null;
System\Windows\Forms\Controls\UpDown\NumericUpDownAccelerationCollection.cs (2)
99IEnumerator IEnumerable.GetEnumerator() 101return ((IEnumerable)_items).GetEnumerator();
System\Windows\Forms\DataBinding\BindingContext.cs (1)
52IEnumerator IEnumerable.GetEnumerator()
System\Windows\Forms\DataBinding\BindingSource.cs (2)
683private static IList? GetListFromEnumerable(IEnumerable enumerable) 1100else if (list is IEnumerable iEnumerable)
System\Windows\Forms\DataBinding\ListBindingHelper.cs (9)
60else if (dataSource is IEnumerable enumerable) 136else if (target is IEnumerable enumerable) 166else if (target is IEnumerable enumerable) 233else if (listInstance is IEnumerable enumerable) 381private static PropertyDescriptorCollection GetListItemPropertiesByEnumerable(IEnumerable iEnumerable, PropertyDescriptor[] listAccessors, int startIndex) 417if (subList is IEnumerable ienumerableSubList) 440private static Type GetListItemTypeByEnumerable(IEnumerable iEnumerable) 571private static PropertyDescriptorCollection GetListItemPropertiesByEnumerable(IEnumerable enumerable) 652private static object? GetFirstItemByEnumerable(IEnumerable enumerable)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutStyleCollection.cs (1)
137IEnumerator IEnumerable.GetEnumerator() => _innerList.GetEnumerator();
System.Windows.Forms.Design (10)
System\ComponentModel\Design\DesignerActionPanel.cs (2)
560IEnumerable items = list.GetSortedActionItems(); 636IEnumerable items = relatedList.GetSortedActionItems();
System\ComponentModel\Design\DesignSurfaceCollection.cs (1)
66IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.LocalResourceManager.cs (1)
39IEnumerator IEnumerable.GetEnumerator()
System\ComponentModel\Design\Serialization\StatementContext.cs (1)
177IEnumerator IEnumerable.GetEnumerator()
System\Windows\Forms\Design\Behavior\BehaviorServiceAdornerCollectionEnumerator.cs (1)
14_baseEnumerator = ((IEnumerable)mappings).GetEnumerator();
System\Windows\Forms\Design\DesignerFrame.cs (1)
316IEnumerable IContainsThemedScrollbarWindows.ThemedScrollbarWindows()
System\Windows\Forms\Design\IContainsThemedScrollbarWindows.cs (1)
14IEnumerable ThemedScrollbarWindows();
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (1)
198IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Windows\Forms\Design\ListAdapter.cs (1)
34IEnumerator IEnumerable.GetEnumerator() => _list.GetEnumerator();
System.Windows.Forms.Primitives (3)
System\Collections\Generic\WeakRefCollection.cs (1)
107IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Windows\Forms\NonNullCollection.cs (2)
62IEnumerator IEnumerable.GetEnumerator() => ((IEnumerable)_list).GetEnumerator();
System.Windows.Forms.Tests (9)
System\Windows\Forms\BindingSourceTests.cs (3)
734IEnumerator IEnumerable.GetEnumerator() => _innerList.GetEnumerator(); 798IEnumerator IEnumerable.GetEnumerator() => _innerEnumerable.GetEnumerator(); 808public IEnumerable Enumerable { get; set; }
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (1)
339protected override void ReleaseObjects(IEnumerable objects)
System\Windows\Forms\ListBindingHelperTests.cs (5)
131yield return new object[] { typeof(IEnumerable), typeof(IEnumerable) }; 489yield return new object[] { typeof(IEnumerable), null, "IEnumerable" }; 490yield return new object[] { typeof(IEnumerable), new PropertyDescriptor[] { TypeDescriptor.GetProperties(typeof(DataClass))[0] }, "Int32" }; 599IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException();
System.Xaml (8)
System\Xaml\NameScope.cs (1)
103IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
System\Xaml\NameScopeDictionary.cs (1)
231IEnumerator IEnumerable.GetEnumerator()
System\Xaml\Schema\CollectionReflector.cs (3)
42bool isIEnumerable = typeof(IEnumerable).IsAssignableFrom(type); 246if (typeof(IEnumerable).IsAssignableFrom(type)) 412s_getEnumeratorMethod = typeof(IEnumerable).GetMethod(KnownStrings.GetEnumerator);
System\Xaml\Schema\XamlTypeInvoker.cs (1)
214if (instance is IEnumerable enumerable)
System\Xaml\XamlObjectReader.cs (1)
3207IEnumerator IEnumerable.GetEnumerator()
System\Xaml\XamlSchemaContext.cs (1)
1480IEnumerator IEnumerable.GetEnumerator()
System.Xaml.Tests (9)
System\Xaml\Schema\XamlTypeInvokerTests.cs (4)
465typeof(IEnumerable).GetMethod(nameof(IEnumerable.GetEnumerator)) 470typeof(IEnumerable).GetMethod(nameof(IEnumerable.GetEnumerator))
System\Xaml\XamlTypeTests.cs (5)
1747yield return new object?[] { new SubXamlType(typeof(IEnumerable), new XamlSchemaContext()), XamlCollectionKind.None }; 1841IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException(); 3127IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException(); 3184IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException(); 3283IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException();
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\E2ETesting\WaitAssert.cs (2)
47public static void Empty(this IWebDriver driver, Func<IEnumerable> actualValues) 50public static void Single(this IWebDriver driver, Func<IEnumerable> actualValues)
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\E2ETesting\WaitAssert.cs (2)
47public static void Empty(this IWebDriver driver, Func<IEnumerable> actualValues) 50public static void Single(this IWebDriver driver, Func<IEnumerable> actualValues)
Templates.Mvc.Tests (2)
src\Shared\E2ETesting\WaitAssert.cs (2)
47public static void Empty(this IWebDriver driver, Func<IEnumerable> actualValues) 50public static void Single(this IWebDriver driver, Func<IEnumerable> actualValues)
Templates.Tests (2)
src\Shared\E2ETesting\WaitAssert.cs (2)
47public static void Empty(this IWebDriver driver, Func<IEnumerable> actualValues) 50public static void Single(this IWebDriver driver, Func<IEnumerable> actualValues)
UIAutomationClient (4)
MS\Internal\Automation\Misc.cs (1)
70internal static Array CombineArrays(IEnumerable arrays, Type t)
MS\Internal\Automation\ProxyManager.cs (3)
131IEnumerable [ ] sourceProxyDescription = {_classHandlers, _partialClassHandlers, _imageOnlyHandlers, _fallbackHandlers}; 134foreach ( IEnumerable e in sourceProxyDescription ) 162foreach ( IEnumerable e in sourceProxyDescription )
UnitTests.Common (1)
MemberDataSet.cs (1)
49IEnumerator IEnumerable.GetEnumerator()
WindowsBase.Tests (15)
System\ComponentModel\CurrentChangedEventManagerTests.cs (1)
596public IEnumerable SourceCollection => throw new NotImplementedException();
System\ComponentModel\CurrentChangingEventManagerTests.cs (1)
578public IEnumerable SourceCollection => throw new NotImplementedException();
System\ComponentModel\ErrorsChangedEventManagerTests.cs (1)
266public IEnumerable GetErrors(string? propertyName) => throw new NotImplementedException();
System\Windows\Markup\Primitives\MarkupObjectTests.cs (5)
88Assert.Equal(typeof(IEnumerable), properties[0].PropertyType); 142Assert.Equal(typeof(IEnumerable), properties[1].PropertyType); 218Assert.Equal(typeof(IEnumerable), properties[0].PropertyType); 523private readonly IEnumerable _enumerable; 525public IEnumerableWrapper(IEnumerable enumerable)
System\Windows\Markup\Primitives\MarkupPropertyTests.cs (5)
75Assert.Equal(typeof(IEnumerable), properties[0].PropertyType); 129Assert.Equal(typeof(IEnumerable), properties[1].PropertyType); 205Assert.Equal(typeof(IEnumerable), properties[0].PropertyType); 609private readonly IEnumerable _enumerable; 611public IEnumerableWrapper(IEnumerable enumerable)
System\Windows\NameScopeTests.cs (2)
786IEnumerable collection = nameScope; 815IEnumerable collection = nameScope;
xunit.assert (25)
CollectionAsserts.cs (4)
459 public static void Empty(IEnumerable collection) 537 public static void NotEmpty(IEnumerable collection) 622 public static object? Single(IEnumerable collection) 643 IEnumerable collection,
Sdk\ArgumentFormatter.cs (6)
247 var enumerable = value as IEnumerable; 377 IEnumerable enumerable, 418 var nextDepth = current is IEnumerable ? depth + 1 : depth; 609 static bool IsEnumerableOfGrouping(IEnumerable collection) 642 static bool SafeToMultiEnumerate(IEnumerable collection) =>
Sdk\AssertHelper.cs (6)
486 var enumerableExpected = expected as IEnumerable; 487 var enumerableActual = actual as IEnumerable; 552 IEnumerable expected, 553 IEnumerable actual,
Sdk\CollectionTracker.cs (7)
58 protected CollectionTracker(IEnumerable innerEnumerable) 80 protected internal IEnumerable InnerEnumerable { get; protected set; } 341 IEnumerable enumX, 342 IEnumerable enumY) 451 public static CollectionTracker<object> Wrap(IEnumerable enumerable) => 487 IEnumerable collection, 761 IEnumerator IEnumerable.GetEnumerator() =>
Sdk\CollectionTrackerExtensions.cs (2)
57 return AsTracker(value as IEnumerable); 66 public static CollectionTracker? AsTracker(this IEnumerable? enumerable)