File: Symbols\IFieldSymbolInternal.cs
Web Access
Project: src\src\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj (Microsoft.CodeAnalysis)
// 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.
 
namespace Microsoft.CodeAnalysis.Symbols
{
    internal interface IFieldSymbolInternal : ISymbolInternal
    {
        /// <summary>
        /// If this field serves as a backing variable for an automatically generated
        /// property or a field-like event, returns that 
        /// property/event. Otherwise returns null.
        /// </summary>
        ISymbolInternal? AssociatedSymbol { get; }
 
        /// <summary>
        /// Returns true if this field was declared as "volatile". 
        /// </summary>
        bool IsVolatile { get; }
 
        /// <summary>
        /// Field type.
        /// </summary>
        ITypeSymbolInternal Type { get; }
    }
}