mirror of
https://github.com/AssetRipper/AssetRipper.Text.SourceGeneration.git
synced 2026-11-13 20:05:44 -10:00
19 lines
320 B
C#
19 lines
320 B
C#
namespace AssetRipper.Text.SourceGeneration;
|
|
|
|
public readonly ref struct Checked
|
|
{
|
|
private readonly NamedBlock block;
|
|
|
|
public IndentedTextWriter Writer => block.Writer;
|
|
|
|
public Checked(IndentedTextWriter writer)
|
|
{
|
|
block = new NamedBlock(writer, "checked");
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
block.Dispose();
|
|
}
|
|
}
|