WriteComment() public method

public WriteComment ( string text ) : void
text string
return void
コード例 #1
0
ファイル: UsonWriterSpecs.cs プロジェクト: nobitagamer/netfx
        public void WhenWritingComment_ThenThrowsNotSupported()
        {
            var writer = new UsonWriter(new StringWriter());

            Assert.Throws <NotSupportedException>(() => writer.WriteComment("foo"));
        }
コード例 #2
0
ファイル: UsonWriterSpecs.cs プロジェクト: netfx/extensions
		public void WhenWritingComment_ThenThrowsNotSupported()
		{
			var writer = new UsonWriter(new StringWriter());

			Assert.Throws<NotSupportedException>(() => writer.WriteComment("foo"));
		}