1 write to _loadedType
Microsoft.Build (1)
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
268
_loadedType
= _typeLoader.Load(taskName, loadInfo, targetLoggingContext.LogWarning, taskHostExplicitlyRequested, taskHostParamsMatchCurrentProc);
24 references to _loadedType
Microsoft.Build (24)
Instance\TaskFactories\AssemblyTaskFactory.cs (24)
88
return
_loadedType
.Assembly.AssemblyLocation;
98
get { return
_loadedType
.Type; }
148
return
_loadedType
.Properties;
269
ProjectErrorUtilities.VerifyThrowInvalidProject(
_loadedType
!= null, elementLocation, "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, String.Empty);
305
return
_loadedType
;
327
bool useTaskFactory =
_loadedType
.LoadedViaMetadataLoadContext;
341
useTaskFactory =
_loadedType
.LoadedViaMetadataLoadContext || !TaskHostParametersMatchCurrentProcess(mergedParameters);
346
&&
_loadedType
?.Type != null
349
if (TaskRouter.NeedsTaskHostInMultiThreadedMode(
_loadedType
.Type))
377
_loadedType
,
397
_loadedType
,
430
taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(
_loadedType
.Type, isMicrosoftOwned);
445
??
_loadedType
?.Runtime
450
??
_loadedType
?.Architecture
477
return _typeLoader.ReflectionOnlyLoad(taskName,
_loadedType
.Assembly) != null;
483
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, Environment.NewLine + e.InnerException.ToString());
496
_loadedType
.Assembly.AssemblyLocation,
501
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, e.Message);
506
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, e.Message);
512
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, e.Message);
517
ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName,
_loadedType
.Assembly.AssemblyLocation, e.Message);
726
if (
_loadedType
?.Type == null)
732
string assemblyName =
_loadedType
.Assembly.AssemblyName;
739
string assemblyFile =
_loadedType
.Assembly.AssemblyFile;