[BuildCheck] BC0102 doesn't work for task WriteLinesToFile
Open
Area: BuildCheck
bug
Priority:3
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
The following two projects both have a task WriteLinesToFile that write some content to the same files. Building proj1.csproj with analyzer enabled doesn't get the expected warning BC0102. See [binlog.zip](https://github.com/user-attachments/files/16358547/binlog.zip) for details.
**proj1.csproj**
```
```
**proj2.csproj**
```
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.