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