2 writes to EmitMetadataOnly
Microsoft.CodeAnalysis (2)
Emit\EmitOptions.cs (2)
234
EmitMetadataOnly
= metadataOnly;
407
return new EmitOptions(this) {
EmitMetadataOnly
= value };
18 references to EmitMetadataOnly
Microsoft.CodeAnalysis (16)
Compilation\Compilation.cs (9)
2847
if (options?.
EmitMetadataOnly
== true)
2853
if (metadataPEStream != null && options?.
EmitMetadataOnly
== true)
2863
if (metadataPEStream == null && options?.
EmitMetadataOnly
== false)
2870
options?.
EmitMetadataOnly
== true)
2881
else if (options?.
EmitMetadataOnly
== true)
2883
throw new ArgumentException(CodeAnalysisResources.CannotTargetNetModuleWhenEmittingRefAssembly, nameof(options.
EmitMetadataOnly
));
2974
if (!options.
EmitMetadataOnly
)
3007
if (!options.
EmitMetadataOnly
&& CommonCompiler.HasUnsuppressedErrors(diagnostics))
3285
emitOptions.
EmitMetadataOnly
,
Compilation\DeterministicKeyBuilder.cs (1)
395
writer.Write("emitMetadataOnly", options.
EmitMetadataOnly
);
Emit\EmitOptions.cs (6)
35
/// when emitting metadata-only assemblies as primary output (with <see cref="
EmitMetadataOnly
"/> on).
252
other.
EmitMetadataOnly
,
286
EmitMetadataOnly
== other.
EmitMetadataOnly
&&
305
return Hash.Combine(
EmitMetadataOnly
,
402
if (
EmitMetadataOnly
== value)
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticExtensions.cs (1)
366
var pdbStream = MonoHelpers.IsRunningOnMono() || options?.
EmitMetadataOnly
== true ? null : new MemoryStream();
Microsoft.CodeAnalysis.UnitTests (1)
Emit\EmitOptionsTests.cs (1)
81
nameof(EmitOptions.
EmitMetadataOnly
),