You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
471 B
22 lines
471 B
|
|
using System; |
|
using ICSharpCode.NRefactory.TypeSystem; |
|
|
|
namespace ICSharpCode.NRefactory.CSharp.Resolver |
|
{ |
|
public class ConstantResolveResult |
|
{ |
|
public IType Type { get; set; } |
|
public object Value { get; set; } |
|
|
|
public ConstantResolveResult(IType type, object value) |
|
{ |
|
if (type == null) |
|
throw new ArgumentNullException("type"); |
|
if (value == null) |
|
throw new ArgumentNullException("value"); |
|
this.Type = type; |
|
this.Value = value; |
|
} |
|
} |
|
}
|
|
|