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

FieldDesc.CodeGen.cs « CodeGen « TypeSystem « Common « tools « coreclr « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa4f3bf017c2a6da3e988f610c02f9f5b20d042e (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
// 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
{
    // Additional members of FieldDesc related to code generation.
    public partial class FieldDesc
    {
        /// <summary>
        /// Gets a value indicating whether this is a field that needs to be treated
        /// specially.
        /// </summary>
        public virtual bool IsIntrinsic
        {
            get
            {
                return false;
            }
        }
    }

    public partial class FieldForInstantiatedType
    {
        public override bool IsIntrinsic
        {
            get
            {
                return _fieldDef.IsIntrinsic;
            }
        }
    }
}