Mono.CSharp.Constant.GetValue C# (CSharp) Метод

GetValue() публичный абстрактный Метод

This is used to obtain the actual value of the literal cast into an object.
public abstract GetValue ( ) : object
Результат object
		public abstract object GetValue ();

Usage Example

Пример #1
0
        public virtual Constant CreateConstantReference(Location loc)
        {
            if (value == null)
            {
                return(null);
            }

            return(Constant.CreateConstant(value.Type, value.GetValue(), loc));
        }
All Usage Examples Of Mono.CSharp.Constant::GetValue