1 write to Type
Microsoft.Build.Framework (1)
Loader\LoadedType.cs (1)
47Type = type;
25 references to Type
Microsoft.Build (20)
Instance\TaskFactories\AssemblyTaskFactory.cs (5)
96get { return _loadedType.Type; } 337&& _loadedType?.Type != null 340if (TaskRouter.NeedsTaskHostInMultiThreadedMode(_loadedType.Type)) 416taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.Type, isMicrosoftOwned); 707if (_loadedType?.Type == null)
Instance\TaskFactories\RegisteredTaskFactory.cs (1)
47public Type TaskType => _loadedType.Type;
Instance\TaskFactories\TaskHostTask.cs (11)
269PropertyInfo parameter = _taskType.Type.GetProperty(property.Name, BindingFlags.Instance | BindingFlags.Public); 298MSBuildEventSource.Log.TaskHostDispatchStart(_taskType.Type.FullName); 304_taskType.Type.Name, 316string taskLocation = _taskType.Type.Assembly.Location; 338_taskType.Type.FullName, 382_taskType.Type.Name, 434MSBuildEventSource.Log.TaskHostDispatchStop(_taskType.Type.FullName, _taskExecutionSucceeded); 631exceptionMessageArgs = [_taskType.Type.Name, 632_taskType.Type.Assembly.Location, 840_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation); 847_taskType.Type.Name,
Instance\TaskRegistry.cs (1)
1498factory = (ITaskFactory)Activator.CreateInstance(loadedType.Type);
Logging\LoggerDescription.cs (2)
211logger = (IForwardingLogger)Activator.CreateInstance(loggerClass.Type); 222logger = (ILogger)Activator.CreateInstance(loggerClass.Type);
Microsoft.Build.Framework (5)
Loader\LoadedType.cs (5)
209throw new MissingMethodException(Type.FullName, ".ctor"); 285if (String.Equals("Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask", Type.FullName, StringComparison.OrdinalIgnoreCase)) 287AssemblyName assemblyName = Type.Assembly.GetName(); 308/// whose <see cref="TaskEnvironment"/> is a distinct <see cref="Type"/> identity from the one in the 334foreach (ConstructorInfo constructor in Type.GetConstructors(BindingFlags.Instance | BindingFlags.Public))