4 implementations of ITypeParameterSymbol
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (1)
532 references to ITypeParameterSymbol
Microsoft.CodeAnalysis (14)
Microsoft.CodeAnalysis.CodeStyle (32)
Microsoft.CodeAnalysis.CodeStyle.Fixes (34)
Microsoft.CodeAnalysis.CSharp (37)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (14)
Microsoft.CodeAnalysis.CSharp.Features (27)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (33)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
Microsoft.CodeAnalysis.CSharp.Workspaces (15)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (5)
Microsoft.CodeAnalysis.Features (137)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (10)
124ImmutableArray<ITypeParameterSymbol> capturedTypeParameters,
320string structName, ImmutableArray<ITypeParameterSymbol> typeParameters,
397ImmutableArray<ITypeParameterSymbol> typeParameters, bool addRenameAnnotation)
608string structName, ImmutableArray<ITypeParameterSymbol> typeParameters,
628string typeName, ImmutableArray<ITypeParameterSymbol> typeParameters,
682SyntaxEditor editor, string typeName, ImmutableArray<ITypeParameterSymbol> typeParameters,
742string typeName, ImmutableArray<ITypeParameterSymbol> typeParameters,
772SyntaxEditor editor, string typeName, ImmutableArray<ITypeParameterSymbol> typeParameters,
791Document document, Scope scope, bool isRecord, string structName, ImmutableArray<ITypeParameterSymbol> typeParameters,
903ImmutableArray<ITypeParameterSymbol> typeParameters, ImmutableArray<ISymbol> members)
ExtractMethod\MethodExtractor.Analyzer.cs (29)
129var sortedMap = new SortedDictionary<int, ITypeParameterSymbol>();
708private static void AddTypeParametersToMap(IEnumerable<ITypeParameterSymbol> typeParameters, IDictionary<int, ITypeParameterSymbol> sortedMap)
710foreach (var typeParameter in typeParameters)
716private static void AddTypeParameterToMap(ITypeParameterSymbol typeParameter, IDictionary<int, ITypeParameterSymbol> sortedMap)
731IDictionary<int, ITypeParameterSymbol> sortedMap)
756private static void AppendMethodTypeParameterFromConstraint(SortedDictionary<int, ITypeParameterSymbol> sortedMap)
758var typeParametersInConstraint = new List<ITypeParameterSymbol>();
761foreach (var typeParameter in sortedMap.Values)
777foreach (var typeParameter in typeParametersInConstraint)
783private static void AppendMethodTypeParameterUsedDirectly(IDictionary<ISymbol, List<SyntaxToken>> symbolMap, IDictionary<int, ITypeParameterSymbol> sortedMap)
787var typeParameter = (ITypeParameterSymbol)pair.Key;
798private IEnumerable<ITypeParameterSymbol> GetMethodTypeParametersInConstraintList(
802SortedDictionary<int, ITypeParameterSymbol> sortedMap)
814private void AppendTypeParametersInConstraintsUsedByConstructedTypeWithItsOwnConstraints(SortedDictionary<int, ITypeParameterSymbol> sortedMap)
817var candidates = SpecializedCollections.EmptyEnumerable<ITypeParameterSymbol>();
820foreach (var typeParameter in sortedMap.Values)
835foreach (var typeParameter in candidates)
841private IEnumerable<ITypeParameterSymbol> AppendTypeParametersInConstraintsUsedByConstructedTypeWithItsOwnConstraints(
846return SpecializedCollections.EmptyEnumerable<ITypeParameterSymbol>();
853return SpecializedCollections.EmptyEnumerable<ITypeParameterSymbol>();
858return SpecializedCollections.EmptyEnumerable<ITypeParameterSymbol>();
866var typeParameters = new List<ITypeParameterSymbol>();
869var parameter = parameters[i];
871if (arguments[i] is ITypeParameterSymbol argument)
897private static IEnumerable<ITypeParameterSymbol> GetMethodTypeParametersInDeclaration(ITypeSymbol returnType, SortedDictionary<int, ITypeParameterSymbol> sortedMap)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.VisualBasic (32)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
Microsoft.CodeAnalysis.VisualBasic.Features (15)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces (98)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.VisualStudio.LanguageServices (6)
Microsoft.VisualStudio.LanguageServices.CSharp (3)
Microsoft.VisualStudio.LanguageServices.VisualBasic (5)