1 write to Type
Microsoft.Build.Framework (1)
Loader\LoadedType.cs (1)
114Type = type;
25 references to Type
Microsoft.Build (20)
Instance\TaskFactories\AssemblyTaskFactory.cs (5)
98get { return _loadedType.Type; } 346&& _loadedType?.Type != null 349if (TaskRouter.NeedsTaskHostInMultiThreadedMode(_loadedType.Type)) 430taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.Type, isMicrosoftOwned); 726if (_loadedType?.Type == null)
Instance\TaskFactories\RegisteredTaskFactory.cs (1)
47public Type TaskType => _loadedType.Type;
Instance\TaskFactories\TaskHostTask.cs (11)
299PropertyInfo parameter = _taskType.Type.GetProperty(property.Name, BindingFlags.Instance | BindingFlags.Public); 354MSBuildEventSource.Log.TaskHostDispatchStart(_taskType.Type.FullName); 360_taskType.Type.Name, 372string taskLocation = _taskType.Type.Assembly.Location; 394_taskType.Type.FullName, 446_taskType.Type.Name, 499MSBuildEventSource.Log.TaskHostDispatchStop(_taskType.Type.FullName, _taskExecutionSucceeded); 707exceptionMessageArgs = [_taskType.Type.Name, 708_taskType.Type.Assembly.Location, 915_taskLoggingContext.LogError(_taskLocation, "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation); 922_taskType.Type.Name,
Instance\TaskRegistry.cs (1)
1304factory = (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)
324throw new MissingMethodException(Type.FullName, ".ctor"); 400if (String.Equals("Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask", Type.FullName, StringComparison.OrdinalIgnoreCase)) 402AssemblyName assemblyName = Type.Assembly.GetName(); 423/// whose <see cref="TaskEnvironment"/> is a distinct <see cref="Type"/> identity from the one in the 449foreach (ConstructorInfo constructor in Type.GetConstructors(BindingFlags.Instance | BindingFlags.Public))