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