Skip to content
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

Remove 2 more casting helper method frames #110064

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,26 @@
throw null!; // Provide hint to the inliner that this method does not return
}

[MethodImpl(MethodImplOptions.InternalCall)]
private static extern object IsInstanceOfAny_NoCacheLookup(void* toTypeHnd, object obj);
[LibraryImport(RuntimeHelpers.QCall)]
private static partial bool IsInstanceOf_NoCacheLookup(void *toTypeHnd, bool throwCastException, ObjectHandleOnStack obj);

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Debug AllSubsets_CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Debug AllSubsets_CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Debug Libraries_CheckedCoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Debug Libraries_CheckedCoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug AllSubsets_CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug AllSubsets_CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug Libraries_CheckedCoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug Libraries_CheckedCoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build freebsd-x64 Debug CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build freebsd-x64 Debug CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm64 Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm64 Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm64 checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm64 checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug CoreCLR_Libraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug CoreCLR_Libraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime-dev-innerloop

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,86): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of parameter 'throwCastException'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)

Check failure on line 28 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L28

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(28,37): error SYSLIB1051: (NETCORE_ENGINEERING_TELEMETRY=Build) Marshalling bool without explicit marshalling information is not supported. Specify either 'MarshalUsingAttribute' or 'MarshalAsAttribute'. The generated source will not handle marshalling of the return value of method 'IsInstanceOf_NoCacheLookup'. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1051)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
private static partial bool IsInstanceOf_NoCacheLookup(void *toTypeHnd, bool throwCastException, ObjectHandleOnStack obj);
private static partial bool IsInstanceOf_NoCacheLookup(void *toTypeHnd, [MarshalAs(UnmanagedType.Bool)] bool throwCastException, ObjectHandleOnStack obj);


[MethodImpl(MethodImplOptions.InternalCall)]
private static extern object ChkCastAny_NoCacheLookup(void* toTypeHnd, object obj);
[MethodImpl(MethodImplOptions.NoInlining)]
private static extern object? IsInstanceOfAny_NoCacheLookup(void* toTypeHnd, object obj)

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Debug AllSubsets_CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Debug Libraries_CheckedCoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug AllSubsets_CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug Libraries_CheckedCoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build freebsd-x64 Debug CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm64 Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm64 checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug CoreCLR_Libraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 31 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L31

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(31,39): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.IsInstanceOfAny_NoCacheLookup(void*, object)' cannot be extern and declare a body
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
private static extern object? IsInstanceOfAny_NoCacheLookup(void* toTypeHnd, object obj)
private static object? IsInstanceOfAny_NoCacheLookup(void* toTypeHnd, object obj)

{
ObjectHandleOfStack objHandleOnStack = default;
if (IsInstanceOf_NoCacheLookup(toTypeHnd, false, ObjectHandleOnStack.Create(ref obj)))
{
return obj;
}
return null;
}

[MethodImpl(MethodImplOptions.NoInlining)]
private static extern object ChkCastAny_NoCacheLookup(void* toTypeHnd, object obj)

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Debug AllSubsets_CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build osx-arm64 Debug Libraries_CheckedCoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug AllSubsets_CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug Libraries_CheckedCoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build freebsd-x64 Debug CoreCLR)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm64 Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm64 checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux-arm checked CoreCLR_ReleaseLibraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-x64 Debug CoreCLR_Libraries)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime (Build linux_musl-arm Debug AllSubsets_CoreCLR_ReleaseRuntimeLibs)

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / dotnet-linker-tests

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

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

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body

Check failure on line 42 in src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs

View check run for this annotation

Azure Pipelines / runtime

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs#L42

src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs(42,38): error CS0179: (NETCORE_ENGINEERING_TELEMETRY=Build) 'CastHelpers.ChkCastAny_NoCacheLookup(void*, object)' cannot be extern and declare a body
{
IsInstanceOf_NoCacheLookup(toTypeHnd, true, ObjectHandleOnStack.Create(ref obj));
return obj;
}

