Implemented interface member:
property
HostObject
Microsoft.Build.Framework.ITask.HostObject
1 write to HostObject
Microsoft.NET.Sdk.Publish.Tasks.Tests (1)
Tasks\OneDeploy\OneDeployTests.cs (1)
282
oneDeployTask.
HostObject
= msbuildHostObject;
32 references to HostObject
Microsoft.Build.Tasks.CodeAnalysis (12)
src\Compilers\Core\MSBuildTask\Csc.cs (6)
234
if (
HostObject
is ICscHostObject csHost)
238
else if (
HostObject
!= null)
720
if (
HostObject
!= null)
731
if (
HostObject
is ICscHostObject hostObjectCOM)
806
Debug.Assert(
HostObject
!= null, "We should not be here if the host object has not been set.");
808
ICscHostObject? cscHostObject =
HostObject
as ICscHostObject;
src\Compilers\Core\MSBuildTask\Vbc.cs (6)
532
if (this.
HostObject
is IVbcHostObject vbHost)
536
else if (this.
HostObject
!= null)
1023
if (this.
HostObject
!= null)
1034
if (
HostObject
is IVbcHostObject hostObjectCOM)
1109
Debug.Assert(this.
HostObject
!= null, "We should not be here if the host object has not been set.");
1111
IVbcHostObject? vbcHostObject = this.
HostObject
as IVbcHostObject;
Microsoft.Build.Tasks.CodeAnalysis.Sdk (12)
src\Compilers\Core\MSBuildTask\Csc.cs (6)
234
if (
HostObject
is ICscHostObject csHost)
238
else if (
HostObject
!= null)
720
if (
HostObject
!= null)
731
if (
HostObject
is ICscHostObject hostObjectCOM)
806
Debug.Assert(
HostObject
!= null, "We should not be here if the host object has not been set.");
808
ICscHostObject? cscHostObject =
HostObject
as ICscHostObject;
src\Compilers\Core\MSBuildTask\Vbc.cs (6)
532
if (this.
HostObject
is IVbcHostObject vbHost)
536
else if (this.
HostObject
!= null)
1023
if (this.
HostObject
!= null)
1034
if (
HostObject
is IVbcHostObject hostObjectCOM)
1109
Debug.Assert(this.
HostObject
!= null, "We should not be here if the host object has not been set.");
1111
IVbcHostObject? vbcHostObject = this.
HostObject
as IVbcHostObject;
Microsoft.NET.Build.Containers (1)
Tasks\CreateNewImageToolTask.cs (1)
66
VSHostObject hostObj = new(
HostObject
as System.Collections.Generic.IEnumerable<ITaskItem>);
Microsoft.NET.Sdk.Publish.Tasks (5)
Tasks\MsDeploy\MSDeploy.cs (1)
967
IncorporateSettingsFromHostObject(ref m_skipRuleItemsITaskItem, Destination,
HostObject
as IEnumerable<Framework.ITaskItem>);
Tasks\MsDeploy\VsMsdeploy.cs (2)
826
VSHostObject hostObj = new(
HostObject
as IEnumerable<ITaskItem>);
940
VSHostObject hostObject = new(
HostObject
as IEnumerable<ITaskItem>);
Tasks\OneDeploy\OneDeploy.cs (1)
164
VSHostObject hostObj = new(
HostObject
as IEnumerable<ITaskItem>);
Tasks\ZipDeploy\ZipDeploy.cs (1)
139
VSHostObject hostObj = new(
HostObject
as IEnumerable<ITaskItem>);
PresentationBuildTasks (2)
MS\Internal\Tasks\TaskFileService.cs (2)
408
if (_buildTask != null && _buildTask.
HostObject
!= null)
410
_hostFileManager = _buildTask.
HostObject
as IVsMSBuildTaskFileManager;