Skip to content

[release/8.0-staging] Add non-public SetEntryAssembly() API to System.Reflection #103726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -59,7 +59,7 @@
<Compile Include="System\Configuration\ConfigurationElementTests.cs" />
<Compile Include="System\Configuration\ConfigurationPropertyAttributeTests.cs" />
<Compile Include="System\Configuration\ConfigurationPathTests.cs" />
<Compile Include="System\Configuration\CustomHostTests.cs" />
<Compile Include="System\Configuration\CustomHostTests.cs" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" />
<Compile Include="System\Configuration\ConfigurationPropertyTests.cs" />
<Compile Include="System\Configuration\ConfigurationTests.cs" />
<Compile Include="System\Configuration\BasicCustomSectionTests.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public void FilePathIsPopulatedCorrectly()
private static void MakeAssemblyGetEntryAssemblyReturnNull()
{
typeof(Assembly)
.GetField("s_forceNullEntryPoint", BindingFlags.NonPublic | BindingFlags.Static)
.SetValue(null, true);
.GetMethod("SetEntryAssembly", BindingFlags.Public | BindingFlags.Static)
.Invoke(null, new object[]{ null });

Assert.Null(Assembly.GetEntryAssembly());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ public void EntryAssemblyName_Null_NotIncludedInTrace()
private static void MakeAssemblyGetEntryAssemblyReturnNull()
{
typeof(Assembly)
.GetField("s_forceNullEntryPoint", BindingFlags.NonPublic | BindingFlags.Static)
.SetValue(null, true);
.GetMethod("SetEntryAssembly", BindingFlags.Public | BindingFlags.Static)
.Invoke(null, new object[]{ null });

Assert.Null(Assembly.GetEntryAssembly());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,39 @@
return type.Module?.Assembly;
}

private static object? s_overriddenEntryAssembly;

/// <summary>
/// Sets the application's entry assembly to the provided assembly object.
/// </summary>
/// <param name="assembly">
/// Assembly object that represents the application's new entry assembly.
/// </param>
/// <remarks>
/// The assembly passed to this function has to be a runtime defined Assembly
/// type object. Otherwise, an exception will be thrown.
/// </remarks>
public static void SetEntryAssembly(Assembly? assembly)
{
if (assembly is null)
{
s_overriddenEntryAssembly = string.Empty;
return;
}

if (assembly is not RuntimeAssembly)
throw new ArgumentException(SR.Argument_MustBeRuntimeAssembly);

s_overriddenEntryAssembly = assembly;
}

// internal test hook
private static bool s_forceNullEntryPoint;

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build osx-x64 release Runtime_Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build osx-x64 release Runtime_Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build linux-x86 checked CoreCLR_NoR2R)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build linux-x86 checked CoreCLR_NoR2R)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build linux-armel checked CoreCLR_NonPortable)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build linux-armel checked CoreCLR_NonPortable)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build osx-arm64 release Runtime_Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build osx-arm64 release Runtime_Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build osx-x64 release Runtime_Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build osx-x64 release Runtime_Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug AllSubsets_Mono_LLVMJIT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Debug AllSubsets_Mono_LLVMJIT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build linux-x64 debug Runtime_Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build linux-x64 debug Runtime_Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug AllSubsets_Mono_LLVMJIT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug AllSubsets_Mono_LLVMJIT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm Debug AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm Debug AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx x64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx x64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build linux arm64 debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build linux arm64 debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build linux-x64 release Runtime_Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build linux-x64 release Runtime_Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Release AllSubsets_Mono_LLVMAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Release AllSubsets_Mono_LLVMAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-riscv64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-riscv64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build linux x64 debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build linux x64 debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl x64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl x64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build wasi-wasm linux Release LibraryTests_Smoke)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build wasi-wasm linux Release LibraryTests_Smoke)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux x64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux x64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build linux-x64 debug Libraries_AllConfigurations)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build linux-x64 debug Libraries_AllConfigurations)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build linux x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build linux x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux x64 Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux x64 Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvos-arm64 Release AllSubsets_NativeAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build android-arm64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build android-arm64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build android-arm Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build android-arm Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvossimulator-x64 Debug AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvossimulator-x64 Debug AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux arm Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Debug NativeAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono llvmaot Product Build linux x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono llvmaot Product Build linux x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build Libraries Build freebsd x64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build Libraries Build freebsd x64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm64 Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build linux_musl arm64 Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_AOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_AOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build linux arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build linux arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Release AllSubsets_Mono_LLVMAot_RuntimeTests llvmaot)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Release AllSubsets_Mono_LLVMAot_RuntimeTests llvmaot)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Release AllSubsets_Mono_LLVMAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Release AllSubsets_Mono_LLVMAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug AllSubsets_Mono_LLVMAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Debug AllSubsets_Mono_LLVMAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build mono Common Pri0 Test Build AnyOS AnyCPU release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono llvmaot Product Build linux arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build mono Common Pri0 Test Build AnyOS AnyCPU release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono llvmaot Product Build linux arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build osx x64 debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build osx x64 debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build browser-wasm linux release Runtime_Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests (Build browser-wasm linux release Runtime_Release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_EAT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_EAT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build coreclr Common Pri0 Test Build AnyOS AnyCPU checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build coreclr Common Pri0 Test Build AnyOS AnyCPU checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_Threading_Smoke)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build browser-wasm linux Release LibraryTests_Threading_Smoke)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Release AllSubsets_Mono_Minijit_RuntimeTests minijit)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Release AllSubsets_Mono_Minijit_RuntimeTests minijit)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build maccatalyst-x64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build maccatalyst-x64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvos-arm64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build tvos-arm64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build ios-arm64 Release AllSubsets_NativeAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Release NativeAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm64 Release NativeAOT_Libraries)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build osx arm64 debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build osx arm64 debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl arm release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl arm release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux arm checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux arm checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Release AllSubsets_Mono_Minijit_RuntimeTests minijit)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Release AllSubsets_Mono_Minijit_RuntimeTests minijit)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl arm checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl arm checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux arm release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux arm release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 Release NativeAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Release NativeAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Release AllSubsets_Mono_LLVMJIT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Release AllSubsets_Mono_LLVMJIT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx arm64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Libraries Build osx arm64 Debug)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 checked CLR_Tools_Tests)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux riscv64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux riscv64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl arm64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl arm64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl x64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux_musl x64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Release AllSubsets_Mono_Interpreter_RuntimeTests monointerpreter)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-x64 Release AllSubsets_Mono_Interpreter_RuntimeTests monointerpreter)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux arm64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux arm64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build CoreCLR Product Build freebsd x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop (Build CoreCLR Product Build freebsd x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux x64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build linux x64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Release NativeAOT_Libraries)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Release NativeAOT)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build osx arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build osx arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build ios-arm64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build ios-arm64 Release AllSubsets_Mono)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build osx x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono Product Build osx x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono crossaot Product Build linux_musl x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono crossaot Product Build linux_musl x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build osx x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build osx x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build osx arm64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build osx arm64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono crossaot Product Build linux x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono crossaot Product Build linux x64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono crossaot Product Build linux_musl arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono crossaot Product Build linux_musl arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 checked Native_GCC)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-x64 checked Native_GCC)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono crossaot Product Build linux arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build Mono crossaot Product Build linux arm64 release)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build osx x64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime (Build CoreCLR Product Build osx x64 checked)

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CS0169: (NETCORE_ENGINEERING_TELEMETRY=Build) The field 'Assembly.s_forceNullEntryPoint' is never used

