Files
mono/mcs/class/System/System.CodeDom/CodeCastExpression.cs
T
Piers Haken 610d7923ac added missing [Serializable] attribute
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00

54 lines
773 B
C#
Executable File

//
// System.CodeDom CodeCastExpression Class implementation
//
// Author:
// Miguel de Icaza ([email protected])
//
// (C) 2001 Ximian, Inc.
//
namespace System.CodeDom {
[Serializable]
public class CodeCastExpression : CodeExpression {
string targetType;
CodeExpression expression;
//
// Constructors
//
public CodeCastExpression ()
{
}
public CodeCastExpression (string targetType, CodeExpression expression)
{
this.targetType = targetType;
this.expression = expression;
}
//
// Properties
//
public CodeExpression Expression {
get {
return expression;
}
set {
expression = value;
}
}
public string TargetType {
get {
return targetType;
}
set {
targetType = value;
}
}
}
}