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