This is related to https://github.com/dotnet/source-build/issues/2359. Source-build should have it's own test to catch/prevent non-open source licensed code.