From 73fb7909661057c208234f5493e42758424955ba Mon Sep 17 00:00:00 2001 From: Andy Ayers Date: Fri, 20 Jan 2023 18:29:56 -0800 Subject: [PATCH] Add suppression for CS8500 to test reflection/regression/github_25697 --- src/tests/reflection/regression/github_25697/25697.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tests/reflection/regression/github_25697/25697.cs b/src/tests/reflection/regression/github_25697/25697.cs index 440047d3a5082e..bf48dbfceaf703 100644 --- a/src/tests/reflection/regression/github_25697/25697.cs +++ b/src/tests/reflection/regression/github_25697/25697.cs @@ -4,8 +4,11 @@ using System; using System.Reflection; +#pragma warning disable CS8500 + unsafe class Program { + public static void AsTypedReference(ref T value, TypedReference* output) { *output = __makeref(value); @@ -27,3 +30,5 @@ static int Main() return 100; } } + +#pragma warning restore CS8500