a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
27 lines
541 B
C#
27 lines
541 B
C#
//
|
|
// CodeMemberFieldTest.cs - NUnit Test Cases for System.CodeDom.CodeMemberField
|
|
//
|
|
// Authors:
|
|
// Gert Driesen (drieseng@users.sourceforge.net)
|
|
//
|
|
// (C) 2005 Novell
|
|
//
|
|
|
|
using NUnit.Framework;
|
|
using System.CodeDom;
|
|
|
|
namespace MonoTests.System.CodeDom
|
|
{
|
|
[TestFixture]
|
|
public class CodeMemberFieldTest
|
|
{
|
|
[Test]
|
|
public void DefaultType ()
|
|
{
|
|
CodeMemberField fld = new CodeMemberField ();
|
|
Assert.IsNotNull (fld.Type, "#1");
|
|
Assert.AreEqual (new CodeTypeReference (string.Empty).BaseType, fld.Type.BaseType, "#2");
|
|
}
|
|
}
|
|
}
|