5 references to ElementAt
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
74
if (symbol.ConstraintTypes.
ElementAt
(0) is INamedTypeSymbol namedType)
Microsoft.CodeAnalysis.CSharp.Features (3)
ChangeSignature\CSharpChangeSignatureService.cs (1)
820
if (identifier == null || identifier.ToString() != declaredParameters.
ElementAt
(i).Name)
GenerateType\CSharpGenerateTypeService.cs (2)
432
return memberGroup.
ElementAt
(0).IsKind(SymbolKind.Method) ? (IMethodSymbol)memberGroup.
ElementAt
(0) : null;
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\TypeParameterSubstitution.cs (1)
74
if (symbol.ConstraintTypes.
ElementAt
(0) is INamedTypeSymbol namedType)