Skip to content

Commit

Permalink
Merge pull request dotnet#4246 from leo-labs/suppress-codelense-geten…
Browse files Browse the repository at this point in the history
…umerator

Suppress codelens for IEnumerable.GetEnumerator
  • Loading branch information
JoeRobich authored Dec 1, 2020
2 parents ed4c3ad + 5e890a7 commit 2489158
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/codeLensProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ const filteredSymbolNames: { [name: string]: boolean } = {
'Finalize': true,
'GetHashCode': true,
'ToString': true,
'Dispose': true
'Dispose': true,
'GetEnumerator': true,
};

function isValidElementForReferencesCodeLens(element: Structure.CodeElement): boolean {
Expand Down

0 comments on commit 2489158

Please sign in to comment.