2 writes to OutputNameOverride
Microsoft.CodeAnalysis (2)
Emit\EmitOptions.cs (2)
237
OutputNameOverride
= outputNameOverride;
437
return new EmitOptions(this) {
OutputNameOverride
= outputName };
19 references to OutputNameOverride
Microsoft.CodeAnalysis (11)
CommandLine\CommonCompiler.cs (1)
1383
compilation.GenerateDocumentationComments(xmlStreamDisposerOpt?.Stream, emitOptions.
OutputNameOverride
, diagnostics, cancellationToken);
Compilation\Compilation.cs (2)
2979
!GenerateDocumentationComments(xmlDocumentationStream, options.
OutputNameOverride
, diagnostics, cancellationToken))
2993
xmlDocumentationStream, options.
OutputNameOverride
, diagnostics, cancellationToken);
Compilation\DeterministicKeyBuilder.cs (1)
414
writer.Write("outputNameOverride", options.
OutputNameOverride
);
Emit\EmitOptions.cs (7)
255
other.
OutputNameOverride
,
294
OutputNameOverride
== other.
OutputNameOverride
&&
313
Hash.Combine(
OutputNameOverride
,
352
if (
OutputNameOverride
!= null)
354
MetadataHelpers.CheckAssemblyOrModuleName(
OutputNameOverride
, messageProvider, messageProvider.ERR_InvalidOutputName, diagnostics);
432
if (
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)
95
emitOptions.
OutputNameOverride
?? specifiedName;
Microsoft.CodeAnalysis.UnitTests (2)
Emit\EmitOptionsTests.cs (2)
62
TestProperty((old, value) => old.WithOutputNameOverride(value), opt => opt.
OutputNameOverride
, @"x.dll");
87
nameof(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)
50
If(emitOptions.
OutputNameOverride
, specifiedName))