# SourceFiles

Property in [Project](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.project)

## 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](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.project/yarn.compiler.project.sourcefilepatterns) , excluding those that are specified by [ExcludeFilePatterns](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.project/yarn.compiler.project.excludefilepatterns) .
