1 write to _loadedType
Microsoft.Build (1)
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
258_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; } 142return _loadedType.Properties; 259ProjectErrorUtilities.VerifyThrowInvalidProject(_loadedType != null, elementLocation, "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, String.Empty); 290return _loadedType; 312bool useTaskFactory = _loadedType.LoadedViaMetadataLoadContext; 325useTaskFactory = _loadedType.LoadedViaMetadataLoadContext || !TaskHostParametersMatchCurrentProcess(mergedParameters); 330&& _loadedType?.Type != null 333if (TaskRouter.NeedsTaskHostInMultiThreadedMode(_loadedType.Type)) 344if (_loadedType?.Type != null && TaskRouter.RequiresTransientTaskHost(_loadedType.Type)) 379_loadedType, 398_loadedType, 427taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.Type, isMicrosoftOwned); 442?? _loadedType?.Runtime 447?? _loadedType?.Architecture 473return _typeLoader.ReflectionOnlyLoad(taskName, _loadedType.Assembly) != null; 479ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, Environment.NewLine + e.InnerException.ToString()); 488targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, exception.Message); 492ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 497ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 503ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 508ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 717if (_loadedType?.Type == null) 723string assemblyName = _loadedType.Assembly.AssemblyName; 730string assemblyFile = _loadedType.Assembly.AssemblyFile;