UsonWriter.WriteComment C# (CSharp) Method

WriteComment() public method

public WriteComment ( string text ) : void
text string
return void
	public override void WriteComment(string text)
	{
		throw new NotSupportedException();
	}

Usage Example

Exemplo n.º 1
0
        public void WhenWritingComment_ThenThrowsNotSupported()
        {
            var writer = new UsonWriter(new StringWriter());

            Assert.Throws <NotSupportedException>(() => writer.WriteComment("foo"));
        }
All Usage Examples Of UsonWriter::WriteComment