Check failure on line 247 in src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs

View check run for this annotation

Azure Pipelines / runtime

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs#L247

src/libraries/System.Private.CoreLib/src/System/Reflection/Assembly.cs(247,29): error CA1823: (NETCORE_ENGINEERING_TELEMETRY=Build) Unused field 's_forceNullEntryPoint' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)

public static Assembly? GetEntryAssembly()
{
if (s_forceNullEntryPoint)
return null;
if (s_overriddenEntryAssembly is not null)
return s_overriddenEntryAssembly as Assembly;

return GetEntryAssemblyInternal();
}
Expand Down
34 changes: 34 additions & 0 deletions src/libraries/System.Reflection/tests/AssemblyTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection.Emit;
using System.Reflection.Tests;
using System.Runtime.CompilerServices;
using System.Security;
using System.Text;
using Microsoft.DotNet.RemoteExecutor;
using Xunit;

[assembly:
Expand Down Expand Up @@ -181,6 +183,38 @@ public void GetEntryAssembly()
Assert.True(correct, $"Unexpected assembly name {assembly}");
}

[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
public void SetEntryAssembly()
{
Assert.NotNull(Assembly.GetEntryAssembly());

RemoteExecutor.Invoke(() =>
{
SetEntryAssembly(null);
Assert.Null(Assembly.GetEntryAssembly());

Assembly testAssembly = typeof(AssemblyTests).Assembly;

SetEntryAssembly(testAssembly);
Assert.Equal(Assembly.GetEntryAssembly(), testAssembly);

var invalidAssembly = new PersistedAssemblyBuilder(
new AssemblyName("NotaRuntimeAssemblyTest"),
typeof(object).Assembly
);
Assert.Throws<ArgumentException>(
() => Assembly.SetEntryAssembly(invalidAssembly)
);
}).Dispose();
}

private static SetEntryAssembly(Assembly assembly)
{
typeof(Assembly)
.GetMethod("SetEntryAssembly", BindingFlags.Public | BindingFlags.Static)
.Invoke(null, new object[]{ assembly });
}

[Fact]
public void GetFile()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
<TestRuntime>true</TestRuntime>
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!-- SYSLIB0013: Uri.EscapeUriString is obsolete
SYSLIB0037: AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete. -->
Expand Down
Loading