File: System\CodeDom\CodeLinePragma.cs
Web Access
Project: src\src\libraries\System.CodeDom\src\System.CodeDom.csproj (System.CodeDom)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.CodeDom
{
    public class CodeLinePragma
    {
        private string _fileName;
 
        public CodeLinePragma() { }
 
        public CodeLinePragma(string fileName, int lineNumber)
        {
            FileName = fileName;
            LineNumber = lineNumber;
        }
 
        public string FileName
        {
            get => _fileName ?? string.Empty;
            set => _fileName = value;
        }
 
        public int LineNumber { get; set; }
    }
}