Base:
property
MethodKind
Microsoft.CodeAnalysis.CSharp.Symbols.SynthesizedImplementationMethod.MethodKind
4 references to MethodKind
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\InterfaceImplementationTests.cs (3)
1013var synthesizedExplicitImpls = (from m in derivedClass.GetSynthesizedExplicitImplementations(CancellationToken.None).ForwardingMethods orderby m.MethodKind select m).ToArray(); 1022Assert.Equal(MethodKind.PropertyGet, synthesizedExplicitImpls[1].MethodKind); 1026Assert.Equal(MethodKind.PropertySet, synthesizedExplicitImpls[2].MethodKind);
Symbols\Source\CustomModifierCopyTests.cs (1)
533AssertAllParametersHaveConstModOpt(explicitImpl, ignoreLast: explicitImpl.MethodKind == MethodKind.PropertySet);