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