Implemented interface member:
property
HostObject
Microsoft.Build.Framework.ITask.HostObject
26 references to HostObject
Microsoft.Build.Tasks.CodeAnalysis (12)
src\Compilers\Core\MSBuildTask\Csc.cs (6)
244
if (
HostObject
is ICscHostObject csHost)
248
else if (
HostObject
!= null)
730
if (
HostObject
!= null)
741
if (
HostObject
is ICscHostObject hostObjectCOM)
816
Debug.Assert(
HostObject
!= null, "We should not be here if the host object has not been set.");
818
ICscHostObject? cscHostObject =
HostObject
as ICscHostObject;
src\Compilers\Core\MSBuildTask\Vbc.cs (6)
541
if (this.
HostObject
is IVbcHostObject vbHost)
545
else if (this.
HostObject
!= null)
1032
if (this.
HostObject
!= null)
1043
if (
HostObject
is IVbcHostObject hostObjectCOM)
1118
Debug.Assert(this.
HostObject
!= null, "We should not be here if the host object has not been set.");
1120
IVbcHostObject? vbcHostObject = this.
HostObject
as IVbcHostObject;
Microsoft.Build.Tasks.CodeAnalysis.Sdk (12)
src\Compilers\Core\MSBuildTask\Csc.cs (6)
244
if (
HostObject
is ICscHostObject csHost)
248
else if (
HostObject
!= null)
730
if (
HostObject
!= null)
741
if (
HostObject
is ICscHostObject hostObjectCOM)
816
Debug.Assert(
HostObject
!= null, "We should not be here if the host object has not been set.");
818
ICscHostObject? cscHostObject =
HostObject
as ICscHostObject;
src\Compilers\Core\MSBuildTask\Vbc.cs (6)
541
if (this.
HostObject
is IVbcHostObject vbHost)
545
else if (this.
HostObject
!= null)
1032
if (this.
HostObject
!= null)
1043
if (
HostObject
is IVbcHostObject hostObjectCOM)
1118
Debug.Assert(this.
HostObject
!= null, "We should not be here if the host object has not been set.");
1120
IVbcHostObject? vbcHostObject = this.
HostObject
as IVbcHostObject;
PresentationBuildTasks (2)
MS\Internal\Tasks\TaskFileService.cs (2)
408
if (_buildTask != null && _buildTask.
HostObject
!= null)
410
_hostFileManager = _buildTask.
HostObject
as IVsMSBuildTaskFileManager;