5 implementations of GetMethod
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
CodeGenerationPropertySymbol.cs (1)
27public IMethodSymbol GetMethod { get; }
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\PropertySymbol.cs (1)
51IMethodSymbol IPropertySymbol.GetMethod
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedPropertySymbol.cs (1)
34public IMethodSymbol GetMethod => _symbol.GetMethod;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
544Private ReadOnly Property IPropertySymbol_GetMethod As IMethodSymbol Implements IPropertySymbol.GetMethod
Microsoft.CodeAnalysis.Workspaces (1)
CodeGenerationPropertySymbol.cs (1)
27public IMethodSymbol GetMethod { get; }
193 references to GetMethod
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\SymbolChanges.cs (2)
99(propertySymbol.GetMethod is null || propertySymbol.GetMethod == symbol))
Microsoft.CodeAnalysis.CodeStyle (13)
AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
509if (property.GetMethod != null && property.SetMethod != null &&
AbstractUseAutoPropertyAnalyzer.cs (2)
176if (property.GetMethod == null) 197var getterField = GetGetterField(semanticModel, property.GetMethod, cancellationToken);
INamedTypeSymbolExtensions.cs (7)
117return IsAccessorImplemented(propertySymbol.GetMethod, classOrStructType) && IsAccessorImplemented(propertySymbol.SetMethod, classOrStructType); 130if (propertySymbol.GetMethod != null) 132if (classOrStructType.FindImplementationForAbstractMember(propertySymbol.GetMethod) == null) 223return IsNonPublicImplementableAccessor(property.GetMethod) || IsNonPublicImplementableAccessor(property.SetMethod); 323return IsInaccessibleImplementableAccessor(property.GetMethod, within) || IsInaccessibleImplementableAccessor(property.SetMethod, within); 480propertySymbol.GetMethod != null && 482propertySymbol.GetMethod.IsAccessibleWithin(within) &&
ISymbolExtensions.cs (3)
619if (!returnType.GetMembers().OfType<IPropertySymbol>().Any(p => p.Name == WellKnownMemberNames.IsCompleted && p.Type.SpecialType == SpecialType.System_Boolean && p.GetMethod != null)) 658if (!members.OfType<IPropertySymbol>().Any(p => p.Name == WellKnownMemberNames.CurrentPropertyName && p.GetMethod != null)) 698if (!members.OfType<IPropertySymbol>().Any(p => p.Name == WellKnownMemberNames.CurrentPropertyName && p.GetMethod != null))
Microsoft.CodeAnalysis.CSharp (3)
CSharpDeclarationComputer.cs (1)
366var declaredAccessor = getSymbol ? (model.GetDeclaredSymbol(declarationWithExpressionBody, cancellationToken) as IPropertySymbol)?.GetMethod : null;
SymbolDisplay\SymbolDisplayVisitor.Members.cs (2)
99var getMethod = property.GetMethod; 178AddAccessor(symbol, symbol.GetMethod, SyntaxKind.GetKeyword);
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpMakeStructMemberReadOnlyAnalyzer.cs (2)
190if (propertyReference.Property.GetMethod is null || 191!propertyReference.Property.GetMethod.IsReadOnly)
CSharpUseIndexOperatorDiagnosticAnalyzer.cs (1)
132propertyReference.Property.GetMethod,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (6)
CSharpCodeGenerationService.cs (2)
199if (property.GetMethod != null) 201var getMethod = property.GetMethod;
PositionalParameterInfo.cs (1)
160var getAccessor = propertySymbol.GetMethod;
PropertyGenerator.cs (3)
263GenerateAccessorDeclaration(property, property.GetMethod, SyntaxKind.GetAccessorDeclaration, destination, info), 332var hasNonReadOnlyAccessor = property.GetMethod?.IsReadOnly == false || property.SetMethod?.IsReadOnly == false; 375var hasAllReadOnlyAccessors = property.GetMethod?.IsReadOnly != false && property.SetMethod?.IsReadOnly != false;
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (34)
EditAndContinue\LineEditTests.cs (2)
1322semanticEdits: new[] { SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.P").GetMethod) }); 1506semanticEdits: new[] { SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.this[]").GetMethod) });
EditAndContinue\TopLevelEditingTests.cs (32)
2421SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.P").GetMethod), 2463SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.P").GetMethod), 2505SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.P").GetMethod), 3391SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.X").GetMethod), 3415SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.X").GetMethod), 3489SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.X").GetMethod), 3513SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.X").GetMethod), 3604SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.X").GetMethod), 3645SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.X").GetMethod), 3683SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.Y").GetMethod), 6373SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("P1").GetMethod, preserveLocalVariables: false), 6375SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("P2").GetMethod, preserveLocalVariables: false), 6377SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMembers("this[]").Cast<IPropertySymbol>().Single(m => m.GetParameters().Single().Type.Name == "Int32").GetMethod, preserveLocalVariables: false), 6379SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMembers("this[]").Cast<IPropertySymbol>().Single(m => m.GetParameters().Single().Type.Name == "Byte").GetMethod, preserveLocalVariables: false), 6606SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("P").GetMethod), 6628SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("P").GetMethod) 11425SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.a").GetMethod), 11444SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.a").GetMethod), 11483SemanticEdit(SemanticEditKind.Update, c => c.GetMember<IPropertySymbol>("C.a").GetMethod), 12901SemanticEdit(SemanticEditKind.Update, c => ((IPropertySymbol)c.GetMember<INamedTypeSymbol>("C").GetMembers("P").First()).GetMethod), 14528new[] { SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("P").GetMethod) }, 15012SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("P").GetMethod), 15036SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("Q").GetMethod), 15062SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("P").GetMethod), 15064SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("Q").GetMethod), 15089SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("P").GetMethod), 15112semanticEdits: new[] { SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("P").GetMethod) }), 15189SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("S").GetMember<IPropertySymbol>("P2").GetMethod, preserveLocalVariables: false), 16106SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("this[]").GetMethod), 16130SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("this[]").GetMethod), 16156SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("C").GetMember<IPropertySymbol>("this[]").GetMethod), 16267SemanticEdit(SemanticEditKind.Update, c => c.GetMember<INamedTypeSymbol>("S").GetMembers("this[]").Cast<IPropertySymbol>().Single(m => m.Parameters.Single().Type.Name == "UInt32").GetMethod, preserveLocalVariables: false),
Microsoft.CodeAnalysis.CSharp.Features (17)
Completion\CompletionProviders\DeclarationName\DeclarationNameRecommender.cs (1)
141.OfType<IPropertySymbol>().FirstOrDefault(p => p.GetMethod != null)?.Type;
CSharpDeclarationComputer.cs (1)
366var declaredAccessor = getSymbol ? (model.GetDeclaredSymbol(declarationWithExpressionBody, cancellationToken) as IPropertySymbol)?.GetMethod : null;
CSharpMakeStructMemberReadOnlyAnalyzer.cs (2)
190if (propertyReference.Property.GetMethod is null || 191!propertyReference.Property.GetMethod.IsReadOnly)
CSharpUseIndexOperatorDiagnosticAnalyzer.cs (1)
132propertyReference.Property.GetMethod,
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (10)
1305var oldGetterSymbol = ((IPropertySymbol)oldSymbol).GetMethod; 1306var newGetterSymbol = ((IPropertySymbol)newSymbol).GetMethod; 1325if (oldPropertySymbol.GetMethod != null && newPropertySymbol.GetMethod != null && oldPropertySymbol.GetMethod.IsReadOnly != newPropertySymbol.GetMethod.IsReadOnly) 1327builder.Add((oldPropertySymbol.GetMethod, newPropertySymbol.GetMethod, editKind)); 1391var oldGetterSymbol = ((IPropertySymbol?)oldSymbol)?.GetMethod; 1392var newGetterSymbol = ((IPropertySymbol?)newSymbol)?.GetMethod;
PositionalParameterInfo.cs (1)
160var getAccessor = propertySymbol.GetMethod;
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (1)
80var getMethod = property.GetMethod;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (17)
Semantics\ForEachTests.cs (1)
3276Assert.Equal(enumeratorInfo.CurrentPropertyGetter.GetPublicSymbol(), statementInfo.CurrentProperty.GetMethod);
Semantics\InitOnlyMemberTests.cs (6)
49Assert.False(publicProperty.GetMethod.IsInitOnly); 611Assert.False(property.GetPublicSymbol().GetMethod.IsInitOnly); 642Assert.False(property.GetPublicSymbol().GetMethod.IsInitOnly); 901Assert.False(property.GetPublicSymbol().GetMethod.IsInitOnly); 1156Assert.False(property.GetPublicSymbol().GetMethod.IsInitOnly); 4053Assert.False(property.GetPublicSymbol().GetMethod.IsInitOnly);
Semantics\ReadOnlyStructsTests.cs (7)
1196Assert.True(getProperty(s1, "P1").GetMethod.IsReadOnly); 1199Assert.True(getProperty(s1, "P2").GetMethod.IsReadOnly); 1201Assert.True(getProperty(s1, "P3").GetMethod.IsReadOnly); 1205Assert.False(getProperty(s1, "P5").GetMethod.IsReadOnly); 1215Assert.True(getProperty(s2, "P1").GetMethod.IsReadOnly); 1217Assert.True(getProperty(s2, "P2").GetMethod.IsReadOnly); 1221Assert.False(getProperty(s2, "P4").GetMethod.IsReadOnly);
Semantics\RecordStructTests.cs (2)
1765Assert.Equal("readonly System.Int32 C.X.get", x.GetMethod.ToTestDisplayString()); 1812Assert.Equal("System.Int32 C.X.get", x.GetMethod.ToTestDisplayString());
Semantics\RecordTests.cs (1)
902Assert.Equal("System.Int32 C.X.get", x.GetMethod.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Compilation\GetSemanticInfoTests.cs (1)
4494Assert.Equal(propertyP.GetMethod, info.CandidateSymbols.Single());
Compilation\SemanticModelAPITests.cs (1)
2002Assert.Equal("System.Object System.Collections.IEnumerator.Current.get", info.CurrentProperty.GetMethod.ToTestDisplayString());
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (4)
355Assert.Equal(propertySymbol.GetMethod, getterSymbol); 2877Assert.Same(explicitPropertySymbol.GetMethod, explicitPropertyGetterSymbol); 3148Assert.Equal(prop.GetMethod, dsym); 3155Assert.Equal(prop.GetMethod, dsym);
DocumentationComments\CrefTests.cs (1)
6335var accessor = compilation.GlobalNamespace.GetMember<INamedTypeSymbol>("Outer").GetMember<INamedTypeSymbol>("Inner").GetMember<IPropertySymbol>("P").GetMethod;
Symbols\AnonymousTypesSemanticsTests.cs (1)
1939IMethodSymbol getter = property.GetMethod;
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
CSharpCodeGenerationService.cs (2)
199if (property.GetMethod != null) 201var getMethod = property.GetMethod;
PropertyGenerator.cs (3)
263GenerateAccessorDeclaration(property, property.GetMethod, SyntaxKind.GetAccessorDeclaration, destination, info), 332var hasNonReadOnlyAccessor = property.GetMethod?.IsReadOnly == false || property.SetMethod?.IsReadOnly == false; 375var hasAllReadOnlyAccessors = property.GetMethod?.IsReadOnly != false && property.SetMethod?.IsReadOnly != false;
Microsoft.CodeAnalysis.Features (32)
AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
509if (property.GetMethod != null && property.SetMethod != null &&
AbstractUseAutoPropertyAnalyzer.cs (2)
176if (property.GetMethod == null) 197var getterField = GetGetterField(semanticModel, property.GetMethod, cancellationToken);
ConvertAnonymousType\AbstractConvertAnonymousTypeToClassCodeRefactoringProvider.cs (1)
354var getMethod = prop.GetMethod != null ? CreateAccessorSymbol(prop, MethodKind.PropertyGet) : null;
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (3)
3490AddEdit(propertySymbol.GetMethod); 3500if (propertySymbol.GetMethod is not null) 3502processedSymbols.Add(propertySymbol.GetMethod);
ExtractInterface\AbstractExtractInterfaceService.cs (5)
423getMethod: property.GetMethod == null ? null : (property.GetMethod.DeclaredAccessibility == Accessibility.Public ? property.GetMethod : null), 454((prop.GetMethod != null && prop.GetMethod.DeclaredAccessibility == Accessibility.Public) ||
ImplementAbstractClass\ImplementAbstractClassData.cs (4)
204if (property.GetMethod == null) 213var getMethod = ShouldGenerateAccessor(property.GetMethod) 215property.GetMethod, 217accessibility: property.GetMethod.ComputeResultantAccessibility(ClassType),
ImplementInterface\AbstractImplementInterfaceService.AccessibilityHelper.cs (1)
39if (IsLessAccessibleThan(propertySymbol.GetMethod, second))
ImplementInterface\AbstractImplementInterfaceService.CodeAction_Property.cs (4)
98if (property.GetMethod == null) 126if (property.GetMethod == null) 131var getMethod = property.GetMethod.RemoveInaccessibleAttributesAndAttributesOfTypes( 139explicitInterfaceImplementations: useExplicitInterfaceSymbol ? ImmutableArray.Create(property.GetMethod) : default,
ImplementInterface\AbstractImplementInterfaceService.cs (1)
172.Where(p => (!p.IsImplicitlyDeclared) && (p.Parameters.Length == 0) && (p.GetMethod != null))
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (2)
809if (property.GetMethod != null) 810accessors.AddIfNotNull(GetAccessorBody(property.GetMethod, cancellationToken));
MetadataAsSource\AbstractMetadataAsSourceService.WrappedPropertySymbol.cs (1)
34public IMethodSymbol GetMethod => _symbol.GetMethod;
PullMemberUp\MembersPuller.cs (3)
171getMethod: MakePublicAccessor(propertySymbol.GetMethod), 180getMethod: FilterOutNonPublicAccessor(propertySymbol.GetMethod), 468return CodeGenerationSymbolFactory.CreatePropertySymbol(propertySymbol, modifiers: modifier, getMethod: propertySymbol.GetMethod, setMethod: propertySymbol.SetMethod);
ReplacePropertyWithMethods\AbstractReplacePropertyWithMethodsService.cs (2)
305if (_property.GetMethod != null) 415=> _propertyBackingField != null && _property.GetMethod == null;
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (2)
60(propertySymbol.GetMethod == null ? 0 : 1) + 144return property.GetMethod != null &&
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
544Private ReadOnly Property IPropertySymbol_GetMethod As IMethodSymbol Implements IPropertySymbol.GetMethod
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
VisualBasicUseAutoPropertyAnalyzer.vb (2)
50If prop.GetMethod IsNot Nothing AndAlso 51prop.GetMethod.DeclaredAccessibility <> prop.DeclaredAccessibility Then
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
EditAndContinue\TopLevelEditingTests.vb (1)
10087SemanticEdit(SemanticEditKind.Update, Function(c) CType(c.GetMember(Of NamedTypeSymbol)("C").GetMembers("P").First(), IPropertySymbol).GetMethod),
Microsoft.CodeAnalysis.VisualBasic.Features (3)
ReplacePropertyWithMethods\VisualBasicReplacePropertyWithMethods.vb (1)
63Dim getMethod = [property].GetMethod
VisualBasicUseAutoPropertyAnalyzer.vb (2)
50If prop.GetMethod IsNot Nothing AndAlso 51prop.GetMethod.DeclaredAccessibility <> prop.DeclaredAccessibility Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (6)
CodeGeneration\PropertyGenerator.vb (6)
78Dim getMethod = [property].GetMethod 112GenerateAccessor([property], [property].GetMethod, isGetter:=True, destination:=destination, options:=options), 216If [property].GetMethod Is Nothing AndAlso 222[property].GetMethod IsNot Nothing Then 237Dim attributes = If([property].GetMethod IsNot Nothing, 238AttributeGenerator.GenerateAttributeBlocks([property].GetMethod.GetReturnTypeAttributes(), options),
Microsoft.CodeAnalysis.Workspaces (33)
Editing\SyntaxGenerator.cs (1)
381var getMethodSymbol = property.GetMethod;
FindSymbols\FindReferences\Finders\AbstractMethodOrPropertyOrEventSymbolReferenceFinder.cs (5)
29return symbols.CurrentProperty.GetMethod == null 31: ImmutableArray.Create(symbols.CurrentProperty.GetMethod); 42result.AddIfNotNull(property.GetMethod); 59return inNameOf || inStructuredTrivia || property.GetMethod == null 61: ImmutableArray.Create(property.GetMethod);
FindSymbols\FindReferences\Finders\ParameterSymbolReferenceFinder.cs (3)
190if (containingProperty.GetMethod != null && ordinal < containingProperty.GetMethod.Parameters.Length) 191results.Add(containingProperty.GetMethod.Parameters[ordinal]);
FindSymbols\FindReferences\Finders\PropertySymbolReferenceFinder.cs (1)
53result.AddIfNotNull(symbol.GetMethod);
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs\INamedTypeSymbolExtensions.cs (7)
117return IsAccessorImplemented(propertySymbol.GetMethod, classOrStructType) && IsAccessorImplemented(propertySymbol.SetMethod, classOrStructType); 130if (propertySymbol.GetMethod != null) 132if (classOrStructType.FindImplementationForAbstractMember(propertySymbol.GetMethod) == null) 223return IsNonPublicImplementableAccessor(property.GetMethod) || IsNonPublicImplementableAccessor(property.SetMethod); 323return IsInaccessibleImplementableAccessor(property.GetMethod, within) || IsInaccessibleImplementableAccessor(property.SetMethod, within); 480propertySymbol.GetMethod != null && 482propertySymbol.GetMethod.IsAccessibleWithin(within) &&
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs\ISymbolExtensions.cs (3)
619if (!returnType.GetMembers().OfType<IPropertySymbol>().Any(p => p.Name == WellKnownMemberNames.IsCompleted && p.Type.SpecialType == SpecialType.System_Boolean && p.GetMethod != null)) 658if (!members.OfType<IPropertySymbol>().Any(p => p.Name == WellKnownMemberNames.CurrentPropertyName && p.GetMethod != null)) 698if (!members.OfType<IPropertySymbol>().Any(p => p.Name == WellKnownMemberNames.CurrentPropertyName && p.GetMethod != null))
ReassignedVariable\AbstractReassignedVariableService.cs (2)
303var getParameter = property.GetMethod?.Parameters[parameter.Ordinal]; 326var getParameter = property.GetMethod?.Parameters[parameter.Ordinal];
Shared\Extensions\IPropertySymbolExtensions.cs (2)
35property.GetMethod, 65property.GetMethod,
Shared\Extensions\SyntaxGeneratorExtensions.cs (5)
318var getAccessibility = overriddenProperty.GetMethod.ComputeResultantAccessibility(containingType); 355var getName = overriddenProperty.GetMethod?.Name; 414if (overriddenProperty.GetMethod != null && overriddenProperty.GetMethod.IsAccessibleWithin(containingType)) 417overriddenProperty.GetMethod,
Shared\Utilities\SignatureComparer.cs (4)
178if (BadPropertyAccessor(property1.GetMethod, property2.GetMethod) || 188if (BadPropertyAccessor(property2.GetMethod, property1.GetMethod) ||
Microsoft.VisualStudio.LanguageServices.CSharp (3)
ObjectBrowser\DescriptionBuilder.cs (3)
496if (propertySymbol.GetMethod != null) 498if (propertySymbol.GetMethod.DeclaredAccessibility != propertySymbol.DeclaredAccessibility) 500BuildAccessibility(propertySymbol.GetMethod);
Microsoft.VisualStudio.LanguageServices.Implementation (3)
CodeModel\ExternalElements\ExternalCodeProperty.cs (3)
48if (symbol.GetMethod == null) 53return ExternalCodeAccessorFunction.Create(this.State, this.ProjectId, symbol.GetMethod, this); 163if (symbol.GetMethod != null)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
ObjectBrowser\DescriptionBuilder.vb (1)
247If propertySymbol.GetMethod IsNot Nothing Then