We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cae7f9d + d5a48a3 commit 3f17014Copy full SHA for 3f17014
csharp/extractor/Semmle.Extraction.CSharp/Entities/Property.cs
@@ -111,7 +111,7 @@ public override Microsoft.CodeAnalysis.Location FullLocation
111
112
public static Property Create(Context cx, IPropertySymbol prop)
113
{
114
- bool isIndexer = prop.IsIndexer || prop.ExplicitInterfaceImplementations.Any(e => e.IsIndexer);
+ bool isIndexer = prop.IsIndexer || prop.Parameters.Any();
115
116
return isIndexer ? Indexer.Create(cx, prop) : PropertyFactory.Instance.CreateEntity(cx, prop);
117
}
0 commit comments