| File: Symbols\CustomModifier.cs | Web Access |
| Project: src\roslyn\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. using System; using Microsoft.CodeAnalysis.Emit; namespace Microsoft.CodeAnalysis { public abstract class CustomModifier : Cci.ICustomModifier { /// <summary> /// If true, a language may use the modified storage location without /// being aware of the meaning of the modification, modopt vs. modreq. /// </summary> public abstract bool IsOptional { get; } /// <summary> /// A type used as a tag that indicates which type of modification applies. /// </summary> public abstract INamedTypeSymbol Modifier { get; } #region ICustomModifier bool Cci.ICustomModifier.IsOptional { get { return this.IsOptional; } } Cci.ITypeReference Cci.ICustomModifier.GetModifier(EmitContext context) { throw new NotImplementedException(); } #endregion } }