36 instantiations of TypeInfo
System.AddIn (36)
System\Addin\Hosting\AddInActivator.cs (1)
315TypeInfo havTypeInfo = new TypeInfo(havType);
System\Addin\Hosting\AddInStore.cs (2)
506TypeInfo havTypeInfo = new TypeInfo(hostViewOfAddIn); 634TypeInfo havTypeInfo = new TypeInfo(hostViewOfAddIn);
System\Addin\Hosting\InspectionWorker.cs (4)
259component = new ContractComponent(new TypeInfo(type), relativeFileName); 266component = new AddInAdapter(new TypeInfo(type), relativeFileName); 288activatableAs[i++] = new TypeInfo((Type)subArg.Value); 293component = new AddInBase(new TypeInfo(type), activatableAs, relativeFileName, assemblyName);
System\Addin\Hosting\Store\AddInAdapter.cs (2)
72_contracts.Add(new TypeInfo(contractInterface)); 88_constructors.Add(new TypeInfo(pars[0].ParameterType));
System\Addin\Hosting\Store\HostAdapter.cs (1)
30private static readonly TypeInfo typeofIContract = new TypeInfo(typeof(System.AddIn.Contract.IContract));
System\Addin\Hosting\Store\PipelineComponent.cs (2)
243return Validate(new TypeInfo(type), warnings); 265TypeInfo objectType = new TypeInfo(typeof(Object));
System\Addin\MiniReflection\MiniAssembly.cs (1)
100return new TypeInfo(token, this, typeName, nameSpace);
System\Addin\MiniReflection\MiniModule.cs (1)
181TypeInfo type = new TypeInfo(targetType, _assembly, this, typeName, nameSpace, isGeneric);
System\Addin\MiniReflection\MiniParameterInfo.cs (16)
81return new TypeInfo(typeof(Boolean)); 83return new TypeInfo(typeof(SByte)); 85return new TypeInfo(typeof(Byte)); 87return new TypeInfo(typeof(Int16)); 89return new TypeInfo(typeof(UInt16)); 91return new TypeInfo(typeof(Char)); 93return new TypeInfo(typeof(Int32)); 95return new TypeInfo(typeof(UInt32)); 97return new TypeInfo(typeof(Int64)); 99return new TypeInfo(typeof(UInt64)); 101return new TypeInfo(typeof(Single)); 103return new TypeInfo(typeof(Double)); 105return new TypeInfo(typeof(IntPtr)); 107return new TypeInfo(typeof(UIntPtr)); 110return new TypeInfo(typeof(String)); 113return new TypeInfo(typeof(Object));
System\Addin\MiniReflection\TypeInfo.cs (5)
445return new TypeInfo(token, _assembly, false); 450return new TypeInfo(token, _assembly); 684return new TypeInfo(token, _assembly); 687return new TypeInfo(token, _assembly, false); // TypeRef-specific constructor. 875interfaces.Add(new TypeInfo(interfaceType));
System\Addin\Pipeline\ContractAdapter.cs (1)
79TypeInfo havTypeInfo = new TypeInfo(havType);
104 references to TypeInfo
System.AddIn (104)
System\Addin\Hosting\AddInActivator.cs (2)
34using TypeInfo=System.AddIn.MiniReflection.TypeInfo; 315TypeInfo havTypeInfo = new TypeInfo(havType);
System\Addin\Hosting\AddInStore.cs (17)
33using TypeInfo=System.AddIn.MiniReflection.TypeInfo; 506TypeInfo havTypeInfo = new TypeInfo(hostViewOfAddIn); 634TypeInfo havTypeInfo = new TypeInfo(hostViewOfAddIn); 1202TypeInfo.SetWarnings(warnings); 1212foreach (TypeInfo type in assembly.GetTypesWithAttribute(typeof(HostAdapterAttribute), true)) 1237TypeInfo.SetWarnings(null); 1253TypeInfo.SetWarnings(warnings); 1275TypeInfo type = assembly.FindTypeInfo(typeName, nameSpace); 1290TypeInfo.SetWarnings(null); 1300TypeInfo.SetWarnings(warnings); 1309foreach (TypeInfo type in assembly.GetTypesWithAttribute(typeof(AddInBaseAttribute), true)) 1316foreach (TypeInfo type in assembly.GetTypesWithAttribute(typeof(AddInAttribute))) 1345TypeInfo.SetWarnings(null); 1351private static List<AddInToken> ConnectPipelinesWithAddIns(List<PartialToken> partialTokens, TypeInfo havType, 1388internal static bool Contains(TypeInfo[] array, TypeInfo info) 1390foreach (TypeInfo ti in array) {
System\Addin\Hosting\AddInToken.cs (5)
27using TypeInfo=System.AddIn.MiniReflection.TypeInfo; 34internal readonly TypeInfo[] _hostAddinViews; 42private TypeInfo _resolvedHostAddinView; 145internal TypeInfo ResolvedHostAddInView 217internal TypeInfo[] HostAddinViews {
System\Addin\Hosting\InspectionWorker.cs (3)
23using TypeInfo=System.AddIn.MiniReflection.TypeInfo; 276TypeInfo[] activatableAs = null; 284activatableAs = new TypeInfo[types.Count];
System\Addin\Hosting\Store\AddIn.cs (5)
24using TypeInfo=System.AddIn.MiniReflection.TypeInfo; 30private TypeInfo[] _potentialAddinBases; 49internal AddIn(TypeInfo typeInfo, String assemblyLocation, String fullPathToAddin, String assemblyName) 142internal TypeInfo[] AddInBaseTypeInfo { 152internal override bool Validate(TypeInfo type, Collection<String> warnings)
System\Addin\Hosting\Store\AddInAdapter.cs (9)
21using TypeInfo=System.AddIn.MiniReflection.TypeInfo; 28private List<TypeInfo> _contracts; 29private List<TypeInfo> _constructors; 31public AddInAdapter(TypeInfo typeInfo, String assemblyLocation) : base(typeInfo, assemblyLocation) 33_contracts = new List<TypeInfo>(); 34_constructors = new List<TypeInfo>(); 37public List<TypeInfo> Constructors { 41public List<TypeInfo> Contracts { 114foreach (TypeInfo activatableAsTypeInfo in addInBase._activatableAs)
System\Addin\Hosting\Store\AddInBase.cs (5)
21using TypeInfo=System.AddIn.MiniReflection.TypeInfo; 28internal TypeInfo[] _activatableAs; 31public AddInBase(TypeInfo typeInfo, TypeInfo[] activatableAs, String assemblyLocation, String assemblyName) : base(typeInfo, assemblyLocation) 52internal bool CanDirectConnectTo(TypeInfo havTypeInfo)
System\Addin\Hosting\Store\ContractComponent.cs (1)
27public ContractComponent(TypeInfo typeInfo, String assemblyLocation) : base(typeInfo, assemblyLocation)
System\Addin\Hosting\Store\HostAdapter.cs (10)
23using TypeInfo=System.AddIn.MiniReflection.TypeInfo; 30private static readonly TypeInfo typeofIContract = new TypeInfo(typeof(System.AddIn.Contract.IContract)); 32private TypeInfo[] _potentialHAVs; 33private List<TypeInfo> _constructors; 35public HostAdapter(TypeInfo typeInfo, String assemblyLocation) 38_constructors = new List<TypeInfo>(); 41public List<TypeInfo> Constructors 46public TypeInfo[] HostAddinViews 56internal override bool Validate(TypeInfo type, Collection<String> warnings) 74TypeInfo paramType = pars[0].ParameterType;
System\Addin\Hosting\Store\PipelineComponent.cs (13)
27using TypeInfo=System.AddIn.MiniReflection.TypeInfo; 44private TypeInfo _typeInfo; 65internal PipelineComponent(TypeInfo typeInfo, String assemblyLocation) 219public TypeInfo TypeInfo { 249internal virtual bool Validate(TypeInfo type, Collection<String> warnings) 262internal static TypeInfo[] FindBaseTypesAndInterfaces(TypeInfo type) 264TypeInfo currentTypeInfo = type; 265TypeInfo objectType = new TypeInfo(typeof(Object)); 266List<TypeInfo> infos = new List<TypeInfo>(); 278TypeInfo[] interfaces = currentTypeInfo.GetInterfaces(); 282TypeInfo baseType = currentTypeInfo.BaseType;
System\Addin\MiniReflection\MiniAssembly.cs (6)
91public IList<TypeInfo> GetTypesWithAttribute(Type customAttribute) 96public TypeInfo FindTypeInfo(String typeName, String nameSpace) 124public IList<TypeInfo> GetTypesWithAttribute(Type customAttribute, bool includePrivate) 132List<TypeInfo> types = new List<TypeInfo>(); 135IList<TypeInfo> newTypes = module.GetTypesWithAttributeInModule(customAttribute, includePrivate);
System\Addin\MiniReflection\MiniModule.cs (5)
112public IList<TypeInfo> GetTypesWithAttributeInModule(Type customAttribute) 117public IList<TypeInfo> GetTypesWithAttributeInModule(Type customAttribute, bool includePrivate) 128List<TypeInfo> types = new List<TypeInfo>(); 181TypeInfo type = new TypeInfo(targetType, _assembly, this, typeName, nameSpace, isGeneric);
System\Addin\MiniReflection\MiniParameterInfo.cs (3)
26private TypeInfo _paramType; 37public MiniParameterInfo(CorElementType elementType, TypeInfo parameterType) 71public TypeInfo ParameterType
System\Addin\MiniReflection\TypeInfo.cs (18)
40internal sealed class TypeInfo : IEquatable<TypeInfo>, ISerializable 312TypeInfo def = TypeRefToTypeDef(_mdToken, true); 409public TypeInfo BaseType { 414TypeInfo defInfo = TypeRefToTypeDef(_mdToken, true); 440private TypeInfo TypeInfoFromTypeDefOrRef(MetadataToken token) 666private TypeInfo ParseTypeDefRefOrSpec(byte[] sig, ref uint i) 722public bool Implements(TypeInfo ifaceType) 747TypeInfo def = TypeRefToTypeDef(_mdToken, true); 758private bool ImplementsHelper(PEFileReader peFile, MetadataToken typeDefToken, TypeInfo ifaceType) 835internal TypeInfo TypeRefToTypeDef(MetadataToken typeRef, bool throwOnError) 854internal TypeInfo TryGetTypeDef() 869public TypeInfo[] GetInterfaces() 871List<TypeInfo> interfaces = new List<TypeInfo>(); 879TypeInfo defInfo = TypeRefToTypeDef(_mdToken, true); 913TypeInfo that = obj as TypeInfo; 919public bool Equals(TypeInfo value)
System\Addin\Pipeline\ContractAdapter.cs (2)
22using TypeInfo=System.AddIn.MiniReflection.TypeInfo; 79TypeInfo havTypeInfo = new TypeInfo(havType);