1 write to _loadedType
Microsoft.Build (1)
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
270_loadedType = _typeLoader.Load(taskName, loadInfo, targetLoggingContext.LogWarning, taskHostExplicitlyRequested, taskHostParamsMatchCurrentProc);
24 references to _loadedType
Microsoft.Build (24)
Instance\TaskFactories\AssemblyTaskFactory.cs (24)
85return _loadedType.Assembly.AssemblyLocation; 94get { return _loadedType.Type; } 148return _loadedType.Properties; 271ProjectErrorUtilities.VerifyThrowInvalidProject(_loadedType != null, elementLocation, "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, String.Empty); 302return _loadedType; 324bool useTaskFactory = _loadedType.LoadedViaMetadataLoadContext; 337useTaskFactory = _loadedType.LoadedViaMetadataLoadContext || !TaskHostParametersMatchCurrentProcess(mergedParameters); 342&& _loadedType?.Type != null 345if (TaskRouter.NeedsTaskHostInMultiThreadedMode(_loadedType.Type)) 372_loadedType, 391_loadedType, 420taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.Type, isMicrosoftOwned); 435?? _loadedType?.Runtime 440?? _loadedType?.Architecture 466return _typeLoader.ReflectionOnlyLoad(taskName, _loadedType.Assembly) != null; 472ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, Environment.NewLine + e.InnerException.ToString()); 481targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, exception.Message); 485ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 490ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 496ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 501ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 712if (_loadedType?.Type == null) 718string assemblyName = _loadedType.Assembly.AssemblyName; 725string assemblyFile = _loadedType.Assembly.AssemblyFile;