1 write to _loadedType
Microsoft.Build (1)
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
277
_loadedType
= _typeLoader.Load(taskName, loadInfo, taskHostExplicitlyRequested, taskHostParamsMatchCurrentProc);
21 references to _loadedType
Microsoft.Build (21)
Instance\TaskFactories\AssemblyTaskFactory.cs (21)
88
return
_loadedType
.Assembly.AssemblyLocation;
97
get { return
_loadedType
.Type; }
151
return
_loadedType
.Properties;
278
ProjectErrorUtilities.VerifyThrowInvalidProject(
_loadedType
!= null, elementLocation, "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, String.Empty);
309
return
_loadedType
;
328
bool useTaskFactory =
_loadedType
.LoadedViaMetadataLoadContext;
342
useTaskFactory =
_loadedType
.LoadedViaMetadataLoadContext || !TaskHostParametersMatchCurrentProcess(mergedParameters);
347
&&
_loadedType
?.Type != null
350
if (TaskRouter.NeedsTaskHostInMultiThreadedMode(
_loadedType
.Type))
372
_loadedType
,
388
_loadedType
,
420
_taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(
_loadedType
.Type, isMicrosoftOwned);
442
return _typeLoader.ReflectionOnlyLoad(taskName,
_loadedType
.Assembly) != null;
448
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, Environment.NewLine + e.InnerException.ToString());
457
targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, exception.Message);
461
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, e.Message);
466
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, e.Message);
470
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, e.Message);
672
if (
_loadedType
?.Type == null)
678
string assemblyName =
_loadedType
.Assembly.AssemblyName;
685
string assemblyFile =
_loadedType
.Assembly.AssemblyFile;