From d55444d009b3bb71f6893d17c6ae8cb714129445 Mon Sep 17 00:00:00 2001 From: Youssef Victor <31348972+Youssef1313@users.noreply.github.com> Date: Thu, 1 Oct 2020 05:33:40 +0200 Subject: [PATCH] Update IsImplicitlyDeclared doc (#48199) Closes #48193 --- src/Compilers/Core/Portable/Symbols/ISymbol.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Compilers/Core/Portable/Symbols/ISymbol.cs b/src/Compilers/Core/Portable/Symbols/ISymbol.cs index 7c317ea018a..6c260469a3b 100644 --- a/src/Compilers/Core/Portable/Symbols/ISymbol.cs +++ b/src/Compilers/Core/Portable/Symbols/ISymbol.cs @@ -127,7 +127,7 @@ public interface ISymbol : IEquatable /// /// Returns true if this symbol was automatically created by the compiler, and does not have - /// an explicit corresponding source code declaration. + /// an explicit corresponding source code declaration. /// /// /// This is intended for symbols that are ordinary symbols in the language sense, and may be @@ -146,6 +146,9 @@ public interface ISymbol : IEquatable /// Methods in anonymous types. /// /// + /// + /// The class and entry point method for top-level statements are not considered as implicitly declared. + /// /// bool IsImplicitlyDeclared { get; } -- GitLab