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

FieldDesc.Interop.cs « Interop « TypeSystem « Common « tools « coreclr « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ad5a51232d73115dbc03858eda4ae56f51ef93e1 (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
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace Internal.TypeSystem
{
    partial class FieldDesc
    {
        /// <summary>
        /// Returns description of how the field should be marshalled to native code.
        /// </summary>
        public virtual MarshalAsDescriptor GetMarshalAsDescriptor()
        {
            return null;
        }
    }

    partial class FieldForInstantiatedType
    {
        public override MarshalAsDescriptor GetMarshalAsDescriptor()
        {
            return _fieldDef.GetMarshalAsDescriptor();
        }
    }
}