3 implementations of ITypeSymbol_AllInterfaces
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\TypeSymbol.cs (1)
102ImmutableArray<INamedTypeSymbol> ITypeSymbol.AllInterfaces
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
85public ImmutableArray<INamedTypeSymbol> AllInterfaces => _symbol.AllInterfaces;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
545Private ReadOnly Property ITypeSymbol_AllInterfaces As ImmutableArray(Of INamedTypeSymbol) Implements ITypeSymbol.AllInterfaces
176 references to ITypeSymbol_AllInterfaces
Aspire.Hosting.Analyzers (1)
Infrastructure\WellKnownTypes.cs (1)
148foreach (var t in type.AllInterfaces)
ConfigurationSchemaGenerator (2)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (2)
807return type.AllInterfaces.FirstOrDefault(candidate => 813return type.AllInterfaces.FirstOrDefault(candidate => SymbolEqualityComparer.Default.Equals(candidate, @interface));
ILLink.RoslynAnalyzer (3)
DynamicallyAccessedMembersTypeHierarchy.cs (1)
38 foreach (var iface in type.AllInterfaces) {
TrimAnalysis\FlowAnnotations.cs (2)
130 foreach (INamedTypeSymbol interfaceType in type.AllInterfaces) { 199 foreach (var interfaceType in type.AllInterfaces) {
Microsoft.Analyzers.Extra (3)
AsyncMethodWithoutCancellation.cs (1)
141foreach (var @interface in containingType.AllInterfaces)
CallAnalysis\CallAnalyzer.Handlers.cs (1)
60foreach (var iface in type.AllInterfaces)
Utilities\SymbolExtensions.cs (1)
63foreach (var iface in method.ContainingType.AllInterfaces)
Microsoft.Analyzers.Local (2)
ApiLifecycle\AssemblyAnalysis.cs (1)
141var baseTypes = new HashSet<string>(type.AllInterfaces.Select(x => x.ToDisplayString(_shortSymbolNameFormat)));
CallAnalysis\CallAnalyzer.Handlers.cs (1)
60foreach (var iface in type.AllInterfaces)
Microsoft.AspNetCore.App.Analyzers (6)
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
109foreach (var @interface in target.AllInterfaces)
src\Shared\RoslynUtils\ParsabilityHelper.cs (3)
118var implementsIParsable = typeSymbol.AllInterfaces.Any( 127var constructedTypeSymbol = typeSymbol.AllInterfaces.FirstOrDefault( 178.Concat(typeSymbol.AllInterfaces);
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
127foreach (var t in type.AllInterfaces)
src\Shared\RoslynUtils\WellKnownTypes.cs (1)
153foreach (var t in type.AllInterfaces)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (5)
src\Shared\RoslynUtils\ParsabilityHelper.cs (3)
118var implementsIParsable = typeSymbol.AllInterfaces.Any( 127var constructedTypeSymbol = typeSymbol.AllInterfaces.FirstOrDefault( 178.Concat(typeSymbol.AllInterfaces);
src\Shared\RoslynUtils\SymbolExtensions.cs (1)
127foreach (var t in type.AllInterfaces)
src\Shared\RoslynUtils\WellKnownTypes.cs (1)
153foreach (var t in type.AllInterfaces)
Microsoft.AspNetCore.Mvc.Analyzers (1)
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
109foreach (var @interface in target.AllInterfaces)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
src\Shared\Roslyn\CodeAnalysisExtensions.cs (1)
109foreach (var @interface in target.AllInterfaces)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (2)
HubClientProxyGenerator.Parser.cs (1)
287.Union<IMethodSymbol>(providerSymbol.AllInterfaces.SelectMany(x => x
HubServerProxyGenerator.Parser.cs (1)
264.Concat(hubSymbol.AllInterfaces.SelectMany(x => x
Microsoft.CodeAnalysis.CodeStyle (22)
src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (3)
101var ienumerableOfT = collectionType.AllInterfaces.FirstOrDefault(i => i.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T); 142var isFixable = collectionType.SpecialType == SpecialType.System_Collections_IEnumerable || collectionType.AllInterfaces.Any(static i => i.SpecialType == SpecialType.System_Collections_IEnumerable) && 160collectionType.AllInterfaces.Any(static i => i.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T);
src\Analyzers\Core\Analyzers\Helpers\DeserializationConstructorCheck.cs (1)
23methodSymbol.ContainingType.AllInterfaces.Contains(_iSerializableType);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (2)
856if (_iNotifyCompletionType != null && Roslyn.Utilities.ImmutableArrayExtensions.Contains(methodSymbol.ContainingType.AllInterfaces, _iNotifyCompletionType, SymbolEqualityComparer.Default) 872if (_iNotifyCompletionType != null && memberSymbol.ContainingType.AllInterfaces.Contains(_iNotifyCompletionType) && memberSymbol.Name == "IsCompleted")
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
274containingType.AllInterfaces.Any((@interface, marshaler) => @interface.Equals(marshaler), _iCustomMarshaler))
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (1)
150if (objectType.Type == null || !objectType.Type.AllInterfaces.Contains(ienumerableType))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
394: baseType.AllInterfaces;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (3)
153foreach (var iface in symbol.ContainingType.AllInterfaces) 716var members = returnType.AllInterfaces.Concat(returnType.GetBaseTypesAndThis()) 756var members = returnType.AllInterfaces.Concat(returnType.GetBaseTypesAndThis())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (8)
41var allInterfaces = type.AllInterfaces; 108symbols.AddRange(interfaceType.AllInterfaces.Select(i => i.OriginalDefinition)); 164return type.GetBaseTypesAndThis().Concat(type.AllInterfaces).Contains(t => SymbolEquivalenceComparer.Instance.Equals(t, baseType)); 188IEnumerable<ITypeSymbol> baseTypes = (baseType.TypeKind == TypeKind.Interface) ? type.AllInterfaces : type.GetBaseTypes(); 220return type.AllInterfaces.Any(static (t, originalInterfaceType) => SymbolEquivalenceComparer.Instance.Equals(t.OriginalDefinition, originalInterfaceType), originalInterfaceType); 226return type.AllInterfaces.Contains(t => SymbolEquivalenceComparer.Instance.Equals(t, interfaceType)); 406typeSymbol.AllInterfaces.Any(static i => i.SpecialType == SpecialType.System_Collections_IEnumerable) && 727type?.AllInterfaces.Contains(iDisposableType) == true);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
191return type.AllInterfaces.Any(static (i, enumerableType) => i.OriginalDefinition.Equals(enumerableType), enumerableType);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyleRules.cs (1)
90var implementedInterfaces = containingType.AllInterfaces;
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
394return memberType.AllInterfaces.Contains(constructed, equalityComparer: SymbolEqualityComparer.Default);
Microsoft.CodeAnalysis.CSharp.CodeStyle (10)
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_TopLevelStatements.cs (1)
97if (containingType.AllInterfaces.Length > 0)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForArrayDiagnosticAnalyzer.cs (1)
103: convertedType.AllInterfaces.FirstOrDefault(
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
244!argumentType.AllInterfaces.Any(i => Equals(i.OriginalDefinition, ienumerableOfTType)))
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (5)
238type.AllInterfaces.Contains(convertedType)) 261if (IsWellKnownCollectionInterface(convertedType) && type.AllInterfaces.Contains(convertedType)) 275if (type.AllInterfaces.Any(t => t.OriginalDefinition.Equals(isetType) || t.OriginalDefinition.Equals(ireadOnlySetType))) 350if (namedType.AllInterfaces.Contains(compilation.IEnumerableType()!)) 1068foreach (var baseInterface in type.AllInterfaces)
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerAnalyzer.cs (1)
75firstParameter.Type.AllInterfaces.Any(i => Equals(i.OriginalDefinition, ienumerableOfTType)))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
1047foreach (var iface in collectionTargetType.AllInterfaces)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (26)
CodeGen\CodeGenTupleTest.cs (26)
20360Assert.Equal(2, model.GetDeclaredSymbol(c1).AllInterfaces.Count()); 20361Assert.Equal("I0<(System.Int32 a, System.Int32 b)>", model.GetDeclaredSymbol(c1).AllInterfaces[0].ToTestDisplayString()); 20362Assert.Equal("I0<(System.Int32 notA, System.Int32 notB)>", model.GetDeclaredSymbol(c1).AllInterfaces[1].ToTestDisplayString()); 20365Assert.Equal(1, model.GetDeclaredSymbol(c2).AllInterfaces.Count()); 20366Assert.Equal("I0<(System.Int32 a, System.Int32 b)>", model.GetDeclaredSymbol(c2).AllInterfaces[0].ToTestDisplayString()); 20369Assert.Equal(1, model.GetDeclaredSymbol(c3).AllInterfaces.Count()); 20370Assert.Equal("I0<System.Int32>", model.GetDeclaredSymbol(c3).AllInterfaces[0].ToTestDisplayString()); 20452var c1AllInterfaces = c1.AllInterfaces; 20464var c2AllInterfaces = c2.AllInterfaces; 20476var c3AllInterfaces = c3.AllInterfaces; 20487var c4AllInterfaces = c4.AllInterfaces; 20668var c1AllInterfaces = c1.AllInterfaces; 20680var c2AllInterfaces = c2.AllInterfaces; 20692var c3AllInterfaces = c3.AllInterfaces; 20703var c4AllInterfaces = c4.AllInterfaces; 20752var c3AllInterfaces = c3.AllInterfaces; 24267derivedSymbol.AllInterfaces.Select(i => i.ToTestDisplayString())); 24330derivedSymbol.AllInterfaces.Select(i => i.ToTestDisplayString())); 24394derivedSymbol.AllInterfaces.Select(i => i.ToTestDisplayString())); 24404collectionSymbol.AllInterfaces.Select(i => i.ToTestDisplayString())); 24467derivedSymbol.AllInterfaces.Select(i => i.ToTestDisplayString())); 24477collectionSymbol.AllInterfaces.Select(i => i.ToTestDisplayString())); 24540derivedSymbol.AllInterfaces.Select(i => i.ToTestDisplayString())); 24549collectionSymbol.AllInterfaces.Select(i => i.ToTestDisplayString())); 24614derivedSymbol.AllInterfaces.Select(i => i.ToTestDisplayString())); 24624collectionSymbol.AllInterfaces.Select(i => i.ToTestDisplayString()));
Microsoft.CodeAnalysis.CSharp.Features (11)
Completion\CompletionProviders\DeclarationName\DeclarationNameRecommender.cs (1)
140collectionType ??= namedType.AllInterfaces.FirstOrDefault(
ImplementInterface\CSharpImplementImplicitlyCodeRefactoringProvider.cs (1)
38var containingTypeInterfaces = member.ContainingType.AllInterfaces;
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_TopLevelStatements.cs (1)
97if (containingType.AllInterfaces.Length > 0)
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForArrayDiagnosticAnalyzer.cs (1)
103: convertedType.AllInterfaces.FirstOrDefault(
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\CSharpUseCollectionExpressionForFluentDiagnosticAnalyzer.cs (1)
244!argumentType.AllInterfaces.Any(i => Equals(i.OriginalDefinition, ienumerableOfTType)))
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (5)
238type.AllInterfaces.Contains(convertedType)) 261if (IsWellKnownCollectionInterface(convertedType) && type.AllInterfaces.Contains(convertedType)) 275if (type.AllInterfaces.Any(t => t.OriginalDefinition.Equals(isetType) || t.OriginalDefinition.Equals(ireadOnlySetType))) 350if (namedType.AllInterfaces.Contains(compilation.IEnumerableType()!)) 1068foreach (var baseInterface in type.AllInterfaces)
src\Analyzers\CSharp\Analyzers\UseCollectionInitializer\CSharpUseCollectionInitializerAnalyzer.cs (1)
75firstParameter.Type.AllInterfaces.Any(i => Equals(i.OriginalDefinition, ienumerableOfTType)))
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
1047foreach (var iface in collectionTargetType.AllInterfaces)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
PullMemberUp\TestPullMemberUpService.cs (1)
38var allInterfaces = containingType.AllInterfaces;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
SymbolFinder\DependentTypeFinderTests.cs (2)
502Assert.True(transitiveDerived.All(d => d.AllInterfaces.Contains(rootType)), "All results must transitively derive from the type"); 554Assert.True(transitiveImpls.All(d => d.AllInterfaces.Contains(rootType)), "All results must transitively derive from the type");
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\AdditionalFileDiagnosticsTests.vb (1)
95If namedType.AllInterfaces.Contains(context.Compilation.GetTypeByMetadataName("System.Runtime.Serialization.ISerializable")) Then
Microsoft.CodeAnalysis.Features (16)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
293foreach (var current in collectionType.AllInterfaces)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2423TypesEquivalent(oldType.AllInterfaces, newType.AllInterfaces, exact);
EmbeddedLanguages\EmbeddedLanguageDetector.cs (1)
176var iformattable = type.AllInterfaces.FirstOrDefault(t => t is
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (1)
150return !containingType.AllInterfaces.Contains(constructedType);
MetadataAsSource\AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs (1)
85public ImmutableArray<INamedTypeSymbol> AllInterfaces => _symbol.AllInterfaces;
PullMemberUp\AbstractPullMemberUpRefactoringProvider.cs (1)
84: [.. containingType.AllInterfaces, .. containingType.GetBaseTypes()];
SignatureHelp\CommonSignatureHelpUtilities.cs (1)
165if (!parentType.AllInterfaces.Contains(ienumerableType))
src\Analyzers\Core\Analyzers\ForEachCast\AbstractForEachCastDiagnosticAnalyzer.cs (3)
101var ienumerableOfT = collectionType.AllInterfaces.FirstOrDefault(i => i.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T); 142var isFixable = collectionType.SpecialType == SpecialType.System_Collections_IEnumerable || collectionType.AllInterfaces.Any(static i => i.SpecialType == SpecialType.System_Collections_IEnumerable) && 160collectionType.AllInterfaces.Any(static i => i.OriginalDefinition.SpecialType == SpecialType.System_Collections_Generic_IEnumerable_T);
src\Analyzers\Core\Analyzers\Helpers\DeserializationConstructorCheck.cs (1)
23methodSymbol.ContainingType.AllInterfaces.Contains(_iSerializableType);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (2)
856if (_iNotifyCompletionType != null && Roslyn.Utilities.ImmutableArrayExtensions.Contains(methodSymbol.ContainingType.AllInterfaces, _iNotifyCompletionType, SymbolEqualityComparer.Default) 872if (_iNotifyCompletionType != null && memberSymbol.ContainingType.AllInterfaces.Contains(_iNotifyCompletionType) && memberSymbol.Name == "IsCompleted")
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.cs (1)
274containingType.AllInterfaces.Any((@interface, marshaler) => @interface.Equals(marshaler), _iCustomMarshaler))
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerDiagnosticAnalyzer.cs (1)
150if (objectType.Type == null || !objectType.Type.AllInterfaces.Contains(ienumerableType))
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\TypeSymbol.vb (1)
545Private ReadOnly Property ITypeSymbol_AllInterfaces As ImmutableArray(Of INamedTypeSymbol) Implements ITypeSymbol.AllInterfaces
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (14)
CodeGen\CodeGenTuples.vb (14)
17200Dim c1AllInterfaces = c1.AllInterfaces 17212Dim c2AllInterfaces = c2.AllInterfaces 17224Dim c3AllInterfaces = c3.AllInterfaces 17235Dim c4AllInterfaces = c4.AllInterfaces 17300Dim c1AllInterfaces = c1.AllInterfaces 17308Dim c2AllInterfaces = c2.AllInterfaces 17373Dim c1AllInterfaces = c1.AllInterfaces 17381Dim c2AllInterfaces = c2.AllInterfaces 17483Dim c1AllInterfaces = c1.AllInterfaces 17495Dim c2AllInterfaces = c2.AllInterfaces 17507Dim c3AllInterfaces = c3.AllInterfaces 17518Dim c4AllInterfaces = c4.AllInterfaces 17570Dim c3AllInterfaces = c3.AllInterfaces 17622Dim c3AllInterfaces = c3.AllInterfaces
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\CompletionProviders\ImplementsClauseCompletionProvider.vb (1)
187Return ImmutableArray.CreateRange(Of ISymbol)([interface].AllInterfaces.SelectMany(Function(i) i.GetMembers()).Where(Function(s) s.IsAccessibleWithin(within))) _
Microsoft.CodeAnalysis.Workspaces (20)
FindSymbols\FindReferences\BaseTypeFinder.cs (1)
15=> FindBaseTypes(type).AddRange(type.AllInterfaces);
Recommendations\AbstractRecommendationServiceRunner.cs (1)
474foreach (var interfaceType in originalContainerType.AllInterfaces)
Shared\Extensions\ITypeSymbolExtensions.cs (3)
87var constructedInterfaces = typeSymbol.AllInterfaces.Where(i => 183return type.AllInterfaces.Any(s => s.SpecialType is SpecialType.System_Collections_Generic_IEnumerable_T or SpecialType.System_Collections_IEnumerable); 202foreach (var @interface in type.AllInterfaces)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
394: baseType.AllInterfaces;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (3)
153foreach (var iface in symbol.ContainingType.AllInterfaces) 716var members = returnType.AllInterfaces.Concat(returnType.GetBaseTypesAndThis()) 756var members = returnType.AllInterfaces.Concat(returnType.GetBaseTypesAndThis())
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (8)
41var allInterfaces = type.AllInterfaces; 108symbols.AddRange(interfaceType.AllInterfaces.Select(i => i.OriginalDefinition)); 164return type.GetBaseTypesAndThis().Concat(type.AllInterfaces).Contains(t => SymbolEquivalenceComparer.Instance.Equals(t, baseType)); 188IEnumerable<ITypeSymbol> baseTypes = (baseType.TypeKind == TypeKind.Interface) ? type.AllInterfaces : type.GetBaseTypes(); 220return type.AllInterfaces.Any(static (t, originalInterfaceType) => SymbolEquivalenceComparer.Instance.Equals(t.OriginalDefinition, originalInterfaceType), originalInterfaceType); 226return type.AllInterfaces.Contains(t => SymbolEquivalenceComparer.Instance.Equals(t, interfaceType)); 406typeSymbol.AllInterfaces.Any(static i => i.SpecialType == SpecialType.System_Collections_IEnumerable) && 727type?.AllInterfaces.Contains(iDisposableType) == true);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
191return type.AllInterfaces.Any(static (i, enumerableType) => i.OriginalDefinition.Equals(enumerableType), enumerableType);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingStyleRules.cs (1)
90var implementedInterfaces = containingType.AllInterfaces;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
394return memberType.AllInterfaces.Contains(constructed, equalityComparer: SymbolEqualityComparer.Default);
Microsoft.Extensions.Options.SourceGeneration (6)
Parser.cs (4)
255foreach (var implementingInterface in type.AllInterfaces) 736foreach (var implementingInterface in modelType.AllInterfaces) 750foreach (var implementingInterface in validatorType.AllInterfaces) 763foreach (var implementingInterface in validatorType.AllInterfaces)
ParserUtilities.cs (2)
60foreach (var iface in type.AllInterfaces) 93foreach (var interfaceType in typeSymbol.AllInterfaces)
Microsoft.Gen.ComplianceReports (1)
Parser.cs (1)
60foreach (var iface in typeSymbol.AllInterfaces)
Microsoft.Gen.Logging (2)
Parsing\Parser.TagProvider.cs (1)
168foreach (var iface in type.AllInterfaces)
src\Generators\Shared\ParserUtilities.cs (1)
65foreach (var iface in type.AllInterfaces)
Microsoft.Gen.Metrics (1)
src\Generators\Shared\ParserUtilities.cs (1)
65foreach (var iface in type.AllInterfaces)
Microsoft.Gen.MetricsReports (1)
src\Generators\Shared\ParserUtilities.cs (1)
65foreach (var iface in type.AllInterfaces)
Microsoft.Interop.ComInterfaceGenerator (4)
Analyzers\AddGeneratedComClassAnalyzer.cs (1)
47foreach (var iface in type.AllInterfaces)
Analyzers\ComHostingDoesNotSupportGeneratedComInterfaceAnalyzer.cs (1)
59foreach (var iface in containingType.AllInterfaces)
ComClassInfo.cs (1)
43foreach (INamedTypeSymbol iface in type.AllInterfaces)
VtableIndexStubGenerator.cs (1)
294bool implementsIUnmanagedInterfaceOfSelf = symbol.ContainingType.AllInterfaces.Any(iface => SymbolEqualityComparer.Default.Equals(iface, expectedUnmanagedInterfaceType));
Microsoft.VisualStudio.LanguageServices (3)
Progression\GraphQueries\ImplementsGraphQuery.cs (1)
31var implementedSymbols = ImmutableArray<ISymbol>.CastUp(namedType.AllInterfaces);
Progression\GraphQueries\InheritsGraphQuery.cs (2)
41else if (namedType.TypeKind == TypeKind.Interface && !namedType.OriginalDefinition.AllInterfaces.IsEmpty) 43foreach (var baseNode in namedType.OriginalDefinition.AllInterfaces.Distinct())
System.Text.Json.SourceGeneration (3)
Helpers\RoslynExtensions.cs (3)
134if (type.AllInterfaces.Contains(baseType, SymbolEqualityComparer.Default)) 162foreach (INamedTypeSymbol interfaceType in type.AllInterfaces) 251return JsonHelpers.TraverseGraphWithTopologicalSort<INamedTypeSymbol>(namedType, static t => t.AllInterfaces, SymbolEqualityComparer.Default);
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Analyzers\MissingPropertySerializationConfiguration\MissingPropertySerializationConfigurationAnalyzer.cs (1)
34.AllInterfaces
System.Windows.Forms.Analyzers.VisualBasic (1)
Analyzers\MissingPropertySerializationConfiguration\MissingPropertySerializationConfigurationDiagnosticAnalyzer.vb (1)
37Not propertySymbol.ContainingType.AllInterfaces.Any(