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