1 write to OutputAssembly
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (1)
869OutputAssembly = new TaskItem(Path.GetFileNameWithoutExtension(Sources[0].ItemSpec));
13 references to OutputAssembly
Microsoft.Build.Tasks.CodeAnalysis (13)
src\roslyn\src\Compilers\Core\MSBuildTask\Csc.cs (2)
599CheckHostObjectSupport(param = nameof(OutputAssembly), cscHostObject.SetOutputAssembly(OutputAssembly?.ItemSpec));
src\roslyn\src\Compilers\Core\MSBuildTask\ManagedCompiler.cs (7)
271set { _store[nameof(OutputAssembly)] = value; } 272get { return (ITaskItem?)_store[nameof(OutputAssembly)]; } 861(OutputAssembly == null) && 877OutputAssembly.ItemSpec += ".dll"; 881OutputAssembly.ItemSpec += ".netmodule"; 885OutputAssembly.ItemSpec += ".exe"; 915commandLine.AppendSwitchIfNotNull("/out:", OutputAssembly);
src\roslyn\src\Compilers\Core\MSBuildTask\Vbc.cs (4)
299string.IsNullOrEmpty(OutputAssembly?.ItemSpec) || 300TaskEnvironment.GetFullPathNoThrow(OutputAssembly!.ItemSpec) is not string outputAssembly) 883CheckHostObjectSupport(param = nameof(OutputAssembly), vbcHostObject.SetOutputAssembly(OutputAssembly?.ItemSpec));