File: System\CodeDom\CodeVariableReferenceExpression.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 CodeVariableReferenceExpression : CodeExpression
    {
        private string _variableName;
 
        public CodeVariableReferenceExpression() { }
 
        public CodeVariableReferenceExpression(string variableName)
        {
            _variableName = variableName;
        }
 
        public string VariableName
        {
            get => _variableName ?? string.Empty;
            set => _variableName = value;
        }
    }
}