1 write to Type
Microsoft.Build (1)
LoadedType.cs (1)
36Type = type;
16 references to Type
Microsoft.Build (15)
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
98get { return _loadedType.Type; }
Instance\TaskFactories\TaskHostTask.cs (8)
224PropertyInfo parameter = _taskType.Type.GetProperty(property.Name, BindingFlags.Instance | BindingFlags.Public); 256_taskLoggingContext.LogComment(MessageImportance.Low, "ExecutingTaskInTaskHost", _taskType.Type.Name, _taskType.Assembly.AssemblyLocation, runtime, architecture); 279_taskType.Type.FullName, 280AssemblyUtilities.GetAssemblyLocation(_taskType.Type.GetTypeInfo().Assembly), 486exceptionMessageArgs = [_taskType.Type.Name, 487AssemblyUtilities.GetAssemblyLocation(_taskType.Type.GetTypeInfo().Assembly), 579_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskHostAcquireFailed", _taskType.Type.Name, runtime, architecture, msbuildLocation); 583_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskHostNodeFailedToLaunch", _taskType.Type.Name, runtime, architecture, msbuildLocation, e.ErrorCode, e.Message);
Instance\TaskRegistry.cs (1)
1461factory = (ITaskFactory)Activator.CreateInstance(loadedType.Type);
LoadedType.cs (2)
142if (String.Equals("Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask", Type.FullName, StringComparison.OrdinalIgnoreCase)) 144AssemblyName assemblyName = Type.GetTypeInfo().Assembly.GetName();
Logging\LoggerDescription.cs (2)
207logger = (IForwardingLogger)Activator.CreateInstance(loggerClass.Type); 218logger = (ILogger)Activator.CreateInstance(loggerClass.Type);
TaskLoader.cs (1)
129return (ITask)Activator.CreateInstance(loadedType.Type);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\AssemblyTaskFactory_Tests.cs (1)
216PropertyInfo[] comparisonInfo = comparisonType.Type.GetProperties(BindingFlags.Instance | BindingFlags.Public);