4 references to IsSimpleProgram
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceMemberContainerSymbol.cs (2)
231Debug.Assert(containingSymbol is NamespaceSymbol { IsGlobalNamespace: true } || !declaration.Declarations.Any(static d => d.IsSimpleProgram)); 3307if (singleDecl.IsSimpleProgram)
Symbols\Source\SourceNamedTypeSymbol.cs (2)
1719if (this.declaration.Declarations.All(d => d.IsSimpleProgram)) 1780return this.declaration.Declarations.Any(static d => d.IsSimpleProgram);