4 implementations of IMethodSymbol_ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
57public abstract ImmutableArray<IMethodSymbol> ExplicitInterfaceImplementations { get; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\MethodSymbol.cs (1)
210ImmutableArray<IMethodSymbol> IMethodSymbol.ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
905Private ReadOnly Property IMethodSymbol_ExplicitInterfaceImplementations As ImmutableArray(Of IMethodSymbol) Implements IMethodSymbol.ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
57public abstract ImmutableArray<IMethodSymbol> ExplicitInterfaceImplementations { get; }
66 references to IMethodSymbol_ExplicitInterfaceImplementations
Microsoft.AspNetCore.App.Analyzers (2)
src\Shared\Roslyn\MvcFacts.cs (2)
134for (var i = 0; i < method.ExplicitInterfaceImplementations.Length; i++) 136if (method.ExplicitInterfaceImplementations[i].ContainingType.SpecialType == SpecialType.System_IDisposable)
Microsoft.AspNetCore.Mvc.Analyzers (2)
src\Shared\Roslyn\MvcFacts.cs (2)
134for (var i = 0; i < method.ExplicitInterfaceImplementations.Length; i++) 136if (method.ExplicitInterfaceImplementations[i].ContainingType.SpecialType == SpecialType.System_IDisposable)
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
src\Shared\Roslyn\MvcFacts.cs (2)
134for (var i = 0; i < method.ExplicitInterfaceImplementations.Length; i++) 136if (method.ExplicitInterfaceImplementations[i].ContainingType.SpecialType == SpecialType.System_IDisposable)
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
785if (!methodSymbol.ExplicitInterfaceImplementations.IsEmpty)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
170IMethodSymbol method => method.ExplicitInterfaceImplementations.Length > 0,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
88IMethodSymbol method => ImmutableArray<ISymbol>.CastUp(method.ExplicitInterfaceImplementations),
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
src\Analyzers\Core\CodeFixes\AddParameter\AddParameterService.cs (1)
42if (method.ExplicitInterfaceImplementations.Length > 0)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateMethodService.State.cs (1)
94if (methodSymbol.ExplicitInterfaceImplementations.Any())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
373explicitInterfaceImplementations.IsDefault ? accessor.ExplicitInterfaceImplementations : explicitInterfaceImplementations,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (3)
69method.ExplicitInterfaceImplementations, 95method.ExplicitInterfaceImplementations, 165explicitInterfaceImplementations: method.ExplicitInterfaceImplementations,
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
492AddExplicitInterfaceIfNeeded(symbol.ExplicitInterfaceImplementations);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (7)
src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateMethodService.cs (1)
64if (methodSymbol != null && !methodSymbol.ExplicitInterfaceImplementations.Any())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (4)
120var explicitInterfaceSpecifier = GenerateExplicitInterfaceSpecifier(method.ExplicitInterfaceImplementations); 211return !method.ExplicitInterfaceImplementations.Any() && !method.IsOverride 218Debug.Assert(method.ExplicitInterfaceImplementations.Any() || method.IsOverride); 260if (method.ExplicitInterfaceImplementations.Any())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (2)
96explicitInterfaceSpecifier: GenerateExplicitInterfaceSpecifier(method.ExplicitInterfaceImplementations), 113if (method.ExplicitInterfaceImplementations.Length == 0 &&
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenTupleTest.cs (6)
20502var cMabImplementations = ((IMethodSymbol)members[0]).ExplicitInterfaceImplementations; 20505var cMcdImplementations = ((IMethodSymbol)members[1]).ExplicitInterfaceImplementations; 20718var cMabImplementations = ((IMethodSymbol)members[0]).ExplicitInterfaceImplementations; 20721var cMcdImplementations = ((IMethodSymbol)members[1]).ExplicitInterfaceImplementations; 20763var cMabImplementations = ((IMethodSymbol)c.GetMember("I1<System.ValueTuple<T,T>>.M")).ExplicitInterfaceImplementations; 20766var cMcdImplementations = ((IMethodSymbol)c.GetMember("I1<System.ValueTuple<U,U>>.M")).ExplicitInterfaceImplementations;
Microsoft.CodeAnalysis.CSharp.Features (2)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (1)
2545IMethodSymbol { ExplicitInterfaceImplementations.IsEmpty: false }
src\Analyzers\CSharp\CodeFixes\GenerateParameterizedMember\CSharpGenerateMethodService.cs (1)
64if (methodSymbol != null && !methodSymbol.ExplicitInterfaceImplementations.Any())
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (3)
2856Assert.Equal(1, explicitMethodSymbol.ExplicitInterfaceImplementations.Length); 2876Assert.Equal(1, explicitPropertyGetterSymbol.ExplicitInterfaceImplementations.Length); 2886Assert.Equal(1, explicitPropertySetterSymbol.ExplicitInterfaceImplementations.Length);
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (1)
1040Assert.Empty(methodDispose.ExplicitInterfaceImplementations);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\MethodGenerator.cs (4)
120var explicitInterfaceSpecifier = GenerateExplicitInterfaceSpecifier(method.ExplicitInterfaceImplementations); 211return !method.ExplicitInterfaceImplementations.Any() && !method.IsOverride 218Debug.Assert(method.ExplicitInterfaceImplementations.Any() || method.IsOverride); 260if (method.ExplicitInterfaceImplementations.Any())
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\OperatorGenerator.cs (2)
96explicitInterfaceSpecifier: GenerateExplicitInterfaceSpecifier(method.ExplicitInterfaceImplementations), 113if (method.ExplicitInterfaceImplementations.Length == 0 &&
Microsoft.CodeAnalysis.Features (8)
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (2)
320if (countImpl.ExplicitInterfaceImplementations.IsEmpty && 321indexerImpl.ExplicitInterfaceImplementations.IsEmpty)
RQName\RQNodeBuilder.cs (3)
225if (symbol.ExplicitInterfaceImplementations.Any()) 227if (symbol.ExplicitInterfaceImplementations.Length > 1) 232var interfaceType = BuildType(symbol.ExplicitInterfaceImplementations.Single().ContainingType);
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
785if (!methodSymbol.ExplicitInterfaceImplementations.IsEmpty)
src\Analyzers\Core\CodeFixes\AddParameter\AddParameterService.cs (1)
42if (method.ExplicitInterfaceImplementations.Length > 0)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateMethodService.State.cs (1)
94if (methodSymbol.ExplicitInterfaceImplementations.Any())
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
905Private ReadOnly Property IMethodSymbol_ExplicitInterfaceImplementations As ImmutableArray(Of IMethodSymbol) Implements IMethodSymbol.ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateMethodService.vb (1)
60If methodSymbol IsNot Nothing AndAlso Not methodSymbol.ExplicitInterfaceImplementations.Any() Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\MethodGenerator.vb (1)
74Dim implementsClauseOpt = GenerateImplementsClause(method.ExplicitInterfaceImplementations.FirstOrDefault())
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
CodeGen\CodeGenTuples.vb (2)
17316Dim m2Implementations = m2.ExplicitInterfaceImplementations 17389Dim m2Implementations = m2.ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.VisualBasic.Features (3)
ReplacePropertyWithMethods\VisualBasicReplacePropertyWithMethods.vb (2)
160Dim updatedImplementations = method.ExplicitInterfaceImplementations.SelectAsArray( 163Return If(updatedImplementations.SequenceEqual(method.ExplicitInterfaceImplementations),
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateMethodService.vb (1)
60If methodSymbol IsNot Nothing AndAlso Not methodSymbol.ExplicitInterfaceImplementations.Any() Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\MethodGenerator.vb (1)
74Dim implementsClauseOpt = GenerateImplementsClause(method.ExplicitInterfaceImplementations.FirstOrDefault())
Microsoft.CodeAnalysis.Workspaces (8)
Editing\SyntaxGenerator.cs (2)
232if (method.ExplicitInterfaceImplementations.Length > 0) 235ImmutableArray<ISymbol>.CastUp(method.ExplicitInterfaceImplementations));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (1)
170IMethodSymbol method => method.ExplicitInterfaceImplementations.Length > 0,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
88IMethodSymbol method => ImmutableArray<ISymbol>.CastUp(method.ExplicitInterfaceImplementations),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationSymbolFactory.cs (1)
373explicitInterfaceImplementations.IsDefault ? accessor.ExplicitInterfaceImplementations : explicitInterfaceImplementations,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (3)
69method.ExplicitInterfaceImplementations, 95method.ExplicitInterfaceImplementations, 165explicitInterfaceImplementations: method.ExplicitInterfaceImplementations,