165 references to PropertyGet
ILLink.RoslynAnalyzer (5)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.Components.Analyzers (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp (33)
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features (5)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (31)
Symbols\Source\PropertyTests.cs (11)
604Assert.True(accessor.MethodKind == MethodKind.PropertyGet || accessor.MethodKind == MethodKind.PropertySet,
724VerifyAccessor(goodStatic.GetMethod, goodStatic, MethodKind.PropertyGet);
726VerifyAccessor(badStatic.GetMethod, goodStatic, MethodKind.PropertyGet);
728VerifyAccessor(mismatchedStatic.GetMethod, goodStatic, MethodKind.PropertyGet);
741VerifyAccessor(goodInstance.GetMethod, goodInstance, MethodKind.PropertyGet);
743VerifyAccessor(badInstance.GetMethod, goodInstance, MethodKind.PropertyGet);
745VerifyAccessor(mismatchedInstance.GetMethod, goodInstance, MethodKind.PropertyGet);
750VerifyAccessor(staticAndInstance.GetMethod, goodStatic, MethodKind.PropertyGet);
756VerifyAccessor(getUsedAsSet.GetMethod, goodInstance, MethodKind.PropertyGet);
757VerifyAccessor(getUsedAsSet.SetMethod, goodInstance, MethodKind.PropertyGet);
769var method = (methodKind == MethodKind.PropertyGet) ? associatedProperty.GetMethod : associatedProperty.SetMethod;
Symbols\StaticAbstractMembersInInterfacesTests.cs (12)
22957Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
23053Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
23143Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
23676Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
23734Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
23838Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
24098Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
24447Assert.Equal(MethodKind.PropertyGet, c1M01Get.MethodKind);
24472Assert.Equal(MethodKind.PropertyGet, c2M01Get.MethodKind);
24596Assert.Equal(MethodKind.PropertyGet, c1M01Get.MethodKind);
24657Assert.Equal(MethodKind.PropertyGet, c2M01Get.MethodKind);
24697Assert.Equal(MethodKind.PropertyGet, c3M01Get.MethodKind);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.Features (6)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic (45)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (11)
SymbolsTests\Source\PropertyTests.vb (11)
5600VerifyAccessor(goodStatic.GetMethod, goodStatic, MethodKind.PropertyGet)
5602VerifyAccessor(badStatic.GetMethod, goodStatic, MethodKind.PropertyGet)
5604VerifyAccessor(mismatchedStatic.GetMethod, goodStatic, MethodKind.PropertyGet)
5617VerifyAccessor(goodInstance.GetMethod, goodInstance, MethodKind.PropertyGet)
5619VerifyAccessor(badInstance.GetMethod, goodInstance, MethodKind.PropertyGet)
5621VerifyAccessor(mismatchedInstance.GetMethod, goodInstance, MethodKind.PropertyGet)
5626VerifyAccessor(staticAndInstance.GetMethod, goodStatic, MethodKind.PropertyGet)
5632VerifyAccessor(getUsedAsSet.GetMethod, goodInstance, MethodKind.PropertyGet)
5633VerifyAccessor(getUsedAsSet.SetMethod, goodInstance, MethodKind.PropertyGet)
8110Dim isAccessor = accessor.MethodKind = MethodKind.PropertyGet OrElse accessor.MethodKind = MethodKind.PropertySet
8170Dim method = If((methodKind = MethodKind.PropertyGet), associatedProperty.GetMethod, associatedProperty.SetMethod)
Microsoft.CodeAnalysis.Workspaces (4)
Microsoft.VisualStudio.LanguageServices (1)
Microsoft.VisualStudio.LanguageServices.CSharp (4)
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)