22 references to GetTypeInfo
MSBuildTaskHost (22)
CommunicationsUtilities.cs (1)
623
clrVersion = typeof(bool).
GetTypeInfo
().Assembly.GetName().Version.Major;
FileUtilities.cs (1)
768
internal static string ExecutingAssemblyPath => Path.GetFullPath(AssemblyUtilities.GetAssemblyLocation(typeof(FileUtilities).
GetTypeInfo
().Assembly));
LoadedType.cs (3)
110
HasLoadInSeparateAppDomainAttribute = this.Type.
GetTypeInfo
().IsDefined(typeof(LoadInSeparateAppDomainAttribute), true /* inherited */);
111
HasSTAThreadAttribute = this.Type.
GetTypeInfo
().IsDefined(typeof(RunInSTAAttribute), true /* inherited */);
143
AssemblyName assemblyName = Type.
GetTypeInfo
().Assembly.GetName();
NativeMethods.cs (1)
887
var baseTypeLocation = AssemblyUtilities.GetAssemblyLocation(typeof(string).
GetTypeInfo
().Assembly);
OutOfProcTaskHostNode.cs (1)
1198
if (!e.GetType().
GetTypeInfo
().IsSerializable && e is not IExtendedBuildEventArgs)
TaskLoader.cs (5)
35
return type.
GetTypeInfo
().IsClass && !type.
GetTypeInfo
().IsAbstract && (
36
type.
GetTypeInfo
().GetInterface("Microsoft.Build.Framework.ITask") != null);
149
loadedType.Type.
GetTypeInfo
().Assembly.Location);
156
taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceAndUnwrap(loadedType.Type.
GetTypeInfo
().Assembly.FullName, loadedType.Type.FullName);
TaskParameter.cs (4)
127
else if (typeof(ITaskItem[]).
GetTypeInfo
().IsAssignableFrom(wrappedParameterType.
GetTypeInfo
()))
143
else if (wrappedParameterType.GetElementType().
GetTypeInfo
().IsValueType)
178
else if (wrappedParameterType.
GetTypeInfo
().IsValueType)
TaskParameterTypeVerifier.cs (6)
24
parameterType.
GetTypeInfo
().IsValueType || parameterType == typeof(string) || parameterType == typeof(ITaskItem);
31
bool result = (parameterType.IsArray && parameterType.GetElementType().
GetTypeInfo
().IsValueType) ||
42
bool result = typeof(ITaskItem[]).
GetTypeInfo
().IsAssignableFrom(parameterType.
GetTypeInfo
()) || /* ITaskItem array or derived type, or */
52
bool result = (parameterType.IsArray && parameterType.GetElementType().
GetTypeInfo
().IsValueType) || /* array of value types, or */
54
parameterType.
GetTypeInfo
().IsValueType || /* value type, or */