26 references to ImplementingMethod
Microsoft.CodeAnalysis.CSharp (3)
Compiler\MethodBodySynthesizer.Lowered.cs (2)
249this.ImplementingMethod.Construct(this.TypeParameters.Cast<TypeParameterSymbol, TypeSymbol>()) : 250this.ImplementingMethod;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
84yield return (forwardingMethod.ImplementingMethod, forwardingMethod.ExplicitInterfaceImplementations.Single());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (23)
Symbols\AccessorOverriddenOrHiddenMembersTests.cs (1)
356Assert.Same(csharpGetter, bridge.ImplementingMethod);
Symbols\IndexerTests.cs (6)
173return new KeyValuePair<string, string>(bridge.ExplicitInterfaceImplementations.Single().ToTestDisplayString(), bridge.ImplementingMethod.ToTestDisplayString()); 343Assert.Equal(classIndexer.GetMethod, synthesizedExplicitImplementations[0].ImplementingMethod); 344Assert.Equal(classIndexer.GetMethod, synthesizedExplicitImplementations[1].ImplementingMethod); 425Assert.Equal(classIndexer.GetMethod, synthesizedExplicitImplementations[0].ImplementingMethod); 426Assert.Equal(classIndexer.GetMethod, synthesizedExplicitImplementations[1].ImplementingMethod); 491Assert.Equal(classIndexer.GetMethod, synthesizedExplicitImplementation.ImplementingMethod);
Symbols\InterfaceImplementationTests.cs (8)
1018Assert.Same(baseClassMethod, synthesizedExplicitImpls[0].ImplementingMethod); 1021Assert.Same(baseClassPropertyGetter, synthesizedExplicitImpls[1].ImplementingMethod); 1025Assert.Same(baseClassPropertySetter, synthesizedExplicitImpls[2].ImplementingMethod); 1087Assert.Same(classDMethod1, synthesizedExplicitMethod1Impl.ImplementingMethod); 1092Assert.Same(classDMethod2, synthesizedExplicitMethod2Impl.ImplementingMethod); 1658Assert.Equal(classBMethod, synthesizedExplicitImpl.ImplementingMethod); 1901Assert.Equal("NonVirtual", bridgeMethod.ImplementingMethod.Name); 2037Assert.Equal(baseMethod, synthesized.ImplementingMethod);
Symbols\Source\CustomModifierCopyTests.cs (8)
66Assert.Same(classMethod2, method2ExplicitImpl.ImplementingMethod); 116Assert.Same(classMethod2, explicitImpl.ImplementingMethod); 532Assert.Same(baseClass, explicitImpl.ImplementingMethod.ContainingType); 545Assert.Same(baseClass, class2Method2SynthesizedExplicitImpl.ImplementingMethod.ContainingType); 561Assert.Same(class3Method1, class3Method1SynthesizedExplicitImpl.ImplementingMethod); 567Assert.Same(baseClass, class3Method2SynthesizedExplicitImpl.ImplementingMethod.ContainingType); 738var explicitGetterImpl = explicitImpls.Where(impl => impl.ImplementingMethod.MethodKind == MethodKind.PropertyGet).Single(); 741var explicitSetterImpl = explicitImpls.Where(impl => impl.ImplementingMethod.MethodKind == MethodKind.PropertySet).Single();