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)
88return _loadedType.Assembly.AssemblyLocation; 98get { return _loadedType.Type; } 148return _loadedType.Properties; 269ProjectErrorUtilities.VerifyThrowInvalidProject(_loadedType != null, elementLocation, "TaskLoadFailure", taskName, loadInfo.AssemblyLocation, String.Empty); 300return _loadedType; 322bool useTaskFactory = _loadedType.LoadedViaMetadataLoadContext; 336useTaskFactory = _loadedType.LoadedViaMetadataLoadContext || !TaskHostParametersMatchCurrentProcess(mergedParameters); 341&& _loadedType?.Type != null 344if (TaskRouter.NeedsTaskHostInMultiThreadedMode(_loadedType.Type)) 372_loadedType, 392_loadedType, 422taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.Type, isMicrosoftOwned); 437?? _loadedType?.Runtime 442?? _loadedType?.Architecture 469return _typeLoader.ReflectionOnlyLoad(taskName, _loadedType.Assembly) != null; 475ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, Environment.NewLine + e.InnerException.ToString()); 484targetLoggingContext.LogError(new BuildEventFileInfo(taskProjectFile), "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, exception.Message); 488ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 493ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 499ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 504ProjectErrorUtilities.ThrowInvalidProject(elementLocation, "TaskLoadFailure", taskName, _loadedType.Assembly.AssemblyLocation, e.Message); 713if (_loadedType?.Type == null) 719string assemblyName = _loadedType.Assembly.AssemblyName; 726string assemblyFile = _loadedType.Assembly.AssemblyFile;