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 RequiresUnreferencedCode in IJSInProcessObjectReference #58713

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Remove RequiresUnreferencedCode in IJSInProcessObjectReference

892575a
Select commit
Loading
Failed to load commit list.
Draft

Remove RequiresUnreferencedCode in IJSInProcessObjectReference #58713

Remove RequiresUnreferencedCode in IJSInProcessObjectReference
892575a
Select commit
Loading
Failed to load commit list.
Azure Pipelines / aspnetcore-ci (Build Build: Linux Musl x64) failed Oct 30, 2024 in 12m 28s

Build Build: Linux Musl x64 failed

Annotations

Check failure on line 29 in src/JSInterop/Microsoft.JSInterop/src/Implementation/JSInProcessObjectReference.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci (Build Build: Linux Musl x64)

src/JSInterop/Microsoft.JSInterop/src/Implementation/JSInProcessObjectReference.cs#L29

src/JSInterop/Microsoft.JSInterop/src/Implementation/JSInProcessObjectReference.cs(29,19): error IL2046: (NETCORE_ENGINEERING_TELEMETRY=Build) Member 'Microsoft.JSInterop.Implementation.JSInProcessObjectReference.Invoke<TValue>(String, params Object[])' with 'RequiresUnreferencedCodeAttribute' implements interface member 'Microsoft.JSInterop.IJSInProcessObjectReference.Invoke<TValue>(String, params Object[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.