File: compmod\system\codedom\CodeDefaultValueExpression.cs
Project: ndp\fx\src\System.csproj (System)
// <OWNER>Microsoft</OWNER>
namespace System.CodeDom {
 
    using System.Diagnostics;
    using System;
    using Microsoft.Win32;
    using System.Collections;
    using System.Runtime.InteropServices;
 
    [
        ClassInterface(ClassInterfaceType.AutoDispatch),
        ComVisible(true),
        Serializable,
    ]
    public class CodeDefaultValueExpression : CodeExpression {
        private CodeTypeReference type;
 
        public CodeDefaultValueExpression() {
        }
 
        public CodeDefaultValueExpression(CodeTypeReference type) {
            this.type = type;
        }
 
        public CodeTypeReference Type {
            get {
                if( type == null) {
                    type = new CodeTypeReference("");
                }
                return type;
            }
            set {
                type = value;
            }
        }
    }
}