WriteComment() public method

public WriteComment ( string text ) : void
text string
return void
Ejemplo n.º 1
0
        public void WhenWritingComment_ThenThrowsNotSupported()
        {
            var writer = new UsonWriter(new StringWriter());

            Assert.Throws <NotSupportedException>(() => writer.WriteComment("foo"));
        }
Ejemplo n.º 2
0
		public void WhenWritingComment_ThenThrowsNotSupported()
		{
			var writer = new UsonWriter(new StringWriter());

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