494 references to Interface
ConfigurationSchemaGenerator (1)
ILLink.RoslynAnalyzer (2)
Microsoft.Analyzers.Extra (1)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.App.Analyzers (1)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
Microsoft.AspNetCore.Mvc.Analyzers (1)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
Microsoft.CodeAnalysis.CodeStyle (16)
Microsoft.CodeAnalysis.CodeStyle.Fixes (15)
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
Microsoft.CodeAnalysis.CSharp (54)
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (30)
CodeActions\GenerateType\GenerateTypeTests_Dialog.cs (26)
356typeKind: TypeKind.Interface,
551typeKind: TypeKind.Interface,
595typeKind: TypeKind.Interface,
640typeKind: TypeKind.Interface,
685typeKind: TypeKind.Interface,
723typeKind: TypeKind.Interface,
759typeKind: TypeKind.Interface,
798typeKind: TypeKind.Interface,
840typeKind: TypeKind.Interface,
876typeKind: TypeKind.Interface,
919typeKind: TypeKind.Interface,
966typeKind: TypeKind.Interface,
1015typeKind: TypeKind.Interface,
1070typeKind: TypeKind.Interface,
1115typeKind: TypeKind.Interface,
1164typeKind: TypeKind.Interface,
1223typeKind: TypeKind.Interface,
1262typeKind: TypeKind.Interface,
1307typeKind: TypeKind.Interface,
1346typeKind: TypeKind.Interface,
1392typeKind: TypeKind.Interface,
1432typeKind: TypeKind.Interface,
1987typeKind: TypeKind.Interface,
2009typeKind: TypeKind.Interface,
2333typeKind: TypeKind.Interface,
2368typeKind: TypeKind.Interface,
Diagnostics\NamingStyles\EditorConfigNamingStyleParserTests.cs (4)
343[InlineData("interface", new object[] { TypeKind.Interface })]
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 })]
454var expectedApplicableTypeKindList = new[] { new SymbolKindOrTypeKind(TypeKind.Interface) };
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Features (5)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (15)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (75)
Compilation\SemanticModelGetSemanticInfoTests.cs (15)
2191Assert.Equal(TypeKind.Interface, semanticInfo.Type.TypeKind);
2193Assert.Equal(TypeKind.Interface, semanticInfo.ConvertedType.TypeKind);
12256Assert.Equal(TypeKind.Interface, semanticInfo.Type.TypeKind);
14081Assert.Equal(TypeKind.Interface, semanticInfo.Type.TypeKind);
14083Assert.Equal(TypeKind.Interface, semanticInfo.ConvertedType.TypeKind);
14119Assert.Equal(TypeKind.Interface, semanticInfo.Type.TypeKind);
14121Assert.Equal(TypeKind.Interface, semanticInfo.ConvertedType.TypeKind);
14245Assert.Equal(TypeKind.Interface, semanticInfo.Type.TypeKind);
14247Assert.Equal(TypeKind.Interface, semanticInfo.ConvertedType.TypeKind);
14337Assert.Equal(TypeKind.Interface, semanticInfo.Type.TypeKind);
14339Assert.Equal(TypeKind.Interface, semanticInfo.ConvertedType.TypeKind);
14380Assert.Equal(TypeKind.Interface, semanticInfo.Type.TypeKind);
14382Assert.Equal(TypeKind.Interface, semanticInfo.ConvertedType.TypeKind);
14541Assert.Equal(TypeKind.Interface, semanticInfo.Type.TypeKind);
14543Assert.Equal(TypeKind.Interface, semanticInfo.ConvertedType.TypeKind);
Symbols\Metadata\PE\LoadingMethods.cs (14)
389Assert.Equal(TypeKind.Interface, @interface.TypeKind);
413Assert.Equal(TypeKind.Interface, interface1.TypeKind);
418Assert.Equal(TypeKind.Interface, interface2.TypeKind);
449Assert.Equal(TypeKind.Interface, @interface.TypeKind);
485Assert.Equal(TypeKind.Interface, @interface.TypeKind);
517Assert.Equal(TypeKind.Interface, cyclicInterface.TypeKind);
520Assert.Equal(TypeKind.Interface, implementedInterface.TypeKind);
545Assert.Equal(TypeKind.Interface, cyclicInterface.TypeKind);
576Assert.Equal(TypeKind.Interface, defInterface.TypeKind);
581Assert.Equal(TypeKind.Interface, defInterface.TypeKind);
637Assert.Equal(TypeKind.Interface, @interface.TypeKind);
670Assert.Equal(TypeKind.Interface, @interface.TypeKind);
704Assert.Equal(TypeKind.Interface, outerInterface.TypeKind);
714Assert.Equal(TypeKind.Interface, innerInterface.TypeKind);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.Features (42)
Microsoft.CodeAnalysis.Test.Utilities (3)
Microsoft.CodeAnalysis.VisualBasic (52)
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 (15)
Emit\NoPiaEmbedTypes.vb (12)
1001Assert.Equal(TypeKind.Interface, itest1.TypeKind)
1044Assert.Equal(TypeKind.Interface, itest3.TypeKind)
1075Assert.Equal(TypeKind.Interface, itest6.TypeKind)
1078Assert.Equal(TypeKind.Interface, itest7.TypeKind)
1081Assert.Equal(TypeKind.Interface, itest8.TypeKind)
1244Assert.Equal(TypeKind.Interface, itest13.TypeKind)
1265Assert.Equal(TypeKind.Interface, itest14.TypeKind)
1275Assert.Equal(TypeKind.Interface, itest16.TypeKind)
1279Assert.Equal(TypeKind.Interface, itest17.TypeKind)
1328Assert.Equal(TypeKind.Interface, itest18.TypeKind)
1545Assert.Equal(TypeKind.Interface, type1.TypeKind)
1548Assert.Equal(TypeKind.Interface, type2.TypeKind)
Microsoft.CodeAnalysis.VisualBasic.Features (6)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (15)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (38)
SymbolsTests\Metadata\PE\LoadingMethods.vb (10)
384Assert.Equal(TypeKind.Interface, [interface].TypeKind)
407Assert.Equal(TypeKind.Interface, interface1.TypeKind)
412Assert.Equal(TypeKind.Interface, interface2.TypeKind)
439Assert.Equal(TypeKind.Interface, [interface].TypeKind)
471Assert.Equal(TypeKind.Interface, [interface].TypeKind)
502Assert.Equal(TypeKind.Interface, cyclicInterface.TypeKind)
505Assert.Equal(TypeKind.Interface, implementedInterface.TypeKind)
534Assert.Equal(TypeKind.Interface, [interface].TypeKind)
564Assert.Equal(TypeKind.Interface, outerInterface.TypeKind)
574Assert.Equal(TypeKind.Interface, innerInterface.TypeKind)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces (28)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.Gen.Logging (2)
Microsoft.Interop.ComInterfaceGenerator (2)
Microsoft.VisualStudio.LanguageServices (13)
Microsoft.VisualStudio.LanguageServices.CSharp (7)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (7)
System.Text.Json.SourceGeneration (4)