Base:
property
ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.CSharp.Symbols.MethodSymbol.ExplicitInterfaceImplementations
22 references to ExplicitInterfaceImplementations
Microsoft.CodeAnalysis.CSharp (4)
Compiler\MethodCompiler.cs (1)
859
if (!interfaces.Contains(synthesizedExplicitImpl.
ExplicitInterfaceImplementations
[0].ContainingType,
Compiler\SynthesizedMetadataCompiler.cs (1)
80
if (!interfaces.Contains(synthesizedExplicitImpl.
ExplicitInterfaceImplementations
[0].ContainingType,
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.cs (1)
95
return (PropertySymbol)_getter.
ExplicitInterfaceImplementations
[0].AssociatedSymbol;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
84
yield return (forwardingMethod.ImplementingMethod, forwardingMethod.
ExplicitInterfaceImplementations
.Single());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (18)
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (1)
357
Assert.Same(ilGetter, bridge.
ExplicitInterfaceImplementations
.Single());
Symbols\IndexerTests.cs (7)
173
return new KeyValuePair<string, string>(bridge.
ExplicitInterfaceImplementations
.Single().ToTestDisplayString(), bridge.ImplementingMethod.ToTestDisplayString());
348
var interface1GetterImpl = synthesizedExplicitImplementations[0].
ExplicitInterfaceImplementations
.Single();
349
var interface2GetterImpl = synthesizedExplicitImplementations[1].
ExplicitInterfaceImplementations
.Single();
430
var interface1GetterImpl = synthesizedExplicitImplementations[0].
ExplicitInterfaceImplementations
.Single();
431
var interface2GetterImpl = synthesizedExplicitImplementations[1].
ExplicitInterfaceImplementations
.Single();
493
Assert.Equal(interfaceIndexers[0].GetMethod, synthesizedExplicitImplementation.
ExplicitInterfaceImplementations
.Single());
494
Assert.Equal(interfaceIndexers[1].GetMethod, synthesizedExplicitImplementation.
ExplicitInterfaceImplementations
.Single());
Symbols\InterfaceImplementationTests.cs (7)
1017
Assert.Same(interfaceMethod, synthesizedExplicitImpls[0].
ExplicitInterfaceImplementations
.Single());
1020
Assert.Same(interfacePropertyGetter, synthesizedExplicitImpls[1].
ExplicitInterfaceImplementations
.Single());
1024
Assert.Same(interfacePropertySetter, synthesizedExplicitImpls[2].
ExplicitInterfaceImplementations
.Single());
1086
Assert.Same(interfaceMethod1, synthesizedExplicitMethod1Impl.
ExplicitInterfaceImplementations
.Single());
1091
Assert.Same(interfaceMethod2, synthesizedExplicitMethod2Impl.
ExplicitInterfaceImplementations
.Single());
1657
Assert.Equal(interfaceMethod, synthesizedExplicitImpl.
ExplicitInterfaceImplementations
.Single());
2038
Assert.Equal(interfaceMethod, synthesized.
ExplicitInterfaceImplementations
.Single());
Symbols\Source\CustomModifierCopyTests.cs (3)
544
Assert.Equal("Method2", class2Method2SynthesizedExplicitImpl.
ExplicitInterfaceImplementations
.Single().Name);
560
Assert.Equal("Method1", class3Method1SynthesizedExplicitImpl.
ExplicitInterfaceImplementations
.Single().Name);
566
Assert.Equal("Method2", class3Method2SynthesizedExplicitImpl.
ExplicitInterfaceImplementations
.Single().Name);