2 instantiations of JsonWriter
Microsoft.CodeAnalysis (2)
CommandLine\SarifErrorLogger.cs (1)
32
_writer = new
JsonWriter
(new StreamWriter(stream));
Compilation\DeterministicKeyBuilder.cs (1)
117
return (new
JsonWriter
(writer), builder);
18 references to JsonWriter
Microsoft.CodeAnalysis (18)
CommandLine\SarifErrorLogger.cs (1)
24
protected
JsonWriter
_writer { get; }
Compilation\DeterministicKeyBuilder.cs (17)
43
JsonWriter
writer,
76
protected static void WriteByteArrayValue(
JsonWriter
writer, string name, ReadOnlySpan<byte> value) =>
79
protected static void WriteVersion(
JsonWriter
writer, string key, Version version)
90
protected void WriteType(
JsonWriter
writer, string key, Type? type)
96
protected void WriteType(
JsonWriter
writer, Type? type)
113
private (
JsonWriter
, PooledStringBuilder) CreateWriter()
198
JsonWriter
writer,
254
JsonWriter
writer,
269
private void WriteSourceText(
JsonWriter
writer, SourceText? sourceText)
285
JsonWriter
writer,
366
static void writeMetadataReferenceProperties(
JsonWriter
writer, MetadataReferenceProperties properties)
383
JsonWriter
writer,
422
static void writeSubsystemVersion(
JsonWriter
writer, SubsystemVersion version)
432
private void WriteCompilationOptions(
JsonWriter
writer, CompilationOptions options)
439
protected virtual void WriteCompilationOptionsCore(
JsonWriter
writer, CompilationOptions options)
509
protected void WriteParseOptions(
JsonWriter
writer, ParseOptions parseOptions)
516
protected virtual void WriteParseOptionsCore(
JsonWriter
writer, ParseOptions parseOptions)