diff --git a/docs/fundamentals/code-analysis/quality-rules/ca2266.md b/docs/fundamentals/code-analysis/quality-rules/ca2266.md index 510bee500c6a5..277e8ffa24029 100644 --- a/docs/fundamentals/code-analysis/quality-rules/ca2266.md +++ b/docs/fundamentals/code-analysis/quality-rules/ca2266.md @@ -1,7 +1,7 @@ --- title: "CA2266: File-based program entry point should start with '#!'" description: "Learn about code analysis rule CA2266 - File-based program entry point should start with '#!'" -ms.date: 05/21/2026 +ms.date: 06/02/2026 f1_keywords: - CA2266 helpviewer_keywords: @@ -28,7 +28,7 @@ Your entry point file in a multi-file file-based program doesn't start with a sh ## Rule description -For correct tool identification and direct shell execution support, start the entry point file with a shebang (`#!`) line to clearly distinguish it from files brought in with `#:include`. +For correct tool identification and direct shell execution support, start the entry point file with a shebang (`#!`) line to clearly distinguish it from files brought in with `#:include` or `#:ref`. ## How to fix violations