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

RelocatedTypeAttribute.cs « CompilerServices « Runtime « Internal « src « System.Private.CoreLib « src - github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a848f5a94a053aa4c0f10e070ee171a2d757d3a2 (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
// 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 Internal.Runtime.CompilerServices
{
    /// <summary>
    /// Attribute to mark types that have been relocated from the CoreFX tree to CoreRT.
    /// This supports fixing up references to those types when CoreFX doesn't yet have 
    /// forwarders for them.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Delegate | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
    public class RelocatedTypeAttribute : Attribute
    {
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="originalAssemblySimpleName">Simple name of the CoreFX assembly the type was relocated from.
        /// For example, System.Collections (with no version or public key token)</param>
        public RelocatedTypeAttribute(String originalAssemblySimpleName)
        {
        }
    }
}