23 references to GetTypeInfo
MSBuildTaskHost (23)
CommunicationsUtilities.cs (1)
619clrVersion = typeof(bool).GetTypeInfo().Assembly.GetName().Version.Major;
FileUtilities.cs (1)
747internal static string ExecutingAssemblyPath => Path.GetFullPath(AssemblyUtilities.GetAssemblyLocation(typeof(FileUtilities).GetTypeInfo().Assembly));
LoadedType.cs (3)
111HasLoadInSeparateAppDomainAttribute = this.Type.GetTypeInfo().IsDefined(typeof(LoadInSeparateAppDomainAttribute), true /* inherited */); 112HasSTAThreadAttribute = this.Type.GetTypeInfo().IsDefined(typeof(RunInSTAAttribute), true /* inherited */); 144AssemblyName assemblyName = Type.GetTypeInfo().Assembly.GetName();
LogMessagePacketBase.cs (1)
476string assemblyLocation = _buildEvent.GetType().GetTypeInfo().Assembly.Location;
NativeMethods.cs (1)
888var baseTypeLocation = AssemblyUtilities.GetAssemblyLocation(typeof(string).GetTypeInfo().Assembly);
OutOfProcTaskHostNode.cs (1)
1188if (!e.GetType().GetTypeInfo().IsSerializable && e is not IExtendedBuildEventArgs)
TaskLoader.cs (5)
37return type.GetTypeInfo().IsClass && !type.GetTypeInfo().IsAbstract && ( 38type.GetTypeInfo().GetInterface("Microsoft.Build.Framework.ITask") != null); 151loadedType.Type.GetTypeInfo().Assembly.Location); 158taskInstanceInOtherAppDomain = (ITask)taskAppDomain.CreateInstanceAndUnwrap(loadedType.Type.GetTypeInfo().Assembly.FullName, loadedType.Type.FullName);
TaskParameter.cs (4)
129else if (typeof(ITaskItem[]).GetTypeInfo().IsAssignableFrom(wrappedParameterType.GetTypeInfo())) 145else if (wrappedParameterType.GetElementType().GetTypeInfo().IsValueType) 180else if (wrappedParameterType.GetTypeInfo().IsValueType)
TaskParameterTypeVerifier.cs (6)
24parameterType.GetTypeInfo().IsValueType || parameterType == typeof(string) || parameterType == typeof(ITaskItem); 31bool result = (parameterType.IsArray && parameterType.GetElementType().GetTypeInfo().IsValueType) || 42bool result = typeof(ITaskItem[]).GetTypeInfo().IsAssignableFrom(parameterType.GetTypeInfo()) || /* ITaskItem array or derived type, or */ 52bool result = (parameterType.IsArray && parameterType.GetElementType().GetTypeInfo().IsValueType) || /* array of value types, or */ 54parameterType.GetTypeInfo().IsValueType || /* value type, or */