[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void WriteBarrier(ref object? dst, object? obj);
Expand Down
1 change: 1 addition & 0 deletions src/coreclr/vm/JitQCallHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ extern "C" void QCALLTYPE InitClassHelper(MethodTable* pMT);
extern "C" void QCALLTYPE ThrowInvalidCastException(CORINFO_CLASS_HANDLE pTargetType, CORINFO_CLASS_HANDLE pSourceType);
extern "C" void QCALLTYPE GetThreadStaticsByMethodTable(QCall::ByteRefOnStack refHandle, MethodTable* pMT, bool gcStatic);
extern "C" void QCALLTYPE GetThreadStaticsByIndex(QCall::ByteRefOnStack refHandle, uint32_t staticBlockIndex, bool gcStatic);
extern "C" BOOL QCALLTYPE IsInstanceOf_NoCacheLookup(CORINFO_CLASS_HANDLE type, BOOL throwCastException, QCall::ObjectHandleOnStack objOnStack);

#endif //_JITQCALLHELPERS_H
2 changes: 0 additions & 2 deletions src/coreclr/vm/ecalllist.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,6 @@ FCFuncStart(gThreadPoolFuncs)
FCFuncEnd()

FCFuncStart(gCastHelpers)
FCFuncElement("IsInstanceOfAny_NoCacheLookup", ::IsInstanceOfAny_NoCacheLookup)
FCFuncElement("ChkCastAny_NoCacheLookup", ::ChkCastAny_NoCacheLookup)
FCFuncElement("WriteBarrier", ::WriteBarrier_Helper)
FCFuncEnd()

Expand Down
45 changes: 8 additions & 37 deletions src/coreclr/vm/jithelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -781,51 +781,22 @@ BOOL ObjIsInstanceOf(Object* pObject, TypeHandle toTypeHnd, BOOL throwCastExcept
return ObjIsInstanceOfCore(pObject, toTypeHnd, throwCastException);
}

HCIMPL2(Object*, ChkCastAny_NoCacheLookup, CORINFO_CLASS_HANDLE type, Object* obj)
extern "C" BOOL QCALLTYPE IsInstanceOf_NoCacheLookup(CORINFO_CLASS_HANDLE type, BOOL throwCastException, QCall::ObjectHandleOnStack objOnStack)
{
FCALL_CONTRACT;

// This case should be handled by frameless helper
_ASSERTE(obj != NULL);

OBJECTREF oref = ObjectToOBJECTREF(obj);
VALIDATEOBJECTREF(oref);

TypeHandle clsHnd(type);

HELPER_METHOD_FRAME_BEGIN_RET_1(oref);
if (!ObjIsInstanceOfCore(OBJECTREFToObject(oref), clsHnd, TRUE))
{
UNREACHABLE(); //ObjIsInstanceOf will throw if cast can't be done
}
HELPER_METHOD_POLL();
HELPER_METHOD_FRAME_END();

return OBJECTREFToObject(oref);
}
HCIMPLEND

HCIMPL2(Object*, IsInstanceOfAny_NoCacheLookup, CORINFO_CLASS_HANDLE type, Object* obj)
{
FCALL_CONTRACT;
QCALL_CONTRACT;
BOOL result = FALSE;

// This case should be handled by frameless helper
_ASSERTE(obj != NULL);
BEGIN_QCALL;

OBJECTREF oref = ObjectToOBJECTREF(obj);
VALIDATEOBJECTREF(oref);
GCX_COOP();

TypeHandle clsHnd(type);
result = ObjIsInstanceOfCore(OBJECTREFToObject(objOnStack.Get()), clsHnd, throwCastException);

HELPER_METHOD_FRAME_BEGIN_RET_1(oref);
if (!ObjIsInstanceOfCore(OBJECTREFToObject(oref), clsHnd))
oref = NULL;
HELPER_METHOD_POLL();
HELPER_METHOD_FRAME_END();
END_QCALL;

return OBJECTREFToObject(oref);
return result;
}
HCIMPLEND

//========================================================================
//
Expand Down
3 changes: 0 additions & 3 deletions src/coreclr/vm/jitinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@ extern "C" FCDECL2(VOID, JIT_CheckedWriteBarrier, Object **dst, Object *ref);
extern "C" FCDECL2(VOID, JIT_WriteBarrier, Object **dst, Object *ref);
extern "C" FCDECL2(VOID, JIT_WriteBarrierEnsureNonHeapTarget, Object **dst, Object *ref);

extern "C" FCDECL2(Object*, ChkCastAny_NoCacheLookup, CORINFO_CLASS_HANDLE type, Object* obj);
extern "C" FCDECL2(Object*, IsInstanceOfAny_NoCacheLookup, CORINFO_CLASS_HANDLE type, Object* obj);

// ARM64 JIT_WriteBarrier uses speciall ABI and thus is not callable directly
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// ARM64 JIT_WriteBarrier uses speciall ABI and thus is not callable directly
// ARM64 JIT_WriteBarrier uses special ABI and thus is not callable directly

// Copied write barriers must be called at a different location
extern "C" FCDECL2(VOID, JIT_WriteBarrier_Callable, Object **dst, Object *ref);
Expand Down
1 change: 1 addition & 0 deletions src/coreclr/vm/qcallentrypoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ static const Entry s_QCall[] =
DllImportEntry(GetThreadStaticsByIndex)
DllImportEntry(GenericHandleWorker)
DllImportEntry(ThrowInvalidCastException)
DllImportEntry(IsInstanceOf_NoCacheLookup)
};

const void* QCallResolveDllImport(const char* name)
Expand Down
Loading