Welcome to mirror list, hosted at ThFree Co, Russian Federation.

McgIntrinsics.cs « TypeLoader « Runtime « Internal « src « System.Private.TypeLoader « src - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2953fdea490b5268bac9ade3cecf25a145efb48e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.


using System;

namespace System.Runtime.CompilerServices
{
    internal sealed class IntrinsicAttribute : Attribute
    {
    }
}

namespace System.Runtime.InteropServices
{
    [AttributeUsage((System.AttributeTargets.Method | System.AttributeTargets.Class))]
    internal class McgIntrinsicsAttribute : Attribute
    {
    }
}

namespace Internal.Runtime.TypeLoader
{
    [System.Runtime.InteropServices.McgIntrinsics]
    internal static partial class Intrinsics
    {
        internal static IntPtr AddrOf<T>(T ftn)
        {
            // This method is implemented elsewhere in the toolchain
            throw new PlatformNotSupportedException();
        }

        public static void Call(System.IntPtr pfn, object obj)
        {
            // This method is implemented elsewhere in the toolchain
            throw new PlatformNotSupportedException();
        }
    }
}