1 write to Type
Microsoft.Build.Framework (1)
Loader\LoadedType.cs (1)
42
Type
= type;
26 references to Type
Microsoft.Build (17)
Instance\TaskFactories\AssemblyTaskFactory.cs (5)
94
get { return _loadedType.
Type
; }
342
&& _loadedType?.
Type
!= null
345
if (TaskRouter.NeedsTaskHostInMultiThreadedMode(_loadedType.
Type
))
420
taskLoggingContext?.TargetLoggingContext?.ProjectLoggingContext?.ProjectTelemetry?.TrackTaskSubclassing(_loadedType.
Type
, isMicrosoftOwned);
712
if (_loadedType?.
Type
== null)
Instance\TaskFactories\TaskHostTask.cs (8)
275
PropertyInfo parameter = _taskType.
Type
.GetProperty(property.Name, BindingFlags.Instance | BindingFlags.Public);
307
_taskType.
Type
.Name,
319
string taskLocation = AssemblyUtilities.GetAssemblyLocation(_taskType.
Type
.GetTypeInfo().Assembly);
341
_taskType.
Type
.FullName,
597
exceptionMessageArgs = [_taskType.
Type
.Name,
598
AssemblyUtilities.GetAssemblyLocation(_taskType.
Type
.GetTypeInfo().Assembly),
746
_taskLoggingContext.LogError(new BuildEventFileInfo(_taskLocation), "TaskHostAcquireFailed", _taskType.
Type
.Name, runtime, architecture, msbuildLocation);
753
_taskType.
Type
.Name,
Instance\TaskRegistry.cs (1)
1508
factory = (ITaskFactory)Activator.CreateInstance(loadedType.
Type
);
Logging\LoggerDescription.cs (2)
207
logger = (IForwardingLogger)Activator.CreateInstance(loggerClass.
Type
);
218
logger = (ILogger)Activator.CreateInstance(loggerClass.
Type
);
TaskLoader.cs (1)
130
return (ITask?)Activator.CreateInstance(loadedType.
Type
);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\AssemblyTaskFactory_Tests.cs (1)
215
PropertyInfo[] comparisonInfo = comparisonType.
Type
.GetProperties(BindingFlags.Instance | BindingFlags.Public);
Microsoft.Build.Framework (2)
Loader\LoadedType.cs (2)
193
if (String.Equals("Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask",
Type
.FullName, StringComparison.OrdinalIgnoreCase))
195
AssemblyName assemblyName =
Type
.GetTypeInfo().Assembly.GetName();
MSBuild (6)
TaskLoader.cs (6)
130
return (ITask?)Activator.CreateInstance(loadedType.
Type
);
136
taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceFromAndUnwrap(loadedType.Assembly.AssemblyFile, loadedType.
Type
.FullName);
144
if (taskType != loadedType.
Type
)
152
loadedType.
Type
.GetTypeInfo().Assembly.Location);
159
taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceAndUnwrap(loadedType.
Type
.GetTypeInfo().Assembly.FullName, loadedType.
Type
.FullName);