Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.35k stars 4.66k forks source link

Storage pipelines failing on Build Analyze step due to code snippets #33976

Open seanmcc-msft opened 1 year ago

seanmcc-msft commented 1 year ago

Code snippets were recently enabled for the storage directory of the repo. This has caused the storage pipelines to fail on the Build Analyze steps, like in this PR - https://github.com/Azure/azure-sdk-for-net/pull/33921

Azure Pipelines run example - https://github.com/Azure/azure-sdk-for-net/runs/11179015923

Check failure on line 37 in sdk/storage/Azure.ResourceManager.Storage/tests/Samples/ChangeLog.cs

@azure-pipelinesazure-pipelines / net - storage - ci (Build Analyze) sdk/storage/Azure.ResourceManager.Storage/tests/Samples/ChangeLog.cs#L37 sdk/storage/Azure.ResourceManager.Storage/tests/Samples/ChangeLog.cs(37,9): Error CS1022: Type or namespace definition, or end-of-file expected

heaths commented 1 year ago

Duplicate of #33967 since both the Changelog.cs and Readme.cs files are affected, but you could fix it separately.