Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
namespace Microsoft.Extensions.SourceGeneration.Configuration.Binder.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/52062", TestPlatforms.Browser)]
[ActiveIssue("https://github.com/dotnet/runtime/issues/105311", typeof(ConfigurationBindingGeneratorTests), nameof(IsBigEndian))]
public partial class ConfigurationBindingGeneratorTests : ConfigurationBinderTestsBase
{
// The source hash applied to the [Interceptable] attribute treats chars as bytes which fails baseline comparisons on big-endian.
public static bool IsBigEndian => !BitConverter.IsLittleEndian;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put this on PlatformDetection instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently this is considered a temporary fix pending Roslyn.


[Theory]
[InlineData(LanguageVersion.CSharp11)]
[InlineData(LanguageVersion.CSharp10)]
Expand Down