Skip to content

Commit 46f699f

Browse files
committed
Fix compilation errors
1 parent 3851f51 commit 46f699f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

sandbox/ConsoleApp/ReadMeSample.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void Sample(int id, string name)
3232
// like StringBuilder
3333
var writer = Utf8String.CreateWriter(bufferWriter);
3434
writer.Append("My Name...");
35-
writer.AppendFormat($"is...? {name}");
35+
// writer.AppendFormat($"is...? {name}");
3636
writer.AppendLine();
3737
writer.Flush();
3838

@@ -115,7 +115,7 @@ void WriterSample()
115115

116116
// call each append methods.
117117
writer.Append("foo");
118-
writer.AppendFormat($"bar {Guid.NewGuid()}");
118+
// writer.AppendFormat($"bar {Guid.NewGuid()}");
119119

120120
// finally call Flush(or Dispose)
121121
writer.Flush();
@@ -131,7 +131,7 @@ void WriterSample2(IBufferWriter<byte> otherBufferWriter)
131131

132132
// call each append methods.
133133
writer.Append("foo");
134-
writer.AppendFormat($"bar {Guid.NewGuid()}");
134+
// writer.AppendFormat($"bar {Guid.NewGuid()}");
135135

136136
// finally call Flush(or Dispose)
137137
writer.Flush();

src/Utf8StringInterpolation/Utf8String.AppendFormatted.cs.meta src/Utf8StringInterpolation/Utf8StringWriter.AppendFormatted.cs.meta

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Utf8StringInterpolation/Utf8String.AppendFormatted.tt.meta src/Utf8StringInterpolation/Utf8StringWriter.AppendFormatted.tt.meta

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)