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