10 references to Take
Microsoft.CodeAnalysis.CSharp (10)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
618return method.Construct(IndexedTypeParameterSymbol.Take(n)); 643return type.Construct(IndexedTypeParameterSymbol.Take(n));
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (2)
227var genericFieldTypes = IndexedTypeParameterSymbol.Take(nTypeArguments); 343var typeMap = new TypeMap(typeParameters, IndexedTypeParameterSymbol.Take(typeParameters.Length), allowAlpha: true);
Symbols\MemberSignatureComparer.cs (1)
622IndexedTypeParameterSymbol.Take(member.GetMemberArity()),
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (1)
229IndexedTypeParameterSymbol.Take(candidateMethod.Arity), true);
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
2758var containingTypeMap = new TypeMap(containingTypeParameters, IndexedTypeParameterSymbol.Take(n), allowAlpha: false); 2759var nestedTypeMap = new TypeMap(nestedTypeParameters, IndexedTypeParameterSymbol.Take(nestedTypeParameters.Length), allowAlpha: false);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
599var indexedTypeParameters = IndexedTypeParameterSymbol.Take(arity);
Symbols\TypeSymbol.cs (1)
2096var indexedTypeParameters = IndexedTypeParameterSymbol.Take(arity);