202 references to PropertyGet
ILLink.RoslynAnalyzer (5)
Metrics (3)
Metrics.Legacy (3)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.Components.Analyzers (1)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.Analyzers (3)
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
Microsoft.CodeAnalysis.BannedApiAnalyzers (3)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp (36)
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)
22939Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
23035Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
23125Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
23658Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
23716Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
23820Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
24080Assert.Equal(MethodKind.PropertyGet, cM01Get.MethodKind);
24429Assert.Equal(MethodKind.PropertyGet, c1M01Get.MethodKind);
24454Assert.Equal(MethodKind.PropertyGet, c2M01Get.MethodKind);
24578Assert.Equal(MethodKind.PropertyGet, c1M01Get.MethodKind);
24639Assert.Equal(MethodKind.PropertyGet, c2M01Get.MethodKind);
24679Assert.Equal(MethodKind.PropertyGet, c3M01Get.MethodKind);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.Features (6)
Microsoft.CodeAnalysis.PublicApiAnalyzers (6)
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
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)
5601VerifyAccessor(goodStatic.GetMethod, goodStatic, MethodKind.PropertyGet)
5603VerifyAccessor(badStatic.GetMethod, goodStatic, MethodKind.PropertyGet)
5605VerifyAccessor(mismatchedStatic.GetMethod, goodStatic, MethodKind.PropertyGet)
5618VerifyAccessor(goodInstance.GetMethod, goodInstance, MethodKind.PropertyGet)
5620VerifyAccessor(badInstance.GetMethod, goodInstance, MethodKind.PropertyGet)
5622VerifyAccessor(mismatchedInstance.GetMethod, goodInstance, MethodKind.PropertyGet)
5627VerifyAccessor(staticAndInstance.GetMethod, goodStatic, MethodKind.PropertyGet)
5633VerifyAccessor(getUsedAsSet.GetMethod, goodInstance, MethodKind.PropertyGet)
5634VerifyAccessor(getUsedAsSet.SetMethod, goodInstance, MethodKind.PropertyGet)
8297Dim isAccessor = accessor.MethodKind = MethodKind.PropertyGet OrElse accessor.MethodKind = MethodKind.PropertySet
8357Dim 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)
Roslyn.Diagnostics.Analyzers (3)
Test.Utilities (3)
Text.Analyzers (4)