251 references to TypeParameter
ConfigurationSchemaGenerator (1)
ILLink.RoslynAnalyzer (2)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CodeStyle (11)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
Microsoft.CodeAnalysis.CSharp (48)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
Diagnostics\NamingStyles\EditorConfigNamingStyleParserTests.cs (3)
342[InlineData("type_parameter", new object[] { SymbolKind.TypeParameter })]
344[InlineData("*", new object[] { SymbolKind.Namespace, TypeKind.Class, TypeKind.Struct, TypeKind.Interface, TypeKind.Enum, SymbolKind.Property, MethodKind.Ordinary, MethodKind.LocalFunction, SymbolKind.Field, SymbolKind.Event, TypeKind.Delegate, SymbolKind.Parameter, SymbolKind.TypeParameter, SymbolKind.Local })]
345[InlineData(null, new object[] { SymbolKind.Namespace, TypeKind.Class, TypeKind.Struct, TypeKind.Interface, TypeKind.Enum, SymbolKind.Property, MethodKind.Ordinary, MethodKind.LocalFunction, SymbolKind.Field, SymbolKind.Event, TypeKind.Delegate, SymbolKind.Parameter, SymbolKind.TypeParameter, SymbolKind.Local })]
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\LocalFunctionTests.cs (10)
6450Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6491Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6494Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6497Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6538Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6541Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
6544Assert.Equal(SymbolKind.TypeParameter, symbol.Kind);
7373Assert.Equal(SymbolKind.TypeParameter, symbolInfo.Symbol.Kind);
7635private void VerifyTParameter(CSharpCompilation comp, int index, string expectedContainer, bool findAnyways = false, string lookupFinds = "TParameter", SymbolKind symbolKind = SymbolKind.TypeParameter)
7656Assert.Equal(SymbolKind.TypeParameter, typeInfo.Type.Kind);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Microsoft.CodeAnalysis.Features (6)
Microsoft.CodeAnalysis.VisualBasic (70)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (2)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (31)
DocumentationComments\DocCommentTests.vb (30)
5010Assert.Equal(SymbolKind.TypeParameter, typeParamSymInfo.CandidateSymbols.Single().Kind)
6734SymbolKind.NamedType, SymbolKind.TypeParameter),
6741SymbolKind.NamedType, SymbolKind.TypeParameter),
6748SymbolKind.NamedType, SymbolKind.TypeParameter))
6760SymbolKind.NamedType, SymbolKind.TypeParameter),
6767SymbolKind.NamedType, SymbolKind.TypeParameter),
6774SymbolKind.NamedType, SymbolKind.TypeParameter))
7005SymbolKind.TypeParameter))
7064SymbolKind.TypeParameter))
7108SymbolKind.TypeParameter),
7113SymbolKind.TypeParameter),
7118SymbolKind.TypeParameter),
7127SymbolKind.TypeParameter),
7132SymbolKind.TypeParameter),
7137SymbolKind.TypeParameter),
7170SymbolKind.TypeParameter),
7175SymbolKind.TypeParameter),
7180SymbolKind.TypeParameter),
7189SymbolKind.TypeParameter),
7194SymbolKind.TypeParameter),
7199SymbolKind.TypeParameter),
7232SymbolKind.TypeParameter, SymbolKind.Parameter),
7237SymbolKind.TypeParameter, SymbolKind.Parameter),
7242SymbolKind.TypeParameter, SymbolKind.Parameter),
7247SymbolKind.TypeParameter, SymbolKind.Parameter),
7252SymbolKind.TypeParameter, SymbolKind.Parameter),
7257SymbolKind.TypeParameter, SymbolKind.Parameter),
7347text.IndexOf("name=""X""", StringComparison.Ordinal) + 6), SymbolKind.Field, SymbolKind.TypeParameter),
7353text.IndexOf("cref=""X""", StringComparison.Ordinal) + 6), SymbolKind.Field, SymbolKind.TypeParameter),
11968If actual.Symbol IsNot Nothing AndAlso actual.Symbol.Kind = SymbolKind.TypeParameter Then ' Works everywhere since we want it to work in name attributes.
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
Microsoft.CodeAnalysis.Workspaces (16)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.Extensions.Logging.Generators (1)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Gen.Logging (3)
Microsoft.Gen.Metrics (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
System.Text.Json.SourceGeneration (1)
System.Text.RegularExpressions.Generator (1)