1 write to Type
Microsoft.Build (1)
LoadedType.cs (1)
34
Type
= type;
18 references to Type
Microsoft.Build (17)
Instance\TaskFactories\AssemblyTaskFactory.cs (3)
112
get { return _loadedType.
Type
; }
446
_taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.
Type
, isMicrosoftOwned);
706
if (_loadedType?.
Type
== null)
Instance\TaskFactories\TaskHostTask.cs (8)
254
PropertyInfo parameter = _taskType.
Type
.GetProperty(property.Name, BindingFlags.Instance | BindingFlags.Public);
287
_taskLoggingContext.LogComment(MessageImportance.Low, "ExecutingTaskInTaskHost", _taskType.
Type
.Name, _taskType.Assembly.AssemblyLocation, runtime, architecture);
296
string taskLocation = AssemblyUtilities.GetAssemblyLocation(_taskType.
Type
.GetTypeInfo().Assembly);
317
_taskType.
Type
.FullName,
558
exceptionMessageArgs = [_taskType.
Type
.Name,
559
AssemblyUtilities.GetAssemblyLocation(_taskType.
Type
.GetTypeInfo().Assembly),
660
_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskHostAcquireFailed", _taskType.
Type
.Name, runtime, architecture, msbuildLocation);
664
_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskHostNodeFailedToLaunch", _taskType.
Type
.Name, runtime, architecture, msbuildLocation, e.ErrorCode, e.Message);
Instance\TaskRegistry.cs (1)
1578
factory = (ITaskFactory)Activator.CreateInstance(loadedType.
Type
);
LoadedType.cs (2)
176
if (String.Equals("Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask",
Type
.FullName, StringComparison.OrdinalIgnoreCase))
178
AssemblyName assemblyName =
Type
.GetTypeInfo().Assembly.GetName();
Logging\LoggerDescription.cs (2)
207
logger = (IForwardingLogger)Activator.CreateInstance(loggerClass.
Type
);
218
logger = (ILogger)Activator.CreateInstance(loggerClass.
Type
);
TaskLoader.cs (1)
127
return (ITask?)Activator.CreateInstance(loadedType.
Type
);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\AssemblyTaskFactory_Tests.cs (1)
217
PropertyInfo[] comparisonInfo = comparisonType.
Type
.GetProperties(BindingFlags.Instance | BindingFlags.Public);