1 write to _loadedType
Microsoft.Build (1)
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
270_loadedType = _typeLoader.Load(taskName, loadInfo, targetLoggingContext.LogWarning, taskHostExplicitlyRequested, taskHostParamsMatchCurrentProc);
26 references to _loadedType
Microsoft.Build (26)
Instance\TaskFactories\AssemblyTaskFactory.cs (26)
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)) 356if (_loadedType?.Type != null && TaskRouter.RequiresTransientTaskHost(_loadedType.Type)) 391_loadedType, 410_loadedType, 419appDomain => AssemblyLoadsTracker.StartTracking(taskLoggingContext, AssemblyLoadingContext.TaskRun, _loadedType.Type, appDomain), 439taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.Type, isMicrosoftOwned); 454?? _loadedType?.Runtime 459?? _loadedType?.Architecture 485return _typeLoader.ReflectionOnlyLoad(taskName, _loadedType.Assembly) != null; 491ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, Environment.NewLine + e.InnerException.ToString()); 500targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, exception.Message); 504ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 509ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 520ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 731if (_loadedType?.Type == null) 737string assemblyName = _loadedType.Assembly.AssemblyName; 744string assemblyFile = _loadedType.Assembly.AssemblyFile;