Skip to content

Make SetDefault() public on Essentials types for third-party platform backends - #34229

Closed
Redth wants to merge 10 commits into
net11.0from
dev/redth/fix-34100
Closed

Make SetDefault() public on Essentials types for third-party platform backends#34229
Redth wants to merge 10 commits into
net11.0from
dev/redth/fix-34100

Expand SetDefault tests: full coverage pattern for 9 types, add 3 new…

a49e781
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis succeeded Apr 8, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Test Failures (7 tests failed)

🔹 [All failing tests from maui-pr]

    ⚠️ 2 failing tests not displayed for this pipeline due to space limitations

    Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(id: "maui", framework: "net10.0-ios", runtimeIdentifier: "iossimulator-arm64") [Details] [5.69% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    System.IO.EndOfStreamException : Unable to read beyond the end of the stream.
    CallStack
       at System.IO.BinaryReader.ReadInt32()
       at Microsoft.Build.Logging.StructuredLogger.BinLogReader.OpenReader(BinaryReader binaryReader) in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 192
       at Microsoft.Build.Logging.StructuredLogger.BinLogReader.ReadRecordsFromDecompressedStream(Stream decompressedStream)+MoveNext() in C:\MSBuildStructuredLog\src\StructuredLogger\BinaryLogger\BinLogReader.cs:line 303
       at Microsoft.Maui.IntegrationTests.BuildWarningsUtilities.OutputBuildErrorsFromBinLog(String binLogFilePath, Int32 maxErrors, ITestOutputHelper output) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/BuildWarningsUtilities.cs:line 46
       at Microsoft.Maui.IntegrationTests.DotnetInternal.Build(String projectFile, String config, String target, String framework, IEnumerable`1 properties, String binlogPath, Boolean msbuildWarningsAsErrors, String runtimeIdentifier, String[] warningsToIgnore, ITestOutputHelper output) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/DotnetInternal.cs:line 87
       at Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(String id, String framework, String runtimeIdentifier) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AOTTemplateTest.cs:line 51
       at InvokeStub_AOTTemplateTest.PublishNativeAOT(Object, Span`1)
       at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_BlazorDebug [Details] [46.14% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Testa52494d76341998458442.csproj failed to run. Check test output/attachments for errors.
    CallStack
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS(String id, String config, String framework, RuntimeVariant runtimeVariant, String trimMode) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 154
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_BlazorDebug() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 83
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_BlazorRelease [Details] [49.87% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Test33f994891001005739631.csproj failed to run. Check test output/attachments for errors.
    CallStack
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS(String id, String config, String framework, RuntimeVariant runtimeVariant, String trimMode) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 154
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_BlazorRelease() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 86
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiDebug [Details] [46.44% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Test363898747421539164026.csproj failed to run. Check test output/attachments for errors.
    CallStack
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS(String id, String config, String framework, RuntimeVariant runtimeVariant, String trimMode) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 154
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiDebug() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 74
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiNativeAOT [Details] [49.87% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Test9ebfbbc2001183209938.csproj failed to run. Check test output/attachments for errors.
    CallStack
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS(String id, String config, String framework, RuntimeVariant runtimeVariant, String trimMode) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 154
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiNativeAOT() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 105
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Was this helpful? Yes No