32 references to System_Collections_Generic_ICollection_T
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\Parser\KnownTypeSymbols.cs (1)
106GenericICollection = compilation.GetSpecialType(SpecialType.System_Collections_Generic_ICollection_T);
Microsoft.CodeAnalysis (7)
SpecialMembers.cs (7)
1184(byte)SpecialType.System_Collections_Generic_ICollection_T, // DeclaringTypeId 1191(byte)SpecialType.System_Collections_Generic_ICollection_T, // DeclaringTypeId 1198(byte)SpecialType.System_Collections_Generic_ICollection_T, // DeclaringTypeId 1206(byte)SpecialType.System_Collections_Generic_ICollection_T, // DeclaringTypeId 1213(byte)SpecialType.System_Collections_Generic_ICollection_T, // DeclaringTypeId 1221(byte)SpecialType.System_Collections_Generic_ICollection_T, // DeclaringTypeId 1230(byte)SpecialType.System_Collections_Generic_ICollection_T, // DeclaringTypeId
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Lookup.cs (1)
975iFaceSpecial == SpecialType.System_Collections_Generic_ICollection_T ||
Binder\Semantics\Conversions\ConversionsBase.cs (1)
3786specialDefinition == SpecialType.System_Collections_Generic_ICollection_T ||
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
203var iCollectionOfTType = _compilation.GetSpecialType(SpecialType.System_Collections_Generic_ICollection_T);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (2)
60SpecialType.System_Collections_Generic_ICollection_T, 292var iCollectionT = compilation.GetSpecialType(SpecialType.System_Collections_Generic_ICollection_T).Construct(typeArgs);
Symbols\TypeSymbolExtensions.cs (2)
386SpecialType.System_Collections_Generic_ICollection_T or 528st == SpecialType.System_Collections_Generic_ICollection_T ||
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
313is SpecialType.System_Collections_Generic_ICollection_T
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (2)
654if (originalNamedConvertedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_ICollection_T && 661if (originalNamedConvertedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_ICollection_T or SpecialType.System_Collections_Generic_IList_T &&
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\CollectionExpressionTests.cs (2)
13374[InlineData(SpecialType.System_Collections_Generic_ICollection_T, "System.Collections.Generic.ICollection`1")] 37085comp.MakeTypeMissing(SpecialType.System_Collections_Generic_ICollection_T);
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
313is SpecialType.System_Collections_Generic_ICollection_T
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\GetSemanticInfoTests.cs (2)
4064Assert.Equal(SpecialType.System_Collections_Generic_ICollection_T, ((TypeSymbol)reducedFrom1.Parameters[0].Type.OriginalDefinition).SpecialType); 4075Assert.Equal(SpecialType.System_Collections_Generic_ICollection_T, ((TypeSymbol)reducedFrom2.Parameters[0].Type.OriginalDefinition).SpecialType);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (2)
654if (originalNamedConvertedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_ICollection_T && 661if (originalNamedConvertedType.OriginalDefinition.SpecialType is SpecialType.System_Collections_Generic_ICollection_T or SpecialType.System_Collections_Generic_IList_T &&
Microsoft.CodeAnalysis.VisualBasic (5)
Binding\Binder_Conversions.vb (1)
712targetGenericDefinition.SpecialType = SpecialType.System_Collections_Generic_ICollection_T OrElse
Binding\Binder_Expressions.vb (1)
1541originalTargetType.SpecialType = SpecialType.System_Collections_Generic_ICollection_T OrElse
Binding\Binder_Lookup.vb (1)
834iFaceSpecial = SpecialType.System_Collections_Generic_ICollection_T OrElse
Semantics\Conversions.vb (2)
1187originalTargetType.SpecialType = SpecialType.System_Collections_Generic_ICollection_T OrElse 2477dstUnderlyingSpecial <> SpecialType.System_Collections_Generic_ICollection_T AndAlso
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\GetSemanticInfoTests.vb (2)
4519Assert.Equal(SpecialType.System_Collections_Generic_ICollection_T, CType(reducedFrom1.Parameters(0).Type.OriginalDefinition, TypeSymbol).SpecialType) 4530Assert.Equal(SpecialType.System_Collections_Generic_ICollection_T, CType(reducedFrom2.Parameters(0).Type.OriginalDefinition, TypeSymbol).SpecialType)