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