2 writes to OutputNameOverride
Microsoft.CodeAnalysis (2)
Emit\EmitOptions.cs (2)
237OutputNameOverride = outputNameOverride; 437return new EmitOptions(this) { OutputNameOverride = outputName };
19 references to OutputNameOverride
Microsoft.CodeAnalysis (11)
CommandLine\CommonCompiler.cs (1)
1383compilation.GenerateDocumentationComments(xmlStreamDisposerOpt?.Stream, emitOptions.OutputNameOverride, diagnostics, cancellationToken);
Compilation\Compilation.cs (2)
2979!GenerateDocumentationComments(xmlDocumentationStream, options.OutputNameOverride, diagnostics, cancellationToken)) 2993xmlDocumentationStream, options.OutputNameOverride, diagnostics, cancellationToken);
Compilation\DeterministicKeyBuilder.cs (1)
414writer.Write("outputNameOverride", options.OutputNameOverride);
Emit\EmitOptions.cs (7)
255other.OutputNameOverride, 294OutputNameOverride == other.OutputNameOverride && 313Hash.Combine(OutputNameOverride, 352if (OutputNameOverride != null) 354MetadataHelpers.CheckAssemblyOrModuleName(OutputNameOverride, messageProvider, messageProvider.ERR_InvalidOutputName, diagnostics); 432if (OutputNameOverride == outputName)
Microsoft.CodeAnalysis.CSharp (3)
Emitter\Model\PEAssemblyBuilder.cs (2)
80_metadataName = (emitOptions.OutputNameOverride == null) ? sourceAssembly.MetadataName : FileNameUtilities.ChangeExtension(emitOptions.OutputNameOverride, extension: null);
Emitter\Model\PEModuleBuilder.cs (1)
95emitOptions.OutputNameOverride ?? specifiedName;
Microsoft.CodeAnalysis.UnitTests (2)
Emit\EmitOptionsTests.cs (2)
62TestProperty((old, value) => old.WithOutputNameOverride(value), opt => opt.OutputNameOverride, @"x.dll"); 87nameof(EmitOptions.OutputNameOverride),
Microsoft.CodeAnalysis.VisualBasic (3)
Emit\PEAssemblyBuilder.vb (2)
54_metadataName = If(emitOptions.OutputNameOverride Is Nothing, sourceAssembly.MetadataName, FileNameUtilities.ChangeExtension(emitOptions.OutputNameOverride, extension:=Nothing))
Emit\PEModuleBuilder.vb (1)
50If(emitOptions.OutputNameOverride, specifiedName))