1 write to _loadedType
Microsoft.Build (1)
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
278
_loadedType
= _typeLoader.Load(taskName, loadInfo, _taskHostFactoryExplicitlyRequested);
14 references to _loadedType
Microsoft.Build (14)
Instance\TaskFactories\AssemblyTaskFactory.cs (14)
89
return
_loadedType
.Assembly.AssemblyLocation;
98
get { return
_loadedType
.Type; }
152
return
_loadedType
.Properties;
279
ProjectErrorUtilities.VerifyThrowInvalidProject(
_loadedType
!= null, elementLocation, "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, String.Empty);
310
return
_loadedType
;
367
_loadedType
383
_loadedType
,
391
appDomain => AssemblyLoadsTracker.StartTracking(taskLoggingContext, AssemblyLoadingContext.TaskRun,
_loadedType
.Type, appDomain),
430
return _typeLoader.ReflectionOnlyLoad(taskName,
_loadedType
.Assembly) != null;
436
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, Environment.NewLine + e.InnerException.ToString());
445
targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, exception.Message);
449
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, e.Message);
454
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, e.Message);
458
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, e.Message);