4 interfaces inheriting from ICollection
mscorlib (2)
system\collections\generic\idictionary.cs (1)
28public interface IDictionary<TKey, TValue> : ICollection<KeyValuePair<TKey, TValue>>
system\collections\generic\ilist.cs (1)
37public interface IList<T> : ICollection<T>
System (1)
compmod\system\collections\generic\iset.cs (1)
28public interface ISet<T> : ICollection<T> {
System.ServiceModel (1)
System\ServiceModel\IExtensionCollection.cs (1)
11public interface IExtensionCollection<T> : ICollection<IExtension<T>>
48 implementations of ICollection
mscorlib (7)
system\collections\generic\dictionary.cs (2)
801public sealed class KeyCollection: ICollection<TKey>, ICollection, IReadOnlyCollection<TKey> 988public sealed class ValueCollection: ICollection<TValue>, ICollection, IReadOnlyCollection<TValue>
system\collections\objectmodel\readonlydictionary.cs (2)
356public sealed class KeyCollection : ICollection<TKey>, ICollection, IReadOnlyCollection<TKey> { 455public sealed class ValueCollection : ICollection<TValue>, ICollection, IReadOnlyCollection<TValue> {
system\runtime\interopservices\windowsruntime\dictionarykeycollection.cs (1)
18internal sealed class DictionaryKeyCollection<TKey, TValue> : ICollection<TKey>
system\runtime\interopservices\windowsruntime\dictionaryvaluecollection.cs (1)
21internal sealed class DictionaryValueCollection<TKey, TValue> : ICollection<TValue>
system\security\principal\ircollection.cs (1)
16public class IdentityReferenceCollection : ICollection<IdentityReference>
PresentationCore (6)
Core\CSharp\MS\Internal\FontFace\TypefaceCollection.cs (1)
29internal unsafe struct TypefaceCollection : ICollection<Typeface>
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
884internal class ReadOnlyStrokeCollection : StrokeCollection, ICollection<Stroke>, IList
Core\CSharp\System\Windows\Media\Animation\TimelineClockCollection.cs (1)
17public class ClockCollection : ICollection<Clock>
Core\CSharp\System\Windows\Media\Fonts.cs (1)
309private struct TypefaceCollection : ICollection<Typeface>
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
2255private class ValueCollection : ICollection<double>
Shared\MS\Internal\SequentialUshortCollection.cs (1)
27internal class SequentialUshortCollection : ICollection<ushort>
PresentationFramework (5)
src\Framework\MS\Internal\WeakDictionary.cs (2)
20private class KeyCollection<KeyType, ValueType> : ICollection<KeyType> where KeyType : class 107private class ValueCollection<KeyType, ValueType> : ICollection<ValueType> where KeyType : class
src\Framework\MS\Internal\WeakHashSet.cs (1)
22internal class WeakHashSet<T> : ICollection<T> where T : class
src\Framework\System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
28public class XmlNamespaceMappingCollection : XmlNamespaceManager, ICollection<XmlNamespaceMapping>, IAddChildInternal
src\Framework\System\Windows\Documents\TextElementCollection.cs (1)
19public class TextElementCollection<TextElementType> : IList, ICollection<TextElementType> where TextElementType : TextElement
System (11)
compmod\system\collections\generic\linkedlist.cs (1)
18public class LinkedList<T>: ICollection<T>, System.Collections.ICollection, IReadOnlyCollection<T>
compmod\system\collections\generic\sorteddictionary.cs (2)
448public sealed class KeyCollection: ICollection<TKey>, ICollection, IReadOnlyCollection<TKey> { 603public sealed class ValueCollection: ICollection<TValue>, ICollection, IReadOnlyCollection<TValue> {
compmod\system\collections\generic\sortedset.cs (1)
57public class SortedSet<T> : ISet<T>, ICollection<T>, ICollection, ISerializable, IDeserializationCallback, IReadOnlyCollection<T> {
compmod\system\collections\specialized\stringdictionary.cs (1)
373private class ICollectionToGenericCollectionAdapter : ICollection<string> {
net\System\Net\HttpListenerPrefixCollection.cs (1)
43public class HttpListenerPrefixCollection : ICollection<string> {
net\System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (1)
5public class GatewayIPAddressInformationCollection :ICollection<GatewayIPAddressInformation>
net\System\Net\NetworkInformation\IPAddressCollection.cs (1)
5public class IPAddressCollection :ICollection<IPAddress>
net\System\Net\NetworkInformation\IPAddressInformationCollection.cs (1)
5public class IPAddressInformationCollection :ICollection<IPAddressInformation>
net\System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (1)
5public class MulticastIPAddressInformationCollection :ICollection<MulticastIPAddressInformation>
net\System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (1)
5public class UnicastIPAddressInformationCollection :ICollection<UnicastIPAddressInformation>
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
20public sealed class ToolboxCategoryItems : ICollection<ToolboxCategory>, IList
System.Core (4)
Microsoft\Scripting\Actions\ExpandoObject.cs (2)
315private class KeyCollection : ICollection<string> { 431private class ValueCollection : ICollection<object> {
Microsoft\Scripting\Compiler\Set.cs (1)
29internal sealed class Set<T> : ICollection<T> {
System\Collections\Generic\HashSet.cs (1)
63public class HashSet<T> : ICollection<T>, ISerializable, IDeserializationCallback, ISet<T>, IReadOnlyCollection<T>
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
20public sealed class ToolboxCategoryItems : ICollection<ToolboxCategory>, IList
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (1)
143internal sealed class ReadOnlyCollection<T> : System.Collections.ICollection, ICollection<T> {
System.Data.Entity (2)
System\Data\Objects\DataClasses\EntityCollection.cs (1)
30public sealed class EntityCollection<TEntity> : RelatedEnd, ICollection<TEntity>, IListSource
System\Data\Objects\ObjectParameterCollection.cs (1)
23public sealed class ObjectParameterCollection : ICollection<ObjectParameter>
System.Data.Linq (1)
ChangeConflicts.cs (1)
15public sealed class ChangeConflictCollection : ICollection<ObjectChangeConflict>, ICollection, IEnumerable<ObjectChangeConflict>, IEnumerable {
System.IO.Log (1)
System\IO\Log\ReservationCollection.cs (1)
13public abstract class ReservationCollection : ICollection<long>
System.ServiceModel (4)
System\Collections\ObjectModel\FreezableCollection.cs (1)
11class FreezableCollection<T> : Collection<T>, ICollection<T>
System\ServiceModel\Configuration\CustomBindingElement.cs (1)
15ICollection<BindingElementExtensionElement>,
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (1)
18public abstract class ServiceModelExtensionCollectionElement<TServiceModelExtensionElement> : ConfigurationElement, ICollection<TServiceModelExtensionElement>, IConfigurationContextProviderInternal
System\ServiceModel\ServiceChannelManager.cs (1)
414class ChannelCollection : ICollection<IChannel>
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\WorkflowDefinitionProvider.cs (1)
174class WorkflowServiceVersionsCollection : ICollection<WorkflowService>
System.ServiceModel.Internals (2)
System\Runtime\Collections\NullableKeyDictionary.cs (2)
221class NullKeyDictionaryKeyCollection<TypeKey, TypeValue> : ICollection<TypeKey> 296class NullKeyDictionaryValueCollection<TypeKey, TypeValue> : ICollection<TypeValue>
System.Windows.Forms (1)
winforms\Managed\System\WinForms\NumericUpDownAccelerationCollection.cs (1)
20public class NumericUpDownAccelerationCollection : MarshalByRefObject, ICollection<NumericUpDownAcceleration>, IEnumerable<NumericUpDownAcceleration>
1320 references to ICollection
mscorlib (91)
system\arraysegment.cs (6)
213bool ICollection<T>.IsReadOnly 223void ICollection<T>.Add(T item) 228void ICollection<T>.Clear() 233bool ICollection<T>.Contains(T item) 247void ICollection<T>.CopyTo(T[] array, int arrayIndex) 256bool ICollection<T>.Remove(T item)
system\Collections\Concurrent\ConcurrentDictionary.cs (7)
654void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int index) 1350public ICollection<TKey> Keys 1373public ICollection<TValue> Values 1406void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair) 1420bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> keyValuePair) 1437bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly 1453bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair)
system\collections\generic\debugview.cs (6)
30private ICollection<T> collection; 32public Mscorlib_CollectionDebugView(ICollection<T> collection) { 50private ICollection<TKey> collection; 52public Mscorlib_DictionaryKeyCollectionDebugView(ICollection<TKey> collection) { 70private ICollection<TValue> collection; 72public Mscorlib_DictionaryValueCollectionDebugView(ICollection<TValue> collection) {
system\collections\generic\dictionary.cs (17)
143ICollection<TKey> IDictionary<TKey, TValue>.Keys { 165ICollection<TValue> IDictionary<TKey, TValue>.Values { 195void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair) { 199bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> keyValuePair) { 207bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) { 520bool ICollection<KeyValuePair<TKey,TValue>>.IsReadOnly { 524void ICollection<KeyValuePair<TKey,TValue>>.CopyTo(KeyValuePair<TKey,TValue>[] array, int index) { 840bool ICollection<TKey>.IsReadOnly { 844void ICollection<TKey>.Add(TKey item){ 848void ICollection<TKey>.Clear(){ 852bool ICollection<TKey>.Contains(TKey item){ 856bool ICollection<TKey>.Remove(TKey item){ 1027bool ICollection<TValue>.IsReadOnly { 1031void ICollection<TValue>.Add(TValue item){ 1035bool ICollection<TValue>.Remove(TValue item){ 1040void ICollection<TValue>.Clear(){ 1044bool ICollection<TValue>.Contains(TValue item){
system\collections\generic\idictionary.cs (2)
39ICollection<TKey> Keys { 44ICollection<TValue> Values {
system\collections\generic\list.cs (6)
79ICollection<T> c = collection as ICollection<T>; 150bool ICollection<T>.IsReadOnly { 711ICollection<T> c = collection as ICollection<T>; 1061return ((ICollection<T>)_list).IsReadOnly;
system\collections\objectmodel\collection.cs (1)
145bool ICollection<T>.IsReadOnly {
system\collections\objectmodel\readonlycollection.cs (4)
64bool ICollection<T>.IsReadOnly { 75void ICollection<T>.Add(T value) { 79void ICollection<T>.Clear() { 87bool ICollection<T>.Remove(T value) {
system\collections\objectmodel\readonlydictionary.cs (23)
75ICollection<TKey> IDictionary<TKey, TValue>.Keys { 85ICollection<TValue> IDictionary<TKey, TValue>.Values { 123bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> item) { 127void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) { 131bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly { 135void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) { 139void ICollection<KeyValuePair<TKey, TValue>>.Clear() { 143bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) { 357private readonly ICollection<TKey> m_collection; 361internal KeyCollection(ICollection<TKey> collection) 371void ICollection<TKey>.Add(TKey item) 376void ICollection<TKey>.Clear() 381bool ICollection<TKey>.Contains(TKey item) 395bool ICollection<TKey>.IsReadOnly { 399bool ICollection<TKey>.Remove(TKey item) 456private readonly ICollection<TValue> m_collection; 460internal ValueCollection(ICollection<TValue> collection) 470void ICollection<TValue>.Add(TValue item) 475void ICollection<TValue>.Clear() 480bool ICollection<TValue>.Contains(TValue item) 494bool ICollection<TValue>.IsReadOnly { 498bool ICollection<TValue>.Remove(TValue item) 558internal static void CopyToNonGenericICollectionHelper<T>(ICollection<T> collection, Array array, int index)
System\Diagnostics\Eventing\TraceLogging\EventPayload.cs (2)
31public ICollection<string> Keys { get { return m_names; } } 32public ICollection<object> Values { get { return m_values; } }
system\runtime\compilerservices\ConditionalWeakTable.cs (2)
325internal ICollection<TKey> Keys 353internal ICollection<TValue> Values
system\runtime\interopservices\windowsruntime\dictionarykeycollection.cs (4)
52bool ICollection<TKey>.IsReadOnly { 56void ICollection<TKey>.Add(TKey item) 61void ICollection<TKey>.Clear() 71bool ICollection<TKey>.Remove(TKey item)
system\runtime\interopservices\windowsruntime\dictionaryvaluecollection.cs (4)
55bool ICollection<TValue>.IsReadOnly { 59void ICollection<TValue>.Add(TValue item) 64void ICollection<TValue>.Clear() 78bool ICollection<TValue>.Remove(TValue item)
system\runtime\interopservices\windowsruntime\maptodictionaryadapter.cs (2)
63internal ICollection<K> Keys<K, V>() 72internal ICollection<V> Values<K, V>()
system\threading\Tasks\Task.cs (4)
5993ICollection<Task> taskCollection = tasks as ICollection<Task>; 6242ICollection<Task<TResult>> taskCollection = tasks as ICollection<Task<TResult>>;
system\threading\Tasks\TaskScheduler.cs (1)
583ICollection<TaskScheduler> schedulers = s_activeTaskSchedulers.Keys;
PresentationCore (132)
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (2)
698public ICollection<int> Keys 759public ICollection<ushort> Values
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (1)
166ICollection<string> files;
Core\CSharp\MS\Internal\FontFace\CompositeFontInfo.cs (1)
367internal ICollection<XmlLanguage> FamilyMapLanguages
Core\CSharp\MS\Internal\FontFace\FontDriver.cs (1)
275internal byte[] ComputeFontSubset(ICollection<ushort> glyphs)
Core\CSharp\MS\Internal\FontFace\IFontFamily.cs (1)
111ICollection<Typeface> GetTypefaces(FontFamilyIdentifier familyIdentifier);
Core\CSharp\MS\Internal\FontFace\PhysicalFontFamily.cs (1)
480ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (2)
265ICollection<ApplicationGesture> collection = applicationGestures as ICollection<ApplicationGesture>;
Core\CSharp\MS\Internal\Shaping\CompositeFontFamily.cs (1)
275ICollection<Typeface> IFontFamily.GetTypefaces(FontFamilyIdentifier familyIdentifier)
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (1)
146SpanVector itemSpans = new SpanVector(null, new FrugalStructList<Span>((ICollection<Span>)spans));
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
3781private ICollection<IndexedGlyphRun> _indexedGlyphRuns; 3792internal ICollection<IndexedGlyphRun> IndexedGlyphRuns
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (1)
1686ICollection<TextShapeableSymbols> shapeables = null;
Core\CSharp\System\Windows\FreezableCollection.cs (4)
414bool ICollection<T>.IsReadOnly 451return ((ICollection<T>)this).IsReadOnly; 707ICollection<T> enumerableAsICollectionT = enumerable as ICollection<T>;
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (4)
311bool ICollection<TextDecoration>.IsReadOnly 348return ((ICollection<TextDecoration>)this).IsReadOnly; 936ICollection<TextDecoration> icollectionOfT = collection as ICollection<TextDecoration>;
Core\CSharp\System\Windows\Ink\Stroke.cs (2)
1185ICollection<Point> icol = ienum as ICollection<Point>;
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
915bool ICollection<Stroke>.IsReadOnly
Core\CSharp\System\Windows\Input\ManipulationLogic.cs (2)
399internal void ReportFrame(ICollection<IManipulator> manipulators) 565private void UpdateManipulators(ICollection<IManipulator> updatedManipulators)
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineCollection.cs (4)
319bool ICollection<Timeline>.IsReadOnly 356return ((ICollection<Timeline>)this).IsReadOnly; 944ICollection<Timeline> icollectionOfT = collection as ICollection<Timeline>;
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (2)
276public ICollection<int> Keys 285public ICollection<CharacterMetrics> Values
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (2)
242public ICollection<XmlLanguage> Keys 251public ICollection<string> Values
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (4)
318bool ICollection<BitmapEffect>.IsReadOnly 355return ((ICollection<BitmapEffect>)this).IsReadOnly; 943ICollection<BitmapEffect> icollectionOfT = collection as ICollection<BitmapEffect>;
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (2)
31private ICollection<Typeface> _innerList; 48internal FamilyTypefaceCollection(ICollection<Typeface> innerList)
Core\CSharp\System\Windows\Media\FontEmbeddingManager.cs (2)
103public ICollection<Uri> GlyphTypefaceUris 120public ICollection<ushort> GetUsedGlyphs(Uri glyphTypeface)
Core\CSharp\System\Windows\Media\FontFamily.cs (1)
272public ICollection<Typeface> GetTypefaces()
Core\CSharp\System\Windows\Media\Fonts.cs (11)
56public static ICollection<FontFamily> GetFontFamilies(string location) 74public static ICollection<FontFamily> GetFontFamilies(Uri baseUri) 98public static ICollection<FontFamily> GetFontFamilies(Uri baseUri, string location) 151public static ICollection<Typeface> GetTypefaces(string location) 169public static ICollection<Typeface> GetTypefaces(Uri baseUri) 192public static ICollection<Typeface> GetTypefaces(Uri baseUri, string location) 211public static ICollection<FontFamily> SystemFontFamilies 223public static ICollection<Typeface> SystemTypefaces 257private static ICollection<FontFamily> CreateFamilyCollection( 290private static ICollection<FontFamily> CreateDefaultFamilyCollection() 429private static readonly ICollection<FontFamily> _defaultFontCollection = CreateDefaultFamilyCollection();
Core\CSharp\System\Windows\Media\Generated\DoubleCollection.cs (4)
272bool ICollection<double>.IsReadOnly 309return ((ICollection<double>)this).IsReadOnly; 964ICollection<double> icollectionOfT = collection as ICollection<double>;
Core\CSharp\System\Windows\Media\Generated\DrawingCollection.cs (4)
332bool ICollection<Drawing>.IsReadOnly 369return ((ICollection<Drawing>)this).IsReadOnly; 980ICollection<Drawing> icollectionOfT = collection as ICollection<Drawing>;
Core\CSharp\System\Windows\Media\Generated\GeneralTransformCollection.cs (4)
320bool ICollection<GeneralTransform>.IsReadOnly 357return ((ICollection<GeneralTransform>)this).IsReadOnly; 945ICollection<GeneralTransform> icollectionOfT = collection as ICollection<GeneralTransform>;
Core\CSharp\System\Windows\Media\Generated\GeometryCollection.cs (4)
332bool ICollection<Geometry>.IsReadOnly 369return ((ICollection<Geometry>)this).IsReadOnly; 980ICollection<Geometry> icollectionOfT = collection as ICollection<Geometry>;
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (4)
320bool ICollection<GradientStop>.IsReadOnly 357return ((ICollection<GradientStop>)this).IsReadOnly; 1049ICollection<GradientStop> icollectionOfT = collection as ICollection<GradientStop>;
Core\CSharp\System\Windows\Media\Generated\Int32Collection.cs (4)
272bool ICollection<int>.IsReadOnly 309return ((ICollection<int>)this).IsReadOnly; 964ICollection<int> icollectionOfT = collection as ICollection<int>;
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (4)
321bool ICollection<PathFigure>.IsReadOnly 358return ((ICollection<PathFigure>)this).IsReadOnly; 1036ICollection<PathFigure> icollectionOfT = collection as ICollection<PathFigure>;
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (4)
320bool ICollection<PathSegment>.IsReadOnly 357return ((ICollection<PathSegment>)this).IsReadOnly; 945ICollection<PathSegment> icollectionOfT = collection as ICollection<PathSegment>;
Core\CSharp\System\Windows\Media\Generated\PointCollection.cs (4)
272bool ICollection<Point>.IsReadOnly 309return ((ICollection<Point>)this).IsReadOnly; 966ICollection<Point> icollectionOfT = collection as ICollection<Point>;
Core\CSharp\System\Windows\Media\Generated\TextEffectCollection.cs (4)
320bool ICollection<TextEffect>.IsReadOnly 357return ((ICollection<TextEffect>)this).IsReadOnly; 945ICollection<TextEffect> icollectionOfT = collection as ICollection<TextEffect>;
Core\CSharp\System\Windows\Media\Generated\TransformCollection.cs (4)
332bool ICollection<Transform>.IsReadOnly 369return ((ICollection<Transform>)this).IsReadOnly; 980ICollection<Transform> icollectionOfT = collection as ICollection<Transform>;
Core\CSharp\System\Windows\Media\Generated\VectorCollection.cs (4)
272bool ICollection<Vector>.IsReadOnly 309return ((ICollection<Vector>)this).IsReadOnly; 966ICollection<Vector> icollectionOfT = collection as ICollection<Vector>;
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (3)
285public byte[] ComputeSubset(ICollection<ushort> glyphs) 2133public ICollection<ushort> Keys 2157public ICollection<double> Values
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatterContext.cs (1)
285internal ICollection<IndexedGlyphRun> IndexedGlyphRuns
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (4)
316bool ICollection<GeneralTransform3D>.IsReadOnly 353return ((ICollection<GeneralTransform3D>)this).IsReadOnly; 941ICollection<GeneralTransform3D> icollectionOfT = collection as ICollection<GeneralTransform3D>;
Core\CSharp\System\Windows\Media3D\Generated\MaterialCollection.cs (4)
328bool ICollection<Material>.IsReadOnly 365return ((ICollection<Material>)this).IsReadOnly; 976ICollection<Material> icollectionOfT = collection as ICollection<Material>;
Core\CSharp\System\Windows\Media3D\Generated\Model3DCollection.cs (4)
328bool ICollection<Model3D>.IsReadOnly 365return ((ICollection<Model3D>)this).IsReadOnly; 976ICollection<Model3D> icollectionOfT = collection as ICollection<Model3D>;
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollection.cs (4)
268bool ICollection<Point3D>.IsReadOnly 305return ((ICollection<Point3D>)this).IsReadOnly; 963ICollection<Point3D> icollectionOfT = collection as ICollection<Point3D>;
Core\CSharp\System\Windows\Media3D\Generated\Transform3DCollection.cs (4)
328bool ICollection<Transform3D>.IsReadOnly 365return ((ICollection<Transform3D>)this).IsReadOnly; 976ICollection<Transform3D> icollectionOfT = collection as ICollection<Transform3D>;
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollection.cs (4)
268bool ICollection<Vector3D>.IsReadOnly 305return ((ICollection<Vector3D>)this).IsReadOnly; 963ICollection<Vector3D> icollectionOfT = collection as ICollection<Vector3D>;
Core\CSharp\System\Windows\Media3D\Visual3DCollection.cs (1)
322bool ICollection<Visual3D>.IsReadOnly
PresentationFramework (44)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (1)
499ICollection<AnnotationResource> cargos = annot.Cargos;
src\Framework\MS\Internal\Annotations\ObservableDictionary.cs (10)
160void ICollection<KeyValuePair<string, string>>.Add(KeyValuePair<string, string> pair) 162((ICollection<KeyValuePair<string, string>>)_nameValues).Add(pair); 171bool ICollection<KeyValuePair<string, string>>.Contains(KeyValuePair<string, string> pair) 173return ((ICollection<KeyValuePair<string, string>>)_nameValues).Contains(pair); 182bool ICollection<KeyValuePair<string, string>>.Remove(KeyValuePair<string, string> pair) 184return ((ICollection<KeyValuePair<string, string>>)_nameValues).Remove(pair); 194void ICollection<KeyValuePair<string,string>>.CopyTo(KeyValuePair<string, string>[] target, int startIndex) 201((ICollection<KeyValuePair<string, string>>)_nameValues).CopyTo(target, startIndex); 296public ICollection<string> Keys 308public ICollection<string> Values
src\Framework\MS\Internal\Annotations\TextAnchor.cs (5)
197internal bool IsOverlapping(ICollection<TextSegment> textSegments) 288internal static TextAnchor TrimToRelativeComplement(TextAnchor anchor, ICollection<TextSegment> textSegments) 390internal static TextAnchor TrimToIntersectionWith(TextAnchor anchor, ICollection<TextSegment> textSegments) 600private static ICollection<TextSegment> SortTextSegments(ICollection<TextSegment> textSegments, bool excludeZeroLength)
src\Framework\MS\Internal\Data\LiveShapingList.cs (1)
723ICollection<DependencyProperty> usedDPs = this.Values;
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
569/// <see cref="ICollection&lt;T&gt;.IsReadOnly"/>
src\Framework\MS\Internal\ListOfObject.cs (7)
54void ICollection<object>.Add(object item) 59void ICollection<object>.Clear() 64bool ICollection<object>.Contains(object item) 69void ICollection<object>.CopyTo(object[] array, int arrayIndex) 74int ICollection<object>.Count 79bool ICollection<object>.IsReadOnly 84bool ICollection<object>.Remove(object item)
src\Framework\MS\Internal\WeakDictionary.cs (2)
204public ICollection<TKey> Keys 237public ICollection<TValue> Values
src\Framework\System\Windows\Annotations\LocatorPart.cs (1)
408foreach (KeyValuePair<string, string> k_v in ((ICollection<KeyValuePair<string, string>>)this.NameValuePairs))
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (8)
163void ICollection<Uri>.Add(Uri item) 177void ICollection<Uri>.Clear() 186bool ICollection<Uri>.Contains(Uri item) 191void ICollection<Uri>.CopyTo(Uri[] array, int arrayIndex) 196int ICollection<Uri>.Count 204bool ICollection<Uri>.IsReadOnly 208return ((ICollection<Uri>)_uriList).IsReadOnly; 212bool ICollection<Uri>.Remove(Uri item)
src\Framework\System\Windows\Controls\TextChangedEventArgs.cs (3)
77public TextChangedEventArgs(RoutedEvent id, UndoAction action, ICollection<TextChange> changes) : base() 145public ICollection<TextChange> Changes 172private readonly ICollection<TextChange> _changes;
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
1200ICollection<FixedPage> newHighlightPages = _highlights.Keys as ICollection<FixedPage>;
src\Framework\System\Windows\Documents\TableColumnCollection.cs (1)
372/// <see cref="ICollection&lt;T&gt;.IsReadOnly"/>
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
51public override ICollection<XamlType> GetAllXamlTypes(string xamlNamespace)
src\Framework\System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
506if (typeof(ICollection<System.Windows.Data.XmlNamespaceMapping>).IsAssignableFrom(UnderlyingType)
System (47)
compmod\system\collections\generic\debugview.cs (6)
22private ICollection<T> collection; 24public System_CollectionDebugView(ICollection<T> collection) { 101private ICollection<TKey> collection; 103public System_DictionaryKeyCollectionDebugView(ICollection<TKey> collection) { 121private ICollection<TValue> collection; 123public System_DictionaryValueCollectionDebugView(ICollection<TValue> collection) {
compmod\system\collections\generic\linkedlist.cs (2)
67bool ICollection<T>.IsReadOnly { 71void ICollection<T>.Add(T value) {
compmod\system\collections\generic\sorteddictionary.cs (18)
47void ICollection<KeyValuePair<TKey,TValue>>.Add(KeyValuePair<TKey,TValue> keyValuePair) { 51bool ICollection<KeyValuePair<TKey,TValue>>.Contains(KeyValuePair<TKey,TValue> keyValuePair) { 65bool ICollection<KeyValuePair<TKey,TValue>>.Remove(KeyValuePair<TKey,TValue> keyValuePair) { 78bool ICollection<KeyValuePair<TKey,TValue>>.IsReadOnly { 131ICollection<TKey> IDictionary<TKey, TValue>.Keys { 150ICollection<TValue> IDictionary<TKey, TValue>.Values { 530bool ICollection<TKey>.IsReadOnly { 534void ICollection<TKey>.Add(TKey item){ 538void ICollection<TKey>.Clear(){ 542bool ICollection<TKey>.Contains(TKey item){ 546bool ICollection<TKey>.Remove(TKey item){ 685bool ICollection<TValue>.IsReadOnly { 689void ICollection<TValue>.Add(TValue item){ 693void ICollection<TValue>.Clear(){ 697bool ICollection<TValue>.Contains(TValue item){ 701bool ICollection<TValue>.Remove(TValue item){ 794public TreeSet(ICollection<T> collection) : base(collection) { } 796public TreeSet(ICollection<T> collection, IComparer<T> comparer) : base(collection, comparer) { }
compmod\system\collections\generic\sortedlist.cs (7)
185void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair) { 189bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> keyValuePair) { 197bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> keyValuePair) { 287ICollection<TKey> IDictionary<TKey,TValue>.Keys { 315ICollection<TValue> IDictionary<TKey,TValue>.Values { 345bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly { 406void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) {
compmod\system\collections\generic\sortedset.cs (4)
304bool ICollection<T>.IsReadOnly { 348void ICollection<T>.Add(T item) { 1530if ((other as ICollection<T> != null) && (other as ICollection<T>).Count == 0)
compmod\system\collections\generic\stack.cs (2)
71ICollection<T> c = collection as ICollection<T>;
compmod\system\collections\specialized\stringdictionary.cs (8)
259public ICollection<string> Keys { 269public ICollection<string> Values { 305void ICollection<KeyValuePair<string, string>>.Add(KeyValuePair<string, string> item) { 309bool ICollection<KeyValuePair<string, string>>.Contains(KeyValuePair<string, string> item) { 314void ICollection<KeyValuePair<string, string>>.CopyTo(KeyValuePair<string, string>[] array, int arrayIndex) { 329bool ICollection<KeyValuePair<string,string>>.IsReadOnly { 339bool ICollection<KeyValuePair<string, string>>.Remove(KeyValuePair<string, string> item) { 342ICollection<KeyValuePair<string, string>> iCollection = this;
System.Activities (41)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (3)
1342static ParameterExpression FindParameter(ICollection<Expression> collection) 1355static ParameterExpression FindParameter(ICollection<ElementInit> collection) 1368static ParameterExpression FindParameter(ICollection<MemberBinding> bindings)
System\Activities\ActivityUtilities.cs (1)
90typeof(ICollection<>)
System\Activities\Debugger\SourceLocationProvider.cs (1)
378public static ICollection<ActivitySymbol> GetSymbols(Activity rootActivity, Dictionary<object, SourceLocation> sourceLocations)
System\Activities\Debugger\Symbol\WorkflowSymbol.cs (1)
22public ICollection<ActivitySymbol> Symbols { get; set; }
System\Activities\DurableInstancing\SaveWorkflowCommand.cs (2)
46public ICollection<Guid> InstanceKeysToComplete 58public ICollection<Guid> InstanceKeysToFree
System\Activities\Hosting\SymbolResolver.cs (2)
33public ICollection<string> Keys 38public ICollection<object> Values
System\Activities\Hosting\WorkflowInstance.cs (2)
476protected internal abstract void OnDisassociateKeys(ICollection<InstanceKey> keys); 478protected internal abstract IAsyncResult OnBeginAssociateKeys(ICollection<InstanceKey> keys, AsyncCallback callback, object state);
System\Activities\HybridDictionary.cs (2)
45public ICollection<TValue> Values 62public ICollection<TKey> Keys
System\Activities\Runtime\ActivityExecutor.cs (3)
1980internal IAsyncResult BeginAssociateKeys(ICollection<InstanceKey> keysToAssociate, AsyncCallback callback, object state) 1990internal void DisassociateKeys(ICollection<InstanceKey> keysToDisassociate) 4455public AssociateKeysAsyncResult(ActivityExecutor executor, ICollection<InstanceKey> keysToAssociate, AsyncCallback callback, object state)
System\Activities\Runtime\BookmarkScopeManager.cs (4)
339public ICollection<InstanceKey> GetKeysToAssociate() 346ICollection<InstanceKey> result = this.keysToAssociate; 351public ICollection<InstanceKey> GetKeysToDisassociate() 358ICollection<InstanceKey> result = this.keysToDisassociate;
System\Activities\Runtime\WorkItem.cs (2)
273ICollection<InstanceKey> keysToDisassociate = executor.BookmarkScopeManager.GetKeysToDisassociate(); 280ICollection<InstanceKey> keysToAssociate = executor.BookmarkScopeManager.GetKeysToAssociate();
System\Activities\Statements\AddToCollection.cs (3)
21public InArgument<ICollection<T>> Collection 40RuntimeArgument collectionArgument = new RuntimeArgument("Collection", typeof(ICollection<T>), ArgumentDirection.In, true); 53ICollection<T> collection = this.Collection.Get(context);
System\Activities\Statements\ClearCollection.cs (3)
21public InArgument<ICollection<T>> Collection 30RuntimeArgument collectionArgument = new RuntimeArgument("Collection", typeof(ICollection<T>), ArgumentDirection.In, true); 38ICollection<T> collection = this.Collection.Get(context);
System\Activities\Statements\ExistsInCollection.cs (3)
21public InArgument<ICollection<T>> Collection 38RuntimeArgument collectionArgument = new RuntimeArgument("Collection", typeof(ICollection<T>), ArgumentDirection.In, true); 54ICollection<T> collection = this.Collection.Get(context);
System\Activities\Statements\FlowNode.cs (1)
78internal void GetChildActivities(ICollection<Activity> children)
System\Activities\Statements\RemoveFromCollection.cs (3)
21public InArgument<ICollection<T>> Collection 38RuntimeArgument collectionArgument = new RuntimeArgument("Collection", typeof(ICollection<T>), ArgumentDirection.In, true); 58ICollection<T> collection = this.Collection.Get(context);
System\Activities\Tracking\ActivityStateRecord.cs (3)
213internal IDictionary<string, object> GetVariables(ICollection<string> variables) 279internal IDictionary<string, object> GetArguments(ICollection<string> arguments) 324bool TrackData(string name, int id, ActivityInstance currentInstance, ICollection<string> data, bool wildcard, ref Dictionary<string, object> trackedData)
System\Activities\WorkflowApplication.cs (2)
2503protected internal override IAsyncResult OnBeginAssociateKeys(ICollection<InstanceKey> keys, AsyncCallback callback, object state) 2513protected internal override void OnDisassociateKeys(ICollection<InstanceKey> keys)
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
533bool isSenderElementSelected = (((Selection)this.Context.Items.GetValue<Selection>()).SelectedObjects as ICollection<ModelItem>).Contains(senderElement.ModelItem);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
1261isSelected = (((Selection)this.Context.Items.GetValue<Selection>()).SelectedObjects as ICollection<ModelItem>).Contains(((VirtualizedContainerService.VirtualizingContainer)element).ModelItem);
System.Activities.DurableInstancing (7)
System\Activities\DurableInstancing\BinaryHeap.cs (4)
102public ICollection<KeyValuePair<TKey, TValue>> RemoveAll(Predicate<KeyValuePair<TKey, TValue>> func) 104ICollection<KeyValuePair<TKey, TValue>> result = new List<KeyValuePair<TKey, TValue>>(); 152public ICollection<KeyValuePair<TKey, TValue>> TakeWhile(Predicate<TKey> func) 154ICollection<KeyValuePair<TKey, TValue>> result = new List<KeyValuePair<TKey, TValue>>();
System\Activities\DurableInstancing\CorrelationKey.cs (1)
62public static List<CorrelationKey> BuildKeyList(ICollection<Guid> keys)
System\Activities\DurableInstancing\LoadRetryHandler.cs (2)
47ICollection<KeyValuePair<DateTime, LoadRetryAsyncResult>> result; 71ICollection<KeyValuePair<DateTime, LoadRetryAsyncResult>> retryList;
System.Activities.Presentation (36)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ResolverResult.cs (3)
21public ResolverResult(ICollection<string> newProperties) 26private ResolverResult(XamlTypeKind kind, ICollection<string> newProperties) 46public ICollection<string> NewProperties { get; private set; }
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlTypeWithExtraPropertiesRemoved.cs (2)
16private ICollection<string> propertiesToBeRemoved; 18public XamlTypeWithExtraPropertiesRemoved(Type underlyingType, XamlSchemaContext schemaContext, ICollection<string> propertiesToBeRemoved)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
286internal ICollection<ModelProperty> ModelPropertySet
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (3)
53public static IEnumerable<IList<ModelProperty>> GetMergedSubProperties(ICollection<ModelProperty> parentProperties) 277private ICollection<ModelProperty> _parentProperties; 279public SubPropertyExpander(ICollection<ModelProperty> parentProperties)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelUtilities.cs (1)
213interfaceType.GetGenericTypeDefinition() == typeof(ICollection<>))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (1)
279public static ICollection<T> PrunVisualTree<T>(Visual root) where T : DependencyObject
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (6)
99public abstract ICollection<ModelItem> Keys { get; } 114public abstract ICollection<ModelItem> Values { get; } 403void ICollection<KeyValuePair<ModelItem, ModelItem>>.Add(KeyValuePair<ModelItem, ModelItem> item) { 407bool ICollection<KeyValuePair<ModelItem, ModelItem>>.Contains(KeyValuePair<ModelItem, ModelItem> item) { 411void ICollection<KeyValuePair<ModelItem, ModelItem>>.CopyTo(KeyValuePair<ModelItem, ModelItem>[] array, int arrayIndex) { 421bool ICollection<KeyValuePair<ModelItem, ModelItem>>.Remove(KeyValuePair<ModelItem, ModelItem> item) {
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
368internal static void ValidateItemsAreOnView(IList<ModelItem> items, ICollection<ModelItem> modelItemsOnView)
System.Activities.Presentation\System\Activities\Presentation\Model\GraphManager.cs (3)
28ICollection<TVertex> reachableVertices = this.CalculateReachableVertices(true); 57protected ICollection<TVertex> CalculateReachableVertices(bool verifyBackPointers = false) 240ICollection<TVertex> reachableVertices = new HashSet<TVertex>(ObjectReferenceEqualityComparer<TVertex>.Default);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (3)
237public override ICollection<ModelItem> Keys 242public override ICollection<ModelItem> Values 1145type.GetGenericTypeDefinition() == typeof(ICollection<>))
System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (2)
39public ICollection<K> Keys 59public ICollection<V> Values
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategory.cs (1)
51public ICollection<ToolboxItemWrapper> Tools
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
86get { return ((ICollection<ToolboxCategory>)this.categories).IsReadOnly; }
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (5)
55ICollection<ValidationError> errors; 60public ErrorsMarkedEventArgs(ICollection<ValidationError> errors, 71public ICollection<ValidationError> Errors 597private bool MarkErrors(ICollection<ValidationError> errors, ValidationReason reason, Activity rootActivity) 700private bool HandleErrorsMarked(ICollection<ValidationError> errors, ValidationReason reason)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
1134ICollection<object> toBeDeleted = new HashSet<object>();
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
144ICollection<WorkflowViewElement> deepElements = VisualTreeUtils.PrunVisualTree<WorkflowViewElement>(this.RootDesigner);
System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (1)
26private ICollection<ModelItem> _selectedObjects;
System.AddIn (4)
System\Addin\Hosting\ReadOnlyDictionary.cs (2)
64public ICollection<TKey> Keys 71public ICollection<TValue> Values
System\Addin\MiniReflection\TypeInfo.cs (2)
52private static volatile ICollection<String> Warnings; 229internal static void SetWarnings(ICollection<String> warnings)
System.ComponentModel.DataAnnotations (6)
DataAnnotations\Validator.cs (6)
40public static bool TryValidateProperty(object value, ValidationContext validationContext, ICollection<ValidationResult> validationResults) { 82public static bool TryValidateObject(object instance, ValidationContext validationContext, ICollection<ValidationResult> validationResults) { 113public static bool TryValidateObject(object instance, ValidationContext validationContext, ICollection<ValidationResult> validationResults, bool validateAllProperties) { 159public static bool TryValidateValue(object value, ValidationContext validationContext, ICollection<ValidationResult> validationResults, IEnumerable<ValidationAttribute> validationAttributes) { 388ICollection<KeyValuePair<ValidationContext, object>> properties = GetPropertyValues(instance, validationContext); 427private static ICollection<KeyValuePair<ValidationContext, object>> GetPropertyValues(object instance, ValidationContext validationContext) {
System.Configuration (11)
System\Configuration\ConfigurationErrorsException.cs (4)
91internal ConfigurationErrorsException(ICollection<ConfigurationException> coll) : 115static private ConfigurationException GetFirstException(ICollection<ConfigurationException> coll) { 294internal ICollection<ConfigurationException> ErrorsGeneric { 296return (ICollection<ConfigurationException>) this.Errors;
System\Configuration\ConfigurationSchemaErrors.cs (1)
134internal void AddSavedLocalErrors(ICollection<ConfigurationException> coll) {
System\Configuration\ErrorsHelper.cs (2)
35ICollection<ConfigurationException> col = ce.ErrorsGeneric; 45static internal void AddErrors(ref List<ConfigurationException> errors, ICollection<ConfigurationException> coll) {
System\Configuration\FactoryRecord.cs (2)
54ICollection<ConfigurationException> errors) { 309internal void AddErrors(ICollection<ConfigurationException> coll) {
System\Configuration\LocationSectionRecord.cs (1)
39internal ICollection<ConfigurationException> Errors {
System\Configuration\SectionInput.cs (1)
113internal ICollection<ConfigurationException> Errors {
System.Core (62)
Microsoft\Scripting\Actions\ExpandoObject.cs (13)
297private ICollection<string> collection; 298public KeyCollectionDebugView(ICollection<string> collection) { 413private ICollection<object> collection; 414public ValueCollectionDebugView(ICollection<object> collection) { 540ICollection<string> IDictionary<string, object>.Keys { 546ICollection<object> IDictionary<string, object>.Values { 592int ICollection<KeyValuePair<string, object>>.Count { 598bool ICollection<KeyValuePair<string, object>>.IsReadOnly { 602void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> item) { 606void ICollection<KeyValuePair<string, object>>.Clear() { 626bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> item) { 635void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] array, int arrayIndex) { 647bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> item) {
Microsoft\Scripting\Ast\MemberBinding.cs (1)
37/// A binding that represents initializing a member of type <see cref="System.Collections.IList"/> or <see cref="System.Collections.Generic.ICollection{T}"/> from a list of elements.
Microsoft\Scripting\Utils\CollectionExtensions.cs (5)
67var collection = enumerable as ICollection<T>; 96internal static bool ListEquals<T>(this ICollection<T> first, ICollection<T> second) { 120internal static U[] Map<T, U>(this ICollection<T> collection, Func<T, U> select) {
Microsoft\Scripting\Utils\ContractUtils.cs (1)
62internal static void RequiresNotEmpty<T>(ICollection<T> collection, string paramName) {
Microsoft\Scripting\Utils\ReadOnlyCollectionBuilder.cs (3)
76ICollection<T> c = collection as ICollection<T>; 246bool ICollection<T>.IsReadOnly {
System\Collections\Generic\HashSet.cs (14)
144ICollection<T> coll = collection as ICollection<T>; 231void ICollection<T>.Add(T item) { 333bool ICollection<T>.IsReadOnly { 509ICollection<T> otherAsCollection = other as ICollection<T>; 656ICollection<T> otherAsCollection = other as ICollection<T>; 699ICollection<T> otherAsCollection = other as ICollection<T>; 749ICollection<T> otherAsCollection = other as ICollection<T>; 821ICollection<T> otherAsCollection = other as ICollection<T>;
System\Diagnostics\Eventing\Reader\EventLogPropertySelector.cs (2)
48ICollection<string> coll = propertyQueries as ICollection<string>;
System\Linq\Enumerable.cs (13)
1316ICollection<TSource> collectionoft = source as ICollection<TSource>; 1365ICollection<TSource> collection = source as ICollection<TSource>; 2327int ICollection<TElement>.Count { 2331bool ICollection<TElement>.IsReadOnly { 2335void ICollection<TElement>.Add(TElement item) { 2339void ICollection<TElement>.Clear() { 2343bool ICollection<TElement>.Contains(TElement item) { 2347void ICollection<TElement>.CopyTo(TElement[] array, int arrayIndex) { 2351bool ICollection<TElement>.Remove(TElement item) { 2672ICollection<TElement> collection = source as ICollection<TElement>;
System\Linq\Parallel\QueryOperators\QueryResults.cs (6)
115void ICollection<T>.Add(T item) 120void ICollection<T>.Clear() 125bool ICollection<T>.Contains(T item) 130void ICollection<T>.CopyTo(T[] array, int arrayIndex) 140bool ICollection<T>.IsReadOnly 145bool ICollection<T>.Remove(T item)
System\Linq\ParallelEnumerable.cs (4)
1922ICollection<TSource> sourceAsCollection = sourceAsWrapper.WrappedEnumerable as ICollection<TSource>; 1995ICollection<TSource> sourceAsCollection = sourceAsWrapper.WrappedEnumerable as ICollection<TSource>;
System.Data (43)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ResolverResult.cs (3)
21public ResolverResult(ICollection<string> newProperties) 26private ResolverResult(XamlTypeKind kind, ICollection<string> newProperties) 46public ICollection<string> NewProperties { get; private set; }
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\XamlTypeWithExtraPropertiesRemoved.cs (2)
16private ICollection<string> propertiesToBeRemoved; 18public XamlTypeWithExtraPropertiesRemoved(Type underlyingType, XamlSchemaContext schemaContext, ICollection<string> propertiesToBeRemoved)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
286internal ICollection<ModelProperty> ModelPropertySet
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (3)
53public static IEnumerable<IList<ModelProperty>> GetMergedSubProperties(ICollection<ModelProperty> parentProperties) 277private ICollection<ModelProperty> _parentProperties; 279public SubPropertyExpander(ICollection<ModelProperty> parentProperties)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelUtilities.cs (1)
213interfaceType.GetGenericTypeDefinition() == typeof(ICollection<>))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (1)
279public static ICollection<T> PrunVisualTree<T>(Visual root) where T : DependencyObject
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItemDictionary.cs (6)
99public abstract ICollection<ModelItem> Keys { get; } 114public abstract ICollection<ModelItem> Values { get; } 403void ICollection<KeyValuePair<ModelItem, ModelItem>>.Add(KeyValuePair<ModelItem, ModelItem> item) { 407bool ICollection<KeyValuePair<ModelItem, ModelItem>>.Contains(KeyValuePair<ModelItem, ModelItem> item) { 411void ICollection<KeyValuePair<ModelItem, ModelItem>>.CopyTo(KeyValuePair<ModelItem, ModelItem>[] array, int arrayIndex) { 421bool ICollection<KeyValuePair<ModelItem, ModelItem>>.Remove(KeyValuePair<ModelItem, ModelItem> item) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
368internal static void ValidateItemsAreOnView(IList<ModelItem> items, ICollection<ModelItem> modelItemsOnView)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\GraphManager.cs (3)
28ICollection<TVertex> reachableVertices = this.CalculateReachableVertices(true); 57protected ICollection<TVertex> CalculateReachableVertices(bool verifyBackPointers = false) 240ICollection<TVertex> reachableVertices = new HashSet<TVertex>(ObjectReferenceEqualityComparer<TVertex>.Default);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (3)
237public override ICollection<ModelItem> Keys 242public override ICollection<ModelItem> Values 1145type.GetGenericTypeDefinition() == typeof(ICollection<>))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\WeakKeyDictionary.cs (2)
39public ICollection<K> Keys 59public ICollection<V> Values
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategory.cs (1)
51public ICollection<ToolboxItemWrapper> Tools
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxCategoryItems.cs (1)
86get { return ((ICollection<ToolboxCategory>)this.categories).IsReadOnly; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (5)
55ICollection<ValidationError> errors; 60public ErrorsMarkedEventArgs(ICollection<ValidationError> errors, 71public ICollection<ValidationError> Errors 597private bool MarkErrors(ICollection<ValidationError> errors, ValidationReason reason, Activity rootActivity) 700private bool HandleErrorsMarked(ICollection<ValidationError> errors, ValidationReason reason)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
1134ICollection<object> toBeDeleted = new HashSet<object>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
144ICollection<WorkflowViewElement> deepElements = VisualTreeUtils.PrunVisualTree<WorkflowViewElement>(this.RootDesigner);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (1)
26private ICollection<ModelItem> _selectedObjects;
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (2)
204System.Collections.Generic.ICollection<string> keys = (System.Collections.Generic.ICollection<string>)Keys;
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (5)
180bool ICollection<T>.IsReadOnly { 184void ICollection<T>.Add(T value) { 188void ICollection<T>.Clear() { 192bool ICollection<T>.Contains(T value) { 196bool ICollection<T>.Remove(T value) {
System.Data.Entity (46)
System\Data\Common\EntitySql\TypeResolver.cs (1)
212internal ICollection<MetadataNamespace> NamespaceImports
System\Data\Common\EntityUtil.cs (10)
131return typeof(ICollection<>).IsAssignableFrom(type.GetGenericTypeDefinition()) || 132type.GetInterface(typeof(ICollection<>).FullName) != null; 151(collectionType.IsGenericType && typeof(ICollection<>).IsAssignableFrom(collectionType.GetGenericTypeDefinition())) ? 153collectionType.GetInterface(typeof(ICollection<>).FullName); 181typeof(ICollection<>))); 1790ICollection<T> collection = GetCheapestSafeEnumerableAsCollection(ref enumerable); 1794private static ICollection<T> GetCheapestSafeEnumerableAsCollection<T>(ref IEnumerable<T> enumerable) 1796ICollection<T> collection = enumerable as ICollection<T>; 1805return enumerable as ICollection<T>;
System\Data\Common\Internal\Materialization\Coordinator.cs (1)
188private ICollection<T> _elements;
System\Data\Common\Internal\Materialization\CoordinatorFactory.cs (2)
189internal readonly Func<Shaper, ICollection<TElement>> InitializeCollection; 221: Translator.Compile<ICollection<TElement>>(initializeCollection);
System\Data\Common\Internal\Materialization\Translator.cs (1)
1899typeof(ICollection<>).MakeGenericType(innerElementType));
System\Data\EntityModel\SchemaObjectModel\IRelationshipEnd.cs (1)
38ICollection<OnOperation> Operations { get; }
System\Data\EntityModel\SchemaObjectModel\RelationshipEnd.cs (1)
69public ICollection<OnOperation> Operations
System\Data\Metadata\Edm\MetadataCollection.cs (2)
423bool ICollection<T>.Remove(T item) 442void ICollection<T>.Clear()
System\Data\Metadata\MetadataArtifactLoader.cs (2)
64ICollection<string> uriRegistry) 84ICollection<string> uriRegistry,
System\Data\Metadata\MetadataArtifactLoaderCompositeFile.cs (3)
40private readonly ICollection<string> _uriRegistry; 48public MetadataArtifactLoaderCompositeFile(string path, ICollection<string> uriRegistry) 261private static List<MetadataArtifactLoaderFile> GetArtifactsInDirectory(string directory, string extension, ICollection<string> uriRegistry)
System\Data\Metadata\MetadataArtifactLoaderCompositeResource.cs (6)
44internal MetadataArtifactLoaderCompositeResource(string originalPath, string assemblyName, string resourceName, ICollection<string> uriRegistry, MetadataArtifactAssemblyResolver resolver) 158private static List<MetadataArtifactLoaderResource> LoadResources(string assemblyName, string resourceName, ICollection<string> uriRegistry, MetadataArtifactAssemblyResolver resolver) 212private static void LoadResourcesFromAssembly(Assembly assembly, string resourceName, ICollection<string> uriRegistry, List<MetadataArtifactLoaderResource> loaders, MetadataArtifactAssemblyResolver resolver) 228private static void LoadAllResourcesFromAssembly(Assembly assembly, ICollection<string> uriRegistry, List<MetadataArtifactLoaderResource> loaders, MetadataArtifactAssemblyResolver resolver) 239private static void CreateAndAddSingleResourceLoader(Assembly assembly, string resourceName, ICollection<string> uriRegistry, List<MetadataArtifactLoaderResource> loaders) 292internal static MetadataArtifactLoader CreateResourceLoader(string path, ExtensionCheck extensionCheck, string validExtension, ICollection<string> uriRegistry, MetadataArtifactAssemblyResolver resolver)
System\Data\Metadata\MetadataArtifactLoaderFile.cs (1)
47public MetadataArtifactLoaderFile(string path, ICollection<string> uriRegistry)
System\Data\Metadata\MetadataArtifactLoaderResource.cs (1)
33internal MetadataArtifactLoaderResource(Assembly assembly, string resourceName, ICollection<string> uriRegistry)
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
1307ICollection<KeyValuePair<object, IntBox>> values = properties.Values;
System\Data\Objects\ELinq\ELinqQueryState.cs (1)
289bool wasLocked = ((ICollection<ObjectParameter>)this.Parameters).IsReadOnly;
System\Data\Objects\ELinq\InitializerFacet.cs (1)
531typeof(EntityCollection<>), typeof(ICollection<>),
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
76if (linq.Method.IsImplementationOfGenericInterfaceMethod(typeof(ICollection<>), out genericArguments))
System\Data\Objects\ELinq\Translator.cs (1)
485candidateType.GetGenericTypeDefinition().Equals(typeof(System.Collections.Generic.ICollection<>)))
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
1107clrProperty.PropertyType.GetGenericTypeDefinition() == typeof(ICollection<>))
System\Data\Objects\Internal\PocoPropertyAccessorStrategy.cs (6)
185Type collectionType = typeof(ICollection<>).MakeGenericType(elementType); 196ICollection<T> collection = (ICollection<T>)collectionArg; 245Type collectionType = typeof(ICollection<>).MakeGenericType(elementType); 255ICollection<T> collection = (ICollection<T>)collectionArg;
System\Data\Objects\ObjectParameterCollection.cs (2)
109bool ICollection<ObjectParameter>.IsReadOnly 357return ((System.Collections.Generic.ICollection<ObjectParameter>)this._parameters).GetEnumerator();
System.Data.Entity.Design (8)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (4)
1097ICollection<string>/*primaryKeys*/, 1148ICollection<string> primaryKeys, 1275ICollection<string> primaryKeys, 1466private bool InferKeyColumns(LoadMethodSessionState session, IList<TableDetailsRow> columns, List<string> pKeys, DbObjectKey tableKey, ref ICollection<string> primaryKeys)
System\Data\Entity\Design\EntityStoreSchemaGenerator\EntityStoreSchemaGenerator.LoadMethodSessionState.cs (2)
180AddErrorsForType(type, (ICollection<EdmSchemaError>)errors); 183internal void AddErrorsForType(EdmType type, ICollection<EdmSchemaError> errors)
System\Data\EntityModel\EdmToObjectNamespaceMap.cs (1)
48public ICollection<string> EdmNamespaces
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
862CodeTypeReference typeRef = typeReference.ForType(typeof(System.Collections.Generic.ICollection<>), baseType);
System.Data.Linq (7)
ChangeConflicts.cs (2)
33bool ICollection<ObjectChangeConflict>.IsReadOnly { 37void ICollection<ObjectChangeConflict>.Add(ObjectChangeConflict item) {
SqlClient\Query\SqlNamer.cs (3)
91var reservedNames = this.GetColumnNames(select.OrderBy); 112private bool IsUniqueName(List<SqlColumn> columns, ICollection<string> reservedNames, SqlColumn c, string name) { 218ICollection<string> GetColumnNames(IEnumerable<SqlOrderExpression> orderList)
SqlClient\Reader\ObjectReaderCompiler.cs (1)
1754typeof(ICollection<>).MakeGenericType(elemType).IsAssignableFrom(expectedType) &&
Types.cs (1)
619bool ICollection<TEntity>.IsReadOnly {
System.Data.Services (12)
System\Data\Services\DataService.cs (2)
186void IDataService.InternalApplyingExpansions(IQueryable queryable, ICollection<ExpandSegmentCollection> expandPaths) 2209public void InternalApplyingExpansions(IQueryable queryable, ICollection<ExpandSegmentCollection> expandPaths)
System\Data\Services\Epm\EpmContentSerializer.cs (1)
348internal ICollection<EpmNullValuedPropertyNode> Children
System\Data\Services\IDataService.cs (1)
93void InternalApplyingExpansions(IQueryable queryable, ICollection<ExpandSegmentCollection> expandPaths);
System\Data\Services\IExpandProvider.cs (1)
40IEnumerable ApplyExpansions(IQueryable queryable, ICollection<ExpandSegmentCollection> expandPaths);
System\Data\Services\Internal\NeedSkipTokenVisitor.cs (1)
100internal static ICollection<ResourceProperty> CollectSkipTokenProperties(OrderingInfo orderingInfo, ResourceType rt)
System\Data\Services\RequestDescription.cs (1)
307internal ICollection<ResourceProperty> SkipTokenProperties
System\Data\Services\Serializers\Serializer.cs (2)
1213private ICollection<ResourceProperty> properties; 1222public SkipTokenBuilderFromProperties(object element, DataServiceProviderWrapper provider, ICollection<ResourceProperty> properties)
System\Data\Services\WebUtil.cs (3)
898internal static string GetETagValue(object resource, ResourceType resourceType, ICollection<ResourceProperty> etagProperties, IDataService service, bool getMethod) 960ICollection<ResourceProperty> etagProperties = service.Provider.GetETagProperties(container.Name, resourceType); 1071ICollection<ResourceProperty> etagProperties = service.Provider.GetETagProperties(container.Name, resourceType);
System.Data.Services.Client (8)
System\Data\Services\Client\ALinq\ResourceBinder.cs (2)
306private static bool CollectionContentsEqual<T>(ICollection<T> left, ICollection<T> right, IEqualityComparer<T> comparer) where T : class
System\Data\Services\Client\AtomMaterializer.cs (1)
756Type collectionType = ClientType.GetImplementationType(segment.ProjectionType, typeof(ICollection<>));
System\Data\Services\Client\ClientType.cs (3)
574return GetCollectionMethod(collectionType, typeof(ICollection<>), "Add", out type); 585return GetCollectionMethod(collectionType, typeof(ICollection<>), "Remove", out type); 900this.containsMethod = GetCollectionMethod(this.PropertyType, typeof(ICollection<>), "Contains", out this.CollectionType);
System\Data\Services\Client\DataServiceContext.cs (1)
2080ICollection<string> headers;
System\Data\Services\Client\MaterializeFromAtom.cs (1)
244implementationType = ClientType.GetImplementationType(elementType, typeof(ICollection<>));
System.Data.Services.Design (2)
System\Data\EntityModel\EdmToObjectNamespaceMap.cs (1)
45public ICollection<string> EdmNamespaces
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
785CodeTypeReference typeRef = typeReference.ForType(typeof(System.Collections.Generic.ICollection<>), baseType);
System.Data.SqlXml (11)
System\Xml\Xsl\IlGen\GenerateHelper.cs (1)
103IListCount = XmlILMethods.GetMethod(typeof(ICollection<>).MakeGenericType(storageType), "get_Count");
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (10)
165bool ICollection<T>.IsReadOnly { 172void ICollection<T>.Add(T value) { 179void ICollection<T>.Clear() { 201bool ICollection<T>.Remove(T value) { 604bool ICollection<XPathItem>.IsReadOnly { 611void ICollection<XPathItem>.Add(XPathItem value) { 618void ICollection<XPathItem>.Clear() { 625bool ICollection<XPathItem>.Contains(XPathItem value) { 632void ICollection<XPathItem>.CopyTo(XPathItem[] array, int index) { 640bool ICollection<XPathItem>.Remove(XPathItem value) {
System.IdentityModel (34)
System\IdentityModel\ImmutableCollection.cs (1)
64bool ICollection<T>.IsReadOnly
System\IdentityModel\Metadata\ApplicationServiceDescriptor.cs (2)
29public ICollection<EndpointReference> Endpoints 37public ICollection<EndpointReference> PassiveRequestorEndpoints
System\IdentityModel\Metadata\ContactPerson.cs (2)
50public ICollection<string> EmailAddresses 76public ICollection<string> TelephoneNumbers
System\IdentityModel\Metadata\EntitiesDescriptor.cs (2)
60public ICollection<EntityDescriptor> ChildEntities 68public ICollection<EntitiesDescriptor> ChildEntityGroups
System\IdentityModel\Metadata\EntityDescriptor.cs (2)
41public ICollection<ContactPerson> Contacts 76public ICollection<RoleDescriptor> RoleDescriptors
System\IdentityModel\Metadata\IdentityProviderSingleSignOnDescriptor.cs (2)
30public ICollection<ProtocolEndpoint> SingleSignOnServices 38public ICollection<Saml2Attribute> SupportedAttributes
System\IdentityModel\Metadata\KeyDescriptor.cs (1)
58public ICollection<EncryptionMethod> EncryptionMethods
System\IdentityModel\Metadata\RoleDescriptor.cs (3)
43public ICollection<ContactPerson> Contacts 60public ICollection<KeyDescriptor> Keys 77public ICollection<Uri> ProtocolsSupported
System\IdentityModel\Metadata\SingleSignOnDescriptor.cs (1)
29public ICollection<Uri> NameIdentifierFormats
System\IdentityModel\Metadata\WebServiceDescriptor.cs (4)
33public ICollection<DisplayClaim> ClaimTypesOffered 41public ICollection<DisplayClaim> ClaimTypesRequested 67public ICollection<EndpointReference> TargetScopes 75public ICollection<Uri> TokenTypesOffered
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (7)
1155ICollection<Saml2Attribute> collectedAttributes = this.CollectAttributeValues(attributes); 1170/// <returns>A <see cref="ICollection{T}"/> of <see cref="Saml2Attribute"/> with common attributes collected into value lists.</returns> 1171protected virtual ICollection<Saml2Attribute> CollectAttributeValues(ICollection<Saml2Attribute> attributes) 1203/// <param name="attributes">A <see cref="ICollection{T}"/> of <see cref="Saml2Attribute"/>.</param> 1205protected virtual void AddDelegateToAttributes(ClaimsIdentity subject, ICollection<Saml2Attribute> attributes, SecurityTokenDescriptor tokenDescriptor) 1234ICollection<Saml2Attribute> collectedAttributes = this.CollectAttributeValues(actingAsAttributes);
System\IdentityModel\Tokens\SamlAssertion.cs (1)
695static internal void AddSamlClaimTypes(ICollection<Type> knownClaimTypes)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (5)
457ICollection<SamlAttribute> collectedAttributes = CollectAttributeValues(attributes); 473protected virtual ICollection<SamlAttribute> CollectAttributeValues(ICollection<SamlAttribute> attributes) 510ICollection<SamlAttribute> attributes, 539ICollection<SamlAttribute> collectedAttributes = CollectAttributeValues(actingAsAttributes);
System\IdentityModel\X509Util.cs (1)
190ICollection<Claim> claimsCollection = new Collection<Claim>();
System.Runtime.DurableInstancing (2)
System\Runtime\PersistencePipeline.cs (2)
252public ICollection<XName> Keys 264public ICollection<object> Values
System.Runtime.Serialization (28)
System\Runtime\Serialization\CodeExporter.cs (3)
920internal ICollection<CodeTypeReference> GetKnownTypeReferences(DataContract dataContract) 926ICollection<DataContract> knownTypeContracts = knownTypeDictionary.Values; 1012ICollection<DataContract> knownTypeContracts = knownContractDictionary.Values;
System\Runtime\Serialization\DataContractSet.cs (4)
23ICollection<Type> referencedTypes; 24ICollection<Type> referencedCollectionTypes; 31internal DataContractSet(IDataContractSurrogate dataContractSurrogate, ICollection<Type> referencedTypes, ICollection<Type> referencedCollectionTypes)
System\Runtime\Serialization\Globals.cs (1)
895typeOfICollectionGeneric = typeof(ICollection<>);
System\Runtime\Serialization\ImportOptions.cs (4)
20ICollection<Type> referencedTypes; 21ICollection<Type> referencedCollectionTypes; 50public ICollection<Type> ReferencedTypes 62public ICollection<Type> ReferencedCollectionTypes
System\Runtime\Serialization\SchemaImporter.cs (4)
26ICollection<XmlQualifiedName> typeNames; 27ICollection<XmlSchemaElement> elements; 39internal SchemaImporter(XmlSchemaSet schemas, ICollection<XmlQualifiedName> typeNames, ICollection<XmlSchemaElement> elements, XmlQualifiedName[] elementTypeNames, DataContractSet dataContractSet, bool importXmlDataType)
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
419public void IncrementCollectionCountGeneric<T>(XmlWriterDelegator xmlWriter, ICollection<T> collection)
System\Runtime\Serialization\XsdDataContractExporter.cs (4)
95public void Export(ICollection<Assembly> assemblies) 130public void Export(ICollection<Type> types) 277public bool CanExport(ICollection<Assembly> assemblies) 314public bool CanExport(ICollection<Type> types)
System\Runtime\Serialization\XsdDataContractImporter.cs (7)
88public void Import(XmlSchemaSet schemas, ICollection<XmlQualifiedName> typeNames) 134public bool CanImport(XmlSchemaSet schemas, ICollection<XmlQualifiedName> typeNames) 204public ICollection<CodeTypeReference> GetKnownTypeReferences(XmlQualifiedName typeName) 245void InternalImport(XmlSchemaSet schemas, ICollection<XmlQualifiedName> typeNames, ICollection<XmlSchemaElement> elements, XmlQualifiedName[] elementTypeNames/*filled on return*/) 295bool InternalCanImport(XmlSchemaSet schemas, ICollection<XmlQualifiedName> typeNames, ICollection<XmlSchemaElement> elements, XmlQualifiedName[] elementTypeNames)
System.ServiceModel (332)
System\Collections\ObjectModel\FreezableCollection.cs (1)
33bool ICollection<T>.IsReadOnly
System\ServiceModel\Administration\ManagementExtension.cs (1)
54internal static ICollection<ServiceHostBase> Services
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
1821((ICollection<KeyValuePair<string, object>>)Properties).CopyTo(properties, 0);
System\ServiceModel\Channels\ConnectAlgorithms.cs (3)
104ICollection<Uri> keys = nodeAddresses.Keys; 265public void UpdateEndpointsCollection(ICollection<PeerNodeAddress> src) 279public void UpdateEndpointsCollection(ICollection<Referral> src)
System\ServiceModel\Channels\ConnectionOrientedTransportBindingElement.cs (1)
325ICollection<XmlElement> policyAssertions = context.GetBindingAssertions();
System\ServiceModel\Channels\ContextBindingElementImporter.cs (1)
23public void BeforeImport(ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy)
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (1)
77public static bool TryGetHttpUseCookieAssertion(ICollection<XmlElement> assertions, out XmlElement httpUseCookieAssertion)
System\ServiceModel\Channels\ContextDictionary.cs (2)
72public ICollection<string> Keys 77public ICollection<string> Values
System\ServiceModel\Channels\CorrelationCallbackMessageProperty.cs (1)
17protected CorrelationCallbackMessageProperty(ICollection<string> neededData)
System\ServiceModel\Channels\CorrelationDataSourceHelper.cs (5)
12ICollection<CorrelationDataDescription> dataSources; 14public CorrelationDataSourceHelper(ICollection<CorrelationDataDescription> dataSources) 26CorrelationDataSourceHelper(ICollection<CorrelationDataDescription> dataSource1, ICollection<CorrelationDataDescription> dataSource2) 53ICollection<CorrelationDataDescription> ICorrelationDataSource.DataSources
System\ServiceModel\Channels\CorrelationMessageProperty.cs (4)
43ICollection<InstanceKey> additionalKeysCollection = additionalKeys as ICollection<InstanceKey>; 62ICollection<InstanceKey> transientCorrelationsCollection = transientCorrelations as ICollection<InstanceKey>;
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
801ICollection<XmlElement> bindingAssertions = policyContext.GetBindingAssertions();
System\ServiceModel\Channels\ICorrelationDataSource.cs (1)
11ICollection<CorrelationDataDescription> DataSources
System\ServiceModel\Channels\Message.cs (2)
1092((ICollection<KeyValuePair<string, object>>)Properties).CopyTo(properties, 0); 1777((ICollection<KeyValuePair<string, object>>)Properties).CopyTo(properties, 0);
System\ServiceModel\Channels\MessageBuffer.cs (1)
94((ICollection<KeyValuePair<string, object>>)message.Properties).CopyTo(properties, 0);
System\ServiceModel\Channels\MessageEncodingBindingElementImporter.cs (3)
16void IWsdlImportExtension.BeforeImport(ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy) 183ICollection<XmlElement> assertions = context.GetBindingAssertions(); 215MessageEncodingBindingElement CreateEncodingBindingElement(ICollection<XmlElement> assertions, out XmlElement encodingAssertion)
System\ServiceModel\Channels\MessageProperties.cs (6)
160public ICollection<string> Keys 224public ICollection<object> Values 725void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] array, int index) 766void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> pair) 776bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> pair) 838bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> pair)
System\ServiceModel\Channels\MsmqBindingElementBase.cs (3)
299static bool FindAssertion(ICollection<XmlElement> assertions, string name) 318ICollection<XmlElement> policyAssertions = context.GetBindingAssertions(); 370ICollection<XmlElement> policyAssertions = policyContext.GetBindingAssertions();
System\ServiceModel\Channels\NamedPipeConnectionPool.cs (4)
90Dictionary<string, ICollection<Uri>> reverseTable = new Dictionary<string, ICollection<Uri>>(); 96ICollection<Uri> uris; 113ICollection<Uri> uris;
System\ServiceModel\Channels\PeerMaintainer.cs (1)
49void UpdateEndpointsCollection(ICollection<PeerNodeAddress> src);
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (1)
221public static CriticalAllocHandleSocketAddressList FromAddressList(ICollection<IPAddress> addresses)
System\ServiceModel\Channels\SecurityBindingElement.cs (1)
305void GetSupportingTokensCapabilities(ICollection<SecurityTokenParameters> parameters, out bool supportsClientAuth, out bool supportsWindowsIdentity)
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (7)
63ICollection<XmlElement> operationBindingAssertions = policyContext.GetOperationBindingAssertions(operation); 96void ImportProtectionAssertions(ICollection<XmlElement> assertions, out MessagePartSpecification signedParts, out MessagePartSpecification encryptedParts) 237ICollection<XmlElement> endpointBindingAssertions = policyContext.GetBindingAssertions(); 255ICollection<XmlElement> operationBindingAssertions = policyContext.GetOperationBindingAssertions(operation); 269ICollection<XmlElement> messageBindingAssertions = policyContext.GetMessageBindingAssertions(message); 363ICollection<XmlElement> faultBindingAssertions = policyContext.GetFaultBindingAssertions(fault); 472void ImportSupportingTokenAssertions(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, SupportingTokenParameters requirements, SupportingTokenParameters optionalRequirements)
System\ServiceModel\Channels\StandardBindingImporter.cs (1)
16void IWsdlImportExtension.BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy) { }
System\ServiceModel\Channels\TransactionChannel.cs (3)
105ICollection<RequestSecurityTokenResponse> GetIssuedTokens(Message message) 114ICollection<RequestSecurityTokenResponse> issuances = this.GetIssuedTokens(message); 203ICollection<RequestSecurityTokenResponse> issuances = TransactionFlowProperty.TryGetIssuedTokens(message);
System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (1)
53ICollection<XmlElement> operationAssertions = context.GetOperationBindingAssertions(operation);
System\ServiceModel\Channels\TransactionFlowProperty.cs (2)
100internal ICollection<RequestSecurityTokenResponse> IssuedTokens 136static internal ICollection<RequestSecurityTokenResponse> TryGetIssuedTokens(Message message)
System\ServiceModel\Channels\TransportBindingElementImporter.cs (2)
25void IWsdlImportExtension.BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy) 185ICollection<XmlElement> policyCollection = policyContext.GetBindingAssertions();
System\ServiceModel\Channels\UnrecognizedAssertionsBindingElement.cs (13)
17ICollection<XmlElement> bindingAsserions; 18IDictionary<OperationDescription, ICollection<XmlElement>> operationAssertions; 19IDictionary<MessageDescription, ICollection<XmlElement>> messageAssertions; 21internal protected UnrecognizedAssertionsBindingElement(XmlQualifiedName wsdlBinding, ICollection<XmlElement> bindingAsserions) 33internal ICollection<XmlElement> BindingAsserions 43internal IDictionary<OperationDescription, ICollection<XmlElement>> OperationAssertions 48this.operationAssertions = new Dictionary<OperationDescription, ICollection<XmlElement>>(); 53internal IDictionary<MessageDescription, ICollection<XmlElement>> MessageAssertions 58this.messageAssertions = new Dictionary<MessageDescription, ICollection<XmlElement>>(); 63internal void Add(OperationDescription operation, ICollection<XmlElement> assertions) 65ICollection<XmlElement> existent; 77internal void Add(MessageDescription message, ICollection<XmlElement> assertions) 79ICollection<XmlElement> existent;
System\ServiceModel\ComIntegration\SecurityCookieModeValidator.cs (1)
56ICollection<BindingElement> bindingElements = endpoint.Binding.CreateBindingElements();
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (1)
81bool ICollection<TServiceModelExtensionElement>.IsReadOnly
System\ServiceModel\Configuration\UnrecognizedPolicyAssertionElement.cs (4)
19ICollection<XmlElement> bindingAsserions; 20IDictionary<OperationDescription, ICollection<XmlElement>> operationAssertions; 21IDictionary<MessageDescription, ICollection<XmlElement>> messageAssertions; 89ICollection<XmlElement> assertions;
System\ServiceModel\Description\DataContractSerializerMessageContractImporter.cs (2)
48void IWsdlImportExtension.BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy) { } 77void IWsdlImportExtension.BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy) { }
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (5)
20Dictionary<MessagePartDescription, ICollection<CodeTypeReference>> knownTypes; 31internal void Add(MessagePartDescription part, CodeTypeReference typeReference, ICollection<CodeTypeReference> knownTypeReferences, bool isNonNillableReferenceType) 54internal Dictionary<MessagePartDescription, ICollection<CodeTypeReference>> KnownTypes 59this.knownTypes = new Dictionary<MessagePartDescription, ICollection<CodeTypeReference>>(); 102ICollection<CodeTypeReference> knownTypesForPart;
System\ServiceModel\Description\IWsdlImportExtension.cs (1)
14void BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy);
System\ServiceModel\Description\MessageContractImporter.cs (2)
1684ICollection<CodeTypeReference> knownTypeRefs = DataContractImporter.GetKnownTypeReferences(typeName); 1744ICollection<CodeTypeReference> knownTypeRefs = DataContractImporter.GetKnownTypeReferences(typeName);
System\ServiceModel\Description\OperationGenerator.cs (4)
66internal void GenerateOperation(OperationContractGenerationContext context, ref OperationFormatStyle style, bool isEncoded, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, Dictionary<MessagePartDescription, ICollection<CodeTypeReference>> knownTypes) 99readonly Dictionary<MessagePartDescription, ICollection<CodeTypeReference>> KnownTypes; 122internal MethodSignatureGenerator(OperationGenerator parent, OperationContractGenerationContext context, OperationFormatStyle style, bool isEncoded, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, Dictionary<MessagePartDescription, ICollection<CodeTypeReference>> knownTypes) 624ICollection<CodeTypeReference> knownTypesForPart = null;
System\ServiceModel\Description\PolicyConversionContext.cs (1)
41internal static XmlElement FindAssertion(ICollection<XmlElement> assertions, string localName, string namespaceUri, bool remove)
System\ServiceModel\Description\WsdlExporter.cs (4)
728ICollection<XmlElement> assertions; 799void AttachItemPolicy(ICollection<XmlElement> assertions, string key, WsdlNS.ServiceDescription policyWsdl, WsdlNS.DocumentableItem item) 822string InsertPolicy(string key, WsdlNS.ServiceDescription policyWsdl, ICollection<XmlElement> assertions) 843XmlElement CreatePolicyElement(ICollection<XmlElement> assertions)
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
144operationGenerator.GenerateOperation(context, ref style, xmlSerializerFormatAttribute.IsEncoded, new WrappedBodyTypeGenerator(context), new Dictionary<MessagePartDescription, ICollection<CodeTypeReference>>());
System\ServiceModel\Dispatcher\ActionMessageFilterTable.cs (12)
89public ICollection<MessageFilter> Keys 97public ICollection<TFilterData> Values 157return ((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item); 167((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).CopyTo(array, arrayIndex); 177return ((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).GetEnumerator(); 214void InnerMatch(Message message, ICollection<MessageFilter> results) 237void InnerMatchData(Message message, ICollection<TFilterData> results) 336public bool GetMatchingFilters(Message message, ICollection<MessageFilter> results) 353public bool GetMatchingFilters(MessageBuffer messageBuffer, ICollection<MessageFilter> results) 378public bool GetMatchingValues(Message message, ICollection<TFilterData> results) 395public bool GetMatchingValues(MessageBuffer messageBuffer, ICollection<TFilterData> results) 474if (((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item))
System\ServiceModel\Dispatcher\AndMessageFilterTable.cs (13)
61public ICollection<MessageFilter> Keys 69public ICollection<FilterData> Values 116return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).Contains(item); 130((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).CopyTo(array, arrayIndex); 191void InnerMatch(Message message, ICollection<MessageFilter> results) 205void InnerMatchData(Message message, ICollection<FilterData> results) 219void InnerMatch(MessageBuffer messageBuffer, ICollection<MessageFilter> results) 233void InnerMatchData(MessageBuffer messageBuffer, ICollection<FilterData> results) 357public bool GetMatchingFilters(Message message, ICollection<MessageFilter> results) 374public bool GetMatchingFilters(MessageBuffer messageBuffer, ICollection<MessageFilter> results) 391public bool GetMatchingValues(Message message, ICollection<FilterData> results) 408public bool GetMatchingValues(MessageBuffer messageBuffer, ICollection<FilterData> results) 442if (((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).Contains(item))
System\ServiceModel\Dispatcher\ClientOperation.cs (1)
217public ICollection<IParameterInspector> ClientParameterInspectors
System\ServiceModel\Dispatcher\ClientRuntime.cs (2)
340public ICollection<IClientMessageInspector> ClientMessageInspectors 351public ICollection<ClientOperation> ClientOperations
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (13)
115public ICollection<MessageFilter> Keys 123public ICollection<TFilterData> Values 277return ((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item); 291((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).CopyTo(array, arrayIndex); 420void InnerMatchData(Message message, ICollection<TFilterData> results) 437void InnerMatchData(Message message, ICollection<TFilterData> results, CandidateSet cset) 454protected void InnerMatchFilters(Message message, ICollection<MessageFilter> results) 471void InnerMatchFilters(Message message, ICollection<MessageFilter> results, CandidateSet cset) 534public bool GetMatchingValues(Message message, ICollection<TFilterData> results) 551public bool GetMatchingValues(MessageBuffer messageBuffer, ICollection<TFilterData> results) 622public bool GetMatchingFilters(Message message, ICollection<MessageFilter> results) 639public bool GetMatchingFilters(MessageBuffer messageBuffer, ICollection<MessageFilter> results) 784if (((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item))
System\ServiceModel\Dispatcher\IMessageFilterTable.cs (4)
17bool GetMatchingValues(Message message, ICollection<TFilterData> results); 18bool GetMatchingValues(MessageBuffer messageBuffer, ICollection<TFilterData> results); 24bool GetMatchingFilters(Message message, ICollection<MessageFilter> results); 25bool GetMatchingFilters(MessageBuffer messageBuffer, ICollection<MessageFilter> results);
System\ServiceModel\Dispatcher\MatchSingleFxEngineOpcode.cs (1)
43internal override void CollectXPathFilters(ICollection<MessageFilter> filters)
System\ServiceModel\Dispatcher\MessageFilter.cs (16)
129public bool GetMatchingValues(Message message, ICollection<FilterData> results) 142public bool GetMatchingValues(MessageBuffer buffer, ICollection<FilterData> results) 199public bool GetMatchingFilters(Message message, ICollection<MessageFilter> results) 212public bool GetMatchingFilters(MessageBuffer buffer, ICollection<MessageFilter> results) 241public ICollection<MessageFilter> Keys 249public ICollection<FilterData> Values 276bool ICollection<KeyValuePair<MessageFilter, FilterData>>.IsReadOnly 284void ICollection<KeyValuePair<MessageFilter, FilterData>>.Add(KeyValuePair<MessageFilter, FilterData> item) 286((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).Add(item); 289bool ICollection<KeyValuePair<MessageFilter, FilterData>>.Contains(KeyValuePair<MessageFilter, FilterData> item) 291return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).Contains(item); 294void ICollection<KeyValuePair<MessageFilter, FilterData>>.CopyTo(KeyValuePair<MessageFilter, FilterData>[] array, int arrayIndex) 296((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).CopyTo(array, arrayIndex); 299bool ICollection<KeyValuePair<MessageFilter, FilterData>>.Remove(KeyValuePair<MessageFilter, FilterData> item) 301return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).Remove(item); 311return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.filters).GetEnumerator();
System\ServiceModel\Dispatcher\MessageFilterTable.cs (10)
122public ICollection<MessageFilter> Keys 130public ICollection<TFilterData> Values 223return ((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item); 233((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).CopyTo(array, arrayIndex); 260return ((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).GetEnumerator(); 403public bool GetMatchingValues(Message message, ICollection<TFilterData> results) 425public bool GetMatchingValues(MessageBuffer buffer, ICollection<TFilterData> results) 513public bool GetMatchingFilters(Message message, ICollection<MessageFilter> results) 535public bool GetMatchingFilters(MessageBuffer buffer, ICollection<MessageFilter> results) 575if (((ICollection<KeyValuePair<MessageFilter, TFilterData>>)this.filters).Contains(item))
System\ServiceModel\Dispatcher\MessageQueryTable.cs (5)
36public ICollection<MessageQuery> Keys 41public ICollection<TItem> Values 98return ((ICollection<KeyValuePair<MessageQuery, TItem>>) this.dictionary).Contains(item); 108((ICollection<KeyValuePair<MessageQuery, TItem>>) this.dictionary).CopyTo(array, arrayIndex); 133return ((ICollection<KeyValuePair<MessageQuery, TItem>>) this.dictionary).GetEnumerator();
System\ServiceModel\Dispatcher\OperationFormatter.cs (1)
673((ICollection<KeyValuePair<string, object>>)base.Properties).CopyTo(properties, 0);
System\ServiceModel\Dispatcher\QueryBranchOp.cs (3)
704internal override void CollectXPathFilters(ICollection<MessageFilter> filters) 1219internal abstract void CollectXPathFilters(ICollection<MessageFilter> filters); 1357internal override void CollectXPathFilters(ICollection<MessageFilter> filters)
System\ServiceModel\Dispatcher\QueryIntervalOp.cs (1)
1105internal override void CollectXPathFilters(ICollection<MessageFilter> filters)
System\ServiceModel\Dispatcher\QueryMatcher.cs (4)
502internal FilterResult Match(MessageBuffer messageBuffer, ICollection<MessageFilter> matches) 518internal FilterResult Match(Message message, bool matchBody, ICollection<MessageFilter> matches) 553internal FilterResult Match(SeekableXPathNavigator navigator, ICollection<MessageFilter> matches) 584internal FilterResult Match(XPathNavigator navigator, ICollection<MessageFilter> matches)
System\ServiceModel\Dispatcher\QueryOpcode.cs (1)
215internal virtual void CollectXPathFilters(ICollection<MessageFilter> filters)
System\ServiceModel\Dispatcher\QueryPrefixOp.cs (2)
96internal void CollectXPathFilters(ICollection<MessageFilter> filters) 823internal override void CollectXPathFilters(ICollection<MessageFilter> filters)
System\ServiceModel\Dispatcher\QueryProcessor.cs (4)
441ICollection<MessageFilter> matchSet; // for inverse queries that produce multiple matches 442ICollection<KeyValuePair<MessageQuery, XPathResult>> resultSet; // for inverse queries that produce multiple query results 611internal ICollection<KeyValuePair<MessageQuery, XPathResult>> ResultSet 667internal ICollection<MessageFilter> MatchSet
System\ServiceModel\Dispatcher\QueryRelOp.cs (1)
281internal override void CollectXPathFilters(ICollection<MessageFilter> filters)
System\ServiceModel\Dispatcher\QueryResultOp.cs (2)
135internal override void CollectXPathFilters(ICollection<MessageFilter> filters) 261ICollection<MessageFilter> matches = context.Processor.MatchSet;
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (2)
378ICollection<BindingElement> bindingElements = endpoint.Binding.CreateBindingElements(); 1001ICollection<BindingElement> bindingElements = endpoint.Binding.CreateBindingElements();
System\ServiceModel\Dispatcher\ThreadSafeMessageFilterTable.cs (17)
94public bool GetMatchingValues(Message message, ICollection<FilterData> results) 102public bool GetMatchingValues(MessageBuffer buffer, ICollection<FilterData> results) 126public bool GetMatchingFilters(Message message, ICollection<MessageFilter> results) 134public bool GetMatchingFilters(MessageBuffer buffer, ICollection<MessageFilter> results) 164public ICollection<MessageFilter> Keys 175public ICollection<FilterData> Values 214bool ICollection<KeyValuePair<MessageFilter, FilterData>>.IsReadOnly 220return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.table).IsReadOnly; 225void ICollection<KeyValuePair<MessageFilter, FilterData>>.Add(KeyValuePair<MessageFilter, FilterData> item) 229((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.table).Add(item); 233bool ICollection<KeyValuePair<MessageFilter, FilterData>>.Contains(KeyValuePair<MessageFilter, FilterData> item) 237return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.table).Contains(item); 241void ICollection<KeyValuePair<MessageFilter, FilterData>>.CopyTo(KeyValuePair<MessageFilter, FilterData>[] array, int arrayIndex) 245((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.table).CopyTo(array, arrayIndex); 249bool ICollection<KeyValuePair<MessageFilter, FilterData>>.Remove(KeyValuePair<MessageFilter, FilterData> item) 253return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.table).Remove(item); 269return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.table).GetEnumerator();
System\ServiceModel\Dispatcher\XPathMessageFilterTable.cs (11)
118public ICollection<MessageFilter> Keys 157public ICollection<TFilterData> Values 377public bool GetMatchingFilters(Message message, ICollection<MessageFilter> results) 397public bool GetMatchingFilters(MessageBuffer messageBuffer, ICollection<MessageFilter> results) 417public bool GetMatchingFilters(SeekableXPathNavigator navigator, ICollection<MessageFilter> results) 437public bool GetMatchingFilters(XPathNavigator navigator, ICollection<MessageFilter> results) 457public bool GetMatchingValues(Message message, ICollection<TFilterData> results) 477public bool GetMatchingValues(MessageBuffer messageBuffer, ICollection<TFilterData> results) 497public bool GetMatchingValues(SeekableXPathNavigator navigator, ICollection<TFilterData> results) 517public bool GetMatchingValues(XPathNavigator navigator, ICollection<TFilterData> results) 551void ProcessMatches(FilterResult result, ICollection<TFilterData> results)
System\ServiceModel\ExtensionCollection.cs (1)
34bool ICollection<IExtension<T>>.IsReadOnly
System\ServiceModel\InstanceContext.cs (3)
185public ICollection<IChannel> IncomingChannels 213public ICollection<IChannel> OutgoingChannels 295internal ICollection<IChannel> WmiChannels
System\ServiceModel\OperationContext.cs (1)
323public ICollection<SupportingTokenSpecification> SupportingTokens
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (1)
610ICollection<string> keys = null;
System\ServiceModel\Security\MessagePartSpecification.cs (1)
21public ICollection<XmlQualifiedName> HeaderTypes
System\ServiceModel\Security\ScopedMessagePartSpecification.cs (1)
27public ICollection<string> Actions
System\ServiceModel\Security\SecurityProtocol.cs (9)
34ICollection<SupportingTokenProviderSpecification> channelSupportingTokenProviderSpecification; 35Dictionary<string, ICollection<SupportingTokenProviderSpecification>> scopedSupportingTokenProviderSpecification; 71public ICollection<SupportingTokenProviderSpecification> ChannelSupportingTokenProviderSpecification 79public Dictionary<string, ICollection<SupportingTokenProviderSpecification>> ScopedSupportingTokenProviderSpecification 330ICollection<SupportingTokenProviderSpecification> scopedProviders = this.ScopedSupportingTokenProviderSpecification[action]; 378this.scopedSupportingTokenProviderSpecification = new Dictionary<string, ICollection<SupportingTokenProviderSpecification>>(); 391ICollection<SupportingTokenProviderSpecification> existingList; 455ICollection<SupportingTokenProviderSpecification> supportingProviders = this.scopedSupportingTokenProviderSpecification[action]; 475ICollection<SupportingTokenProviderSpecification> supportingProviders = this.scopedSupportingTokenProviderSpecification[action];
System\ServiceModel\Security\SecurityProtocolFactory.cs (11)
90ICollection<SupportingTokenAuthenticatorSpecification> channelSupportingTokenAuthenticatorSpecification; 91Dictionary<string, ICollection<SupportingTokenAuthenticatorSpecification>> scopedSupportingTokenAuthenticatorSpecification; 127this.scopedSupportingTokenAuthenticatorSpecification = new Dictionary<string, ICollection<SupportingTokenAuthenticatorSpecification>>(); 148this.scopedSupportingTokenAuthenticatorSpecification = new Dictionary<string, ICollection<SupportingTokenAuthenticatorSpecification>>(factory.scopedSupportingTokenAuthenticatorSpecification); 495public ICollection<SupportingTokenAuthenticatorSpecification> ChannelSupportingTokenAuthenticatorSpecification 503public Dictionary<string, ICollection<SupportingTokenAuthenticatorSpecification>> ScopedSupportingTokenAuthenticatorSpecification 682ICollection<SupportingTokenAuthenticatorSpecification> supportingAuthenticators = this.scopedSupportingTokenAuthenticatorSpecification[action]; 702ICollection<SupportingTokenAuthenticatorSpecification> supportingAuthenticators = this.scopedSupportingTokenAuthenticatorSpecification[action]; 758void VerifyTypeUniqueness(ICollection<SupportingTokenAuthenticatorSpecification> supportingTokenAuthenticators) 826ICollection<SupportingTokenAuthenticatorSpecification> scopedAuthenticators = this.scopedSupportingTokenAuthenticatorSpecification[action]; 1010ICollection<SupportingTokenAuthenticatorSpecification> existingList;
System\ServiceModel\Security\SecuritySessionFilter.cs (7)
159public ICollection<MessageFilter> Keys 167public ICollection<FilterData> Values 239return ((ICollection<KeyValuePair<MessageFilter, FilterData>>)this.contextMappings.Values).GetEnumerator(); 363public bool GetMatchingValues(Message message, ICollection<FilterData> results) 374public bool GetMatchingValues(MessageBuffer buffer, ICollection<FilterData> results) 402public bool GetMatchingFilters(Message message, ICollection<MessageFilter> results) 413public bool GetMatchingFilters(MessageBuffer buffer, ICollection<MessageFilter> results)
System\ServiceModel\Security\SecurityStandardsManager.cs (1)
191internal bool TryGetSecurityContextIds(Message message, string[] actors, bool isStrictMode, ICollection<UniqueId> results)
System\ServiceModel\Security\WSSecurityPolicy.cs (40)
143public virtual bool TryImportWsspAssertion(ICollection<XmlElement> assertions, string name, out XmlElement assertion) 160public virtual bool TryImportWsspAssertion(ICollection<XmlElement> assertions, string name) 165public virtual bool TryImportWsspAssertion(ICollection<XmlElement> assertions, string name, bool isOptional) 184public virtual bool CanImportAssertion(ICollection<XmlElement> assertions) 225public virtual bool TryImportMsspAssertion(ICollection<XmlElement> assertions, string name) 359public virtual bool TryImportWsspEncryptedPartsAssertion(ICollection<XmlElement> assertions, out MessagePartSpecification parts, out XmlElement assertion) 373public virtual bool TryImportWsspSignedPartsAssertion(ICollection<XmlElement> assertions, out MessagePartSpecification parts, out XmlElement assertion) 457public virtual bool TryImportWsspSymmetricBindingAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, out SymmetricSecurityBindingElement binding, out XmlElement assertion) 519public virtual bool TryImportWsspAsymmetricBindingAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, out AsymmetricSecurityBindingElement binding, out XmlElement assertion) 572public virtual bool TryImportWsspTransportBindingAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, out TransportSecurityBindingElement binding, out XmlElement assertion) 644public virtual bool TryImportWsspWssAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, SecurityBindingElement binding, out XmlElement assertion) 806public abstract bool TryImportWsspTrustAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, SecurityBindingElement binding, out XmlElement assertion); 822protected bool TryImportWsspTrustAssertion(string trustName, MetadataImporter importer, ICollection<XmlElement> assertions, SecurityBindingElement binding, out XmlElement assertion) 1044public virtual bool TryImportWsspSupportingTokensAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, Collection<SecurityTokenParameters> signed, Collection<SecurityTokenParameters> signedEncrypted, Collection<SecurityTokenParameters> endorsing, Collection<SecurityTokenParameters> signedEndorsing, Collection<SecurityTokenParameters> optionalSigned, Collection<SecurityTokenParameters> optionalSignedEncrypted, Collection<SecurityTokenParameters> optionalEndorsing, Collection<SecurityTokenParameters> optionalSignedEndorsing) 1089protected bool TryImportWsspSignedSupportingTokensAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, Collection<SecurityTokenParameters> signed, Collection<SecurityTokenParameters> signedEncrypted, Collection<SecurityTokenParameters> optionalSigned, Collection<SecurityTokenParameters> optionalSignedEncrypted, out XmlElement assertion) 1169protected bool TryImportWsspEndorsingSupportingTokensAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, Collection<SecurityTokenParameters> endorsing, Collection<SecurityTokenParameters> optionalEndorsing, out XmlElement assertion) 1233protected bool TryImportWsspSignedEndorsingSupportingTokensAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, Collection<SecurityTokenParameters> signedEndorsing, Collection<SecurityTokenParameters> optionalSignedEndorsing, out XmlElement assertion) 1428public virtual bool TryImportMessageProtectionOrderAssertions(ICollection<XmlElement> assertions, out MessageProtectionOrder order) 1458public virtual bool TryImportWsspIncludeTimestampAssertion(ICollection<XmlElement> assertions, SecurityBindingElement binding) 1464public virtual bool TryImportWsspProtectTokensAssertion(ICollection<XmlElement> assertions, out bool protectTokens) 1490public virtual bool TryImportWsspLayoutAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, SecurityBindingElement binding) 1540public virtual bool TryImportLayoutAssertion(ICollection<XmlElement> assertions, out SecurityHeaderLayout layout) 1581public virtual bool TryImportWsspAlgorithmSuiteAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, SecurityBindingElement binding) 1657public virtual bool TryImportAlgorithmSuiteAssertion(ICollection<XmlElement> assertions, out SecurityAlgorithmSuite suite) 1711public virtual bool TryImportWsspProtectionTokenAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, SymmetricSecurityBindingElement binding) 1737public virtual bool TryImportWsspInitiatorTokenAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, AsymmetricSecurityBindingElement binding) 1763public virtual bool TryImportWsspRecipientTokenAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, AsymmetricSecurityBindingElement binding) 1833public virtual bool TryImportWsspTransportTokenAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, out XmlElement transportBindingAssertion) 2021public virtual bool TryImportWsspRequireDerivedKeysAssertion(ICollection<XmlElement> assertions, SecurityTokenParameters parameters) 2102public virtual bool TryImportX509ReferenceStyleAssertion(ICollection<XmlElement> assertions, X509SecurityTokenParameters parameters) 2258public virtual bool TryImportReferenceStyleAssertion(ICollection<XmlElement> assertions, IssuedSecurityTokenParameters parameters) 2488public virtual bool TryImportWsspMustNotSendCancelAssertion(ICollection<XmlElement> assertions, out bool requireCancellation) 2551public abstract bool TryImportWsspHttpsTokenAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, HttpsTransportBindingElement httpsBinding); 2553public virtual bool ContainsWsspHttpsTokenAssertion(ICollection<XmlElement> assertions) 2570public virtual bool TryImportMsspRequireClientCertificateAssertion(ICollection<XmlElement> assertions, SslSecurityTokenParameters parameters) 2703public virtual ICollection<XmlElement> FilterWsspPolicyAssertions(ICollection<XmlElement> policyAssertions) 2714public virtual bool TryImportWsspBootstrapPolicyAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, SecureConversationSecurityTokenParameters parameters) 3068public static bool TryGetSecurityPolicyDriver(ICollection<XmlElement> assertions, out WSSecurityPolicy securityPolicy) 3096public bool TryGetSecurityPolicyDriver(ICollection<XmlElement> assertions, out WSSecurityPolicy securityPolicy)
System\ServiceModel\Security\WSSecurityPolicy11.cs (3)
58public override bool TryImportWsspMustNotSendCancelAssertion(ICollection<XmlElement> assertions, out bool requireCancellation) 71public override bool TryImportWsspHttpsTokenAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, HttpsTransportBindingElement httpsBinding) 113public override bool TryImportWsspTrustAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, SecurityBindingElement binding, out XmlElement assertion)
System\ServiceModel\Security\WSSecurityPolicy12.cs (8)
79public override bool TryImportWsspHttpsTokenAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, HttpsTransportBindingElement httpsBinding) 365public virtual bool TryImportWsspMustNotSendAmendAssertion(ICollection<XmlElement> assertions) 371public virtual bool TryImportWsspMustNotSendRenewAssertion(ICollection<XmlElement> assertions, out bool canRenewSession) 447public override bool TryImportWsspSupportingTokensAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, Collection<SecurityTokenParameters> signed, Collection<SecurityTokenParameters> signedEncrypted, Collection<SecurityTokenParameters> endorsing, Collection<SecurityTokenParameters> signedEndorsing, Collection<SecurityTokenParameters> optionalSigned, Collection<SecurityTokenParameters> optionalSignedEncrypted, Collection<SecurityTokenParameters> optionalEndorsing, Collection<SecurityTokenParameters> optionalSignedEndorsing) 502bool TryImportWsspSignedSupportingTokensAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, Collection<SecurityTokenParameters> signed, Collection<SecurityTokenParameters> optionalSigned, out XmlElement assertion) 550bool TryImportWsspSignedEncryptedSupportingTokensAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, Collection<SecurityTokenParameters> signedEncrypted, Collection<SecurityTokenParameters> optionalSignedEncrypted, out XmlElement assertion) 598public override bool TryImportWsspRequireDerivedKeysAssertion(ICollection<XmlElement> assertions, SecurityTokenParameters parameters) 622public override bool TryImportWsspTrustAssertion(MetadataImporter importer, ICollection<XmlElement> assertions, SecurityBindingElement binding, out XmlElement assertion)
System\ServiceModel\ServiceChannelManager.cs (4)
42public ICollection<IChannel> IncomingChannels 47return (ICollection<IChannel>)this.incomingChannels; 51public ICollection<IChannel> OutgoingChannels 77ICollection<IChannel> outgoing = this.outgoingChannels;
System\ServiceModel\SynchronizedCollection.cs (1)
215bool ICollection<T>.IsReadOnly
System\ServiceModel\SynchronizedReadOnlyCollection.cs (4)
127bool ICollection<T>.IsReadOnly 144void ICollection<T>.Add(T value) 149void ICollection<T>.Clear() 154bool ICollection<T>.Remove(T value)
System\UriTemplate.cs (4)
1051public ICollection<string> Keys 1058public ICollection<string> Values 1096return (this.defaults as ICollection<KeyValuePair<string, string>>).Contains(item); 1104(this.defaults as ICollection<KeyValuePair<string, string>>).CopyTo(array, arrayIndex);
System\UriTemplateTable.cs (3)
350ICollection<string> relativePathSegments, // add to this 351ICollection<UriTemplateTableMatchCandidate> candidates) // matched candidates 454ICollection<UriTemplateTableMatchCandidate> candidates)
System\UriTemplateTrieNode.cs (3)
51public bool Match(UriTemplateLiteralPathSegment[] wireData, ICollection<UriTemplateTableMatchCandidate> candidates) 135ICollection<UriTemplateTableMatchCandidate> candidates) 151ICollection<UriTemplateTableMatchCandidate> candidates)
System.ServiceModel.Activities (42)
System\ServiceModel\Activities\Description\CorrelationQueryBehavior.cs (5)
25ICollection<CorrelationQuery> queries; 30public CorrelationQueryBehavior(ICollection<CorrelationQuery> queries) 43public ICollection<CorrelationQuery> CorrelationQueries 50public ICollection<string> ReceiveNames 55public ICollection<string> SendNames
System\ServiceModel\Activities\Description\WorkflowOperationBehavior.cs (1)
193ICollection<InstanceKey> additionalKeys;
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (3)
200protected void GetInstanceKeys(OperationContext operationContext, out InstanceKey instanceKey, out ICollection<InstanceKey> additionalKeys) 204ICollection<InstanceKey> localAdditionalKeys; 279ICollection<InstanceKey> additionalKeys = emptyKeyCollection;
System\ServiceModel\Activities\Dispatcher\CorrelationKeyCalculator.cs (3)
44out ICollection<InstanceKey> additionalKeys) 57out ICollection<InstanceKey> additionalKeys) 79out ICollection<InstanceKey> additionalKeys)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (3)
268internal IAsyncResult BeginGetInstance(InstanceKey instanceKey, ICollection<InstanceKey> additionalKeys, WorkflowGetInstanceContext parameters, TimeSpan timeout, AsyncCallback callback, object state) 996ICollection<InstanceKey> additionalKeys; 1007public GetInstanceAsyncResult(DurableInstanceManager instanceManager, InstanceKey instanceKey, ICollection<InstanceKey> additionalKeys, WorkflowGetInstanceContext parameters,
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (6)
184public void DisassociateKeys(ICollection<InstanceKey> expiredKeys) 246ICollection<InstanceKey> associatedKeys, TimeSpan timeout, AsyncCallback callback, object state) 252ICollection<InstanceKey> associatedKeys, TimeSpan timeout, AsyncCallback callback, object state) 257IAsyncResult BeginAssociateKeysHelper(ICollection<InstanceKey> associatedKeys, 1125readonly ICollection<InstanceKey> keysToAssociate; 1129public AssociateKeysAsyncResult(PersistenceContext persistenceContext, ICollection<InstanceKey> associatedKeys, TimeSpan timeout,
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (7)
153public IAsyncResult BeginLoad(InstanceKey key, ICollection<InstanceKey> associatedKeys, Transaction transaction, 170public IAsyncResult BeginLoad(Guid instanceId, ICollection<InstanceKey> associatedKeys, Transaction transaction, bool loadAny, WorkflowIdentityKey updatedIdentity, 193ICollection<InstanceKey> associatedKeys, Transaction transaction, TimeSpan timeout, 210public IAsyncResult BeginLoadOrCreate(Guid instanceId, ICollection<InstanceKey> associatedKeys, Transaction transaction, 508InstancePersistenceCommand CreateLoadCommandHelper(InstanceKey key, out InstanceHandle handle, bool canCreateInstance, Guid suggestedIdOrId, ICollection<InstanceKey> associatedKeys, bool loadAny) 722readonly ICollection<InstanceKey> associatedKeys; 747bool canCreateInstance, ICollection<InstanceKey> associatedKeys, Transaction transaction, bool loadAny, WorkflowIdentityKey updatedIdentity,
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (5)
1610protected override IAsyncResult OnBeginAssociateKeys(ICollection<InstanceKey> keys, AsyncCallback callback, object state) 1634protected override void OnDisassociateKeys(ICollection<InstanceKey> keys) 2062public IAsyncResult BeginAssociateInfrastructureKeys(ICollection<InstanceKey> associatedKeys, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 2903readonly ICollection<InstanceKey> associatedKeys; 2908public AssociateKeysAsyncResult(WorkflowServiceInstance workflow, ICollection<InstanceKey> associatedKeys, Transaction transaction,
System\ServiceModel\Activities\InternalSendMessage.cs (5)
46ICollection<CorrelationQuery> correlationQueries; 191internal ICollection<CorrelationQuery> ReplyCorrelationQueries 2461public ICollection<string> CorrelationSendNames 2601public MessageCorrelationCallbackMessageProperty(ICollection<string> neededData, SendMessageInstance instance) 3044ICollection<CorrelationQuery> correlationQueries)
System\ServiceModel\Activities\MessagingActivityHelper.cs (2)
83ICollection<InstanceKey> additionalKeys; 119InstanceKey instanceKey, ICollection<InstanceKey> additionalKeys)
System\ServiceModel\Activities\WorkflowDefinitionProvider.cs (1)
40public ICollection<WorkflowService> SupportedVersions
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
138public ICollection<WorkflowService> SupportedVersions
System.ServiceModel.Channels (2)
System\ServiceModel\Channels\UdpTransportBindingElement.cs (1)
287ICollection<XmlElement> bindingAssertions = policyContext.GetBindingAssertions();
System\ServiceModel\Channels\UdpTransportImporter.cs (1)
18public void BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, Xml.Schema.XmlSchemaSet xmlSchemas, ICollection<Xml.XmlElement> policy)
System.ServiceModel.Discovery (2)
System\ServiceModel\Discovery\ScopeCompiler.cs (2)
14public static string[] Compile(ICollection<Uri> scopes) 30public static CompiledScopeCriteria[] CompileMatchCriteria(ICollection<Uri> scopes, Uri matchBy)
System.ServiceModel.Internals (7)
System\Runtime\Collections\NullableKeyDictionary.cs (2)
35public ICollection<TKey> Keys 43public ICollection<TValue> Values
System\Runtime\Collections\OrderedDictionary.cs (2)
81public ICollection<TKey> Keys 100public ICollection<TValue> Values
System\Runtime\ReadOnlyDictionaryInternal.cs (2)
32public ICollection<TKey> Keys 37public ICollection<TValue> Values
System\Runtime\TypeHelper.cs (1)
16public static readonly Type GenericCollectionType = typeof(ICollection<>);
System.ServiceModel.Routing (7)
System\ServiceModel\Dispatcher\EndpointNameMessageFilter.cs (1)
70internal static void Validate(ICollection<MessageFilter> messageFilters, HashSet<string> endpoints)
System\ServiceModel\Dispatcher\StrictAndMessageFilter.cs (6)
72public ICollection<MessageFilter> Keys 77public ICollection<TFilterData> Values 104public bool GetMatchingFilters(MessageBuffer messageBuffer, ICollection<MessageFilter> results) 124public bool GetMatchingFilters(Message message, ICollection<MessageFilter> results) 176public bool GetMatchingValues(MessageBuffer messageBuffer, ICollection<TFilterData> results) 196public bool GetMatchingValues(Message message, ICollection<TFilterData> results)
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\SingleBodyParameterDataContractMessageFormatter.cs (1)
22static readonly Type[] GenericCollectionDataContractInterfaces = new Type[] { typeof(IEnumerable<>), typeof(IList<>), typeof(ICollection<>), typeof(IDictionary<,>) };
System\ServiceModel\Web\Utility.cs (1)
202public static void AddRange<T>(ICollection<T> list, IEnumerable<T> itemsToAdd)
System.Web (64)
Abstractions\HttpFileCollectionWrapper.cs (1)
94ICollection<HttpPostedFile> files = _collection.GetMultiple(name);
Compilation\AssemblyResolver.cs (15)
18internal ICollection<string> ResolvedFiles { 23internal ICollection<string> ResolvedFilesWithWarnings { 28internal ICollection<Assembly> UnresolvedAssemblies { 33internal ICollection<BuildErrorEventArgs> Errors { 38internal ICollection<BuildWarningEventArgs> Warnings { 356ICollection<BuildErrorEventArgs> errors, ICollection<BuildWarningEventArgs> warnings) { 361ICollection<BuildErrorEventArgs> errors, ICollection<BuildWarningEventArgs> warnings, 394ICollection<BuildErrorEventArgs> errors, ICollection<BuildWarningEventArgs> warnings, 551internal ICollection<BuildMessageEventArgs> Messages { 555internal ICollection<BuildWarningEventArgs> Warnings { 559internal ICollection<BuildErrorEventArgs> Errors { 563internal ICollection<CustomBuildEventArgs> CustomEvents {
Compilation\BuildManager.cs (7)
787ICollection<MethodInfo> methods = null; 788ICollection<Assembly> cachedPreStartAssemblies = LoadCachedPreAppStartAssemblies(preStartInitListPath); 862internal static ICollection<Assembly> LoadCachedPreAppStartAssemblies(string preStartInitListPath) { 878private static void InvokePreStartInitMethods(ICollection<MethodInfo> methods) { 891internal static void InvokePreStartInitMethodsCore(ICollection<MethodInfo> methods, Func<IDisposable> setHostingEnvironmentCultures) { 916private static ICollection<MethodInfo> GetPreStartInitMethodsFromReferencedAssemblies() { 927internal static ICollection<MethodInfo> GetPreStartInitMethodsFromAssemblyCollection(IEnumerable<Assembly> assemblies, bool buildingFromCache) {
DynamicModuleRegistry.cs (1)
39public ICollection<DynamicModuleRegistryEntry> LockAndFetchList() {
Hosting\SuspendManager.cs (4)
37var allRegisteredObjects = _registeredObjects.Keys; 41private static SuspendState SuspendImpl(ICollection<ISuspendibleRegisteredObject> allRegisteredObjects) { 112private readonly ICollection<ISuspendibleRegisteredObject> _suspendibleObjects; 118public SuspendState(ICollection<ISuspendibleRegisteredObject> suspendibleObjects) {
ModelBinding\CollectionModelBinderProvider.cs (1)
10return CollectionModelBinderUtil.GetGenericBinder(typeof(ICollection<>), typeof(List<>), typeof(CollectionModelBinder<>), bindingContext.ModelMetadata);
ModelBinding\CollectionModelBinderUtil.cs (4)
10public static void CreateOrReplaceCollection<TElement>(ModelBindingContext bindingContext, IEnumerable<TElement> incomingElements, Func<ICollection<TElement>> creator) { 11ICollection<TElement> collection = bindingContext.Model as ICollection<TElement>; 110Type closedCollectionType = TypeHelpers.ExtractGenericInterface(closedSupportedInterfaceType, typeof(ICollection<>));
ModelBinding\ModelBinderDictionary.cs (2)
45public ICollection<Type> Keys { 65public ICollection<IModelBinder> Values {
ModelBinding\ModelStateDictionary.cs (2)
43public ICollection<string> Keys { 60public ICollection<ModelState> Values {
ModelBinding\ModelValidationNode.cs (1)
25public ICollection<ModelValidationNode> ChildNodes {
Routing\HttpMethodConstraint.cs (1)
19public ICollection<string> AllowedMethods {
Routing\RouteValueDictionary.cs (12)
101ICollection<string> IDictionary<string, object>.Keys { 108ICollection<object> IDictionary<string, object>.Values { 117void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> item) { 118((ICollection<KeyValuePair<string, object>>)_dictionary).Add(item); 122bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> item) { 123return ((ICollection<KeyValuePair<string, object>>)_dictionary).Contains(item); 127void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] array, int arrayIndex) { 128((ICollection<KeyValuePair<string, object>>)_dictionary).CopyTo(array, arrayIndex); 132bool ICollection<KeyValuePair<string, object>>.IsReadOnly { 134return ((ICollection<KeyValuePair<string, object>>)_dictionary).IsReadOnly; 139bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> item) { 140return ((ICollection<KeyValuePair<string, object>>)_dictionary).Remove(item);
State\SessionStateModule.cs (1)
1084((ICollection<KeyValuePair<string, int>>)s_queuedRequestsNumPerSession).Remove(new KeyValuePair<string,int>(_rqId, 0));
UI\WebControls\MethodParametersDictionary.cs (12)
101public ICollection<string> Keys { 107public ICollection<MethodParameterValue> Values { 155void ICollection<KeyValuePair<string, MethodParameterValue>>.Clear() { 159bool ICollection<KeyValuePair<string, MethodParameterValue>>.IsReadOnly { 161return ((ICollection<KeyValuePair<string, MethodParameterValue>>)InnerDictionary).IsReadOnly; 165void ICollection<KeyValuePair<string, MethodParameterValue>>.Add(KeyValuePair<string, MethodParameterValue> item) { 169bool ICollection<KeyValuePair<string, MethodParameterValue>>.Contains(KeyValuePair<string, MethodParameterValue> item) { 170return ((ICollection<KeyValuePair<string, MethodParameterValue>>)InnerDictionary).Contains(item); 173void ICollection<KeyValuePair<string, MethodParameterValue>>.CopyTo(KeyValuePair<string, MethodParameterValue>[] array, int arrayIndex) { 174((ICollection<KeyValuePair<string, MethodParameterValue>>)InnerDictionary).CopyTo(array, arrayIndex); 177bool ICollection<KeyValuePair<string, MethodParameterValue>>.Remove(KeyValuePair<string, MethodParameterValue> item) { 178return ((ICollection<KeyValuePair<string, MethodParameterValue>>)InnerDictionary).Remove(item);
System.Web.Extensions (17)
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (1)
50void System.ServiceModel.Description.IWsdlImportExtension.BeforeImport(System.Web.Services.Description.ServiceDescriptionCollection wsdlDocuments, System.Xml.Schema.XmlSchemaSet xmlSchemas, System.Collections.Generic.ICollection<System.Xml.XmlElement> policy)
Compilation\WCFModel\HttpBindingExtension.cs (1)
56void IWsdlImportExtension.BeforeImport(WsdlNS.ServiceDescriptionCollection wsdlDocuments, XmlSchemaSet xmlSchemas, ICollection<XmlElement> policy)
Compilation\WCFModel\WsdlInspector.cs (2)
53internal static void CheckDuplicatedWsdlItems(ICollection<ServiceDescription> wsdlFiles, IList<ProxyGenerationError> importErrors) 63private void CheckServiceDescriptions(ICollection<ServiceDescription> wsdlFiles)
Script\Services\WebServiceData.cs (1)
243internal ICollection<WebServiceMethodData> MethodDatas {
Script\Services\WebServiceMethodData.cs (1)
88internal ICollection<WebServiceParameterData> ParameterDatas {
Util\OrderedDictionary.cs (11)
39public ICollection<TKey> Keys { 60public ICollection<TValue> Values { 115bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly { 117return ((ICollection<KeyValuePair<TKey, TValue>>)_dictionary).IsReadOnly; 121void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) { 125bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> item) { 126return ((ICollection<KeyValuePair<TKey, TValue>>)_dictionary).Contains(item); 129void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex) { 130((ICollection<KeyValuePair<TKey, TValue>>)_dictionary).CopyTo(array, arrayIndex); 133bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item) { 134bool removed = ((ICollection<KeyValuePair<TKey, TValue>>)_dictionary).Remove(item);
System.Workflow.Activities (56)
Conditional.cs (2)
47public IfElseBranchActivity AddBranch(ICollection<Activity> activities) 55public IfElseBranchActivity AddBranch(ICollection<Activity> activities, ActivityCondition branchCondition)
Designers\StateDesignerConnector.cs (1)
116protected override ICollection<Rectangle> ExcludedRoutingRectangles
LocalService\CorrelationResolver.cs (3)
41internal static ICollection<CorrelationProperty> ResolveCorrelationValues(Type interfaceType, string eventName, object[] eventArgs, bool provideInitializerTokens) 230ICollection<CorrelationProperty> ICorrelationProvider.ResolveCorrelationPropertyValues(Type interfaceType, string methodName, object[] methodArgs, bool provideInitializerTokens) 451ICollection<CorrelationProperty> ICorrelationProvider.ResolveCorrelationPropertyValues(Type interfaceType, string methodName, object[] methodArgs, bool provideInitializerTokens)
LocalService\CorrelationService.cs (6)
22ICollection<CorrelationProperty> ResolveCorrelationPropertyValues(Type interfaceType, string memberName, object[] methodArgs, bool provideInitializerTokens); 134ICollection<CorrelationProperty> corrvalues = CorrelationResolver.ResolveCorrelationValues(interfaceType, methodName, null, true); 152ICollection<CorrelationProperty> correlationvalues = CorrelationResolver.ResolveCorrelationValues(interfaceType, methodName, messageArgs, false); 182private static void ValidateCorrelation(ICollection<CorrelationProperty> initializerProperties, ICollection<CorrelationProperty> followerProperties, string memberName, Activity activity) 277ICollection<CorrelationProperty> corrValues = CorrelationResolver.ResolveCorrelationValues(interfaceType, initializermethodName, null, true);
LocalService\CorrelationTokenInvalidatedHandler.cs (2)
44ICollection<CorrelationProperty> correlationValues = dataChangeEventArgs.CorrelationToken.Properties; 64private void CreateSubscription(Guid instanceId, ActivityExecutionContext context, ICollection<CorrelationProperty> correlationValues)
LocalService\FollowerQueueCreator.cs (1)
57ICollection<CorrelationProperty> corrValues = CorrelationResolver.ResolveCorrelationValues(staticId.InterfaceType, staticId.MethodName, message.Args, false);
LocalService\MessageEventSubscriptionService.cs (1)
88public virtual ICollection<CorrelationProperty> CorrelationProperties
LocalService\MessageQueueKey.cs (1)
54public EventQueueName(Type interfaceType, string operation, ICollection<CorrelationProperty> propertyValues)
LocalService\WorkflowMessageEventHandler.cs (1)
157ICollection<CorrelationProperty> predicates = CorrelationResolver.ResolveCorrelationValues(this.proxiedType, this.eventName, eventArgs, provideInitializerTokens);
Role\ADRole.cs (4)
76internal ActiveDirectoryRole(DirectoryEntry rootEntry, ICollection<IDirectoryOperation> operations) 129internal ICollection<IDirectoryOperation> Operations 171ICollection<DirectoryEntry> entries = this.GetEntries(); 186public ICollection<DirectoryEntry> GetEntries()
Rules\DeclarativeExpressionConditionDeclaration.cs (2)
23public abstract ICollection<string> GetDependencies(RuleValidation validation); 188public override ICollection<string> GetDependencies(RuleValidation validation)
Rules\Executor.cs (15)
282private ICollection<int> thenActionsActiveRules; 283private ICollection<int> elseActionsActiveRules; 290internal ICollection<int> ThenActionsActiveRules 296internal ICollection<int> ElseActionsActiveRules 354internal static IList<RuleState> Preprocess(RuleChainingBehavior behavior, ICollection<Rule> rules, RuleValidation validation, Tracer tracer) 402ICollection<RuleAction> actions = (result) ? 405ICollection<int> activeRules = result ? 462internal ICollection<string> conditionDependencies; 463internal ICollection<string> thenSideEffects; 464internal ICollection<string> elseSideEffects; 504private static ICollection<int> AnalyzeSideEffects(ICollection<string> sideEffects, RuleSymbolInfo[] ruleSymbols) 510ICollection<string> dependencies = ruleSymbols[i].conditionDependencies; 651private static ICollection<string> GetActionSideEffects(RuleChainingBehavior behavior, IList<RuleAction> actions, RuleValidation validation) 661ICollection<string> sideEffects = action.GetSideEffects(validation);
Rules\Parser\Parser.cs (1)
1140ICollection<string> paths = analysis.GetSymbols();
Rules\References.cs (1)
64public ICollection<string> GetSymbols()
Rules\Rule.cs (1)
179private static void ValidateRuleActions(ICollection<RuleAction> ruleActions, RuleValidation validator)
Rules\RuleAction.cs (4)
20public abstract ICollection<string> GetSideEffects(RuleValidation validation); 40public override ICollection<string> GetSideEffects(RuleValidation validation) 178public override ICollection<string> GetSideEffects(RuleValidation validation) 257public override ICollection<string> GetSideEffects(RuleValidation validation)
Rules\RuleSet.cs (1)
88public ICollection<Rule> Rules
Rules\RuleValidation.cs (1)
875public ICollection<Assembly> ReferencedAssemblies
Rules\Tracer.cs (7)
66internal void TraceConditionSymbols(string ruleName, ICollection<string> symbols) 71internal void TraceThenSymbols(string ruleName, ICollection<string> symbols) 76internal void TraceElseSymbols(string ruleName, ICollection<string> symbols) 81private void TraceRuleSymbols(string message, string clause, string ruleName, ICollection<string> symbols) 87internal void TraceThenTriggers(string currentRuleName, ICollection<int> triggeredRules, List<RuleState> ruleStates) 92internal void TraceElseTriggers(string currentRuleName, ICollection<int> triggeredRules, List<RuleState> ruleStates) 97private void TraceRuleTriggers(string thenOrElse, string currentRuleName, ICollection<int> triggeredRules, List<RuleState> ruleStates)
Task.cs (1)
66public ICollection<Activity> DynamicActivities
System.Workflow.ComponentModel (79)
AuthoringOM\ActivitiesCollection.cs (13)
108bool ICollection<Activity>.IsReadOnly 116bool ICollection<Activity>.Contains(Activity item) 121bool ICollection<Activity>.Remove(Activity item) 138void ICollection<Activity>.Clear() 140ICollection<Activity> children = base.GetRange(0, base.Count); 147void ICollection<Activity>.Add(Activity item) 158int ICollection<Activity>.Count 165void ICollection<Activity>.CopyTo(Activity[] array, int arrayIndex) 186return ((ICollection<Activity>)this).Count; 372private ICollection<Activity> addedItems = null; 373private ICollection<Activity> removedItems = null; 377public ActivityCollectionChangeEventArgs(int index, ICollection<Activity> removedItems, ICollection<Activity> addedItems, object owner, ActivityCollectionChangeAction action)
AuthoringOM\Activity.cs (3)
152internal static readonly DependencyProperty SynchronizationHandlesProperty = DependencyProperty.Register("SynchronizationHandles", typeof(ICollection<String>), typeof(Activity), new PropertyMetadata(DependencyPropertyOptions.Metadata)); 1379ICollection<String> handles = (ICollection<String>)GetValue(SynchronizationHandlesProperty);
AuthoringOM\ActivityExecutionContext.cs (11)
413ICollection<string> handles = GetAllSynchronizationHandles(activity); 450ICollection<string> synchronizationHandlesOnParent = (ICollection<string>)parent.GetValue(Activity.SynchronizationHandlesProperty); 471ICollection<string> handles = GetAllSynchronizationHandles(this.Activity); 532ICollection<string> synchronizationHandlesOnParent = (ICollection<string>)parent.GetValue(Activity.SynchronizationHandlesProperty); 550private ICollection<string> GetAllSynchronizationHandles(Activity activity) 553ICollection<string> handleCollection = (ICollection<string>)activity.GetValue(Activity.SynchronizationHandlesProperty); 567ICollection<string> handlesOnChild = (ICollection<string>)e.CurrentActivity.GetValue(Activity.SynchronizationHandlesProperty);
AuthoringOM\Behaviors\SynchronizationScope.cs (8)
41public ICollection<String> SynchronizationHandles 45return this.GetValue(SynchronizationHandlesProperty) as ICollection<String>; 92if (destinationType == typeof(string) && value is ICollection<String>) 93return Stringify(value as ICollection<String>); 113internal static string Stringify(ICollection<String> synchronizationHandles) 131internal static ICollection<String> UnStringify(string stringifiedValue) 133ICollection<String> synchronizationHandles = new List<String>(); 153string stringValue = SynchronizationHandlesTypeConverter.Stringify(value as ICollection<string>);
AuthoringOM\Compiler\TypeSystem\Interfaces.cs (1)
17ICollection<Assembly> ReferencedAssemblies { get; }
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
610public ICollection<Assembly> ReferencedAssemblies
AuthoringOM\Compiler\Validation\SynchronizationValidator.cs (2)
17ICollection<string> synchronizationHandles = activity.GetValue(Activity.SynchronizationHandlesProperty) as ICollection<string>;
AuthoringOM\Design\Connector.cs (4)
396protected internal virtual ICollection<Rectangle> ExcludedRoutingRectangles 406protected internal void SetConnectorSegments(ICollection<Point> segments) 1515public static Point[] Route(IServiceProvider serviceProvider, object source, object target, ICollection<Rectangle> userDefinedRoutingObstacles) 1657private static IList<Point> GetDesignerEscapeCover(ActivityDesigner designer, ICollection<object> escapeLocations)
AuthoringOM\Design\DesignerHelpers.cs (1)
1533internal static void ShowDesignerVerbs(ActivityDesigner designer, Point location, ICollection<DesignerVerb> designerVerbs)
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (1)
244internal static Point[] GetDesignerLocations(Point startPoint, Point endPoint, ICollection<Activity> activitiesToMove)
AuthoringOM\ItemList.cs (12)
18private ICollection<T> addedItems = null; 19private ICollection<T> removedItems = null; 23public ItemListChangeEventArgs(int index, ICollection<T> removedItems, ICollection<T> addedItems, object owner, ItemListChangeAction action) 175bool ICollection<T>.IsReadOnly 183bool ICollection<T>.Contains(T item) 188bool ICollection<T>.Remove(T item) 204void ICollection<T>.Clear() 206ICollection<T> children = this.GetRange(0, this.Count); 212void ICollection<T>.Add(T item) 222int ICollection<T>.Count 229void ICollection<T>.CopyTo(T[] array, int arrayIndex)
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (1)
166else if (objectType != null && TypeProvider.IsAssignable(typeof(ICollection<String>), objectType) && !objectType.IsArray && serializerType == typeof(CodeDomSerializer))
AuthoringOM\Serializer\CollectionMarkupSerializer.cs (5)
35throw new Exception(SR.GetString(SR.Error_SerializerTypeRequirement, obj.GetType().FullName, typeof(ICollection).FullName, typeof(ICollection<>).FullName)); 55throw new Exception(SR.GetString(SR.Error_SerializerTypeRequirement, value.GetType().FullName, typeof(ICollection).FullName, typeof(ICollection<>).FullName)); 70throw new Exception(SR.GetString(SR.Error_SerializerTypeRequirement, obj.GetType().FullName, typeof(ICollection).FullName, typeof(ICollection<>).FullName)); 83throw new Exception(SR.GetString(SR.Error_SerializerTypeRequirement, parentObj.GetType().FullName, typeof(ICollection).FullName, typeof(ICollection<>).FullName)); 98(typeof(ICollection<>).IsAssignableFrom(collectionType.GetGenericTypeDefinition()) ||
AuthoringOM\Serializer\StringCollectionMarkupSerializer.cs (2)
26return (value is ICollection<String>); 36return SynchronizationHandlesTypeConverter.Stringify(value as ICollection<String>);
AuthoringOM\Serializer\SynchronizationHandlesCodeDomSerializer.cs (2)
33ICollection<String> handles = obj as ICollection<String>;
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
494if (TypeProvider.IsAssignable(typeof(ICollection<string>), objectType) && TypeProvider.IsAssignable(objectType, typeof(List<string>)) && !TypeProvider.IsAssignable(typeof(Array), objectType))
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (11)
1628else if (typeof(ICollection<string>).IsAssignableFrom(value.GetType())) 1630ICollection<string> propVal = pi.GetValue(obj, null) as ICollection<string>; 1631ICollection<string> deserializedValue = value as ICollection<string>; 1931if (isReadOnly && !typeof(ICollection<string>).IsAssignableFrom(propertyType)) 2021else if (typeof(ICollection<string>).IsAssignableFrom(memberValue.GetType())) 2023ICollection<string> propVal = property.GetValue(obj, null) as ICollection<string>; 2024ICollection<string> deserializedValue = memberValue as ICollection<string>;
System.Workflow.Runtime (4)
CorrelationToken.cs (4)
30internal static readonly DependencyProperty PropertiesProperty = DependencyProperty.Register("Properties", typeof(ICollection<CorrelationProperty>), typeof(CorrelationToken), new PropertyMetadata(new Attribute[] { new BrowsableAttribute(false), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) })); 72public ICollection<CorrelationProperty> Properties 76return GetValue(PropertiesProperty) as ICollection<CorrelationProperty>; 110public void Initialize(Activity activity, ICollection<CorrelationProperty> propertyValues)
System.WorkflowServices (10)
System\ServiceModel\SerializableReadOnlyDictionary.cs (2)
62public ICollection<K> Keys 66public ICollection<V> Values
System\Workflow\Activities\OperationParameterInfoCollection.cs (8)
44return ((ICollection<OperationParameterInfo>) this).Count; 48int ICollection<OperationParameterInfo>.Count 56bool ICollection<OperationParameterInfo>.IsReadOnly 176void ICollection<OperationParameterInfo>.Add(OperationParameterInfo item) 186void ICollection<OperationParameterInfo>.Clear() 191bool ICollection<OperationParameterInfo>.Contains(OperationParameterInfo item) 195void ICollection<OperationParameterInfo>.CopyTo(OperationParameterInfo[] array, int arrayIndex) 213bool ICollection<OperationParameterInfo>.Remove(OperationParameterInfo item)
WindowsBase (12)
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (2)
51ICollection<ContentGrant> grantCollection, 85ICollection<ContentGrant> grantCollection,
Base\System\Collections\ObjectModel\WeakReadOnlyCollection.cs (4)
84bool ICollection<T>.IsReadOnly { 97void ICollection<T>.Add(T value) { 102void ICollection<T>.Clear() { 112bool ICollection<T>.Remove(T value) {
Base\System\Security\RightsManagement\UnsignedPublishLicense.cs (2)
233public ICollection<ContentGrant> Grants 382private ICollection<ContentGrant> _grantCollection;
Base\System\Windows\NameScope.cs (2)
365public ICollection<string> Keys 383public ICollection<object> Values
Shared\MS\Utility\FrugalList.cs (2)
1311public ArrayItemList(ICollection<T> collection) 2052public FrugalStructList(ICollection<T> collection)