More thoroughly check for function pointers (#81344)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Mon, 30 Jan 2023 11:52:26 +0000 (20:52 +0900)
committerGitHub <noreply@github.com>
Mon, 30 Jan 2023 11:52:26 +0000 (20:52 +0900)
commitfea626a549f2729b795e972c40c44d526a398a99
tree1f9df1fb0e3ec35359c749d8a807022ecf2a0488
parent56f6609907f7f4269ae1766bc664f406866ca54f
More thoroughly check for function pointers (#81344)

Fixes #81117.
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/ReflectedFieldNode.cs
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/ReflectionInvokeMapNode.cs