1 write to Type
Microsoft.Build (1)
LoadedType.cs (1)
36
Type
= type;
23 references to Type
Microsoft.Build (22)
Instance\TaskFactories\AssemblyTaskFactory.cs (2)
98
get { return _loadedType.
Type
; }
391
appDomain => AssemblyLoadsTracker.StartTracking(taskLoggingContext, AssemblyLoadingContext.TaskRun, _loadedType.
Type
, appDomain),
Instance\TaskFactories\TaskHostTask.cs (8)
224
PropertyInfo 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,
280
AssemblyUtilities.GetAssemblyLocation(_taskType.
Type
.GetTypeInfo().Assembly),
486
exceptionMessageArgs = [_taskType.
Type
.Name,
487
AssemblyUtilities.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 (2)
1459
factory = (ITaskFactory)AppDomain.CurrentDomain.CreateInstanceAndUnwrap(loadedType.
Type
.GetTypeInfo().Assembly.FullName, loadedType.
Type
.FullName);
LoadedType.cs (2)
142
if (String.Equals("Microsoft.Build.Tasks.Xaml.PartialClassGenerationTask",
Type
.FullName, StringComparison.OrdinalIgnoreCase))
144
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 (6)
129
return (ITask)Activator.CreateInstance(loadedType.
Type
);
135
taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceFromAndUnwrap(loadedType.Assembly.AssemblyFile, loadedType.
Type
.FullName);
143
if (taskType != loadedType.
Type
)
151
loadedType.
Type
.GetTypeInfo().Assembly.Location);
158
taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceAndUnwrap(loadedType.
Type
.GetTypeInfo().Assembly.FullName, loadedType.
Type
.FullName);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\AssemblyTaskFactory_Tests.cs (1)
216
PropertyInfo[] comparisonInfo = comparisonType.
Type
.GetProperties(BindingFlags.Instance | BindingFlags.Public);