531 references to Delegate
GenerateDocumentationAndConfigFiles (13)
Metrics (12)
Metrics.Legacy (12)
Microsoft.Analyzers.Local (1)
Microsoft.CodeAnalysis.Analyzers (14)
Microsoft.CodeAnalysis.AnalyzerUtilities (14)
Microsoft.CodeAnalysis.BannedApiAnalyzers (14)
Microsoft.CodeAnalysis.CodeStyle (10)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp (69)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (29)
CodeActions\GenerateType\GenerateTypeTests_Dialog.cs (28)
2554typeKind: TypeKind.Delegate,
2591typeKind: TypeKind.Delegate,
2626typeKind: TypeKind.Delegate,
2661typeKind: TypeKind.Delegate,
2696typeKind: TypeKind.Delegate,
2727typeKind: TypeKind.Delegate,
2758typeKind: TypeKind.Delegate,
2790typeKind: TypeKind.Delegate,
2827typeKind: TypeKind.Delegate,
2864typeKind: TypeKind.Delegate,
2899typeKind: TypeKind.Delegate,
2934typeKind: TypeKind.Delegate,
2966typeKind: TypeKind.Delegate,
2997typeKind: TypeKind.Delegate,
3034typeKind: TypeKind.Delegate,
3071typeKind: TypeKind.Delegate,
3106typeKind: TypeKind.Delegate,
3141typeKind: TypeKind.Delegate,
3173typeKind: TypeKind.Delegate,
3204typeKind: TypeKind.Delegate,
3240typeKind: TypeKind.Delegate,
3273typeKind: TypeKind.Delegate,
3613typeKind: TypeKind.Delegate,
3640typeKind: TypeKind.Delegate,
3677typeKind: TypeKind.Delegate,
3706typeKind: TypeKind.Delegate,
3819typeKind: TypeKind.Delegate,
3860typeKind: TypeKind.Delegate,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (6)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (18)
Compilation\SemanticModelGetSemanticInfoTests.cs (14)
5653Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind);
6432Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind);
7164Assert.Equal(TypeKind.Delegate, semanticInfo.Type.TypeKind);
7166Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind);
7228Assert.Equal(TypeKind.Delegate, semanticInfo.Type.TypeKind);
7230Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind);
7846Assert.Equal(TypeKind.Delegate, semanticInfo.Type.TypeKind);
7848Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind);
7912Assert.Equal(TypeKind.Delegate, semanticInfo.Type.TypeKind);
7914Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind);
7978Assert.Equal(TypeKind.Delegate, semanticInfo.Type.TypeKind);
7980Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind);
10708Assert.Equal(TypeKind.Delegate, semanticInfo.Type.TypeKind);
10710Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (4)
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.Extensions.Package (6)
Microsoft.CodeAnalysis.Features (10)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (14)
Microsoft.CodeAnalysis.PublicApiAnalyzers (13)
Microsoft.CodeAnalysis.ResxSourceGenerator (12)
Microsoft.CodeAnalysis.VisualBasic (69)
Compilation\ClsComplianceChecker.vb (4)
186If symbol.TypeKind = TypeKind.Delegate Then
439If type.TypeKind = TypeKind.Delegate AndAlso type.IsImplicitlyDeclared AndAlso TryCast(type, NamedTypeSymbol)?.AssociatedSymbol Is symbol Then
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 (7)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Features (5)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (26)
Semantics\GetExtendedSemanticInfoTests.vb (11)
6809Assert.Equal(TypeKind.Delegate, semanticInfo.Type.TypeKind)
6811Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind)
6884Assert.Equal(TypeKind.Delegate, semanticInfo.Type.TypeKind)
6886Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind)
6959Assert.Equal(TypeKind.Delegate, semanticInfo.Type.TypeKind)
6961Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind)
7034Assert.Equal(TypeKind.Delegate, semanticInfo.Type.TypeKind)
7036Assert.Equal(TypeKind.Delegate, semanticInfo.ConvertedType.TypeKind)
7736Assert.Equal(TypeKind.Delegate, semanticSummary.Type.TypeKind)
7738Assert.Equal(TypeKind.Delegate, semanticSummary.ConvertedType.TypeKind)
7771Assert.Equal(TypeKind.Delegate, semanticSummary.Type.TypeKind)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (12)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (7)
Microsoft.CodeAnalysis.Workspaces (21)
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
Options\EditorConfigNamingStyleParserTests.cs (4)
175new SymbolKindOrTypeKind(TypeKind.Delegate)
223new SymbolKindOrTypeKind(TypeKind.Delegate)
338[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 })]
339[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.Gen.Logging (2)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.VisualStudio.LanguageServices (4)
Microsoft.VisualStudio.LanguageServices.CSharp (4)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (7)
Roslyn.Diagnostics.Analyzers (15)
Roslyn.Diagnostics.Analyzers.UnitTests (4)
Roslyn.Diagnostics.CSharp.Analyzers (7)
Roslyn.Diagnostics.VisualBasic.Analyzers (2)
Test.Utilities (11)
Text.Analyzers (16)