genfacades fails on file-scoped namespaces
Open
area-Infrastructure-libraries
- Dominant language
- C#
- Stars
- 729
- Forks
- 397
- Avg merge
- 3d 15m
- Merged PRs (30d)
- 149
Description
If genfacades encounters a file-scoped namespace, it fails:
```
C:\Users\stoub\.nuget\packages\microsoft.dotnet.genfacades\8.0.0-beta.22524.5\build\Microsoft.DotNet.GenPartialFacadeSource.targets(28,5): error : Unable to cast object of type 'Microsoft.CodeAnaly
sis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax' to type 'Microsoft.CodeAnalysis.CSharp.Syntax.BaseTypeDeclarationSyntax'.
```
Contributor guide
Assessment
This issue has not been assessed yet.