995 references to Class
ILLink.RoslynAnalyzer (1)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.App.SourceGenerators (1)
Microsoft.AspNetCore.Mvc.Analyzers (2)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
Microsoft.CodeAnalysis.CodeStyle (10)
Microsoft.CodeAnalysis.CodeStyle.Fixes (7)
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberService.cs (1)
26TypeKind.Class,
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
Microsoft.CodeAnalysis.CSharp (94)
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (11)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (28)
CodeActions\GenerateType\GenerateTypeTests_Dialog.cs (25)
1471typeKind: TypeKind.Class,
1515typeKind: TypeKind.Class,
1553typeKind: TypeKind.Class,
1598typeKind: TypeKind.Class,
1637typeKind: TypeKind.Class,
1682typeKind: TypeKind.Class,
1719typeKind: TypeKind.Class,
1759typeKind: TypeKind.Class,
1804typeKind: TypeKind.Class,
1848typeKind: TypeKind.Class,
1899typeKind: TypeKind.Class,
2039typeKind: TypeKind.Class,
2076typeKind: TypeKind.Class,
2114typeKind: TypeKind.Class,
2152typeKind: TypeKind.Class,
2189typeKind: TypeKind.Class,
2219typeKind: TypeKind.Class,
2298typeKind: TypeKind.Class,
3111typeKind: TypeKind.Class,
3148typeKind: TypeKind.Class,
3185typeKind: TypeKind.Class,
3228typeKind: TypeKind.Class,
3277typeKind: TypeKind.Class,
3531typeKind: TypeKind.Class,
3564typeKind: TypeKind.Class,
Diagnostics\NamingStyles\EditorConfigNamingStyleParserTests.cs (2)
341[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 })]
342[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.Emit.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Features (13)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (44)
Semantics\LambdaTests.cs (12)
2125Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2170Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2216Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2262Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2308Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2365Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2420Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2466Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2512Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2545Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2578Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
2615Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
Semantics\NullableReferenceTypesTests.cs (13)
3339Assert.Equal(TypeKind.Class, typeInfo.Type.TypeKind);
116621Assert.Equal(TypeKind.Class, compilation1.GetTypeByMetadataName("C").TypeKind);
116641Assert.Equal(TypeKind.Class, compilation2.GetTypeByMetadataName("C").TypeKind);
116652Assert.Equal(TypeKind.Class, compilation3.GetTypeByMetadataName("C").TypeKind);
116675Assert.Equal(TypeKind.Class, a.TypeKind);
116677Assert.Equal(TypeKind.Class, b.TypeKind);
116679Assert.Equal(TypeKind.Class, c.TypeKind);
116681Assert.Equal(TypeKind.Class, d.TypeKind);
116743Assert.Equal(TypeKind.Class, a.TypeKind);
116745Assert.Equal(TypeKind.Class, b.TypeKind);
116747Assert.Equal(TypeKind.Class, c.TypeKind);
116749Assert.Equal(TypeKind.Class, d.TypeKind);
116761Assert.Equal(TypeKind.Class, compilation7.GetTypeByMetadataName("C").TypeKind);
Semantics\UseSiteErrorTests.cs (13)
2311Assert.Equal(TypeKind.Class, compilation1.GetTypeByMetadataName("C").TypeKind);
2329Assert.Equal(TypeKind.Class, compilation2.GetTypeByMetadataName("C").TypeKind);
2340Assert.Equal(TypeKind.Class, compilation3.GetTypeByMetadataName("C").TypeKind);
2363Assert.Equal(TypeKind.Class, a.TypeKind);
2365Assert.Equal(TypeKind.Class, b.TypeKind);
2367Assert.Equal(TypeKind.Class, c.TypeKind);
2369Assert.Equal(TypeKind.Class, d.TypeKind);
2385Assert.Equal(TypeKind.Class, compilation5.GetTypeByMetadataName("C").TypeKind);
2408Assert.Equal(TypeKind.Class, a.TypeKind);
2410Assert.Equal(TypeKind.Class, b.TypeKind);
2412Assert.Equal(TypeKind.Class, c.TypeKind);
2414Assert.Equal(TypeKind.Class, d.TypeKind);
2426Assert.Equal(TypeKind.Class, compilation7.GetTypeByMetadataName("C").TypeKind);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (261)
Compilation\SemanticModelGetSemanticInfoTests.cs (188)
85Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
87Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
116Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
118Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
150Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
152Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
191Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
193Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
232Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
234Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
462Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
464Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
725Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
727Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
761Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
763Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
1643Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
1645Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
1750Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
1898Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
1900Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
1927Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
1929Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
1957Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
1959Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
2118Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
2120Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
2263Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
2265Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
2298Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
2300Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
2576Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
2578Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
2649Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
2651Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
2982Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
2984Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3072Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
3074Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3117Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
3119Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3427Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3589Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
3591Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3627Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
3629Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3671Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
3673Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3705Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
3707Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3739Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
3741Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3773Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
3775Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3864Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
3866Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3899Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
3901Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
3938Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
4007Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
4009Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
4069Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
4071Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
4246Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
4248Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
4443Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
4445Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
4474Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
4476Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
4851Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
4853Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
4964Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
4966Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
5016Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
5018Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
5106Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
5108Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
5153Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
5155Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
5199Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
5201Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
5278Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
5280Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
5320Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
5322Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
5694Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
5728Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
5730Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
6329Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
6331Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
6519Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
6521Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
6554Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
6556Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
6591Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
6593Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
6675Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
6677Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
6875Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
6877Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
7106Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
7108Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
7137Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
7139Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
7698Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
7700Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
7729Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
8369Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
8371Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
8403Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
8405Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
8560Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
8562Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
8605Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
8607Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
8770Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
9064Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
9123Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
9125Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
9456Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
9458Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
9669Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
9671Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
9720Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
9722Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
9831Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
9833Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
9917Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
9919Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
9951Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
9953Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
9987Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
9989Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
10023Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10025Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
10059Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10061Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
10103Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10105Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
10140Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10142Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
10177Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10179Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
10216Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10218Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
10247Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10249Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
10282Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10284Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
10494Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10523Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10798Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10800Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
10835Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
10837Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
11144Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
11146Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
11222Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
11224Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
12186Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
12188Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
12258Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
12324Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
12426Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
12428Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
12486Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
12676Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
12678Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
13037Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
13039Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
13129Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
13131Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
13163Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
13165Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
13197Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
13199Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
13323Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
13325Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
13873Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
13875Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
13912Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
13914Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
13951Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
13953Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
15152Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
15154Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
15405Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind);
15407Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind);
Symbols\CompilationCreationTests.cs (7)
2460Assert.Equal(TypeKind.Class, type3.TypeKind);
2622Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Linq.Enumerable"));
2624Assert.True(HasSingleTypeOfKind(c, TypeKind.Class, "System.Linq.Enumerable"));
2625Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Uri"));
2627Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Linq.Enumerable"));
2628Assert.True(HasSingleTypeOfKind(c, TypeKind.Class, "System.Uri"));
2630Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Uri"));
Symbols\Metadata\PE\LoadingMethods.cs (13)
394Assert.Equal(TypeKind.Class, @class.TypeKind);
423Assert.Equal(TypeKind.Class, @class.TypeKind);
455Assert.Equal(TypeKind.Class, @class.TypeKind);
491Assert.Equal(TypeKind.Class, @class.TypeKind);
525Assert.Equal(TypeKind.Class, @class.TypeKind);
548Assert.Equal(TypeKind.Class, @class.TypeKind);
585Assert.Equal(TypeKind.Class, @class.TypeKind);
612Assert.Equal(TypeKind.Class, baseClass.TypeKind);
615Assert.Equal(TypeKind.Class, derivedClass.TypeKind);
640Assert.Equal(TypeKind.Class, @class.TypeKind);
673Assert.Equal(TypeKind.Class, @class.TypeKind);
710Assert.Equal(TypeKind.Class, outerClass.TypeKind);
736Assert.Equal(TypeKind.Class, innerClass.TypeKind);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.Features (24)
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberService.cs (1)
26TypeKind.Class,
Microsoft.CodeAnalysis.Test.Utilities (4)
Microsoft.CodeAnalysis.VisualBasic (74)
Binding\Binder_Lookup.vb (5)
580Case TypeKind.Class, TypeKind.Module, TypeKind.Structure, TypeKind.Delegate, TypeKind.Array, TypeKind.Enum
606Case TypeKind.Class, TypeKind.Structure, TypeKind.Delegate, TypeKind.Array, TypeKind.Enum
931Case TypeKind.Class, TypeKind.Module, TypeKind.Structure
1092Case TypeKind.Class, TypeKind.Module, TypeKind.Structure
1964(container.TypeKind = TypeKind.Class OrElse container.TypeKind = TypeKind.Structure) AndAlso
Compilation\ClsComplianceChecker.vb (2)
595Case TypeKind.Class, TypeKind.Structure, TypeKind.Interface, TypeKind.Delegate, TypeKind.Enum, TypeKind.Submission, TypeKind.Module
621Case TypeKind.Class, TypeKind.Structure, TypeKind.Interface, TypeKind.Delegate, TypeKind.Enum, TypeKind.Submission, TypeKind.Module
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (3)
Microsoft.CodeAnalysis.VisualBasic.Features (7)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (247)
Semantics\GetExtendedSemanticInfoTests.vb (154)
115Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
117Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
150Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
152Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
227Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
229Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
270Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
272Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
313Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
315Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
695Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
697Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
793Assert.Equal(TypeKind.[Class], semanticSummary.Type.TypeKind)
851Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
853Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
908Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
910Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
1002Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
1004Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
1053Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
1055Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
1104Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
1106Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
1151Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
1153Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
1197Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
1199Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
1243Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
1245Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
1291Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
1293Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
1336Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
1338Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
1416Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
1418Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
2147Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
2207Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
2209Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
2362Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
2364Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
2710Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
2779Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
2781Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
2882Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
2884Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
3143Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
3145Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
3179Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
3181Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
3663Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
3665Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
3716Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
3718Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
3793Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
3795Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
4095Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4097Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4193Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4195Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4234Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4236Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4272Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4274Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4311Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4313Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4498Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4500Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4575Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4577Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4619Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4654Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4709Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4752Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4754Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4792Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4833Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4835Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4868Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4870Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4899Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4901Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
4931Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
4933Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
5096Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
5098Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
5127Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
5129Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
5280Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
5504Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
5534Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
5772Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
5774Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
6097Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
6099Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
6179Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
6181Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
7118Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
7120Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
7202Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
7204Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
7318Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
7320Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
7452Assert.Equal(TypeKind.Class, semanticInfo1.Type.TypeKind)
7454Assert.Equal(TypeKind.Class, semanticInfo1.ConvertedType.TypeKind)
7463Assert.Equal(TypeKind.Class, semanticInfo2.Type.TypeKind)
7465Assert.Equal(TypeKind.Class, semanticInfo2.ConvertedType.TypeKind)
7507Assert.Equal(TypeKind.Class, semanticInfo1.Type.TypeKind)
7509Assert.Equal(TypeKind.Class, semanticInfo1.ConvertedType.TypeKind)
7518Assert.Equal(TypeKind.Class, semanticInfo2.Type.TypeKind)
7520Assert.Equal(TypeKind.Class, semanticInfo2.ConvertedType.TypeKind)
7776Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
7810Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
7812Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
7849Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
7851Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
7888Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
7890Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
7927Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
7929Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
7966Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
7968Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
8004Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
8006Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
8336Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
8338Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
8702Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
8851Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
8924Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
8999Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
9001Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
9505Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9507Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9538Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9540Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9573Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9575Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9608Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9610Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9643Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9645Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9691Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9693Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9731Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9733Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9771Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9773Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9814Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9816Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9846Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9848Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9880Assert.Equal(TypeKind.[Class], semanticInfo.Type.TypeKind)
9882Assert.Equal(TypeKind.[Class], semanticInfo.ConvertedType.TypeKind)
9926Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
9928Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
Semantics\GetSemanticInfoTests.vb (25)
762Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
764Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
1498Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
1500Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
2088Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
2090Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
2143Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
2145Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
2163Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
2165Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
2416Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
2418Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
3379Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
3426Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
3428Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
3479Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
3481Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
3533Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
3535Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
3586Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
3588Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
3638Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
3640Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
3683Assert.Equal(TypeKind.Class, semanticSummary.Type.TypeKind)
3685Assert.Equal(TypeKind.Class, semanticSummary.ConvertedType.TypeKind)
Semantics\LambdaSemanticInfoTests.vb (22)
37Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
39Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
69Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
71Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
103Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
105Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
135Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
137Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
210Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
212Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
245Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
247Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
280Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
282Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
318Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
320Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
353Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
355Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
394Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
434Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
718Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
720Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
Semantics\QueryExpressions_SemanticModel.vb (10)
1297Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
1299Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
1323Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
1325Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
2101Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
2103Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
2775Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
2777Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
3360Assert.Equal(TypeKind.Class, semanticInfo.Type.TypeKind)
3362Assert.Equal(TypeKind.Class, semanticInfo.ConvertedType.TypeKind)
Semantics\UseSiteErrorTests.vb (13)
600Assert.Equal(TypeKind.Class, compilation1.GetTypeByMetadataName("C").TypeKind)
620Assert.Equal(TypeKind.Class, compilation2.GetTypeByMetadataName("C").TypeKind)
631Assert.Equal(TypeKind.Class, compilation3.GetTypeByMetadataName("C").TypeKind)
654Assert.Equal(TypeKind.Class, a.TypeKind)
656Assert.Equal(TypeKind.Class, b.TypeKind)
658Assert.Equal(TypeKind.Class, c.TypeKind)
660Assert.Equal(TypeKind.Class, d.TypeKind)
673Assert.Equal(TypeKind.Class, compilation5.GetTypeByMetadataName("C").TypeKind)
696Assert.Equal(TypeKind.Class, a.TypeKind)
698Assert.Equal(TypeKind.Class, b.TypeKind)
700Assert.Equal(TypeKind.Class, c.TypeKind)
702Assert.Equal(TypeKind.Class, d.TypeKind)
714Assert.Equal(TypeKind.Class, compilation7.GetTypeByMetadataName("C").TypeKind)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (57)
SymbolsTests\CompilationCreationTests.vb (7)
1921Assert.Equal(TypeKind.[Class], type3.TypeKind)
2050Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Linq.Enumerable"))
2052Assert.True(HasSingleTypeOfKind(c, TypeKind.Class, "System.Linq.Enumerable"))
2053Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Uri"))
2055Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Linq.Enumerable"))
2056Assert.True(HasSingleTypeOfKind(c, TypeKind.Class, "System.Uri"))
2058Assert.False(HasSingleTypeOfKind(c, TypeKind.Class, "System.Uri"))
SymbolsTests\Source\BindingsTests.vb (10)
180Assert.Equal(TypeKind.Class, DirectCast(typeContext.ContainingNamespaceOrType, NamedTypeSymbol).TypeKind)
361Assert.Equal(TypeKind.Class, typeSymbol.TypeKind)
366Assert.Equal(TypeKind.Class, typeSymbol2.TypeKind)
390Assert.Equal(TypeKind.Class, typeSymbol5.TypeKind)
401Assert.Equal(TypeKind.Class, typeSymbol6.TypeKind)
477Assert.Equal(TypeKind.Class, importsOrangeSymInfo.Type.TypeKind)
488Assert.Equal(TypeKind.Class, importsYellowSymInfo.Type.TypeKind)
518Assert.Equal(TypeKind.Class, classYellowSymInfo.Type.TypeKind)
524Assert.Equal(TypeKind.Class, DirectCast(symbols(0), NamedTypeSymbol).TypeKind)
681Assert.Equal(TypeKind.Class, info.Type.TypeKind)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
Microsoft.CodeAnalysis.Workspaces (17)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.Gen.Logging (1)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.Metrics (2)
Microsoft.Gen.MetricsReports (2)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.SourceGeneration (3)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.VisualStudio.LanguageServices (14)
Progression\GraphProvider.cs (6)
200IsAnyTypeKind(n, TypeKind.Class, TypeKind.Interface, TypeKind.Struct, TypeKind.Enum, TypeKind.Delegate)))
227IsAnyTypeKind(n, TypeKind.Class, TypeKind.Struct)))
245IsAnyTypeKind(n, TypeKind.Class, TypeKind.Struct)))
257IsAnyTypeKind(n, TypeKind.Class, TypeKind.Struct) &&
295IsAnyTypeKind(n, TypeKind.Class, TypeKind.Struct) &&
307IsAnyTypeKind(n, TypeKind.Class, TypeKind.Struct) &&
Microsoft.VisualStudio.LanguageServices.CSharp (3)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (4)
Microsoft.VisualStudio.LanguageServices.VisualBasic (7)