Skip to content

add missing examples for the EnumerateFiles method #2224

add missing examples for the EnumerateFiles method

add missing examples for the EnumerateFiles method #2224

Triggered via pull request September 8, 2025 16:36
Status Failure
Total duration 2m 58s
Artifacts

snippets5000.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
snippets-build
Process completed with exit code 1.
snippets-build: snippets/fsharp/System.IO/Directory/Overview/class1.fs#L6
D:\a\dotnet-api-docs\dotnet-api-docs\snippets\fsharp\System.IO\Directory\Overview\class1.fs(6,1): error FS0222: Files in libraries or multiple-file applications must begin with a namespace or module declaration, e.g. 'namespace SomeNamespace.SubNamespace' or 'module SomeNamespace.SomeModule'. Only the last source file of an application may omit such a declaration. [D:\a\dotnet-api-docs\dotnet-api-docs\snippets\fsharp\System.IO\Directory\Overview\fs.fsproj]
snippets-build: snippets/fsharp/System.IO/Directory/EnumerateFiles/program.fs#L2
D:\a\dotnet-api-docs\dotnet-api-docs\snippets\fsharp\System.IO\Directory\EnumerateFiles\program.fs(2,1): error FS0222: Files in libraries or multiple-file applications must begin with a namespace or module declaration, e.g. 'namespace SomeNamespace.SubNamespace' or 'module SomeNamespace.SomeModule'. Only the last source file of an application may omit such a declaration. [D:\a\dotnet-api-docs\dotnet-api-docs\snippets\fsharp\System.IO\Directory\EnumerateFiles\fs.fsproj]
snippets-build: snippets/visualbasic/System.IO/Directory/Overview/class8.vb#L0
ERROR: Project missing. A project (and optionally a solution file) must be in this directory or one of the parent directories to validate and build this code.|TriggerFile='snippets/visualbasic/System.IO/Directory/Overview/class8.vb'
snippets-build: snippets/visualbasic/System.IO/Directory/EnumerateFiles/program2.vb#L0
ERROR: Project missing. A project (and optionally a solution file) must be in this directory or one of the parent directories to validate and build this code.|TriggerFile='snippets/visualbasic/System.IO/Directory/EnumerateFiles/program2.vb'
snippets-build: snippets/csharp/System.IO/Directory/Overview/class8.cs#L0
ERROR: Project missing. A project (and optionally a solution file) must be in this directory or one of the parent directories to validate and build this code.|TriggerFile='snippets/csharp/System.IO/Directory/Overview/class8.cs'
snippets-build: snippets/csharp/System.IO/Directory/EnumerateFiles/program3.cs#L0
ERROR: Project missing. A project (and optionally a solution file) must be in this directory or one of the parent directories to validate and build this code.|TriggerFile='snippets/csharp/System.IO/Directory/EnumerateFiles/program3.cs'