diff --git a/src/Compilers/CSharp/Portable/Symbols/Source/SimpleProgramNamedTypeSymbol.cs b/src/Compilers/CSharp/Portable/Symbols/Source/SimpleProgramNamedTypeSymbol.cs index 55ba76991dbcc..726d41048197d 100644 --- a/src/Compilers/CSharp/Portable/Symbols/Source/SimpleProgramNamedTypeSymbol.cs +++ b/src/Compilers/CSharp/Portable/Symbols/Source/SimpleProgramNamedTypeSymbol.cs @@ -220,7 +220,7 @@ protected override MembersAndInitializers BuildMembersAndInitializers(Diagnostic instanceInitializersSyntaxLength: 0); } - public override bool IsImplicitlyDeclared => false; + public override bool IsImplicitlyDeclared => true; internal override bool IsDefinedInSourceTree(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken) {