From c12ecc48b2bfabb8a6582b6190190ab565a649a2 Mon Sep 17 00:00:00 2001 From: Leonard Kleinhans Date: Thu, 26 Nov 2020 17:36:33 +0100 Subject: [PATCH] Suppress codelens for IEnumerable.GetEnumerator --- src/features/codeLensProvider.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/features/codeLensProvider.ts b/src/features/codeLensProvider.ts index 40b6c262a..df331b9d4 100644 --- a/src/features/codeLensProvider.ts +++ b/src/features/codeLensProvider.ts @@ -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 {