> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.project/yarn.compiler.project.sourcefiles.md).

# SourceFiles

Property in [Project](/api/csharp/yarn.compiler/yarn.compiler.project.md)

## Summary

Gets the collection of Yarn files that should be used to compile the project.

```csharp
public IEnumerable<string> SourceFiles { get; }
```

## Remarks

This collection uses a `Yarn.Compiler.Project.Matcher` to find all files specified by [SourceFilePatterns](/api/csharp/yarn.compiler/yarn.compiler.project/yarn.compiler.project.sourcefilepatterns.md) , excluding those that are specified by [ExcludeFilePatterns](/api/csharp/yarn.compiler/yarn.compiler.project/yarn.compiler.project.excludefilepatterns.md) .
