2 implementations of ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\PropertySymbol.cs (1)
74ImmutableArray<IPropertySymbol> IPropertySymbol.ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
538Private ReadOnly Property IPropertySymbol_ExplicitInterfaceImplementations As ImmutableArray(Of IPropertySymbol) Implements IPropertySymbol.ExplicitInterfaceImplementations
41 references to ExplicitInterfaceImplementations
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
ActualApiResponseMetadataFactory.cs (2)
266for (var i = 0; i < property.ExplicitInterfaceImplementations.Length; i++) 268if (SymbolEqualityComparer.Default.Equals(property.ExplicitInterfaceImplementations[i], statusCodeActionResultStatusProperty))
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
835return ((IPropertySymbol)memberSymbol).ExplicitInterfaceImplementations.IsEmpty;
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
374if (!CanExplicitInterfaceImplementationsBeFixed && property.ExplicitInterfaceImplementations.Length != 0)
src\Analyzers\Core\Analyzers\UseObjectInitializer\UseNamedMemberInitializerAnalyzer.cs (1)
185ExplicitInterfaceImplementations.Length: > 0,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
171IPropertySymbol property => property.ExplicitInterfaceImplementations.Length > 0,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
89IPropertySymbol property => ImmutableArray<ISymbol>.CastUp(property.ExplicitInterfaceImplementations),
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
205if (propertySymbol.ExplicitInterfaceImplementations.Any())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (2)
32property.ExplicitInterfaceImplementations, 58property.ExplicitInterfaceImplementations,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
161else if (throughMember is IPropertySymbol { IsStatic: false, ExplicitInterfaceImplementations: [var explicitlyImplementedProperty, ..] })
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
197AddExplicitInterfaceIfNeeded(symbol.ExplicitInterfaceImplementations);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (3)
95var explicitInterfaceSpecifier = GenerateExplicitInterfaceSpecifier(property.ExplicitInterfaceImplementations); 118var explicitInterfaceSpecifier = GenerateExplicitInterfaceSpecifier(property.ExplicitInterfaceImplementations); 351if (property.ExplicitInterfaceImplementations.Any())
Microsoft.CodeAnalysis.CSharp.Features (1)
GenerateMember\GenerateVariable\CSharpGenerateVariableService.cs (1)
74if (propertySymbol != null && !propertySymbol.ExplicitInterfaceImplementations.Any())
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
2864Assert.Equal(1, explicitPropertySymbol.ExplicitInterfaceImplementations.Length);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\PropertyGenerator.cs (3)
95var explicitInterfaceSpecifier = GenerateExplicitInterfaceSpecifier(property.ExplicitInterfaceImplementations); 118var explicitInterfaceSpecifier = GenerateExplicitInterfaceSpecifier(property.ExplicitInterfaceImplementations); 351if (property.ExplicitInterfaceImplementations.Any())
Microsoft.CodeAnalysis.Features (7)
RQName\RQNodeBuilder.cs (3)
105if (symbol.ExplicitInterfaceImplementations.Any()) 107if (symbol.ExplicitInterfaceImplementations.Length > 1) 112var interfaceType = BuildType(symbol.ExplicitInterfaceImplementations.Single().ContainingType);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
835return ((IPropertySymbol)memberSymbol).ExplicitInterfaceImplementations.IsEmpty;
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
374if (!CanExplicitInterfaceImplementationsBeFixed && property.ExplicitInterfaceImplementations.Length != 0)
src\Analyzers\Core\Analyzers\UseObjectInitializer\UseNamedMemberInitializerAnalyzer.cs (1)
185ExplicitInterfaceImplementations.Length: > 0,
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (1)
205if (propertySymbol.ExplicitInterfaceImplementations.Any())
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
538Private ReadOnly Property IPropertySymbol_ExplicitInterfaceImplementations As ImmutableArray(Of IPropertySymbol) Implements IPropertySymbol.ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\PropertyGenerator.vb (1)
65Dim implementsClauseOpt = GenerateImplementsClause([property].ExplicitInterfaceImplementations.FirstOrDefault())
Microsoft.CodeAnalysis.VisualBasic.Features (1)
GenerateMember\GenerateVariable\VisualBasicGenerateVariableService.vb (1)
52If propertySymbol IsNot Nothing AndAlso Not propertySymbol.ExplicitInterfaceImplementations.Any() Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\PropertyGenerator.vb (1)
65Dim implementsClauseOpt = GenerateImplementsClause([property].ExplicitInterfaceImplementations.FirstOrDefault())
Microsoft.CodeAnalysis.Workspaces (9)
Editing\SyntaxGenerator.cs (4)
399if (property.ExplicitInterfaceImplementations.Length > 0) 402ImmutableArray<ISymbol>.CastUp(property.ExplicitInterfaceImplementations)); 460if (indexer.ExplicitInterfaceImplementations.Length > 0) 463ImmutableArray<ISymbol>.CastUp(indexer.ExplicitInterfaceImplementations));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
171IPropertySymbol property => property.ExplicitInterfaceImplementations.Length > 0,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
89IPropertySymbol property => ImmutableArray<ISymbol>.CastUp(property.ExplicitInterfaceImplementations),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (2)
32property.ExplicitInterfaceImplementations, 58property.ExplicitInterfaceImplementations,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (1)
161else if (throughMember is IPropertySymbol { IsStatic: false, ExplicitInterfaceImplementations: [var explicitlyImplementedProperty, ..] })
Microsoft.Gen.ContextualOptions (1)
Parser.cs (1)
85.Where(prop => prop.ExplicitInterfaceImplementations.IsEmpty)