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)
227if (HostObject is ICscHostObject csHost) 231else if (HostObject != null) 713if (HostObject != null) 724if (HostObject is ICscHostObject hostObjectCOM) 799Debug.Assert(HostObject != null, "We should not be here if the host object has not been set."); 801ICscHostObject? cscHostObject = HostObject as ICscHostObject;
src\Compilers\Core\MSBuildTask\Vbc.cs (6)
525if (this.HostObject is IVbcHostObject vbHost) 529else if (this.HostObject != null) 1016if (this.HostObject != null) 1027if (HostObject is IVbcHostObject hostObjectCOM) 1102Debug.Assert(this.HostObject != null, "We should not be here if the host object has not been set."); 1104IVbcHostObject? vbcHostObject = this.HostObject as IVbcHostObject;
Microsoft.Build.Tasks.CodeAnalysis.Sdk (12)
src\Compilers\Core\MSBuildTask\Csc.cs (6)
227if (HostObject is ICscHostObject csHost) 231else if (HostObject != null) 713if (HostObject != null) 724if (HostObject is ICscHostObject hostObjectCOM) 799Debug.Assert(HostObject != null, "We should not be here if the host object has not been set."); 801ICscHostObject? cscHostObject = HostObject as ICscHostObject;
src\Compilers\Core\MSBuildTask\Vbc.cs (6)
525if (this.HostObject is IVbcHostObject vbHost) 529else if (this.HostObject != null) 1016if (this.HostObject != null) 1027if (HostObject is IVbcHostObject hostObjectCOM) 1102Debug.Assert(this.HostObject != null, "We should not be here if the host object has not been set."); 1104IVbcHostObject? vbcHostObject = this.HostObject as IVbcHostObject;
PresentationBuildTasks (2)
MS\Internal\Tasks\TaskFileService.cs (2)
408if (_buildTask != null && _buildTask.HostObject != null) 410_hostFileManager = _buildTask.HostObject as IVsMSBuildTaskFileManager;