7 types derived from Type
mscorlib (1)
system\reflection\typeinfo.cs (1)
29public abstract class TypeInfo:Type,IReflectableType
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1044private class MetadataType : Type
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1044private class MetadataType : Type
System.Web (1)
Compilation\DelayLoadType.cs (1)
11internal class DelayLoadType : Type {
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
14internal sealed class DesignTimeType : Type, ICloneable
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
13internal sealed class RTTypeWrapper : Type, ICloneable
System.WorkflowServices (1)
System\Workflow\Activities\ContractType.cs (1)
16internal sealed class ContractType : Type, ICloneable
22743 references to Type
ComSvcConfig (18)
ComplusTypeValidator.cs (15)
35Type typeOfInterfaceResolver = typeof(Message).Assembly.GetType("System.ServiceModel.ComIntegration.TypeCacheManager"); 54foreach (Type t in asm.GetTypes()) 58Type baseType = t.BaseType; 92Type typeOfInterfaceResolver = typeof(Message).Assembly.GetType("System.ServiceModel.ComIntegration.TypeCacheManager"); 96Type typeOfInterface = null; 99typeOfInterface = typeOfInterfaceResolver.InvokeMember("VerifyType", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Type; 134Type typeOfParam = parameter.ParameterType; 168Type typeOfInterfaceResolver = typeof(Message).Assembly.GetType("System.ServiceModel.ComIntegration.TypeCacheManager"); 172Type typeOfInterface = null; 175typeOfInterface = typeOfInterfaceResolver.InvokeMember("VerifyType", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Type; 218Type typeOfInterfaceResolver = typeof(Message).Assembly.GetType("System.ServiceModel.ComIntegration.TypeCacheManager"); 222Type typeOfInterface = null; 225typeOfInterface = typeOfInterfaceResolver.InvokeMember("VerifyType", BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance, null, resolver, args, CultureInfo.InvariantCulture) as Type; 260Type typeOfParam = parameter.ParameterType; 313public static bool IsValidParameter(Type type, ICustomAttributeProvider attributeProvider, bool allowReferences, out string typeMismatchDetails)
SvcFileManager.cs (3)
216Type serviceParser = typeof(ServiceHostFactory).Assembly.GetType("System.ServiceModel.Activation.ServiceParser"); 269Type factoryType = typeof(WasHostedComPlusFactory); 270Type compiledType = factoryType.Assembly.GetType(dictionary[factoryAttributeName], false);
Microsoft.Activities.Build (7)
Microsoft\Activities\Build\BeforeInitializeComponentExtension.cs (1)
188bool IsAssignableTo(XamlType type, Type assignableTo)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (1)
104foreach (Type type in Utilities.GetTypes(localAssembly))
Microsoft\Activities\Build\Utilities.cs (4)
21internal static Activity CreateActivity(Type type, out Exception ctorException) 29ConstructorInfo defaultConstructor = type.GetConstructor(Type.EmptyTypes); 77internal static Type[] GetTypes(Assembly assembly) 97internal static bool IsTypeAuthoredInXaml(Type type)
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (1)
77foreach (Type type in Utilities.GetTypes(localAssembly))
mscorlib (2760)
microsoft\win32\oavariantlib.cs (3)
37internal static readonly Type [] ClassTypes = { 79internal static Variant ChangeType(Variant source, Type targetClass, short options, CultureInfo culture) 102private static int GetCVTypeFromClass(Type ctype)
system\activator.cs (12)
55static public Object CreateInstance(Type type, 66static public Object CreateInstance(Type type, 110static public Object CreateInstance(Type type, params Object[] args) 120static public Object CreateInstance(Type type, 132static public Object CreateInstance(Type type) 181static public Object CreateInstance(Type type, bool nonPublic) 321Type type = null; 333type = Type.GetType(typeName + ", " + assemblyString, true /*throwOnError*/, ignoreCase); 439Type t = assembly.GetType(typeName, true, ignoreCase); 639Type t = assembly.GetType(typeName, true, false); 674static public Object GetObject(Type type, String url) 682static public Object GetObject(Type type, String url, Object state)
system\appdomain.cs (2)
2160internal EvidenceBase GetHostEvidence(Type type) 4867public new Type GetType()
system\argiterator.cs (1)
129return new RuntimeTypeHandle(Type.GetTypeFromHandleUnsafe((IntPtr)_GetNextArgType()));
system\array.cs (10)
72public unsafe static Array CreateInstance(Type elementType, int length) 90public unsafe static Array CreateInstance(Type elementType, int length1, int length2) 111public unsafe static Array CreateInstance(Type elementType, int length1, int length2, int length3) 138public unsafe static Array CreateInstance(Type elementType, params int[] lengths) 166public static Array CreateInstance(Type elementType, params long[] lengths) 192public unsafe static Array CreateInstance(Type elementType, int[] lengths,int[] lowerBounds) 233internal static Array UnsafeCreateInstance(Type elementType, int length) 242internal static Array UnsafeCreateInstance(Type elementType, int length1, int length2) 251internal static Array UnsafeCreateInstance(Type elementType, params int[] lengths) 260internal static Array UnsafeCreateInstance(Type elementType, int[] lengths, int[] lowerBounds)
system\attribute.cs (53)
28private static Attribute[] InternalGetCustomAttributes(PropertyInfo element, Type type, bool inherit) 41Dictionary<Type, AttributeUsageAttribute> types = new Dictionary<Type, AttributeUsageAttribute>(11); 48Type[] indexParamTypes = GetIndexParameterTypes(element); 63private static bool InternalIsDefined(PropertyInfo element, Type attributeType, bool inherit) 77Type[] indexParamTypes = GetIndexParameterTypes(element); 93private static PropertyInfo GetParentDefinition(PropertyInfo property, Type[] propertyParameters) 136private static Attribute[] InternalGetCustomAttributes(EventInfo element, Type type, bool inherit) 147Dictionary<Type, AttributeUsageAttribute> types = new Dictionary<Type, AttributeUsageAttribute>(11); 185private static bool InternalIsDefined (EventInfo element, Type attributeType, bool inherit) 237private static Attribute[] InternalParamGetCustomAttributes(ParameterInfo param, Type type, bool inherit) 248List<Type> disAllowMultiple = new List<Type>(); 258Type objType = objAttr[i].GetType(); 286Type objType = objAttr[i].GetType(); 327private static bool InternalParamIsDefined(ParameterInfo param, Type type, bool inherit) 352Type objType = objAttr[i].GetType(); 368private static void CopyToArrayList(List<Attribute> attributeList,Attribute[] attributes,Dictionary<Type, AttributeUsageAttribute> types) 374Type attrType = attributes[i].GetType(); 381private static Type[] GetIndexParameterTypes(PropertyInfo element) 387Type[] indexParamTypes = new Type[indexParams.Length]; 395return Array.Empty<Type>(); 398private static void AddAttributesToList(List<Attribute> attributeList, Attribute[] attributes, Dictionary<Type, AttributeUsageAttribute> types) 402Type attrType = attributes[i].GetType(); 423private static AttributeUsageAttribute InternalGetAttributeUsage(Type type) 439private static Attribute[] CreateAttributeArrayHelper(Type elementType, int elementCount) 450public static Attribute[] GetCustomAttributes(MemberInfo element, Type type) 455public static Attribute[] GetCustomAttributes(MemberInfo element, Type type, bool inherit) 504public static bool IsDefined(MemberInfo element, Type attributeType) 509public static bool IsDefined(MemberInfo element, Type attributeType, bool inherit) 536public static Attribute GetCustomAttribute(MemberInfo element, Type attributeType) 541public static Attribute GetCustomAttribute(MemberInfo element, Type attributeType, bool inherit) 562public static Attribute[] GetCustomAttributes(ParameterInfo element, Type attributeType) 567public static Attribute[] GetCustomAttributes(ParameterInfo element, Type attributeType, bool inherit) 607public static bool IsDefined(ParameterInfo element, Type attributeType) 612public static bool IsDefined(ParameterInfo element, Type attributeType, bool inherit) 644public static Attribute GetCustomAttribute(ParameterInfo element, Type attributeType) 649public static Attribute GetCustomAttribute(ParameterInfo element, Type attributeType, bool inherit) 670public static Attribute[] GetCustomAttributes(Module element, Type attributeType) 689public static Attribute[] GetCustomAttributes(Module element, Type attributeType, bool inherit) 704public static bool IsDefined(Module element, Type attributeType) 709public static bool IsDefined(Module element, Type attributeType, bool inherit) 725public static Attribute GetCustomAttribute(Module element, Type attributeType) 730public static Attribute GetCustomAttribute(Module element, Type attributeType, bool inherit) 748public static Attribute[] GetCustomAttributes(Assembly element, Type attributeType) 753public static Attribute[] GetCustomAttributes(Assembly element, Type attributeType, bool inherit) 782public static bool IsDefined (Assembly element, Type attributeType) 787public static bool IsDefined (Assembly element, Type attributeType, bool inherit) 803public static Attribute GetCustomAttribute(Assembly element, Type attributeType) 808public static Attribute GetCustomAttribute(Assembly element, Type attributeType, bool inherit) 914Type type = GetType();
system\boolean.cs (1)
306Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\byte.cs (1)
259Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\char.cs (1)
504Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\collections\arraylist.cs (6)
770public virtual Array ToArray(Type type) { 1128public override Array ToArray(Type type) 1472public override Array ToArray(Type type) { 1836public override Array ToArray(Type type) { 2090public override Array ToArray(Type type) { 2525public override Array ToArray(Type type) {
system\Collections\Concurrent\ConcurrentDictionary.cs (2)
138Type valueType = typeof(TValue); 150switch (Type.GetTypeCode(valueType))
system\collections\generic\arraysorthelper.cs (2)
117defaultArraySortHelper = (IArraySortHelper<T>)RuntimeTypeHandle.Allocate(typeof(GenericArraySortHelper<string>).TypeHandle.Instantiate(new Type[] { typeof(T) })); 895defaultArraySortHelper = (IArraySortHelper<TKey, TValue>)RuntimeTypeHandle.Allocate(typeof(GenericArraySortHelper<string, string>).TypeHandle.Instantiate(new Type[] { typeof(TKey), typeof(TValue) }));
system\collections\generic\equalitycomparer.cs (2)
62TypeCode underlyingTypeCode = Type.GetTypeCode(Enum.GetUnderlyingType(t)); 407if (Type.GetTypeCode(Enum.GetUnderlyingType(typeof(T))) != TypeCode.Int32) {
system\collections\objectmodel\collection.cs (2)
206Type targetType = array.GetType().GetElementType(); 207Type sourceType = typeof(T);
system\collections\objectmodel\readonlycollection.cs (2)
151Type targetType = array.GetType().GetElementType(); 152Type sourceType = typeof(T);
system\collections\objectmodel\readonlydictionary.cs (2)
598Type targetType = array.GetType().GetElementType(); 599Type sourceType = typeof(T);
system\convert.cs (3)
261internal static Object DefaultToType(IConvertible value, Type targetType, IFormatProvider provider) { 321public static Object ChangeType(Object value, Type conversionType) { 325public static Object ChangeType(Object value, Type conversionType, IFormatProvider provider) {
system\datetime.cs (1)
1649Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\dbnull.cs (1)
118Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\decimal.cs (1)
1272Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\defaultbinder.cs (36)
84Type[] paramArrayTypes = new Type[candidates.Length]; 86Type[] argTypes = new Type[args.Length]; 105Type paramArrayType = null; 196Type pCls = null; 214if (defaultValueBinding && args[paramOrder[i][j]] == Type.Missing) 452Type valueType = null; 461Type pCls = candidates[i].FieldType; 519public override MethodBase SelectMethod(BindingFlags bindingAttr,MethodBase[] match,Type[] types,ParameterModifier[] modifiers) 524Type[] realTypes = new Type[types.Length]; 546Type pCls = par[j].ParameterType; 594public override PropertyInfo SelectProperty(BindingFlags bindingAttr,PropertyInfo[] match,Type returnType, 595Type[] indexes,ParameterModifier[] modifiers) 598if (indexes != null && !Contract.ForAll(indexes, delegate(Type t) { return t != null; })) 629Type pCls = par[j]. ParameterType; 706public override Object ChangeType(Object value,Type type,CultureInfo cultureInfo) 740public static MethodBase ExactBinding(MethodBase[] match,Type[] types,ParameterModifier[] modifiers) 755Type pCls = par[j]. ParameterType; 780public static PropertyInfo ExactPropertyBinding(PropertyInfo[] match,Type returnType,Type[] types,ParameterModifier[] modifiers) 792Type pCls = par[j].ParameterType; 811private static int FindMostSpecific(ParameterInfo[] p1, int[] paramOrder1, Type paramArrayType1, 812ParameterInfo[] p2, int[] paramOrder2, Type paramArrayType2, 813Type[] types, Object[] args) 826if (args != null && args[i] == Type.Missing) 829Type c1, c2; 888private static int FindMostSpecificType(Type c1, Type c2, Type t) 951private static int FindMostSpecificMethod(MethodBase m1, int[] paramOrder1, Type paramArrayType1, 952MethodBase m2, int[] paramOrder2, Type paramArrayType2, 953Type[] types, Object[] args) 1050internal static int GetHierarchyDepth(Type t) 1054Type currentType = t;
system\delegate.cs (17)
72protected unsafe Delegate(Type target,String method) 256Type currentType = _target.GetType(); 257Type targetType = declaringType.GetGenericTypeDefinition(); 342public static Delegate CreateDelegate(Type type, Object target, String method) 348public static Delegate CreateDelegate(Type type, Object target, String method, bool ignoreCase) 372public static Delegate CreateDelegate(Type type, Object target, String method, bool ignoreCase, bool throwOnBindFailure) 420public static Delegate CreateDelegate(Type type, Type target, String method) 426public static Delegate CreateDelegate(Type type, Type target, String method, bool ignoreCase) 433public static Delegate CreateDelegate(Type type, Type target, String method, bool ignoreCase, bool throwOnBindFailure) 484public static Delegate CreateDelegate(Type type, MethodInfo method, bool throwOnBindFailure) 527public static Delegate CreateDelegate(Type type, Object firstArgument, MethodInfo method) 535public static Delegate CreateDelegate(Type type, Object firstArgument, MethodInfo method, bool throwOnBindFailure) 606internal unsafe static Delegate CreateDelegateNoSecurityCheck(Type type, Object target, RuntimeMethodHandle method) 677public static Delegate CreateDelegate(Type type, MethodInfo method)
system\delegateserializationholder.cs (2)
23SerializationInfo info, Type delegateType, Object target, MethodInfo method, int targetIndex) 34Type c = delegateType.BaseType;
system\deployment\isolationinterop.cs (2)
2511System.Type t = o.GetType(); 2980internal static Guid GetGuidOfType(Type type)
system\diagnostics\contracts\contracts.cs (6)
70private Type _typeWithContracts; 72public ContractClassAttribute(Type typeContainingContracts) 77public Type TypeContainingContracts { 89private Type _typeIAmAContractFor; 91public ContractClassForAttribute(Type typeContractsAreFor) 96public Type TypeContractsAreFor {
system\diagnostics\debuggerattributes.cs (12)
166private Type target; 168public DebuggerTypeProxyAttribute(Type type) 187public Type Target 227private Type target; 258public Type Target 293private Type target; 304public DebuggerVisualizerAttribute(string visualizerTypeName, Type visualizerObjectSource) 313public DebuggerVisualizerAttribute(Type visualizer) 321public DebuggerVisualizerAttribute(Type visualizer, Type visualizerObjectSource) 333public DebuggerVisualizerAttribute(Type visualizer, string visualizerObjectSourceTypeName) 357public Type Target
system\diagnostics\eventing\eventprovider.cs (1)
841Type underlyingType = Enum.GetUnderlyingType(data.GetType());
system\diagnostics\eventing\eventsource.cs (23)
392public static Guid GetGuid(Type eventSourceType) 428public static string GetName(Type eventSourceType) 443public static string GenerateManifest(Type eventSourceType, string assemblyPathToIncludeInManifest) 459public static string GenerateManifest(Type eventSourceType, string assemblyPathToIncludeInManifest, EventManifestOptions flags) 754var myType = this.GetType(); 1561private static string GetName(Type eventSourceType, EventManifestOptions flags) 1770Type dataType = m_eventData[eventId].Parameters[parameterId].ParameterType; 2096Type pType = infos[i].ParameterType; 2233var tlet = new TraceLoggingEventTypes(eventName, EventTags.None, new Type[] { msg.GetType() }); 3140internal static Attribute GetCustomAttributeHelper(MemberInfo member, Type attributeType, EventManifestOptions flags = EventManifestOptions.None) 3181Type t = attr.GetType(); 3216private static bool AttributeTypeNamesMatch(Type attributeType, Type reflectedAttributeType) 3234private static Type GetEventSourceBaseType(Type eventSourceType, bool allowEventSourceOverride, bool reflectionOnly) 3268private static byte[] CreateManifestAndDescriptors(Type eventSourceType, string eventSourceDllName, EventSource source, 3331Type nestedType = eventSourceType.GetNestedType(providerEnumKind); 3601Type staticFieldType = staticField.FieldType; 6207public void AddEventParameter(Type type, string name) 6237mapsTab = new Dictionary<string, Type>(); 6412foreach (Type enumType in mapsTab.Values) 6724private string GetTypeName(Type type) 6894Dictionary<string, Type> mapsTab;
system\diagnostics\eventing\StubEnvironment.cs (8)
203public static bool IsEnum(this Type type) { return type.IsEnum; } 204public static bool IsAbstract(this Type type) { return type.IsAbstract; } 205public static bool IsSealed(this Type type) { return type.IsSealed; } 206public static Type BaseType(this Type type) { return type.BaseType; } 207public static Assembly Assembly(this Type type) { return type.Assembly; } 208public static TypeCode GetTypeCode(this Type type) { return Type.GetTypeCode(type); }
System\Diagnostics\Eventing\TraceLogging\PropertyAccessor.cs (1)
29var retType = property.getterInfo.ReturnType;
System\Diagnostics\Eventing\TraceLogging\SimpleTypeInfos.cs (2)
980public KeyValuePairTypeInfo(List<Type> recursionCheck) 1026public NullableTypeInfo(List<Type> recursionCheck)
System\Diagnostics\Eventing\TraceLogging\Statics.cs (23)
359public static object CreateInstance(Type type, params object[] parameters) 364public static bool IsValueType(Type type) 375public static bool IsEnum(Type type) 386public static IEnumerable<PropertyInfo> GetProperties(Type type) 408public static MethodInfo GetDeclaredStaticMethod(Type declaringType, string name) 423Type attributeType) 457public static AttributeType GetCustomAttribute<AttributeType>(Type type) 477public static Type[] GetGenericArguments(Type type) 486public static Type FindEnumerableElementType(Type type) 488Type elementType = null; 502foreach (var ifaceType in ifaceTypes) 525public static bool IsGenericMatch(Type type, object openType) 533return isGeneric && type.GetGenericTypeDefinition() == (Type)openType; 536public static Delegate CreateDelegate(Type delegateType, MethodInfo methodInfo) 550public static TraceLoggingTypeInfo GetTypeInfoInstance(Type dataType, List<Type> recursionCheck) 579List<Type> recursionCheck) 582var dataType = typeof(DataType); 600var elementType = dataType.GetElementType(); 670var underlyingType = Enum.GetUnderlyingType(dataType); 809var elementType = FindEnumerableElementType(dataType);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventTypes.cs (4)
53params Type[] types) 216var recursionCheck = new List<Type>(paramInfos.Length); 226private static TraceLoggingTypeInfo[] MakeArray(Type[] types) 235var recursionCheck = new List<Type>(types.Length);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingTypeInfo.cs (4)
27private readonly Type dataType; 29internal TraceLoggingTypeInfo(Type dataType) 43Type dataType, 118internal Type DataType
System\Diagnostics\Eventing\TraceLogging\TraceLoggingTypeInfo_T.cs (2)
140internal static TraceLoggingTypeInfo<DataType> GetInstance(List<Type> recursionCheck) 155return GetInstance(new List<Type>());
System\Diagnostics\Eventing\TraceLogging\TypeAnalysis.cs (3)
25Type dataType, 27List<Type> recursionCheck) 56var propertyType = propertyInfo.PropertyType;
system\diagnostics\stackframe.cs (1)
258Type[] typars = ((MethodInfo)method).GetGenericArguments();
system\diagnostics\stacktrace.cs (7)
140Type symbolsType = Type.GetType( 150new Type[] { typeof(string), 167new Type[] { typeof(string), 499Type t = mb.DeclaringType; 666Type t = mb.DeclaringType; 678Type[] typars = ((MethodInfo)mb).GetGenericArguments();
system\double.cs (1)
373Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\enum.cs (31)
351public static Object Parse(Type enumType, String value) 357public static Object Parse(Type enumType, String value, bool ignoreCase) 367private static bool TryParseEnum(Type enumType, String value, bool ignoreCase, ref EnumResult parseResult) 397Type underlyingType = GetUnderlyingType(enumType); 484public static Type GetUnderlyingType(Type enumType) 488Contract.Ensures(Contract.Result<Type>() != null); 495public static Array GetValues(Type enumType) 512public static String GetName(Type enumType, Object value) 522public static String[] GetNames(Type enumType) 539public static Object ToObject(Type enumType, Object value) 596public static bool IsDefined(Type enumType, Object value) 606public static String Format(Type enumType, Object value, String format) 626Type valueType = value.GetType(); 628Type underlyingType = GetUnderlyingType(enumType); 632Type valueUnderlyingType = GetUnderlyingType(valueType); 834Type thisType = this.GetType(); 835Type targetType = target.GetType(); 894Type enumType = this.GetType(); 895Type underlyingType = GetUnderlyingType(enumType); 1036Object IConvertible.ToType(Type type, IFormatProvider provider) 1046public static Object ToObject(Type enumType, sbyte value) 1061public static Object ToObject(Type enumType, short value) 1076public static Object ToObject(Type enumType, int value) 1091public static Object ToObject(Type enumType, byte value) 1107public static Object ToObject(Type enumType, ushort value) 1123public static Object ToObject(Type enumType, uint value) 1138public static Object ToObject(Type enumType, long value) 1154public static Object ToObject(Type enumType, ulong value) 1168private static Object ToObject(Type enumType, char value) 1182private static Object ToObject(Type enumType, bool value)
system\exception.cs (3)
483Type t = rci.ReflectedType; 499Type t = rmi.DeclaringType; 944public new Type GetType()
system\globalization\cultureinfo.cs (1)
1365public virtual Object GetFormat(Type formatType) {
system\globalization\datetimeformatinfo.cs (1)
556public Object GetFormat(Type formatType)
system\globalization\numberformatinfo.cs (1)
794public Object GetFormat(Type formatType) {
system\iappdomain.cs (1)
59Type GetType ();
system\iconvertible.cs (1)
68Object ToType(Type conversionType, IFormatProvider provider);
system\iformatprovider.cs (1)
23Object GetFormat(Type formatType);
system\int16.cs (1)
272Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\int32.cs (1)
245Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\int64.cs (1)
224Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\io\isolatedstorage\isolatedstorage.cs (11)
558Type domainEvidenceType, 559Type assemblyEvidenceType) 613Type appEvidenceType) 729Evidence domainEv, Type domainEvidenceType, 730Evidence assemEv, Type assemEvidenceType, 731Evidence appEv, Type appEvidenceType) 805Evidence domainEv, Type domainEvidenceType, 806Evidence assemEv, Type assemblyEvidenceType, 807Evidence appEv, Type appEvidenceType) 869Evidence evidence, Type evidenceType, IsolatedStorageScope fAssmDomApp, 961Evidence evidence, Type evidenceType, IsolatedStorageScope fAssmDomApp,
system\io\isolatedstorage\isolatedstoragefile.cs (5)
163Type domainEvidenceType, Type assemblyEvidenceType) 209Evidence domainEvidence, Type domainEvidenceType, 210Evidence assemblyEvidence, Type assemblyEvidenceType) 234Type applicationEvidenceType)
system\iserviceobjectprovider.cs (1)
15Object GetService(Type serviceType);
system\marshalbyrefobject.cs (4)
72internal bool IsInstanceOfType(Type T) 83Type t = GetType(); 186public virtual ObjRef CreateObjRef(Type requestedType) 202Type castType = SoapServices.GetInteropTypeFromXmlType(xmlTypeName, xmlTypeNamespace);
system\multicastdelegate.cs (1)
38protected MulticastDelegate(Type target, String method) : base(target, method)
system\nullable.cs (4)
132public static Type GetUnderlyingType(Type nullableType) { 137Type result = null; 140Type genericType = nullableType.GetGenericTypeDefinition();
system\object.cs (2)
105public extern Type GetType(); 184Type t = GetType();
system\oleautbinder.cs (2)
25public override Object ChangeType(Object value, Type type, CultureInfo cultureInfo) 53Type srcType = value.GetType();
system\reflection\__filters.cs (2)
31public virtual bool FilterTypeName(Type cls,Object filterCriteria) 51public virtual bool FilterTypeNameIgnoreCase(Type cls, Object filterCriteria)
system\reflection\assembly.cs (30)
73public static Assembly GetAssembly(Type type) 293internal static Type GetType_Compat(String assemblyString, String typeName) 308return Type.GetType(typeName + ", " + assemblyString, true /*throwOnError*/, false /*ignoreCase*/); 742Type _Assembly.GetType() 748public virtual Type GetType(String name) 753public virtual Type GetType(String name, bool throwOnError) 758public virtual Type GetType(String name, bool throwOnError, bool ignoreCase) 763public virtual IEnumerable<Type> ExportedTypes 771public virtual Type[] GetExportedTypes() 780Type[] types = GetTypes(); 800public virtual Type[] GetTypes() 806Type[][] ModuleTypes = new Type[iNumModules][]; 815Type[] ret = new Type[iFinalLength]; 827public virtual Stream GetManifestResourceStream(Type type, String name) 922public virtual Object[] GetCustomAttributes(Type attributeType, bool inherit) 928public virtual bool IsDefined(Type attributeType, bool inherit) 1015Type t = GetType(typeName, false, ignoreCase); 1288Type invocableAttribute = GetType("__DynamicallyInvokableAttribute", false); 1293ConstructorInfo ctor = invocableAttribute.GetConstructor(Type.EmptyTypes); 1489public override Type GetType(String name, bool throwOnError, bool ignoreCase) 1513public override Type[] GetExportedTypes() 1515Type[] types = null; 1541public override Stream GetManifestResourceStream(Type type, String name) 1651public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 1665public override bool IsDefined(Type attributeType, bool inherit) 2467Type type, 2482sb.Append(Type.Delimiter); 2813Type type = sys.GetType("System.Net.NetworkAccess", true);
system\reflection\binder.cs (4)
41Type[] types,ParameterModifier[] modifiers); 46Type returnType,Type[] indexes,ParameterModifier[] modifiers); 51public abstract Object ChangeType(Object value,Type type,CultureInfo culture);
system\reflection\cominterfaces.cs (84)
21[TypeLibImportClassAttribute(typeof(System.Type))] 37Type GetType(); 43Type DeclaringType { get; } 44Type ReflectedType { get; } 45Object[] GetCustomAttributes(Type attributeType, bool inherit); 47bool IsDefined(Type attributeType, bool inherit); 59Type BaseType { get; } 62Type GetInterface(String name, bool ignoreCase); 63Type[] GetInterfaces(); 64Type[] FindInterfaces(TypeFilter filter,Object filterCriteria); 68Type[] GetNestedTypes(BindingFlags bindingAttr); 69Type GetNestedType(String name, BindingFlags bindingAttr); 73Type GetElementType(); 74bool IsSubclassOf(Type c); 76bool IsAssignableFrom(Type c); 77InterfaceMapping GetInterfaceMap(Type interfaceType); 78MethodInfo GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers); 84PropertyInfo GetProperty(String name,BindingFlags bindingAttr,Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers); 89Type UnderlyingSystemType 96ConstructorInfo GetConstructor(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers); 97ConstructorInfo GetConstructor(BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers); 98ConstructorInfo GetConstructor(Type[] types); 105MethodInfo GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers); 106MethodInfo GetMethod(String name, Type[] types, ParameterModifier[] modifiers); 107MethodInfo GetMethod(String name, Type[] types); 112Type GetInterface(String name); 114PropertyInfo GetProperty(String name, Type returnType, Type[] types,ParameterModifier[] modifiers); 115PropertyInfo GetProperty(String name, Type returnType, Type[] types); 116PropertyInfo GetProperty(String name, Type[] types); 117PropertyInfo GetProperty(String name, Type returnType); 120Type[] GetNestedTypes(); 121Type GetNestedType(String name); 156bool Equals(Type o); 173Type GetType(); 193Type GetType(String name); 194Type GetType(String name, bool throwOnError); 195Type[] GetExportedTypes(); 196Type[] GetTypes(); 197Stream GetManifestResourceStream(Type type, String name); 218Object[] GetCustomAttributes(Type attributeType, bool inherit); 220bool IsDefined(Type attributeType, bool inherit); 227Type GetType(String name, bool throwOnError, bool ignoreCase); 268Type GetType(); 274Type DeclaringType { get; } 275Type ReflectedType { get; } 276Object[] GetCustomAttributes(Type attributeType, bool inherit); 278bool IsDefined(Type attributeType, bool inherit); 303Type GetType(); 309Type DeclaringType { get; } 310Type ReflectedType { get; } 311Object[] GetCustomAttributes(Type attributeType, bool inherit); 313bool IsDefined(Type attributeType, bool inherit); 361Type GetType(); 367Type DeclaringType { get; } 368Type ReflectedType { get; } 369Object[] GetCustomAttributes(Type attributeType, bool inherit); 371bool IsDefined(Type attributeType, bool inherit); 398Type ReturnType { get; } 425Type GetType(); 431Type DeclaringType { get; } 432Type ReflectedType { get; } 433Object[] GetCustomAttributes(Type attributeType, bool inherit); 435bool IsDefined(Type attributeType, bool inherit); 488Type GetType(); 494Type DeclaringType { get; } 495Type ReflectedType { get; } 496Object[] GetCustomAttributes(Type attributeType, bool inherit); 498bool IsDefined(Type attributeType, bool inherit); 502Type FieldType { get; } 546Type GetType(); 552Type DeclaringType { get; } 553Type ReflectedType { get; } 554Object[] GetCustomAttributes(Type attributeType, bool inherit); 556bool IsDefined(Type attributeType, bool inherit); 560Type PropertyType { get; } 600Type GetType(); 606Type DeclaringType { get; } 607Type ReflectedType { get; } 608Object[] GetCustomAttributes(Type attributeType, bool inherit); 610bool IsDefined(Type attributeType, bool inherit); 623Type EventHandlerType { get; }
system\reflection\ConstructorInfo.cs (10)
82internal virtual Type GetReturnType() { throw new NotImplementedException(); } 111Type _ConstructorInfo.GetType() 219Type declaringType = DeclaringType; 401public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 416public override bool IsDefined(Type attributeType, bool inherit) 446public override Type DeclaringType 454public override Type ReflectedType 480internal override Type GetReturnType() { return Signature.ReturnType; } 513Type declaringType = DeclaringType; 536internal static void CheckCanCreateInstance(Type declaringType, bool isVarArg)
system\reflection\customattribute.cs (29)
229if (type == (RuntimeType)typeof(Type)) 340internal static CustomAttributeTypedArgument Filter(IList<CustomAttributeData> attrs, Type caType, int parameter) 414Type type = typeof(DllImportAttribute); 444Type type = typeof(MarshalAsAttribute); 481Type type = typeof(TypeForwardedToAttribute); 483Type[] sig = new Type[] { typeof(Type) }; 487typedArgs[0] = new CustomAttributeTypedArgument(typeof(Type), forwardedTo.Destination); 525public Type AttributeType { get { return Constructor.DeclaringType; } } 613Type type = null; 657internal Type ArgumentType 693private static Type CustomAttributeEncodingToType(CustomAttributeEncoding encodedType) 707return typeof(Type); 812private Type m_argumentType; 816public CustomAttributeTypedArgument(Type argumentType, object value) 866m_argumentType = typeof(Type); 876Type elementType; 930else if (ArgumentType == typeof(Type)) 931return String.Format(CultureInfo.CurrentCulture, "typeof({0})", ((Type)Value).FullName); 938Type elementType = ArgumentType.GetElementType(); 961public Type ArgumentType 1182private static RuntimeType Type_Type = (RuntimeType)typeof(Type); 1356Type arrayType = useObjectArray ? typeof(object) : caType; 1457Type arrayType = useObjectArray ? typeof(object) : caType; 1665Type arrayType = useObjectArray ? typeof(object) : attributeFilterType; 1785property = attributeType.GetProperty(name, type, Type.EmptyTypes) as RuntimePropertyInfo; 1816field.UnsafeSetValue(attribute, value, BindingFlags.Default, Type.DefaultBinder, null); 2092private static object[] CreateAttributeArrayHelper(Type elementType, int elementCount)
system\reflection\CustomAttributeExtensions.cs (18)
8public static Attribute GetCustomAttribute(this Assembly element, Type attributeType) 12public static Attribute GetCustomAttribute(this Module element, Type attributeType) 16public static Attribute GetCustomAttribute(this MemberInfo element, Type attributeType) 20public static Attribute GetCustomAttribute(this ParameterInfo element, Type attributeType) 42public static Attribute GetCustomAttribute(this MemberInfo element, Type attributeType, bool inherit) 46public static Attribute GetCustomAttribute(this ParameterInfo element, Type attributeType, bool inherit) 90public static IEnumerable<Attribute> GetCustomAttributes(this Assembly element, Type attributeType) 94public static IEnumerable<Attribute> GetCustomAttributes(this Module element, Type attributeType) 98public static IEnumerable<Attribute> GetCustomAttributes(this MemberInfo element, Type attributeType) 102public static IEnumerable<Attribute> GetCustomAttributes(this ParameterInfo element, Type attributeType) 124public static IEnumerable<Attribute> GetCustomAttributes(this MemberInfo element, Type attributeType, bool inherit) 128public static IEnumerable<Attribute> GetCustomAttributes(this ParameterInfo element, Type attributeType, bool inherit) 144public static bool IsDefined(this Assembly element, Type attributeType) 148public static bool IsDefined(this Module element, Type attributeType) 152public static bool IsDefined(this MemberInfo element, Type attributeType) 156public static bool IsDefined(this ParameterInfo element, Type attributeType) 161public static bool IsDefined(this MemberInfo element, Type attributeType, bool inherit) 165public static bool IsDefined(this ParameterInfo element, Type attributeType, bool inherit)
system\reflection\emit\aqnbuilder.cs (9)
103internal static string ToString(Type type, Format format) 132private void AddElementType(Type elementType) 151private void ConstructAssemblyQualifiedNameWorker(Type type, Format format) 153Type rootType = type; 159List<Type> nestings = new List<Type>(); 160for (Type t = rootType; t != null; t = t.IsGenericParameter ? null : t.DeclaringType) 165Type enclosingType = nestings[i]; 177Type[] genericArguments = rootType.GetGenericArguments();
system\reflection\emit\assemblybuilder.cs (18)
119public override Stream GetManifestResourceStream(Type type, String name) 156public override Type[] GetExportedTypes() 707Type symWriter = assem.GetType("System.Diagnostics.SymbolStore.SymWriter", true, false); 911Type symWriter = assem.GetType("System.Diagnostics.SymbolStore.SymWriter", true, false); 957internal void CheckContext(params Type[][] typess) 962foreach(Type[] types in typess) 967internal void CheckContext(params Type[] types) 972foreach (Type type in types) 1182public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 1187public override bool IsDefined(Type attributeType, bool inherit) 1221public override Stream GetManifestResourceStream(Type type, String name) 1277public override Type[] GetExportedTypes() 1300public override Type GetType(String name, bool throwOnError, bool ignoreCase) 1778Type type; 2121private int DefineNestedComType(Type type, int tkResolutionScope, int tkTypeDef) 2123Type enclosingType = type.DeclaringType; 2136internal int DefineExportedTypeInMemory(Type type, int tkResolutionScope, int tkTypeDef) 2138Type enclosingType = type.DeclaringType;
system\reflection\emit\assemblybuilderdata.cs (6)
146Type conType = m_CABuilders[i].m_con.DeclaringType; 420internal void AddPublicComType(Type type) 456m_publicComTypeList = new Type[m_iInitialSize]; 460Type[] tempTypeList = new Type[m_iPublicComTypeCount * 2]; 472internal Type[] m_publicComTypeList;
system\reflection\emit\constructorbuilder.cs (11)
38Type[] parameterTypes, Type[][] requiredCustomModifiers, Type[][] optionalCustomModifiers, ModuleBuilder mod, TypeBuilder type) 56Type[] parameterTypes, ModuleBuilder mod, TypeBuilder type) : 64internal override Type[] GetParameterTypes() 99public override Type ReflectedType 104public override Type DeclaringType 160public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 165public override bool IsDefined (Type attributeType, bool inherit) 271public Type ReturnType 277internal override Type GetReturnType()
system\reflection\emit\customattributebuilder.cs (24)
73private bool ValidateType(Type t) 75if (t.IsPrimitive || t == typeof(String) || t == typeof(Type)) 79switch (Type.GetTypeCode(Enum.GetUnderlyingType(t))) 137Type[] paramTypes; 157TypeCode paramTC = Type.GetTypeCode(paramTypes[i]); 158if (paramTC != Type.GetTypeCode(constructorArgs[i].GetType())) 185Type propType = namedProperties[i].PropertyType; 221Type.GetTypeCode(propertyValues[i].GetType()) != Type.GetTypeCode(propType)) 241Type fldType = namedFields[i].FieldType; 273Type.GetTypeCode(fieldValues[i].GetType()) != Type.GetTypeCode(fldType)) 289private void EmitType(BinaryWriter writer, Type type) 293switch (Type.GetTypeCode(type)) 345else if (type == typeof(Type)) 385private void EmitValue(BinaryWriter writer, Type type, Object value) 389switch (Type.GetTypeCode(Enum.GetUnderlyingType(type))) 427else if (type == typeof(Type)) 433String typeName = TypeNameBuilder.ToString((Type)value, TypeNameBuilder.Format.AssemblyQualifiedName); 447Type et = type.GetElementType(); 455switch (Type.GetTypeCode(type)) 504Type ot = value == null ? typeof(String) : value is Type ? typeof(Type) : value.GetType();
system\reflection\emit\dynamicilgenerator.cs (16)
63public override LocalBuilder DeclareLocal(Type localType, bool pinned) 178public override void Emit(OpCode opcode, Type type) 236Type returnType, 237Type[] parameterTypes, 238Type[] optionalParameterTypes) 277Type returnType, 278Type[] parameterTypes) 313public override void EmitCall(OpCode opcode, MethodInfo methodInfo, Type[] optionalParameterTypes) 403public override void BeginCatchBlock(Type exceptionType) 488private int GetMemberRefToken(MethodBase methodInfo, Type[] optionalParameterTypes) 490Type[] parameterTypes; 504parameterTypes = new Type[paramInfo.Length]; 527Type returnType, 528Type[] parameterTypes, 529Type[] optionalParameterTypes) 1240Type t = m.DeclaringType.GetGenericTypeDefinition();
system\reflection\emit\dynamicmethod.cs (40)
80Type returnType, 81Type[] parameterTypes) 100Type returnType, 101Type[] parameterTypes, 125Type returnType, 126Type[] parameterTypes, 149Type returnType, 150Type[] parameterTypes, 176Type returnType, 177Type[] parameterTypes, 201Type returnType, 202Type[] parameterTypes, 203Type owner) { 225Type returnType, 226Type[] parameterTypes, 227Type owner, 252Type returnType, 253Type[] parameterTypes, 254Type owner, 303ConstructorInfo transparencyCtor = typeof(SecurityTransparentAttribute).GetConstructor(Type.EmptyTypes); 317ConstructorInfo securityRulesCtor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) }); 347Type returnType, 348Type[] signature, 349Type owner, 485private void PerformSecurityCheck(Type owner, ref StackCrawlMark stackMark, bool skipVisibility) 532public sealed override Delegate CreateDelegate(Type delegateType) { 548public sealed override Delegate CreateDelegate(Type delegateType, Object target) { 606public override Type DeclaringType { get { return m_dynMethod.DeclaringType; } } 608public override Type ReflectedType { get { return m_dynMethod.ReflectedType; } } 758public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 765public override bool IsDefined(Type attributeType, bool inherit) { return m_dynMethod.IsDefined(attributeType, inherit); } 767public override Type ReturnType { get { return m_dynMethod.ReturnType; } } 884public override Type DeclaringType { 888public override Type ReflectedType { 934public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { 950public override bool IsDefined(Type attributeType, bool inherit) { 976public override Type ReturnType 998Type[] parameterTypes = m_owner.m_parameterTypes; 1019Object[] ICustomAttributeProvider.GetCustomAttributes(Type attributeType, bool inherit) { 1027bool ICustomAttributeProvider.IsDefined (Type attributeType, bool inherit) {
system\reflection\emit\enumbuilder.cs (23)
61public Type CreateType() 132public override Type BaseType { 137CallingConventions callConvention, Type[] types,ParameterModifier[] modifiers) 150CallingConventions callConvention, Type[] types,ParameterModifier[] modifiers) 173public override Type GetInterface(String name, bool ignoreCase) 178public override Type[] GetInterfaces() 194Type returnType, Type[] types, ParameterModifier[] modifiers) 204public override Type[] GetNestedTypes(BindingFlags bindingAttr) 209public override Type GetNestedType(String name, BindingFlags bindingAttr) 225public override InterfaceMapping GetInterfaceMap(Type interfaceType) 277public override Type GetElementType() 291public override Type GetEnumUnderlyingType() 296public override Type UnderlyingSystemType 311public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 334public override Type DeclaringType { 340public override Type ReflectedType { 346public override bool IsDefined (Type attributeType, bool inherit) 365public override Type MakePointerType() 370public override Type MakeByRefType() 375public override Type MakeArrayType() 380public override Type MakeArrayType(int rank) 406Type underlyingType, // underlying type for an Enum
system\reflection\emit\fieldbuilder.cs (9)
30private Type m_fieldType; 35internal FieldBuilder(TypeBuilder typeBuilder, String fieldName, Type type, 36Type[] requiredCustomModifiers, Type[] optionalCustomModifiers, FieldAttributes attributes) 99public override Type DeclaringType 110public override Type ReflectedType 124public override Type FieldType 166public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 172public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\emit\fieldtoken.cs (1)
46internal FieldToken (int field, Type fieldClass) {
system\reflection\emit\generictypeparameterbuilder.cs (28)
55public override Type DeclaringType { get { return m_type.DeclaringType; } } 57public override Type ReflectedType { get { return m_type.ReflectedType; } } 68public override Type MakePointerType() 73public override Type MakeByRefType() 78public override Type MakeArrayType() 83public override Type MakeArrayType(int rank) 119public override Type BaseType { get { return m_type.BaseType; } } 121protected override ConstructorInfo GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 126protected override MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 134public override Type GetInterface(String name, bool ignoreCase) { throw new NotSupportedException(); } 136public override Type[] GetInterfaces() { throw new NotSupportedException(); } 142protected override PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 146public override Type[] GetNestedTypes(BindingFlags bindingAttr) { throw new NotSupportedException(); } 148public override Type GetNestedType(String name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 153public override InterfaceMapping GetInterfaceMap(Type interfaceType) { throw new NotSupportedException(); } 171public override Type GetElementType() { throw new NotSupportedException(); } 175public override Type UnderlyingSystemType { get { return this; } } 177public override Type[] GetGenericArguments() { throw new InvalidOperationException(); } 195public override Type GetGenericTypeDefinition() { throw new InvalidOperationException(); } 197public override Type MakeGenericType(params Type[] typeArguments) { throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericTypeDefinition")); } 201public override bool IsAssignableFrom(Type c) { throw new NotSupportedException(); } 205public override bool IsSubclassOf(Type c) { throw new NotSupportedException(); } 211public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { throw new NotSupportedException(); } 213public override bool IsDefined(Type attributeType, bool inherit) { throw new NotSupportedException(); } 230public void SetBaseTypeConstraint(Type baseTypeConstraint) 237public void SetInterfaceConstraints(params Type[] interfaceConstraints)
system\reflection\emit\ilgenerator.cs (38)
223private int GetMethodToken(MethodBase method, Type[] optionalParameterTypes, bool useMethodDef) 229internal virtual SignatureHelper GetMemberRefSignature(CallingConventions call, Type returnType, 230Type[] parameterTypes, Type[] optionalParameterTypes) 236private SignatureHelper GetMemberRefSignature(CallingConventions call, Type returnType, 237Type[] parameterTypes, Type[] optionalParameterTypes, int cGenericParameters) 519Type returnType, Type[] parameterTypes, Type[] optionalParameterTypes) 561public virtual void EmitCalli(OpCode opcode, CallingConvention unmanagedCallConv, Type returnType, Type[] parameterTypes) 607public virtual void EmitCall(OpCode opcode, MethodInfo methodInfo, Type[] optionalParameterTypes) 627Type[] parameters = methodInfo.GetParameterTypes(); 713Type[] parameters = con.GetParameterTypes(); 724public virtual void Emit(OpCode opcode, Type cls) 1046public virtual void BeginCatchBlock(Type exceptionType) 1161public virtual void ThrowException(Type excType) 1173ConstructorInfo con = excType.GetConstructor(Type.EmptyTypes); 1186Type[] parameterTypes = new Type[1]; 1208Type[] parameterTypes = new Type[1]; 1213parameterTypes[0] = (Type)cls; 1246Type[] parameterTypes = new Type[1]; 1251parameterTypes[0] = (Type)cls; 1262public virtual LocalBuilder DeclareLocal(Type localType) 1267public virtual LocalBuilder DeclareLocal(Type localType, bool pinned) 1416internal Type []m_catchClass; 1446m_catchClass=new Type[4]; 1454private static Type[] EnlargeArray(Type[] incoming) 1456Type[] temp = new Type[incoming.Length * 2]; 1464Type catchClass, // catch exception type 1524internal void MarkCatchAddr(int catchAddr, Type catchException) { 1575internal Type [] GetCatchClass() {
system\reflection\emit\localbuilder.cs (4)
21private Type m_localType; 28internal LocalBuilder(int localIndex, Type localType, MethodInfo methodBuilder) 30internal LocalBuilder(int localIndex, Type localType, MethodInfo methodBuilder, bool isPinned) 52public override Type LocalType
system\reflection\emit\methodbuilder.cs (47)
58internal Type[] m_parameterTypes; 60private Type m_returnType; 61private Type[] m_returnTypeRequiredCustomModifiers; 62private Type[] m_returnTypeOptionalCustomModifiers; 63private Type[][] m_parameterTypeRequiredCustomModifiers; 64private Type[][] m_parameterTypeOptionalCustomModifiers; 73Type returnType, Type[] parameterTypes, ModuleBuilder mod, TypeBuilder type, bool bIsGlobalMethod) 79Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 80Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers, 90Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 91Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers, 109foreach(Type t in parameterTypes) 157m_parameterTypes = new Type[parameterTypes.Length]; 191internal void CheckContext(params Type[][] typess) 196internal void CheckContext(params Type[] types) 217Type[] catchClass; 349internal override Type[] GetParameterTypes() 352m_parameterTypes = EmptyArray<Type>.Value; 357internal static Type GetMethodBaseReturnType(MethodBase method) 398m_parameterTypes = EmptyArray<Type>.Value; 548public override Type DeclaringType 566public override Type ReflectedType 624public override Type ReturnType 664public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 670public override bool IsDefined(Type attributeType, bool inherit) 687public override Type[] GetGenericArguments() { return m_inst; } 689public override MethodInfo MakeGenericMethod(params Type[] typeArguments) 798public void SetParameters (params Type[] parameterTypes) 805public void SetReturnType (Type returnType) 813Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 814Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) 835m_parameterTypes = new Type[parameterTypes.Length]; 1215Type caType = con.DeclaringType; 1223Type caType = con.DeclaringType;
system\reflection\emit\methodbuilderinstantiation.cs (12)
20internal static MethodInfo MakeGenericMethod(MethodInfo method, Type[] inst) 33private Type[] m_inst; 37internal MethodBuilderInstantiation(MethodInfo method, Type[] inst) 44internal override Type[] GetParameterTypes() 52public override Type DeclaringType { get { return m_method.DeclaringType; } } 53public override Type ReflectedType { get { return m_method.ReflectedType; } } 55public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_method.GetCustomAttributes(attributeType, inherit); } 56public override bool IsDefined(Type attributeType, bool inherit) { return m_method.IsDefined(attributeType, inherit); } 58public new Type GetType() { return base.GetType(); } 72public override Type[] GetGenericArguments() { return m_inst; } 92public override MethodInfo MakeGenericMethod(params Type[] arguments) 102public override Type ReturnType
system\reflection\emit\methodrental.cs (1)
49Type cls, // [in] class containing the method
system\reflection\emit\modulebuilder.cs (107)
100private Dictionary<string, Type> m_TypeBuilderDict; 122internal void AddType(string name, Type type) 127internal void CheckTypeNameConflict(String strTypeName, Type enclosingType) 129Type foundType = null; 138private Type GetType(String strFormat, Type baseType) 154internal void CheckContext(params Type[][] typess) 158internal void CheckContext(params Type[] types) 358internal virtual Type FindTypeBuilderWithName(String strTypeName, bool ignoreCase) 370Type foundType; 410foreach (Type item in m_TypeBuilderDict.Values) 482private int GetTypeRefNested(Type type, Module refedModule, String strRefedModuleFileName) 486Type enclosingType = type.DeclaringType; 562Type[] parameterTypes = new Type[count]; 563Type[][] requiredCustomModifiers = new Type[count][]; 564Type[][] optionalCustomModifiers = new Type[count][]; 594m_TypeBuilderDict = new Dictionary<string, Type>(); 659private int GetMemberRefToken(MethodBase method, IEnumerable<Type> optionalParameterTypes) 661Type[] parameterTypes; 662Type returnType; 765internal SignatureHelper GetMemberRefSignature(CallingConventions call, Type returnType, 766Type[] parameterTypes, IEnumerable<Type> optionalParameterTypes, int cGenericParameters) 778foreach (Type type in optionalParameterTypes) 811public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 816public override bool IsDefined(Type attributeType, bool inherit) 829public override Type[] GetTypes() 837internal Type[] GetTypesNoLock() 840Type[] typeList = new Type[m_TypeBuilderDict.Count]; 843foreach (Type builder in m_TypeBuilderDict.Values) 865public override Type GetType(String className) 871public override Type GetType(String className, bool ignoreCase) 877public override Type GetType(String className, bool throwOnError, bool ignoreCase) 885private Type GetTypeNoLock(String className, bool throwOnError, bool ignoreCase) 895Type baseType = InternalModule.GetType(className, throwOnError, ignoreCase); 1017public override MethodBase ResolveMethod(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 1022public override FieldInfo ResolveField(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 1027public override Type ResolveType(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 1032public override MemberInfo ResolveMember(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 1092CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 1159public TypeBuilder DefineType(String name, TypeAttributes attr, Type parent) 1177public TypeBuilder DefineType(String name, TypeAttributes attr, Type parent, int typesize) 1192public TypeBuilder DefineType(String name, TypeAttributes attr, Type parent, PackingSize packingSize, int typesize) 1204public TypeBuilder DefineType(String name, TypeAttributes attr, Type parent, Type[] interfaces) 1215private TypeBuilder DefineTypeNoLock(String name, TypeAttributes attr, Type parent, Type[] interfaces, PackingSize packingSize, int typesize) 1227public TypeBuilder DefineType(String name, TypeAttributes attr, Type parent, PackingSize packsize) 1238private TypeBuilder DefineTypeNoLock(String name, TypeAttributes attr, Type parent, PackingSize packsize) 1252public EnumBuilder DefineEnum(String name, TypeAttributes visibility, Type underlyingType) 1273private EnumBuilder DefineEnumNoLock(String name, TypeAttributes visibility, Type underlyingType) 1462public MethodBuilder DefineGlobalMethod(String name, MethodAttributes attributes, Type returnType, Type[] parameterTypes) 1470Type returnType, Type[] parameterTypes) 1478Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, 1479Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers) 1490Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, 1491Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers) 1523CallingConventions callingConvention, Type returnType, Type[] parameterTypes, 1535CallingConventions callingConvention, Type returnType, Type[] parameterTypes, CallingConvention nativeCallConv, 1551CallingConventions callingConvention, Type returnType, Type[] parameterTypes, CallingConvention nativeCallConv, 1668internal TypeToken GetTypeTokenInternal(Type type) 1674private TypeToken GetTypeTokenInternal(Type type, bool getGenericDefinition) 1683public TypeToken GetTypeToken(Type type) 1691private TypeToken GetTypeTokenWorkerNoLock(Type type, bool getGenericDefinition) 1863Type declaringType = method.DeclaringType; 1876Type[] tt = new Type[paramInfo.Length]; 1894Type[] parameterTypes = new Type[parameters.Length]; 1895Type[][] requiredCustomModifiers = new Type[parameterTypes.Length][]; 1896Type[][] optionalCustomModifiers = new Type[parameterTypes.Length][]; 1932public MethodToken GetConstructorToken(ConstructorInfo constructor, IEnumerable<Type> optionalParameterTypes) 1947public MethodToken GetMethodToken(MethodInfo method, IEnumerable<Type> optionalParameterTypes) 1969internal int GetMethodTokenInternal(MethodBase method, IEnumerable<Type> optionalParameterTypes, bool useMethodDef) 2036public MethodToken GetArrayMethodToken(Type arrayClass, String methodName, CallingConventions callingConvention, 2037Type returnType, Type[] parameterTypes) 2046private MethodToken GetArrayMethodTokenNoLock(Type arrayClass, String methodName, CallingConventions callingConvention, 2047Type returnType, Type[] parameterTypes) 2082public MethodInfo GetArrayMethod(Type arrayClass, String methodName, CallingConventions callingConvention, 2083Type returnType, Type[] parameterTypes)
system\reflection\emit\propertybuilder.cs (7)
47Type returnType, // return type of the property. 231public override Type PropertyType { 251public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 256public override bool IsDefined (Type attributeType, bool inherit) 287public override Type DeclaringType { 291public override Type ReflectedType { 302private Type m_returnType; // property's return type
system\reflection\emit\signaturehelper.cs (62)
31public static SignatureHelper GetMethodSigHelper(Module mod, Type returnType, Type[] parameterTypes) 37internal static SignatureHelper GetMethodSigHelper(Module mod, CallingConventions callingConvention, Type returnType, int cGenericParam) 43public static SignatureHelper GetMethodSigHelper(Module mod, CallingConventions callingConvention, Type returnType) 48internal static SignatureHelper GetMethodSpecSigHelper(Module scope, Type[] inst) 52foreach(Type t in inst) 60Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, 61Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers) 70Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, 71Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers) 102public static SignatureHelper GetMethodSigHelper(Module mod, CallingConvention unmanagedCallConv, Type returnType) 141public static SignatureHelper GetMethodSigHelper(CallingConventions callingConvention, Type returnType) 146public static SignatureHelper GetMethodSigHelper(CallingConvention unmanagedCallingConvention, Type returnType) 161public static SignatureHelper GetPropertySigHelper(Module mod, Type returnType, Type[] parameterTypes) 167Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, 168Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers) 175Type returnType, Type[] requiredReturnTypeCustomModifiers, Type[] optionalReturnTypeCustomModifiers, 176Type[] parameterTypes, Type[][] requiredParameterTypeCustomModifiers, Type[][] optionalParameterTypeCustomModifiers) 198internal static SignatureHelper GetTypeSigToken(Module mod, Type type) 228Type returnType, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers) 241Type returnType, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers) 247private SignatureHelper(Module mod, Type type) 296private void AddOneArgTypeHelper(Type argument, bool pinned) 305private void AddOneArgTypeHelper(Type clsArgument, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers) 317Type t = optionalCustomModifiers[i]; 340Type t = requiredCustomModifiers[i]; 363private void AddOneArgTypeHelper(Type clsArgument) { AddOneArgTypeHelperWorker(clsArgument, false); } 365private void AddOneArgTypeHelperWorker(Type clsArgument, bool lastWasGenericInst) 382Type[] args = clsArgument.GetGenericArguments(); 386foreach (Type t in args) 619private unsafe void InternalAddRuntimeType(Type type) 822public void AddArgument(Type clsArgument) 828public void AddArgument(Type argument, bool pinned) 837public void AddArguments(Type[] arguments, Type[][] requiredCustomModifiers, Type[][] optionalCustomModifiers) 857public void AddArgument(Type argument, Type[] requiredCustomModifiers, Type[] optionalCustomModifiers)
system\reflection\emit\symbolmethod.cs (15)
21private Type m_containingType; 24private Type m_returnType; 26private Type[] m_parameterTypes; 32internal SymbolMethod(ModuleBuilder mod, MethodToken token, Type arrayClass, String methodName, 33CallingConventions callingConvention, Type returnType, Type[] parameterTypes) 48m_parameterTypes = new Type[parameterTypes.Length]; 53m_parameterTypes = EmptyArray<Type>.Value; 67internal override Type[] GetParameterTypes() 85public override Type ReflectedType 87get { return m_containingType as Type; } 95public override Type DeclaringType 131public override Type ReturnType 161public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 166public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\emit\symboltype.cs (26)
34internal static Type FormCompoundType(char[] bFormat, Type baseType, int curIndex) 215internal Type m_baseType; 236internal void SetElementType(Type baseType) 289public override Type MakePointerType() 294public override Type MakeByRefType() 299public override Type MakeArrayType() 304public override Type MakeArrayType(int rank) 350Type baseType; 361Type baseType; 378Type baseType; 414public override Type BaseType 421CallingConventions callConvention, Type[] types,ParameterModifier[] modifiers) 433CallingConventions callConvention, Type[] types,ParameterModifier[] modifiers) 453public override Type GetInterface(String name,bool ignoreCase) 458public override Type[] GetInterfaces() 474Type returnType, Type[] types, ParameterModifier[] modifiers) 484public override Type[] GetNestedTypes(BindingFlags bindingAttr) 489public override Type GetNestedType(String name, BindingFlags bindingAttr) 505public override InterfaceMapping GetInterfaceMap(Type interfaceType) 518Type baseType; 561public override Type GetElementType() 571public override Type UnderlyingSystemType 582public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 587public override bool IsDefined (Type attributeType, bool inherit)
system\reflection\emit\typebuilder.cs (149)
97public static MethodInfo GetMethod(Type type, MethodInfo method) 130public static ConstructorInfo GetConstructor(Type type, ConstructorInfo constructor) 151public static FieldInfo GetField(Type type, FieldInfo field) 332private static bool IsPublicComType(Type type) 339Type enclosingType = type.DeclaringType; 362internal static bool IsTypeEqual(Type t1, Type t2) 369Type runtimeType1 = null; 370Type runtimeType2 = null; 407internal static unsafe void SetConstantValue(ModuleBuilder module, int tk, Type destType, Object value) 414Type type = value.GetType(); 435Type underlyingType; 537private Type m_typeParent; 538private List<Type> m_typeInterfaces; 549private Type m_enumUnderlyingType; 598m_typeInterfaces = new List<Type>(); 605Type parent, 606Type[] interfaces, 616private void Init(String fullname, TypeAttributes attr, Type parent, Type[] interfaces, ModuleBuilder module, 738Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 739Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers, 761Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 762Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers, 880Type temp = m_module.FindTypeBuilderWithName(strValueClassName, false); 1033public override Type DeclaringType 1038public override Type ReflectedType 1120public override Type BaseType 1126CallingConventions callConvention, Type[] types,ParameterModifier[] modifiers) 1146CallingConventions callConvention, Type[] types,ParameterModifier[] modifiers) 1189public override Type GetInterface(String name,bool ignoreCase) 1198public override Type[] GetInterfaces() 1207return EmptyArray<Type>.Value; 1232Type returnType, Type[] types, ParameterModifier[] modifiers) 1246public override Type[] GetNestedTypes(BindingFlags bindingAttr) 1255public override Type GetNestedType(String name, BindingFlags bindingAttr) 1274public override InterfaceMapping GetInterfaceMap(Type interfaceType) 1301public override bool IsAssignableFrom(Type c) 1306Type fromRuntimeType = null; 1337Type[] interfaces = fromTypeBuilder.GetInterfaces(); 1377public override Type GetElementType() 1427public override bool IsSubclassOf(Type c) 1429Type p = this; 1447public override Type UnderlyingSystemType 1468public override Type MakePointerType() 1473public override Type MakeByRefType() 1478public override Type MakeArrayType() 1483public override Type MakeArrayType(int rank) 1518public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 1536public override bool IsDefined(Type attributeType, bool inherit) 1560internal void SetInterfaces(params Type[] interfaces) 1564m_typeInterfaces = new List<Type>(); 1596 public override Type MakeGenericType(params Type[] typeArguments) 1603public override Type[] GetGenericArguments() { return m_inst; } 1613public override Type GetGenericTypeDefinition() { if (IsGenericTypeDefinition) return this; if (m_genTypeDef == null) throw new InvalidOperationException(); return m_genTypeDef; } 1651public MethodBuilder DefineMethod(String name, MethodAttributes attributes, Type returnType, Type[] parameterTypes) 1673Type returnType, Type[] parameterTypes) 1681Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 1682Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) 1695Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 1696Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) 1805Type genericTypeDefinition = m_typeParent.GetGenericTypeDefinition(); 1813Type inst = genericTypeDefinition.MakeGenericType(m_typeParent.GetGenericArguments()); 1817BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.EmptyTypes, null)); 1820BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.EmptyTypes, null); 1825con = m_typeParent.GetConstructor(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.EmptyTypes, null); 1846public ConstructorBuilder DefineConstructor(MethodAttributes attributes, CallingConventions callingConvention, Type[] parameterTypes) 1854Type[] parameterTypes, Type[][] requiredCustomModifiers, Type[][] optionalCustomModifiers) 1869Type[] parameterTypes, Type[][] requiredCustomModifiers, Type[][] optionalCustomModifiers) 1908CallingConventions callingConvention, Type returnType, Type[] parameterTypes, 1923CallingConventions callingConvention, Type returnType, Type[] parameterTypes, 1939Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 1940Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers, 1963public TypeBuilder DefineNestedType(String name, TypeAttributes attr, Type parent, Type[] interfaces) 1976public TypeBuilder DefineNestedType(String name, TypeAttributes attr, Type parent) 1998public TypeBuilder DefineNestedType(String name, TypeAttributes attr, Type parent, int typeSize) 2011public TypeBuilder DefineNestedType(String name, TypeAttributes attr, Type parent, PackingSize packSize) 2024public TypeBuilder DefineNestedType(String name, TypeAttributes attr, Type parent, PackingSize packSize, int typeSize) 2033private TypeBuilder DefineNestedTypeNoLock(String name, TypeAttributes attr, Type parent, Type[] interfaces, PackingSize packSize, int typeSize) 2041public FieldBuilder DefineField(String fieldName, Type type, FieldAttributes attributes) 2047public FieldBuilder DefineField(String fieldName, Type type, Type[] requiredCustomModifiers, 2048Type[] optionalCustomModifiers, FieldAttributes attributes) 2057private FieldBuilder DefineFieldNoLock(String fieldName, Type type, Type[] requiredCustomModifiers, 2058Type[] optionalCustomModifiers, FieldAttributes attributes) 2128public PropertyBuilder DefineProperty(String name, PropertyAttributes attributes, Type returnType, Type[] parameterTypes) 2134CallingConventions callingConvention, Type returnType, Type[] parameterTypes) 2141Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 2142Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) 2151Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 2152Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) 2163Type returnType, Type[] returnTypeRequiredCustomModifiers, Type[] returnTypeOptionalCustomModifiers, 2164Type[] parameterTypes, Type[][] parameterTypeRequiredCustomModifiers, Type[][] parameterTypeOptionalCustomModifiers) 2212public EventBuilder DefineEvent(String name, EventAttributes attributes, Type eventtype) 2221private EventBuilder DefineEventNoLock(String name, EventAttributes attributes, Type eventtype) 2272public Type CreateType() 2280internal void CheckContext(params Type[][] typess) 2284internal void CheckContext(params Type[] types) 2298m_typeInterfaces = new List<Type>(); 2352foreach (Type tb in m_inst) 2484public void SetParent(Type parent) 2516public void AddInterfaceImplementation(Type interfaceType)
system\reflection\emit\typebuilderinstantiation.cs (41)
25internal static Type MakeGenericType(Type type, Type[] typeArguments) 36foreach (Type t in typeArguments) 48private Type m_type; 49private Type[] m_inst; 56private TypeBuilderInstantiation(Type type, Type[] inst) 72public override Type DeclaringType { get { return m_type.DeclaringType; } } 74public override Type ReflectedType { get { return m_type.ReflectedType; } } 82public override Type MakePointerType() 86public override Type MakeByRefType() 90public override Type MakeArrayType() 94public override Type MakeArrayType(int rank) 122private Type Substitute(Type[] substitutes) 124Type[] inst = GetGenericArguments(); 125Type[] instSubstituted = new Type[inst.Length]; 129Type t = inst[i]; 148public override Type BaseType 158Type typeBldrBase = m_type.BaseType; 171protected override ConstructorInfo GetConstructorImpl(BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 175protected override MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 179public override Type GetInterface(String name, bool ignoreCase) { throw new NotSupportedException(); } 180public override Type[] GetInterfaces() { throw new NotSupportedException(); } 183protected override PropertyInfo GetPropertyImpl(String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 185public override Type[] GetNestedTypes(BindingFlags bindingAttr) { throw new NotSupportedException(); } 186public override Type GetNestedType(String name, BindingFlags bindingAttr) { throw new NotSupportedException(); } 190public override InterfaceMapping GetInterfaceMap(Type interfaceType) { throw new NotSupportedException(); } 199public override Type GetElementType() { throw new NotSupportedException(); } 201public override Type UnderlyingSystemType { get { return this; } } 202public override Type[] GetGenericArguments() { return m_inst; } 223public override Type GetGenericTypeDefinition() { return m_type; } 224public override Type MakeGenericType(params Type[] inst) { throw new InvalidOperationException(Environment.GetResourceString("Arg_NotGenericTypeDefinition")); } 225public override bool IsAssignableFrom(Type c) { throw new NotSupportedException(); } 229public override bool IsSubclassOf(Type c) 238public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { throw new NotSupportedException(); } 240public override bool IsDefined(Type attributeType, bool inherit) { throw new NotSupportedException(); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (25)
42internal override Type[] GetParameterTypes() 50public override Type DeclaringType { get { return m_type; } } 51public override Type ReflectedType { get { return m_type; } } 53public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_method.GetCustomAttributes(attributeType, inherit); } 54public override bool IsDefined(Type attributeType, bool inherit) { return m_method.IsDefined(attributeType, inherit); } 71public new Type GetType() { return base.GetType(); } 85public override Type [] GetGenericArguments() { return m_method.GetGenericArguments(); } 89public override MethodInfo MakeGenericMethod(params Type[] typeArgs) 103public override Type ReturnType { get { return m_method.ReturnType; } } 134internal override Type[] GetParameterTypes() 139internal override Type GetReturnType() 147public override Type DeclaringType { get { return m_type; } } 148public override Type ReflectedType { get { return m_type; } } 150public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_ctor.GetCustomAttributes(attributeType, inherit); } 151public override bool IsDefined(Type attributeType, bool inherit) { return m_ctor.IsDefined(attributeType, inherit); } 168public new Type GetType() { return base.GetType(); } 182public override Type[] GetGenericArguments() { return m_ctor.GetGenericArguments(); } 248public override Type DeclaringType { get { return m_type; } } 249public override Type ReflectedType { get { return m_type; } } 251public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { return m_field.GetCustomAttributes(attributeType, inherit); } 252public override bool IsDefined(Type attributeType, bool inherit) { return m_field.IsDefined(attributeType, inherit); } 269public new Type GetType() { return base.GetType(); } 273public override Type[] GetRequiredCustomModifiers() { return m_field.GetRequiredCustomModifiers(); } 274public override Type[] GetOptionalCustomModifiers() { return m_field.GetOptionalCustomModifiers(); } 287public override Type FieldType { get { throw new NotImplementedException(); } }
system\reflection\eventinfo.cs (10)
159public virtual Type EventHandlerType 167Type del = typeof(Delegate); 171Type c = p[i].ParameterType; 191Type cl = EventHandlerType; 192Type mc = typeof(MulticastDelegate); 199Type _EventInfo.GetType() 309public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 324public override bool IsDefined(Type attributeType, bool inherit) 357public override Type DeclaringType { get { return m_declaringType; } } 358public override Type ReflectedType
system\reflection\fieldinfo.cs (21)
45Type declaringType = f.DeclaringType; 104public virtual Type[] GetRequiredCustomModifiers() 109public virtual Type[] GetOptionalCustomModifiers() 128public abstract Type FieldType { get; } 150SetValue(obj, value, BindingFlags.Default, Type.DefaultBinder, null); 195Type _FieldInfo.GetType() 297public override Type ReflectedType 305public override Type DeclaringType 332public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 347public override bool IsDefined(Type attributeType, bool inherit) 436Type declaringType = DeclaringType; 469Type fieldType = FieldType; 787Type declaringType = DeclaringType; 807public override Type FieldType 820public override Type[] GetRequiredCustomModifiers() 826public override Type[] GetOptionalCustomModifiers() 938public override Type FieldType 955public override Type[] GetRequiredCustomModifiers() 957return EmptyArray<Type>.Value; 960public override Type[] GetOptionalCustomModifiers() 962return EmptyArray<Type>.Value;
system\reflection\icustomattributeprovider.cs (2)
27Object[] GetCustomAttributes(Type attributeType, bool inherit); 35bool IsDefined (Type attributeType, bool inherit);
system\reflection\interfacemapping.cs (2)
23public Type TargetType; // The type implementing the interface 25public Type InterfaceType; // The type representing the interface
system\reflection\introspectionextensions.cs (1)
24 public static TypeInfo GetTypeInfo(this Type type){
system\reflection\ireflect.cs (4)
34Type[] types,ParameterModifier[] modifiers); 66Type returnType, 67Type[] types, 117Type UnderlyingSystemType {
system\reflection\memberinfo.cs (10)
43public abstract Type DeclaringType { get; } 45public abstract Type ReflectedType { get; } 56public abstract Object[] GetCustomAttributes(Type attributeType, bool inherit); 58public abstract bool IsDefined(Type attributeType, bool inherit); 71if (this is Type) 72return ((Type)this).Module; 91Type type1, type2; 97if ((type1 = left as Type) != null && (type2 = right as Type) != null) 129Type _MemberInfo.GetType()
system\reflection\memberinfoserializationholder.cs (5)
33Type[] genericArguments) 49info.AddValue("GenericArguments", genericArguments, typeof(Type[])); 207Type[] genericArguments = m_info.GetValueNoThrow("GenericArguments", typeof(Type[])) as Type[];
system\reflection\methodbase.cs (9)
69Type declaringType = m.DeclaringType; 184public virtual Type[] GetGenericArguments() { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 264internal static string ConstructParameters(Type[] parameterTypes, CallingConventions callingConvention, bool serialization) 271Type t = parameterTypes[i]; 326internal virtual Type[] GetParameterTypes() 330Type[] parameterTypes = new Type[paramInfo.Length]; 350if (arg == Type.Missing) 367Type _MethodBase.GetType() { return base.GetType(); }
system\reflection\methodbody.cs (4)
64public virtual Type CatchType 71Type type = null; 75Type declaringType = m_methodBody.m_methodBase.DeclaringType; 165public virtual Type LocalType { get { Contract.Assert(m_type != null, "type must be set!"); return m_type; } }
system\reflection\methodinfo.cs (29)
79public virtual Type ReturnType { get { throw new NotImplementedException(); } } 88public override Type[] GetGenericArguments() { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 93public virtual MethodInfo MakeGenericMethod(params Type[] typeArguments) { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 95public virtual Delegate CreateDelegate(Type delegateType) { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 96public virtual Delegate CreateDelegate(Type delegateType, Object target) { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 100Type _MethodInfo.GetType() 166foreach (Type t in GetGenericArguments()) 194Type declaringType = DeclaringType; 222Type[] genericArguments = GetGenericArguments(); 454Type[] lhs = GetGenericArguments(); 455Type[] rhs = mi.GetGenericArguments(); 484public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 498public override bool IsDefined(Type attributeType, bool inherit) 531public override Type DeclaringType 542public override Type ReflectedType 620Type declaringType = DeclaringType; 672Type declaringType = DeclaringType; 804public override Type ReturnType 853public override Delegate CreateDelegate(Type delegateType) 873public override Delegate CreateDelegate(Type delegateType, Object target) 890private Delegate CreateDelegateInternal(Type delegateType, Object firstArgument, DelegateBindingFlags bindingFlags, ref StackCrawlMark stackMark) 917public override MethodInfo MakeGenericMethod(params Type[] methodInstantiation) 931Type methodInstantiationElem = methodInstantiation[i]; 940Type[] methodInstantiationCopy = new Type[methodInstantiation.Length]; 975public override Type[] GetGenericArguments() 977Type[] types = RuntimeMethodHandle.GetMethodInstantiationPublic(this); 981types = EmptyArray<Type>.Value; 1015Type[] pis = GetGenericArguments();
system\reflection\module.cs (45)
146public virtual Object[] GetCustomAttributes(Type attributeType, bool inherit) 151public virtual bool IsDefined(Type attributeType, bool inherit) 168public virtual MethodBase ResolveMethod(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 185public virtual FieldInfo ResolveField(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 197public Type ResolveType(int metadataToken) 202public virtual Type ResolveType(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 219public virtual MemberInfo ResolveMember(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 289public virtual Type GetType(String className, bool ignoreCase) 295public virtual Type GetType(String className) { 300public virtual Type GetType(String className, bool throwOnError, bool ignoreCase) 318public virtual Type[] FindTypes(TypeFilter filter,Object filterCriteria) 320Type[] c = GetTypes(); 331Type[] ret = new Type[cnt]; 340public virtual Type[] GetTypes() 439String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 457public MethodInfo GetMethod(String name, Type[] types) 486CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 643private static RuntimeTypeHandle[] ConvertToTypeHandleArray(Type[] genericArguments) 652Type typeArg = genericArguments[i]; 693public override MethodBase ResolveMethod(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 723Type declaringType = RuntimeMethodHandle.GetDeclaringType(methodHandle); 744private FieldInfo ResolveLiteralField(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 758Type declaringType = ResolveType(tkDeclaringType, genericTypeArguments, genericMethodArguments); 776public override FieldInfo ResolveField(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 831public override Type ResolveType(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 850Type t = GetModuleHandle().ResolveTypeHandle(metadataToken, typeArgs, methodArgs).GetRuntimeType(); 864public override MemberInfo ResolveMember(int metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) 958CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 964CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 1017public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 1032public override bool IsDefined(Type attributeType, bool inherit) 1066public override Type GetType(String className, bool throwOnError, bool ignoreCase) 1116public override Type[] GetTypes()
system\reflection\parameterinfo.cs (18)
32protected Type ClassImpl; 75public virtual Type ParameterType 130public virtual Type[] GetRequiredCustomModifiers() 132return EmptyArray<Type>.Value; 135public virtual Type[] GetOptionalCustomModifiers() 137return EmptyArray<Type>.Value; 161public virtual Object[] GetCustomAttributes(Type attributeType, bool inherit) 170public virtual bool IsDefined(Type attributeType, bool inherit) 371private static readonly Type s_DecimalConstantAttributeType = typeof(DecimalConstantAttribute); 372private static readonly Type s_CustomConstantAttributeType = typeof(CustomConstantAttribute); 492internal RuntimeParameterInfo(MethodInfo owner, String name, Type parameterType, int position) 507public override Type ParameterType 591defaultValue = Type.Missing; 651Type attrType = attr.Constructor.DeclaringType; 716public override Type[] GetRequiredCustomModifiers() 721public override Type[] GetOptionalCustomModifiers() 737public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 755public override bool IsDefined(Type attributeType, bool inherit)
system\reflection\pointer.cs (1)
43public static unsafe Object Box(void *ptr,Type type) {
system\reflection\propertyinfo.cs (13)
82public abstract Type PropertyType { get; } 132public virtual Type[] GetRequiredCustomModifiers() { return EmptyArray<Type>.Value; } 134public virtual Type[] GetOptionalCustomModifiers() { return EmptyArray<Type>.Value; } 162Type _PropertyInfo.GetType() 378public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 393public override bool IsDefined(Type attributeType, bool inherit) 426public override Type DeclaringType 434public override Type ReflectedType 460public override Type[] GetRequiredCustomModifiers() 465public override Type[] GetOptionalCustomModifiers() 507public override Type PropertyType
system\reflection\reflectiontypeloadexception.cs (7)
29private Type[] _classes; 43public ReflectionTypeLoadException(Type[] classes, Exception[] exceptions) : base(null) 50public ReflectionTypeLoadException(Type[] classes, Exception[] exceptions, String message) : base(message) 58_classes = (Type[])(info.GetValue("Types", typeof(Type[]))); 62public Type[] Types { 77info.AddValue("Types", _classes, typeof(Type[]));
system\reflection\RuntimeReflectionExtensions.cs (11)
10private static void CheckAndThrow(Type t) 22public static IEnumerable<PropertyInfo> GetRuntimeProperties(this Type type) 27public static IEnumerable<EventInfo> GetRuntimeEvents(this Type type) 33public static IEnumerable<MethodInfo> GetRuntimeMethods(this Type type) 39public static IEnumerable<FieldInfo> GetRuntimeFields(this Type type) 45public static PropertyInfo GetRuntimeProperty(this Type type, string name) 50public static EventInfo GetRuntimeEvent(this Type type, string name) 55public static MethodInfo GetRuntimeMethod(this Type type, string name, Type[] parameters) 60public static FieldInfo GetRuntimeField(this Type type, string name) 70public static InterfaceMapping GetRuntimeInterfaceMap(this TypeInfo typeInfo, Type interfaceType)
system\reflection\typedelegator.cs (16)
27protected Type typeImpl; 34public TypeDelegator(Type delegatingType) { 84public override Type BaseType { 89CallingConventions callConvention, Type[] types,ParameterModifier[] modifiers) 101CallingConventions callConvention, Type[] types,ParameterModifier[] modifiers) 126public override Type GetInterface(String name, bool ignoreCase) 131public override Type[] GetInterfaces() 147Type returnType, Type[] types, ParameterModifier[] modifiers) 165public override Type[] GetNestedTypes(BindingFlags bindingAttr) 170public override Type GetNestedType(String name, BindingFlags bindingAttr) 228public override Type GetElementType() 238public override Type UnderlyingSystemType 249public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 254public override bool IsDefined(Type attributeType, bool inherit) 260public override InterfaceMapping GetInterfaceMap(Type interfaceType)
system\reflection\typefilter.cs (1)
22public delegate bool TypeFilter(Type m, Object filterCriteria);
system\reflection\typeinfo.cs (21)
37public virtual Type AsType(){ 38return (Type)this; 41public virtual Type[] GenericTypeParameters{ 47return Type.EmptyTypes; 72Type[] constraints = GetGenericParameterConstraints(); 87return GetEvent(name, Type.DeclaredOnlyLookup); 91return GetField(name, Type.DeclaredOnlyLookup); 95return GetMethod(name, Type.DeclaredOnlyLookup); 100foreach (MethodInfo method in GetMethods(Type.DeclaredOnlyLookup)) 108var nt=GetNestedType(name, Type.DeclaredOnlyLookup); 117return GetProperty(name, Type.DeclaredOnlyLookup); 130return GetConstructors(Type.DeclaredOnlyLookup); 138return GetEvents(Type.DeclaredOnlyLookup); 146return GetFields(Type.DeclaredOnlyLookup); 154return GetMembers(Type.DeclaredOnlyLookup); 162return GetMethods(Type.DeclaredOnlyLookup); 169foreach (var t in GetNestedTypes(Type.DeclaredOnlyLookup)){ 179return GetProperties(Type.DeclaredOnlyLookup); 184public virtual IEnumerable<Type> ImplementedInterfaces
system\resources\manifestbasedresourcegroveler.cs (7)
185resName = _mediator.LocationInfo.Namespace + Type.Delimiter + defaultResName; 348Type readerType = Type.GetType(readerTypeName, true); 363Type resSetType; 367resSetType = Type.GetType(resSetTypeName, true, false); 468sb.Append(Type.Delimiter); 685resName = _mediator.LocationInfo.Namespace + Type.Delimiter;
system\resources\resourcemanager.cs (13)
194private Type _locationInfo; // For Assembly or type-based directory layout 195private Type _userResourceSet; // Which ResourceSet instance to create 259private static readonly Type _minResourceSet = typeof(ResourceSet); 309private ResourceManager(String baseName, String resourceDir, Type usingResourceSet) { 384public ResourceManager(String baseName, Assembly assembly, Type usingResourceSet) 420public ResourceManager(Type resourceSource) 529outputResName = _locationInfo.Namespace + Type.Delimiter + defaultResName; 555public virtual Type ResourceSetType { 618public static ResourceManager CreateFileBasedResourceManager(String baseName, String resourceDir, Type usingResourceSet) 1016Type WinRTResourceManagerType = Type.GetType("System.Resources.WindowsRuntimeResourceManager, " + AssemblyRef.SystemRuntimeWindowsRuntime, true); 1626internal Type LocationInfo 1631internal Type UserResourceSet
system\resources\resourcereader.cs (4)
1088_typeTable[typeIndex] = (RuntimeType)Type.GetType(typeName, true); 1132RuntimeType resourceType = (RuntimeType)Type.GetType(typeName, false); 1300public override Type BindToType(string assemblyName, string typeName) 1316Type t = ObjectReader.FastBindToType(assemblyName, typeName);
system\resources\resourceset.cs (2)
184public virtual Type GetDefaultReader() 193public virtual Type GetDefaultWriter()
system\resources\resourcewriter.cs (3)
49private Func<Type, String> typeConverter; 52public Func<Type, String> TypeNameConverter 530Type type = value.GetType();
system\rttype.cs (89)
877Type[] interfaces = ReflectedType.BaseType.GetInterfaces(); 888Type[] interfaces = RuntimeTypeHandle.GetInterfaces(ReflectedType); 1040private static void AddElementTypes(Type template, IList<Type> types) 1072Type[] iFaces = iList.GetInterfaces(); 1093Type[] ifaces = RuntimeTypeHandle.GetInterfaces(declaringType); 1132Type[] constraints = declaringType.GetGenericParameterConstraints(); 1141Type[] temp = constraint.GetInterfaces(); 1713Type type = m_runtimeType; 1767s_SICtorParamTypes = new Type[] { typeof(SerializationInfo), typeof(StreamingContext) }; 1786Type DefaultMemberAttrType = typeof(DefaultMemberAttribute); 2234if (definition is Type) 2255Type genericArgument = genericArguments[i]; 2256Type genericParameter = genericParamters[i]; 2481Type type, BindingFlags bindingFlags, string name, bool prefixLookup, string ns) 2500RuntimeMethodInfo method, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes) 2507RuntimeConstructorInfo constructor, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes) 2516MethodBase methodBase, BindingFlags methodFlags, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes) 2669foreach (Type t in GetGenericArguments()) 2719private static Type[] s_SICtorParamTypes; 2805Type[] types, bool allowPrefixLookup) 2829Type[] types, bool allowPrefixLookup) 2853String name, BindingFlags bindingAttr, Type[] types, bool allowPrefixLookup) 3016private ListBuilder<Type> GetNestedTypeCandidates(String fullname, BindingFlags bindingAttr, bool allowPrefixLookup) 3027ListBuilder<Type> candidates = new ListBuilder<Type>(cache.Length); 3103public override Type[] GetInterfaces() 3106Type[] interfaces = new Type[candidates.Length]; 3113public override Type[] GetNestedTypes(BindingFlags bindingAttr) 3125ListBuilder<Type> nestedTypes = GetNestedTypeCandidates(null, bindingAttr, false); 3149public override InterfaceMapping GetInterfaceMap(Type ifaceType) 3212Type[] types, ParameterModifier[] modifiers) 3252Type[] types, ParameterModifier[] modifiers) 3281String name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) 3390public override Type GetInterface(String fullname, bool ignoreCase) 3426public override Type GetNestedType(String fullname, BindingFlags bindingAttr) 3467ListBuilder<Type> nestedTypes = new ListBuilder<Type>(); 3631typeCode = Type.GetTypeCode(Enum.GetUnderlyingType(this)); 3677public override bool IsSubclassOf(Type type) 3710public override bool IsAssignableFrom(Type c) 3740Type[] constraints = GetGenericParameterConstraints(); 3755public override bool IsEquivalentTo(Type other) 3770public override Type BaseType 3785Type[] constraints = GetGenericParameterConstraints(); 3823public override Type UnderlyingSystemType 4052public override Type GetElementType() 4097public override Type GetEnumUnderlyingType() 4136if (Type.IsIntegerType(valueType)) 4165Type valueType = value.GetType(); 4190public override Type[] GetGenericArguments() 4192Type[] types = GetRootElementType().GetTypeHandleInternal().GetInstantiationPublic(); 4195types = EmptyArray<Type>.Value; 4201public override Type MakeGenericType(Type[] instantiation) 4218Type instantiationElem = instantiation[i]; 4226Type[] instantiationCopy = new Type[instantiation.Length]; 4240Type ret = null; 4276public override Type GetGenericTypeDefinition() 4300public override Type[] GetGenericParameterConstraints() 4306Type[] constraints = new RuntimeTypeHandle(this).GetConstraints(); 4309constraints = EmptyArray<Type>.Value; 4317public override Type MakePointerType() { return new RuntimeTypeHandle(this).MakePointer(); } 4318public override Type MakeByRefType() { return new RuntimeTypeHandle(this).MakeByRef(); } 4319public override Type MakeArrayType() { return new RuntimeTypeHandle(this).MakeSZArray(); } 4320public override Type MakeArrayType(int rank) 4372Type type = null; 4452if (binder != null && binder != Type.DefaultBinder) 4844if (!FilterApplyMethodInfo((RuntimeMethodInfo)semiFinalist, bindingFlags, CallingConventions.Any, new Type[argCnt])) 4898if (!FilterApplyMethodInfo((RuntimeMethodInfo)semiFinalist, bindingFlags, CallingConventions.Any, new Type[argCnt])) 5034public override Object[] GetCustomAttributes(Type attributeType, bool inherit) 5049public override bool IsDefined(Type attributeType, bool inherit) 5094Type elementType = GetRootElementType(); 5132public override Type DeclaringType 5140public override Type ReflectedType 5169Type elementType = this.GetRootElementType(); 5223Type[] argsType = new Type[argCnt]; 5396ConstructorInfo ctorInfo = typeof(CtorDelegate).GetConstructor(new Type[] {typeof(Object), typeof(IntPtr)}); 5584internal static extern Type GetTypeFromProgIDImpl(String progID, String server, bool throwOnError); 5589internal static extern Type GetTypeFromCLSIDImpl(Guid clsid, String server, bool throwOnError); 5666Type paramType = aParams[i].ParameterType.GetElementType(); 5676Type retType = meth.ReturnType; 5699Type wrapperType = null; 5735wrapperCons = wrapperType.GetConstructor(new Type[] {typeof(String)}); 5739wrapperCons = wrapperType.GetConstructor(new Type[] {typeof(Object)});
system\runtime\compilerservices\AsyncStateMachineAttribute.cs (1)
14public AsyncStateMachineAttribute(Type stateMachineType)
system\runtime\compilerservices\fixedbufferattribute.cs (3)
24private Type elementType; 27public FixedBufferAttribute(Type elementType, int length) 33public Type ElementType {
system\runtime\compilerservices\IteratorStateMachineAttribute.cs (1)
14public IteratorStateMachineAttribute(Type stateMachineType)
system\runtime\compilerservices\requiredattributeattribute.cs (3)
16private Type requiredContract; 18public RequiredAttributeAttribute (Type requiredContract) 22public Type RequiredContract
system\runtime\compilerservices\StateMachineAttribute.cs (2)
14public Type StateMachineType { get; private set; } 16public StateMachineAttribute(Type stateMachineType)
system\runtime\compilerservices\TypeForwardedToAttribute.cs (4)
16private Type _destination; 18public TypeForwardedToAttribute(Type destination) 23public Type Destination 33Type[] types = null;
system\runtime\designerservices\windowsruntimedesignercontext.cs (1)
154public Type GetType(String typeName)
system\runtime\interopservices\attributes.cs (28)
103internal Type _val; 105public ComDefaultInterfaceAttribute(Type defaultInterface) 110public Type Value { get { return _val; } } 156public TypeLibImportClassAttribute(Type importClass) 253public ComSourceInterfacesAttribute(Type sourceInterface) 257public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2) 261public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, Type sourceInterface3) 265public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, Type sourceInterface3, Type sourceInterface4) 618public Type SafeArrayUserDefinedSubType; 633public Type MarshalTypeRef; // Type of marshaler class 1015internal Type _CoClass; 1017public CoClassAttribute(Type coClass) 1022public Type CoClass { get { return _CoClass; } } 1029internal Type _SourceInterface; 1030internal Type _EventProvider; 1032public ComEventInterfaceAttribute(Type SourceInterface, Type EventProvider) 1038public Type SourceInterface { get {return _SourceInterface;} } 1039public Type EventProvider { get {return _EventProvider;} } 1125internal Type _classType; 1128public ManagedToNativeComInteropStubAttribute(Type classType, String methodName) 1134public Type ClassType { get { return _classType; } }
system\Runtime\InteropServices\ComEventsMethod.cs (3)
42private Type[] _cachedTargetTypes; 77Type[] enumTypes = new Type[_expectedParamsCount];
system\runtime\interopservices\ComTypes\ireflect.cs (4)
29Type[] types,ParameterModifier[] modifiers); 51Type returnType, 52Type[] types, 75Type UnderlyingSystemType
system\runtime\interopservices\icustomfactory.cs (1)
15MarshalByRefObject CreateInstance(Type serverType);
system\runtime\interopservices\iexception.cs (1)
36Type GetType ();
system\runtime\interopservices\iregistrationservices.cs (5)
43Type[] GetRegistrableTypesInAssembly(Assembly assembly); 46String GetProgIdForType(Type type); 49void RegisterTypeForComClients(Type type, ref Guid g); 54bool TypeRequiresRegistration(Type type); 56bool TypeRepresentsComType(Type type);
system\runtime\interopservices\marshal.cs (40)
215public static int SizeOf(Type t) 259internal static extern uint SizeOfType(Type type); 266private static extern uint AlignedSizeOfType(Type type); 274internal static extern int SizeOfHelper(Type t, bool throwIfNotMarshalable); 279public static IntPtr OffsetOf(Type t, String fieldName) 878public static void PrelinkAll(Type c) 973public static Object PtrToStructure(IntPtr ptr, Type structureType) 1017public static extern void DestroyStructure(IntPtr ptr, Type structuretype); 1587private static extern Type GetLoadedTypeForGUID(ref Guid guid); 1594public static Type GetTypeForITypeInfo(IntPtr /* ITypeInfo* */ piTypeInfo) 1598Type TypeObj = null; 1678public static Type GetTypeFromCLSID(Guid clsid) 1689public static extern IntPtr /* ITypeInfo* */ GetITypeInfoForType(Type t); 1750public static IntPtr /* IUnknown* */ GetComInterfaceForObject(Object o, Type T) 1767public static IntPtr /* IUnknown* */ GetComInterfaceForObject(Object o, Type T, CustomQueryInterfaceMode mode) 1780public static IntPtr /* IUnknown* */ GetComInterfaceForObjectInContext(Object o, Type t) 1787private static extern IntPtr /* IUnknown* */ GetComInterfaceForObjectNative(Object o, Type t, bool onlyInContext, bool fEnalbeCustomizedQueryInterface); 1818public static extern Object GetTypedObjectForIUnknown(IntPtr /* IUnknown* */ pUnk, Type t); 2088public static Object CreateWrapperOfType(Object o, Type t) 2146private static extern Object InternalCreateWrapperOfType(Object o, Type t); 2165public static extern bool IsTypeVisibleFromCom(Type t); 2268public static extern int GetStartComSlot(Type t); 2276public static extern int GetEndComSlot(Type t); 2288public static extern MemberInfo GetMethodInfoForComSlot(Type t, int slot, ref ComMemberType memberType); 2323public static Guid GenerateGuidForType(Type type) 2333private static extern void FCallGenerateGuidForType(ref Guid result, Type type); 2342public static String GenerateProgIdForType(Type type) 2480Type t = sys.GetType("System.ComponentModel.LicenseManager"); 2509internal static extern object GetNativeActivationFactory(Type type); 2547internal static System.Type GetCachedWinRTTypeByIid( 2555System.Type res = Type.GetTypeFromHandleUnsafe(rthHandle); 2573internal static System.Type[] GetCachedWinRTTypes( 2583System.Type[] result = new System.Type[res.Length]; 2586result[i] = Type.GetTypeFromHandleUnsafe(res[i]); 2593internal static System.Type[] GetCachedWinRTTypes( 2604public static Delegate GetDelegateForFunctionPointer(IntPtr ptr, Type t) 2620Type c = t.BaseType; 2635internal static extern Delegate GetDelegateForFunctionPointerInternal(IntPtr ptr, Type t);
system\runtime\interopservices\registrationservices.cs (30)
128Type[] aTypes = GetRegistrableTypesInAssembly(assembly); 179Type[] aTypes = GetRegistrableTypesInAssembly(assembly); 222public virtual Type[] GetRegistrableTypesInAssembly(Assembly assembly) 233Type[] aTypes = assembly.GetExportedTypes(); 242Type CurrentType = aTypes[cTypes]; 248Type[] RetArray = new Type[TypeList.Count]; 254public virtual String GetProgIdForType(Type type) 260public virtual void RegisterTypeForComClients(Type type, ref Guid g) 284public virtual bool TypeRequiresRegistration(Type type) 290public virtual bool TypeRepresentsComType(Type type) 302Type baseComImportType = GetBaseComImportType(type); 316public virtual int RegisterTypeForComClients(Type type, RegistrationClassContext classContext, RegistrationConnectionType flags) 348internal static bool TypeRequiresRegistrationHelper(Type type) 360if (!type.IsValueType && type.GetConstructor(BindingFlags.Instance | BindingFlags.Public,null,new Type[0],null) == null) 375private void RegisterValueType(Type type, String strAsmName, String strAsmVersion, String strAsmCodeBase, String strRuntimeVersion) 409private void RegisterManagedType(Type type, String strAsmName, String strAsmVersion, String strAsmCodeBase, String strRuntimeVersion) 497private void RegisterComImportedType(Type type, String strAsmName, String strAsmVersion, String strAsmCodeBase, String strRuntimeVersion) 541private bool UnregisterValueType(Type type, String strAsmVersion) 600private bool UnregisterManagedType(Type type,String strAsmVersion) 796private bool UnregisterComImportedType(Type type, String strAsmVersion) 994private void CallUserDefinedRegistrationMethod(Type type, bool bRegister) 1000Type RegFuncAttrType = null; 1006for(Type currType = type; !bFunctionCalled && currType != null; currType = currType.BaseType) 1034(aParams[0].ParameterType != typeof(String) && aParams[0].ParameterType != typeof(Type))) 1074private Type GetBaseComImportType(Type type) 1080private bool IsRegisteredAsValueType(Type type) 1099private static extern void RegisterTypeForComClientsNative(Type type,ref Guid g); 1106private static extern int RegisterTypeForComClientsExNative(Type t, RegistrationClassContext clsContext, RegistrationConnectionType flags);
system\runtime\interopservices\tceadaptergen\eventitfinfo.cs (4)
27public Type GetEventItfType() 29Type t = m_asmImport.GetType(m_strEventItfName, true, false); 35public Type GetSrcItfType() 37Type t = m_asmSrcItf.GetType(m_strSrcItfName, true, false);
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (31)
20private readonly Type[] MonitorEnterParamTypes = new Type[] { typeof(Object), Type.GetType("System.Boolean&") }; 22public EventProviderWriter( ModuleBuilder OutputModule, String strDestTypeName, Type EventItfType, Type SrcItfType, Type SinkHelperType ) 31public Type Perform() 38new Type[]{m_EventItfType, typeof(IDisposable)} 94private MethodBuilder DefineAddEventMethod( TypeBuilder OutputTypeBuilder, MethodInfo SrcItfMethod, Type SinkHelperClass, FieldBuilder fbSinkHelperArray, FieldBuilder fbEventCP, MethodBuilder mbInitSrcItf ) 96Type[] aParamTypes; 107ConstructorInfo SinkHelperCons = SinkHelperClass.GetConstructor(EventProviderWriter.DefaultLookup | BindingFlags.NonPublic, null, new Type[0], null ); 115aParamTypes = new Type[1]; 130Type[] parameterTypes; 131parameterTypes = new Type[1]; 237private MethodBuilder DefineRemoveEventMethod( TypeBuilder OutputTypeBuilder, MethodInfo SrcItfMethod, Type SinkHelperClass, FieldBuilder fbSinkHelperArray, FieldBuilder fbEventCP ) 239Type[] aParamTypes; 250aParamTypes = new Type[1]; 290Type[] parameterTypes; 291parameterTypes = new Type[1]; 463private MethodBuilder DefineInitSrcItfMethod( TypeBuilder OutputTypeBuilder, Type SourceInterface, FieldBuilder fbSinkHelperArray, FieldBuilder fbEventCP, FieldBuilder fbCPC ) 466ConstructorInfo DefaultArrayListCons = typeof(ArrayList).GetConstructor(EventProviderWriter.DefaultLookup, null, new Type[0], null ); 473Type[] aParamTypes = new Type[1]; 556ConstructorInfo DefaultBaseClsCons = typeof(Object).GetConstructor(BindingFlags.Instance | BindingFlags.Public, null, new Type[0], null ); 565new Type[]{typeof(Object)} ); 584private MethodBuilder DefineFinalizeMethod( TypeBuilder OutputTypeBuilder, Type SinkHelperClass, FieldBuilder fbSinkHelper, FieldBuilder fbEventCP ) 615Type[] aParamTypes = new Type[1]; 770private Type m_EventItfType; 771private Type m_SrcItfType; 772private Type m_SinkHelperType;
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (17)
17public EventSinkHelperWriter( ModuleBuilder OutputModule, Type InputType, Type EventItfType ) 24public Type Perform() 27Type[] aInterfaces = new Type[1]; 70Type DelegateCls = aParams[0].ParameterType; 100Type[] parameters = new Type[PIs.Length]; 119private void DefineEventMethod( TypeBuilder OutputTypeBuilder, MethodInfo Method, Type DelegateCls, FieldBuilder fbDelegate ) 126Type ReturnType = Method.ReturnType; 130Type[] parameterTypes; 133parameterTypes = new Type[paramInfos.Length]; 191private void AddReturn(Type ReturnType, ILGenerator il, MethodBuilder Meth) 200switch (System.Type.GetTypeCode(ReturnType)) 257ConstructorInfo DefaultBaseClsCons = typeof(Object).GetConstructor(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public, null, new Type[0], null ); 294private Type m_InputType; 295private Type m_EventItfType;
system\runtime\interopservices\tceadaptergen\tceadaptergenerator.cs (11)
29Type EventItfType = CurrEventItf.GetEventItfType(); 30Type SrcItfType = CurrEventItf.GetSrcItfType(); 34Type SinkHelperType = new EventSinkHelperWriter( m_Module, SrcItfType, EventItfType ).Perform(); 46Type []aConsParams = new Type[1]; 59internal static TypeBuilder DefineUniqueType(String strInitFullName, TypeAttributes attrs, Type BaseType, Type[] aInterfaceTypes, ModuleBuilder mb) 76Type []aConsParams = new Type[1]; 88internal static MethodInfo[] GetNonPropertyMethods(Type type) 114internal static MethodInfo[] GetPropertyMethods(Type type)
system\runtime\interopservices\typelibconverter.cs (10)
262ConstructorInfo securityRulesCtor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) }); 359Type[] aTypes = modBldr.GetTypes(); 370Type []aConsParams = new Type[1] {typeof(String)}; 385Type []aConsParams = new Type[1] {typeof(String)}; 402Type []aConsParams = new Type[2] {typeof(int), typeof(int)}; 449Type []aConsParams = new Type[2] {typeof(int), typeof(int)};
system\runtime\interopservices\ucomireflect.cs (4)
30Type[] types,ParameterModifier[] modifiers); 52Type returnType, 53Type[] types, 76Type UnderlyingSystemType {
system\runtime\interopservices\windowsruntime\attributes.cs (6)
19private Type m_defaultInterface; 21public DefaultInterfaceAttribute(Type defaultInterface) 26public Type DefaultInterface 52public InterfaceImplementedInVersionAttribute(Type interfaceType, byte majorVersion, byte minorVersion, byte buildVersion, byte revisionVersion) 61public Type InterfaceType 86private Type m_interfaceType;
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (17)
24private static volatile Tuple<Type, PropertyType>[] s_numericScalarTypes; 32private static Tuple<Type, PropertyType>[] NumericScalarTypes { 35Tuple<Type, PropertyType>[] numericScalarTypes = new Tuple<Type, PropertyType>[] { 36new Tuple<Type, PropertyType>(typeof(Byte), PropertyType.UInt8), 37new Tuple<Type, PropertyType>(typeof(Int16), PropertyType.Int16), 38new Tuple<Type, PropertyType>(typeof(UInt16), PropertyType.UInt16), 39new Tuple<Type, PropertyType>(typeof(Int32), PropertyType.Int32), 40new Tuple<Type, PropertyType>(typeof(UInt32), PropertyType.UInt32), 41new Tuple<Type, PropertyType>(typeof(Int64), PropertyType.Int64), 42new Tuple<Type, PropertyType>(typeof(UInt64), PropertyType.UInt64), 43new Tuple<Type, PropertyType>(typeof(Single), PropertyType.Single), 44new Tuple<Type, PropertyType>(typeof(Double), PropertyType.Double) 429foreach (Tuple<Type, PropertyType> numericScalar in NumericScalarTypes) { 501foreach (Tuple<Type, PropertyType> numericScalar in NumericScalarTypes) { 513private unsafe T Unbox<T>(Type expectedBoxedType) where T : struct { 534private unsafe T[] UnboxArray<T>(Type expectedArrayElementType) where T : struct {
system\runtime\interopservices\windowsruntime\clrireferenceimpl.cs (19)
54ICustomProperty ICustomPropertyProvider.GetIndexedProperty(string name, Type indexParameterType) 67Type ICustomPropertyProvider.Type 138ICustomProperty ICustomPropertyProvider.GetIndexedProperty(string name, Type indexParameterType) 151Type ICustomPropertyProvider.Type 286internal static readonly Type s_pointType = Type.GetType("Windows.Foundation.Point, " + AssemblyRef.SystemRuntimeWindowsRuntime); 287internal static readonly Type s_rectType = Type.GetType("Windows.Foundation.Rect, " + AssemblyRef.SystemRuntimeWindowsRuntime); 288internal static readonly Type s_sizeType = Type.GetType("Windows.Foundation.Size, " + AssemblyRef.SystemRuntimeWindowsRuntime); 296Type type = obj.GetType(); 335return new CLRIReferenceImpl<Type>(PropertyType.Other, (Type)obj); 359Type specificType = typeof(CLRIReferenceImpl<>).MakeGenericType(type); 374Type type = obj.GetType().GetElementType(); 408if (type == typeof(Type)) 410return new CLRIReferenceArrayImpl<Type>(PropertyType.OtherArray, (Type[])obj); 454Type specificType = typeof(CLRIReferenceArrayImpl<>).MakeGenericType(type);
system\runtime\interopservices\windowsruntime\custompropertyimpl.cs (1)
132public Type Type
system\runtime\interopservices\windowsruntime\icustomproperty.cs (1)
19Type Type
system\runtime\interopservices\windowsruntime\icustompropertyprovider.cs (7)
30ICustomProperty GetIndexedProperty(string name, Type indexParameterType); 35Type Type 77Type indexedParamType = null; 83static internal ICustomProperty CreateIndexedProperty(object target, string propertyName, Type indexedParamType) 94new Type[] { indexedParamType }, // indexed parameter type 209ICustomProperty ICustomPropertyProvider.GetIndexedProperty(string name, Type indexParameterType) 219Type ICustomPropertyProvider.Type
system\runtime\interopservices\windowsruntime\managedactivationfactory.cs (2)
38private Type m_type; 41internal ManagedActivationFactory(Type type)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (3)
1208internal static IntPtr GetActivationFactoryForType(Type type) 1215internal static ManagedActivationFactory GetManagedActivationFactory(Type type) 1276public static IActivationFactory GetActivationFactory(Type type)
system\runtime\interopservices\windowsruntime\winrtclassactivator.cs (3)
50private Type LoadWinRTType(string acid) 52Type winrtType = Type.GetType(acid + ", Windows, ContentType=WindowsRuntime");
system\runtime\remoting\activationservices.cs (15)
43private static readonly Type proxyAttributeType = typeof(System.Runtime.Remoting.Proxies.ProxyAttribute); 395internal static ProxyAttribute GetProxyAttribute(Type serverType) 761Type serverType = reqMsg.ActivationType; 809Type serverType, IMessage msg, ServerIdentity srvIdToBind, 967internal static IContextAttribute[] GetContextAttributesForType(Type serverType) 975Type currType = serverType; 990Type attrType = attr.GetType(); 1080internal static void PushActivationAttributes(Type serverType, Object[] attributes) 1090internal static Object[] PeekActivationAttributes(Type serverType) 1101internal static void PopActivationAttributes(Type serverType) 1334Type activationType = ctorMsg.ActivationType; 1489Type activationType = ctorMsg.ActivationType; 1738internal void Push(Type typ, Object[] attr) 1759internal Object[] Peek(Type typ) 1772internal void Pop(Type typ)
system\runtime\remoting\callcontext.cs (1)
280private static Type s_callContextType = typeof(LogicalCallContext);
system\runtime\remoting\channelservices.cs (1)
633foreach (Type t in mi.GetGenericArguments())
system\runtime\remoting\configuration.cs (11)
456Type type = RemotingConfigInfo.LoadType(entry.TypeName, entry.AssemblyName); 593Type type = RemotingConfigInfo.LoadType(entry.TypeName, entry.AssemblyName); 867internal static Type GetServerTypeForUri(String URI) 969Type type = assembly.GetType(entry.UrtTypeName); 980Type type = assembly.GetType(entry.UrtTypeName); 993Type type = assembly.GetType(entry.TypeName); 1496internal Type GetServerTypeForUri(String URI) 1500Type serverType = null; 1557Type serverType = LoadType(svrTypeName, asmName); 1692internal static Type LoadType(String typeName, String assemblyName) 1715Type type = asm.GetType(typeName, false, false);
system\runtime\remoting\iactivator.cs (1)
79Type ActivationType
system\runtime\remoting\message.cs (47)
70private Type[] _MethodSignature; // Array of parameter types 443_MethodBase = RuntimeType.GetMethodBase(Type.GetTypeFromHandleUnsafe(_governingType), mh); 470internal static Type[] GenerateMethodSignature(MethodBase mb) 476Type[] methodSig = new Type[paramArray.Length]; 531Type pt = currentPi.ParameterType; 541Type paramType = pt.GetElementType(); 585internal static Object CoerceArg(Object value, Type pt) 643internal static Object SoapCoerceArg(Object value, Type pt, Hashtable keyToNamespaceTable) 1041public Type ActivationType 2541internal Type[] _methodSignature; 2827private Type[] instArgs; 2829private Type[] methodSignature; 2906methodSignature = (Type[])smuggledMsg.GetMethodSignature(deserializedArgs); 2938methodSignature = (Type[])smuggledMsg.MethodSignature; 3004private static Type ResolveTypeRelativeTo(String typeName, int offset, int count, Type serverType) 3006Type type = ResolveTypeRelativeToBaseTypes(typeName, offset, count, serverType); 3011Type[] interfaces = serverType.GetInterfaces(); 3012foreach (Type iface in interfaces) 3029private static Type ResolveTypeRelativeToBaseTypes(String typeName, int offset, int count, Type serverType) 3052internal Type ResolveType() 3055Type t = null; 3062Type serverType = srvID.GetLastCalledType(typeName); 3171MemberInfo [] methods = t.FindMembers(MemberTypes.Method, MethodCall.LookupAll, Type.FilterName, methodName); 3209MI = Type.DefaultBinder.SelectMethod(MethodCall.LookupAll, 3358Type parameterType = parameters[j].ParameterType; 3529Type type = parameterInfos[outArg].ParameterType.GetElementType(); 3828methodSignature = (Type[]) value; 3922internal Type _activationType; 4017public Type ActivationType 4101private Type[] methodSignature; 4169methodSignature = (Type[])msg.MethodSignature; 4200methodSignature = (Type[])msg.MethodSignature; 4255Type retType = null; 4269Type[] paramTypes = new Type[outParamsCount]; 4382Type exceptionType = Type.GetType(serverFault.ExceptionType, false, false); 4426Type retType = mi.ReturnType; 4758methodSignature = (Type[]) value; 4850internal Type[] fieldTypes = null; 4875public Type[] FieldTypes 5329internal Type[] ArgTypes 5333Type[] ret = null; 5337ret = new Type[_map.Length];
system\runtime\remoting\messagesmuggler.cs (4)
117Type elementType = array.GetType().GetElementType(); 313Type[] inst = mcm.MethodBase.GetGenericArguments(); 389internal Type[] GetInstantiation(ArrayList deserializedArgs) 392return (Type[])deserializedArgs[_instantiation.Index];
system\runtime\remoting\objref.cs (12)
54bool CanCastTo(Type fromType, Object o); 110public virtual bool CanCastTo(Type castType, Object o) 215Type[] interfaces = typeOfObj.GetInterfaces(); 253private bool CompareTypes(Type type1, String type2) 255Type type = RemotingServices.InternalGetTypeFromQualifiedTypeName(type2); 261private bool CanCastTo(Type castType, String[] types) 293public override bool CanCastTo(Type castType, Object o) 430private static Type orType = typeof(ObjRef); 449public ObjRef(MarshalByRefObject o, Type requestedType) 553Type typeOfTypeInfo = null; 557Type typeOfChannelInfo = null; 798Type serverType = asm.GetType(typeName, false, false);
system\runtime\remoting\proxyattribute.cs (3)
39public virtual MarshalByRefObject CreateInstance(Type serverType) 73Type serverType, 95Type t = serverType;
system\runtime\remoting\realproxy.cs (7)
108protected RealProxy(Type classToProxy) : this(classToProxy, (IntPtr)0, null) 113protected RealProxy(Type classToProxy, IntPtr stub, Object stubData) 182Type svrType = GetProxiedType(); 388public extern Type GetProxiedType(); 395public virtual ObjRef CreateObjRef(Type requestedType) 527Type returnType = cache.ReturnType; 537private static void ValidateReturnArg(Object arg, Type paramType)
system\runtime\remoting\redirectionproxy.cs (4)
22private Type _serverType; 26internal RedirectionProxy(MarshalByRefObject proxy, Type serverType) 104private Type _serverType; 106internal ComRedirectionProxy(MarshalByRefObject comObject, Type serverType)
system\runtime\remoting\remotingattributes.cs (7)
256private Type _returnType = null; // null if return type is void or .ctor 485internal Type ReturnType 494Type returnType = mi.ReturnType; 590_XmlElementName = GetTypeName((Type)ReflectInfo); 626_XmlTypeName = GetTypeName((Type)ReflectInfo); 672private static string GetTypeName(Type t) { 801Type declaringType = ((MemberInfo)ReflectInfo).DeclaringType;
system\runtime\remoting\remotingconfigparser.cs (1)
390Type type = asm.GetType(typeName, false, false);
system\runtime\remoting\remotingconfiguration.cs (15)
124public static void RegisterActivatedServiceType(Type type) 150Type type, String objectUri, WellKnownObjectMode mode) 169public static void RegisterActivatedClientType(Type type, String appUrl) 193public static void RegisterWellKnownClientType(Type type, String objectUrl) 246public static ActivatedClientTypeEntry IsRemotelyActivatedClientType(Type svrType) 273public static WellKnownClientTypeEntry IsWellKnownClientType(Type svrType) 299public static bool IsActivationAllowed(Type svrType) 362public ActivatedClientTypeEntry(Type type, String appUrl) 381public Type ObjectType 423public ActivatedServiceTypeEntry(Type type) 437public Type ObjectType 485public WellKnownClientTypeEntry(Type type, String objectUrl) 504public Type ObjectType 556public WellKnownServiceTypeEntry(Type type, String objectUri, WellKnownObjectMode mode) 577public Type ObjectType
system\runtime\remoting\remotingproxy.cs (4)
45public RemotingProxy(Type serverType) 269Type t = GetProxiedType(); 639public bool CanCastTo(Type castType, Object o) 702bool CanCastToWK(Type castType)
system\runtime\remoting\remotingservices.cs (30)
207Type typeToProxy, 248Type objectType) 276Type objectType) 477public static ObjRef Marshal(MarshalByRefObject Obj, String ObjURI, Type RequestedType) 484internal static ObjRef MarshalInternal(MarshalByRefObject Obj, String ObjURI, Type RequestedType) 490internal static ObjRef MarshalInternal(MarshalByRefObject Obj, String ObjURI, Type RequestedType, bool updateChannelData) 497internal static ObjRef MarshalInternal(MarshalByRefObject Obj, String ObjURI, Type RequestedType, bool updateChannelData, bool isInitializing) 846public static Object Connect(Type classToProxy, String url) 853public static Object Connect(Type classToProxy, String url, Object data) 957internal static Object Unmarshal(Type classToProxy, String url) 964internal static Object Unmarshal(Type classToProxy, String url, Object data) 1334Type serverType; 1426private static Object GetOrCreateProxy(Type classToProxy, Identity idObj) 1456Type serverType = serverID.ServerType; 1479Identity idObj, Type classToProxy, Object proxy) 1885Type t = RemotingServices.InternalGetTypeFromQualifiedTypeName(msg.TypeName); 1898Type[] signature = (Type[])msg.MethodSignature; 1913private static MethodBase GetMethodBase(IMethodMessage msg, Type t, Type[] signature) 2060Type beginReturnType = typeof(IAsyncResult); 2061Type endReturnType = method.ReturnType; 2086Type type = method.DeclaringType; 2143if (((Type)obj != param.ParameterType) && param.IsIn) 2153public static Type GetServerTypeForUri(String URI) 2155Type svrType = null; 2350Type serverType = null; 2507internal static String DetermineDefaultQualifiedTypeName(Type type) 2678internal static Type InternalGetTypeFromQualifiedTypeName(String qualifiedTypeName) 2689return (RuntimeType)Type.GetType(typeName, false);
system\runtime\remoting\remotingsurrogateselector.cs (17)
34private static Type s_IMethodCallMessageType = typeof(IMethodCallMessage); 35private static Type s_IMethodReturnMessageType = typeof(IMethodReturnMessage); 36private static Type s_ObjRefType = typeof(ObjRef); 84public virtual ISerializationSurrogate GetSurrogate(Type type, StreamingContext context, out ISurrogateSelector ssout) 213private static Type _voidType = typeof(void); 214private static Type _soapFaultType = typeof(SoapFault); 301Type retType = ((MethodInfo)mb).ReturnType; 308Type[] types = mapper.ArgTypes; 373Type[] sig = (Type[])mcm.MethodSignature; 393Type argType = null; 416private static Type _constructionCallType = typeof(ConstructionCall); 417private static Type _methodCallType = typeof(MethodCall); 418private static Type _constructionResponseType = typeof(ConstructionResponse); 419private static Type _methodResponseType = typeof(MethodResponse); 420private static Type _exceptionType = typeof(Exception); 421private static Type _objectType = typeof(Object);
system\runtime\remoting\serveridentity.cs (7)
33public Type type; 47internal Type _srvType; // type of server object 54internal Type GetLastCalledType(String newTypeName) 61Type t = lastType.type; 72internal void SetLastCalledType(String newTypeName, Type newType) 278Activator.CreateInstance((Type)_srvType, true); 340internal Type ServerType
system\runtime\remoting\soap.cs (21)
82public Type Type; 85public FieldEntry(Type type, String name) 98public void AddXmlElement(Type fieldType, String fieldName, 106public void AddXmlAttribute(Type fieldType, String fieldName, 115out Type type, out String name) 132out Type type, out String name) 152Type type) 161Type type) 169public static void PreLoad(Type type) 236Type[] types = assembly.GetTypes(); 237foreach (Type type in types) 244public static Type GetInteropTypeFromXmlElement(String xmlElement, String xmlNamespace) 246return (Type)_interopXmlElementToType[CreateKey(xmlElement, xmlNamespace)]; 251public static Type GetInteropTypeFromXmlType(String xmlType, String xmlTypeNamespace) 253return (Type)_interopXmlTypeToType[CreateKey(xmlType, xmlTypeNamespace)]; 257public static void GetInteropFieldTypeAndNameFromXmlElement(Type containingType, 259out Type type, out String name) 282public static void GetInteropFieldTypeAndNameFromXmlAttribute(Type containingType, 284out Type type, out String name) 308public static bool GetXmlElementForInteropType(Type type, 340public static bool GetXmlTypeForInteropType(Type type,
system\runtime\remoting\soapinteroptypes.cs (30)
113internal static Type typeofSoapTime = typeof(SoapTime); 114internal static Type typeofSoapDate = typeof(SoapDate); 115internal static Type typeofSoapYearMonth = typeof(SoapYearMonth); 116internal static Type typeofSoapYear = typeof(SoapYear); 117internal static Type typeofSoapMonthDay = typeof(SoapMonthDay); 118internal static Type typeofSoapDay = typeof(SoapDay); 119internal static Type typeofSoapMonth = typeof(SoapMonth); 120internal static Type typeofSoapHexBinary = typeof(SoapHexBinary); 121internal static Type typeofSoapBase64Binary = typeof(SoapBase64Binary); 122internal static Type typeofSoapInteger = typeof(SoapInteger); 123internal static Type typeofSoapPositiveInteger = typeof(SoapPositiveInteger); 124internal static Type typeofSoapNonPositiveInteger = typeof(SoapNonPositiveInteger); 125internal static Type typeofSoapNonNegativeInteger = typeof(SoapNonNegativeInteger); 126internal static Type typeofSoapNegativeInteger = typeof(SoapNegativeInteger); 127internal static Type typeofSoapAnyUri = typeof(SoapAnyUri); 128internal static Type typeofSoapQName = typeof(SoapQName); 129internal static Type typeofSoapNotation = typeof(SoapNotation); 130internal static Type typeofSoapNormalizedString = typeof(SoapNormalizedString); 131internal static Type typeofSoapToken = typeof(SoapToken); 132internal static Type typeofSoapLanguage = typeof(SoapLanguage); 133internal static Type typeofSoapName = typeof(SoapName); 134internal static Type typeofSoapIdrefs = typeof(SoapIdrefs); 135internal static Type typeofSoapEntities = typeof(SoapEntities); 136internal static Type typeofSoapNmtoken = typeof(SoapNmtoken); 137internal static Type typeofSoapNmtokens = typeof(SoapNmtokens); 138internal static Type typeofSoapNcName = typeof(SoapNcName); 139internal static Type typeofSoapId = typeof(SoapId); 140internal static Type typeofSoapIdref = typeof(SoapIdref); 141internal static Type typeofSoapEntity = typeof(SoapEntity); 142internal static Type typeofISoapXsd = typeof(ISoapXsd);
system\runtime\remoting\stackbuildersink.cs (1)
378Type srvType = srvId.ServerType;
system\runtime\serialization\formatter.cs (4)
92protected abstract void WriteArray(Object obj, String name, Type memberType); 124protected abstract void WriteObjectRef(Object obj, String name, Type memberType); 137Type varType = data.GetType(); 205protected abstract void WriteValueType(Object obj, String name, Type memberType);
system\runtime\serialization\formatterconverter.cs (1)
28public Object Convert(Object value, Type type) {
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (20)
38internal static BinaryTypeEnum GetBinaryTypeInfo(Type type, WriteObjectInfo objectInfo, String typeName, ObjectWriter objectWriter, out Object typeInformation, out int assemId) 105internal static BinaryTypeEnum GetParserBinaryTypeInfo(Type type, out Object typeInformation) 218out Type type, 317internal static void WriteWithCode(Type type, Object value, __BinaryWriter sout) 645Type[] instArgs; 651Type[] argTypes; 658internal Object[] WriteArray(String uri, String methodName, String typeName, Type[] instArgs, Object[] args, Object methodSignature, Object callContext, Object[] properties) 674argTypes = new Type[args.Length]; 833instArgs = (Type[])callA[arrayPosition++]; 907Type[] argTypes; 911Type returnType; 940argTypes = new Type[args.Length]; 2072internal Type objectType; 2076internal Type[] memberTypes; 2085internal ObjectMap(String objectName, Type objectType, String[] memberNames, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo) 2127memberTypes = new Type[memberNames.Length]; 2133Type type; 2167internal static ObjectMap Create(String name, Type objectType, String[] memberNames, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo) 2200internal Type dtType; 2216internal Type[] memberTypes;
system\runtime\serialization\formatters\binary\binaryconverter.cs (52)
40internal static InternalPrimitiveTypeE ToCode(Type type) 57code = ToPrimitiveTypeEnum(Type.GetTypeCode(type)); 137internal static InternalNameSpaceE GetNameSpaceEnum(InternalPrimitiveTypeE code, Type type, WriteObjectInfo objectInfo, out String typeName) 203internal static Type ToArrayType(InternalPrimitiveTypeE code) 213private static volatile Type[] typeA; 217Type[] typeATemp = new Type[primitiveTypeEnumLength]; 238private static volatile Type[] arrayTypeA; 242Type[] arrayTypeATemp = new Type[primitiveTypeEnumLength]; 265internal static Type ToType(InternalPrimitiveTypeE code) 331internal static bool IsPrimitiveArray(Type type, out Object typeInformation) 489internal static Type typeofISerializable = typeof(ISerializable); 490internal static Type typeofString = typeof(String); 491internal static Type typeofConverter = typeof(Converter); 492internal static Type typeofBoolean = typeof(Boolean); 493internal static Type typeofByte = typeof(Byte); 494internal static Type typeofChar = typeof(Char); 495internal static Type typeofDecimal = typeof(Decimal); 496internal static Type typeofDouble = typeof(Double); 497internal static Type typeofInt16 = typeof(Int16); 498internal static Type typeofInt32 = typeof(Int32); 499internal static Type typeofInt64 = typeof(Int64); 500internal static Type typeofSByte = typeof(SByte); 501internal static Type typeofSingle = typeof(Single); 502internal static Type typeofTimeSpan = typeof(TimeSpan); 503internal static Type typeofDateTime = typeof(DateTime); 504internal static Type typeofUInt16 = typeof(UInt16); 505internal static Type typeofUInt32 = typeof(UInt32); 506internal static Type typeofUInt64 = typeof(UInt64); 507internal static Type typeofObject = typeof(Object); 509internal static Type typeofSystemVoid = typeof(void); 514internal static Type typeofTypeArray = typeof(System.Type[]); 515internal static Type typeofObjectArray = typeof(System.Object[]); 516internal static Type typeofStringArray = typeof(System.String[]); 517internal static Type typeofBooleanArray = typeof(Boolean[]); 518internal static Type typeofByteArray = typeof(Byte[]); 519internal static Type typeofCharArray = typeof(Char[]); 520internal static Type typeofDecimalArray = typeof(Decimal[]); 521internal static Type typeofDoubleArray = typeof(Double[]); 522internal static Type typeofInt16Array = typeof(Int16[]); 523internal static Type typeofInt32Array = typeof(Int32[]); 524internal static Type typeofInt64Array = typeof(Int64[]); 525internal static Type typeofSByteArray = typeof(SByte[]); 526internal static Type typeofSingleArray = typeof(Single[]); 527internal static Type typeofTimeSpanArray = typeof(TimeSpan[]); 528internal static Type typeofDateTimeArray = typeof(DateTime[]); 529internal static Type typeofUInt16Array = typeof(UInt16[]); 530internal static Type typeofUInt32Array = typeof(UInt32[]); 531internal static Type typeofUInt64Array = typeof(UInt64[]); 532internal static Type typeofMarshalByRefObject = typeof(System.MarshalByRefObject);
system\runtime\serialization\formatters\binary\binaryformatter.cs (6)
53private static Dictionary<Type, TypeInformation> typeNameCache = new Dictionary<Type, TypeInformation>(); 54private static Lazy<ConcurrentDictionary<Type, TypeInformation>> concurrentTypeNameCache = new Lazy<ConcurrentDictionary<Type, TypeInformation>>(() => new ConcurrentDictionary<Type, TypeInformation>()); 239internal static TypeInformation GetTypeInformation(Type type)
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (6)
194internal Object[] WriteCallArray(String uri, String methodName, String typeName, Type[] instArgs, Object[] args, Object methodSignature, Object callContext, Object[] properties) 222internal void WriteObject(NameInfo nameInfo, NameInfo typeNameInfo, int numMembers, String[] memberNames, Type[] memberTypes, WriteObjectInfo[] memberObjectInfos) 694internal void WriteAssembly(Type type, String assemblyString, int assemId, bool isNew) 779Type[] memberTypes; 781internal ObjectMapInfo(int objectId, int numMembers, String[] memberNames, Type[] memberTypes) 789internal bool isCompatible(int numMembers, String[] memberNames, Type[] memberTypes)
system\runtime\serialization\formatters\binary\binarymethodmessage.cs (3)
23Type[] _instArgs = null; 31internal BinaryMethodCallMessage(String uri, String methodName, String typeName, Type[] instArgs, Object[] args, Object methodSignature, LogicalCallContext callContext, Object[] properties) 63public Type[] InstantiationArgs
system\runtime\serialization\formatters\binary\binaryobjectinfo.cs (33)
43internal Type objectType; 184internal static WriteObjectInfo Serialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, SerializationBinder binder) 193internal void InitSerialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, SerializationBinder binder) 285cache.memberTypes = new Type[count]; 303private static void CheckTypeForwardedFrom(SerObjectInfoCache cache, Type objectType, string binderAssemblyString) 349cache.memberTypes = new Type[count]; 399internal Type GetMemberType(MemberInfo objMember) 401Type objectType = null; 421internal void GetMemberInfo(out String[] outMemberNames, out Type[] outMemberTypes, out Object[] outMemberData) 466internal Type objectType; 483internal Type[] wireMemberTypes; 497internal List<Type> memberTypesList; 518internal static ReadObjectInfo Create(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, bool bSimpleAssembly) 528internal void Init(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, bool bSimpleAssembly) 544internal static ReadObjectInfo Create(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, bool bSimpleAssembly) 553internal void Init(Type objectType, String[] memberNames, Type[] memberTypes, ISurrogateSelector surrogateSelector, StreamingContext context, ObjectManager objectManager, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, bool bSimpleAssembly) 574private void InitReadConstructor(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context) 614memberTypesList = new List<Type>(20); 634cache.memberTypes = new Type[count]; 667internal Type GetType(String name) 670Type type = null; 678type = (Type)memberTypesList[position]; 810internal Type[] GetMemberTypes(String[] inMemberNames, Type objectType) 821cache.memberTypes = new Type[count]; 831Type[] outMemberTypes = new Type[cache.memberInfos.Length]; 871internal Type GetMemberType(MemberInfo objMember) 873Type objectType = null; 918internal Type[] memberTypes = null; 927internal SerObjectInfoCache(Type type)
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (18)
325private bool HasSurrogate(Type t){ 333private void CheckSerializable(Type t) 363internal ReadObjectInfo CreateReadObjectInfo(Type objectType) 369internal ReadObjectInfo CreateReadObjectInfo(Type objectType, String[] memberNames, Type[] memberTypes) 457Type t = pr.PRdtType; 1334internal Type Bind(String assemblyString, String typeString) 1336Type type = null; 1347public Type type; 1353internal Type FastBindToType(String assemblyName, String typeName) 1355Type type = null; 1434private static void GetSimplyNamedTypeFromAssembly(Assembly assm, string typeName, ref Type type) 1449type = Type.GetType(typeName, ObjectReader.ResolveSimpleAssemblyName, new TopLevelAssemblyTypeResolver(assm).ResolveType, false /* throwOnError */); 1456private Type previousType; 1460internal Type GetType(BinaryAssemblyInfo assemblyInfo, String name) 1462Type objectType = null; 1502private static void CheckTypeForwardedTo(Assembly sourceAssembly, Assembly destAssembly, Type resolvedType) 1549public Type ResolveType(Assembly assembly, string simpleTypeName, bool ignoreCase)
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (21)
219Type[] instArgs = null; 358Type objType = objectInfo.objectType; 380Type[] memberTypes; 406Type type; 463Type[] memberTypes, 536Type memberType, 578Type memberType = memberNameInfo.NItype; 605Type outType = null; 734Type arrayType = objectInfo.objectType; 737Type arrayElemType = arrayType.GetElementType(); 905Type dataType = null; 1092private long InternalGetId(Object obj, bool assignUniqueIdToValueType, Type type, out bool isNew) 1122private long Schedule(Object obj, bool assignUniqueIdToValueType, Type type) 1127private long Schedule(Object obj, bool assignUniqueIdToValueType, Type type, WriteObjectInfo objectInfo) 1269private NameInfo TypeToNameInfo(Type type, WriteObjectInfo objectInfo, InternalPrimitiveTypeE code, NameInfo nameInfo) 1292private NameInfo TypeToNameInfo(Type type) 1307private void TypeToNameInfo(Type type, NameInfo nameInfo) 1319Type previousType = null; 1321internal InternalPrimitiveTypeE ToCode(Type type) 1388private Type GetType(Object obj) 1390Type type = null;
system\runtime\serialization\formatters\binary\binaryparser.cs (1)
584Type objectType = objectReader.GetType(assemblyInfo, record.name);
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (4)
66internal Type PRdtType; 84internal Type PRarrayElementType; 698Type type = typeof(Header); 758internal Type NItype;
system\runtime\serialization\formatters\ifieldinfo.cs (1)
34Type[] FieldTypes
system\runtime\serialization\formatters\isoapmessage.cs (1)
36Type[] ParamTypes {get; set;}
system\runtime\serialization\formatters\soapmessage.cs (2)
30internal Type[] paramTypes; 49public Type[] ParamTypes
system\runtime\serialization\formatterservices.cs (15)
178public static MemberInfo[] GetSerializableMembers(Type type) { 186public static MemberInfo[] GetSerializableMembers(Type type, StreamingContext context) { 205static readonly Type[] advancedTypes = new Type[]{ 214public static void CheckTypeSecurity(Type t, TypeFilterLevel securityLevel) { 232public static Object GetUninitializedObject(Type type) { 246public static Object GetSafeUninitializedObject(Type type) { 297private static Binder s_binder = Type.DefaultBinder; 440public static Type GetTypeFromAssembly(Assembly assem, String name) { 477internal static string GetClrAssemblyName(Type type, out bool hasTypeForwardedFrom) { 494internal static string GetClrTypeFullName(Type type) { 503static string GetClrTypeFullNameForArray(Type type) { 521static string GetClrTypeFullNameForNonArrayTypes(Type type) { 526Type[] genericArguments = type.GetGenericArguments(); 530foreach (Type genericArgument in genericArguments) {
system\runtime\serialization\iformatterconverter.cs (1)
24Object Convert(Object value, Type type);
system\runtime\serialization\isurrogateselector.cs (1)
31ISerializationSurrogate GetSurrogate(Type type, StreamingContext context, out ISurrogateSelector selector);
system\runtime\serialization\memberholder.cs (2)
27internal Type memberType; 30internal MemberHolder(Type type, StreamingContext ctx) {
system\runtime\serialization\objectclonehelper.cs (1)
41Type objectType = null;
system\runtime\serialization\objectmanager.cs (1)
759Type selectorType=null;
system\runtime\serialization\serializationbinder.cs (2)
22public virtual void BindToName(Type serializedType, out String assemblyName, out String typeName) 28public abstract Type BindToType(String assemblyName, String typeName);
system\runtime\serialization\serializationeventscache.cs (5)
32private List<MethodInfo> GetMethodsWithAttribute(Type attribute, Type t) 35Type baseType = t; 79internal SerializationEvents(Type t) 187internal static SerializationEvents GetSerializationEventsForType(Type t)
system\runtime\serialization\serializationfieldinfo.cs (5)
59public override Type DeclaringType { 65public override Type ReflectedType { 75public override Object[] GetCustomAttributes(Type attributeType, bool inherit) { 79public override bool IsDefined(Type attributeType, bool inherit) { 86public override Type FieldType {
system\runtime\serialization\serializationinfo.cs (33)
44internal Type[] m_types; 50private Type objectType; 57public SerializationInfo(Type type, IFormatterConverter converter) 64public SerializationInfo(Type type, IFormatterConverter converter, bool requireSameTokenInPartialTrust) 85m_types = new Type[defaultSize]; 144public void SetType(Type type) 223public Type ObjectType 275Type[] newTypes = new Type[newSize]; 289public void AddValue(String name, Object value, Type type) 392internal void AddValueInternal(String name, Object value, Type type) 430internal void UpdateValue(String name, Object value, Type type) 475private Object GetElement(String name, out Type foundType) 493private Object GetElementNoThrow(String name, out Type foundType) 516public Object GetValue(String name, Type type) 529Type foundType; 555internal Object GetValueNoThrow(String name, Type type) 557Type foundType; 587Type foundType; 600Type foundType; 614Type foundType; 627Type foundType; 640Type foundType; 654Type foundType; 667Type foundType; 681Type foundType; 694Type foundType; 708Type foundType; 721Type foundType; 735Type foundType; 748Type foundType; 761Type foundType; 774Type foundType;
system\runtime\serialization\serializationinfoenumerator.cs (6)
27private Type m_type; 43public Type ObjectType { 49internal SerializationEntry(String entryName, Object entryValue, Type entryType) { 65Type[] m_types; 70internal SerializationInfoEnumerator(String[] members, Object[] info, Type[] types, int numItems) { 139public Type ObjectType {
system\runtime\serialization\surrogateselector.cs (5)
34public virtual void AddSurrogate(Type type, StreamingContext context, ISerializationSurrogate surrogate) { 175public virtual ISerializationSurrogate GetSurrogate(Type type, StreamingContext context, out ISurrogateSelector selector) { 196public virtual void RemoveSurrogate(Type type, StreamingContext context) { 212internal Type m_type; 215internal SurrogateKey(Type type, StreamingContext context) {
system\runtime\versioning\multitargetinghelpers.cs (3)
30private static Func<Type, String> defaultConverter = (t) => t.AssemblyQualifiedName; 34internal static string GetAssemblyQualifiedName(Type type, Func<Type, String> converter)
system\runtime\versioning\resourceattributes.cs (1)
114public static String MakeVersionSafeName(String name, ResourceScope from, ResourceScope to, Type type)
system\runtimehandles.cs (14)
58internal unsafe static Type GetTypeHelper(Type typeStart, Type[] genericArgs, IntPtr pModifiers, int cModifiers) 60Type type = typeStart; 222internal static IntPtr[] CopyRuntimeTypeHandles(Type[] inHandles, out int length) 386internal extern static Type[] GetInterfaces(RuntimeType type); 395internal Type[] GetConstraints() 397Type[] types = null; 633internal static Type GetTypeByName(string name, ref StackCrawlMark stackMark) 672internal Type[] GetInstantiationPublic() 674Type[] types = null; 686internal RuntimeType Instantiate(Type[] inst) 1387internal static Type[] GetMethodInstantiationPublic(IRuntimeMethodInfo method) 2233internal extern Type[] GetCustomModifiers(int position, bool required);
system\sbyte.cs (1)
280Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\security\accesscontrol\commonobjectsecurity.cs (3)
43private AuthorizationRuleCollection GetRules( bool access, bool includeExplicit, bool includeInherited, System.Type targetType ) 678public AuthorizationRuleCollection GetAccessRules( bool includeExplicit, bool includeInherited, System.Type targetType ) 683public AuthorizationRuleCollection GetAuditRules( bool includeExplicit, bool includeInherited, System.Type targetType )
system\security\accesscontrol\cryptokeysecurity.cs (3)
218public override Type AccessRightType 223public override Type AccessRuleType 228public override Type AuditRuleType
system\security\accesscontrol\directoryobjectsecurity.cs (3)
43private AuthorizationRuleCollection GetRules(bool access, bool includeExplicit, bool includeInherited, System.Type targetType) 757public AuthorizationRuleCollection GetAccessRules(bool includeExplicit, bool includeInherited, System.Type targetType) 762public AuthorizationRuleCollection GetAuditRules(bool includeExplicit, bool includeInherited, System.Type targetType)
system\security\accesscontrol\eventwaithandlesecurity.cs (3)
262public override Type AccessRightType 267public override Type AccessRuleType 272public override Type AuditRuleType
system\security\accesscontrol\filesecurity.cs (3)
610public override Type AccessRightType 615public override Type AccessRuleType 620public override Type AuditRuleType
system\security\accesscontrol\mutexsecurity.cs (3)
258public override Type AccessRightType 263public override Type AccessRuleType 268public override Type AuditRuleType
system\security\accesscontrol\objectsecurity.cs (5)
357public IdentityReference GetOwner( System.Type targetType ) 401public IdentityReference GetGroup( System.Type targetType ) 682public abstract Type AccessRightType { get; } 683public abstract Type AccessRuleType { get; } 684public abstract Type AuditRuleType { get; }
system\security\accesscontrol\objectsecurityt.cs (3)
371public override Type AccessRightType { 375public override Type AccessRuleType { 379public override Type AuditRuleType {
system\security\accesscontrol\registrysecurity.cs (3)
314public override Type AccessRightType 319public override Type AccessRuleType 324public override Type AuditRuleType
system\security\cryptography\asymmetrickeyexchangeformatter.cs (1)
39abstract public byte[] CreateKeyExchange(byte[] data, Type symAlgType);
system\security\cryptography\cryptoconfig.cs (34)
33private static volatile Dictionary<string, Type> appNameHT = new Dictionary<string, Type>(StringComparer.OrdinalIgnoreCase); 176Type SHA1CryptoServiceProviderType = typeof(System.Security.Cryptography.SHA1CryptoServiceProvider); 177Type MD5CryptoServiceProviderType = typeof(System.Security.Cryptography.MD5CryptoServiceProvider); 178Type RIPEMD160ManagedType = typeof(System.Security.Cryptography.RIPEMD160Managed); 179Type HMACMD5Type = typeof(System.Security.Cryptography.HMACMD5); 180Type HMACRIPEMD160Type = typeof(System.Security.Cryptography.HMACRIPEMD160); 183Type HMACSHA1Type = typeof(System.Security.Cryptography.HMACSHA1); 184Type HMACSHA256Type = typeof(System.Security.Cryptography.HMACSHA256); 187Type HMACSHA384Type = typeof(System.Security.Cryptography.HMACSHA384); 188Type HMACSHA512Type = typeof(System.Security.Cryptography.HMACSHA512); 189Type MAC3DESType = typeof(System.Security.Cryptography.MACTripleDES); 192Type RSACryptoServiceProviderType = typeof(System.Security.Cryptography.RSACryptoServiceProvider); 195Type DSACryptoServiceProviderType = typeof(System.Security.Cryptography.DSACryptoServiceProvider); 196Type DESCryptoServiceProviderType = typeof(System.Security.Cryptography.DESCryptoServiceProvider); 197Type TripleDESCryptoServiceProviderType = typeof(System.Security.Cryptography.TripleDESCryptoServiceProvider); 198Type RC2CryptoServiceProviderType = typeof(System.Security.Cryptography.RC2CryptoServiceProvider); 201Type RijndaelManagedType = typeof(System.Security.Cryptography.RijndaelManaged); 204Type DSASignatureDescriptionType = typeof(System.Security.Cryptography.DSASignatureDescription); 205Type RSAPKCS1SHA1SignatureDescriptionType = typeof(System.Security.Cryptography.RSAPKCS1SHA1SignatureDescription); 206Type RSAPKCS1SHA256SignatureDescriptionType = typeof(System.Security.Cryptography.RSAPKCS1SHA256SignatureDescription); 207Type RSAPKCS1SHA384SignatureDescriptionType = typeof(System.Security.Cryptography.RSAPKCS1SHA384SignatureDescription); 208Type RSAPKCS1SHA512SignatureDescriptionType = typeof(System.Security.Cryptography.RSAPKCS1SHA512SignatureDescription); 211Type RNGCryptoServiceProviderType = typeof(System.Security.Cryptography.RNGCryptoServiceProvider); 542public static void AddAlgorithm(Type algorithm, params string[] names) { 576Type retvalType = null; 592retvalType = Type.GetType(retvalTypeString, false, false); 605if (retvalObj is Type) { 606retvalType = (Type) retvalObj; 608retvalType = Type.GetType((String) retvalObj, false, false); 617retvalType = Type.GetType(name, false, false); 656RuntimeConstructorInfo rci = Type.DefaultBinder.BindToMethod(Activator.ConstructorDefault, 670retval = rci.Invoke(Activator.ConstructorDefault, Type.DefaultBinder, args, null); 674Type.DefaultBinder.ReorderArgumentArray(ref args, state);
system\security\cryptography\rsaoaepkeyexchangedeformatter.cs (1)
64_rsaOverridesDecrypt = Utils.DoesRsaKeyOverride(_rsaKey, "Decrypt", new Type[] { typeof(byte[]), typeof(RSAEncryptionPadding) });
system\security\cryptography\rsaoaepkeyexchangeformatter.cs (2)
83public override byte[] CreateKeyExchange(byte[] rgbData, Type symAlgType) { 90_rsaOverridesEncrypt = Utils.DoesRsaKeyOverride(_rsaKey, "Encrypt", new Type[] { typeof(byte[]), typeof(RSAEncryptionPadding) });
system\security\cryptography\rsapkcs1keyexchangedeformatter.cs (1)
93_rsaOverridesDecrypt = Utils.DoesRsaKeyOverride(_rsaKey, "Decrypt", new Type[] { typeof(byte[]), typeof(RSAEncryptionPadding) });
system\security\cryptography\rsapkcs1keyexchangeformatter.cs (2)
98public override byte[] CreateKeyExchange(byte[] rgbData, Type symAlgType) { 105_rsaOverridesEncrypt = Utils.DoesRsaKeyOverride(_rsaKey, "Encrypt", new Type[] { typeof(byte[]), typeof(RSAEncryptionPadding) });
system\security\cryptography\rsapkcs1signaturedeformatter.cs (1)
97_rsaOverridesVerifyHash = Utils.DoesRsaKeyOverride(_rsaKey, "VerifyHash", new Type[] { typeof(byte[]), typeof(byte[]), typeof(HashAlgorithmName), typeof(RSASignaturePadding) });
system\security\cryptography\rsapkcs1signatureformatter.cs (1)
87_rsaOverridesSignHash = Utils.DoesRsaKeyOverride(_rsaKey, "SignHash", new Type[] { typeof(byte[]), typeof(HashAlgorithmName), typeof(RSASignaturePadding) });
system\security\cryptography\utils.cs (7)
589else if (hashAlg is Type) { 616else if (hashAlg is Type) { 1032internal static bool DoesRsaKeyOverride(RSA rsaKey, string methodName, Type[] parameterTypes) 1035Type t = rsaKey.GetType(); 1059private static bool DoesRsaKeyOverrideSlowPath(Type t, string methodName, Type[] parameterTypes) 1063Type declaringType = method.DeclaringType;
system\security\hostsecuritymanager.cs (4)
194public virtual Type[] GetHostSuppliedAppDomainEvidenceTypes() { 201public virtual Type[] GetHostSuppliedAssemblyEvidenceTypes(Assembly assembly) { 208public virtual EvidenceBase GenerateAppDomainEvidence(Type evidenceType) { 215public virtual EvidenceBase GenerateAssemblyEvidence(Type evidenceType, Assembly assembly) {
system\security\permissions\permissionattributes.cs (2)
110Type t = Type.GetType(typeName, false, false);
system\security\permissionset.cs (5)
404public IPermission GetPermission(Type permClass) 409protected virtual IPermission GetPermissionImpl(Type permClass) 469Type perm_type = perm.GetType(); 502public IPermission RemovePermission(Type permClass) 507protected virtual IPermission RemovePermissionImpl(Type permClass)
system\security\permissiontoken.cs (6)
151public static PermissionToken GetToken(Type cls) 225return FindToken( Type.GetType( typeStr ) ); 239public static PermissionToken FindToken( Type cls ) 359internal PermissionToken FindToken( Type cls ) 401internal PermissionToken GetToken(Type cls, IPermission perm) 509internal PermissionToken BuiltInGetToken( int index, IPermission perm, Type cls )
system\security\policy\appdomainevidencefactory.cs (1)
51public EvidenceBase GenerateEvidence(Type evidenceType)
system\security\policy\applicationsecuritymanager.cs (2)
172Type tmClass = Type.GetType(trustManagerName, false, false);
system\security\policy\assemblyevidencefactory.cs (1)
62public EvidenceBase GenerateEvidence(Type evidenceType)
system\security\policy\evidence.cs (61)
58private Dictionary<Type, EvidenceTypeDescriptor> m_evidence; 90private static volatile Type[] s_runtimeEvidenceTypes; 106m_evidence = new Dictionary<Type, EvidenceTypeDescriptor>(); 116m_evidence = new Dictionary<Type, EvidenceTypeDescriptor>(); 122foreach (KeyValuePair<Type, EvidenceTypeDescriptor> evidenceType in evidence.m_evidence) 154m_evidence = new Dictionary<Type, EvidenceTypeDescriptor>(); 182m_evidence = new Dictionary<Type, EvidenceTypeDescriptor>(); 213m_evidence = new Dictionary<Type, EvidenceTypeDescriptor>(); 217foreach (Type runtimeEvidenceType in RuntimeEvidenceTypes) 229internal static Type[] RuntimeEvidenceTypes 235Type[] runtimeEvidenceTypes = new Type[] 369Type evidenceIndex = GetEvidenceIndexType(evidence); 386Type evidenceIndex = GetEvidenceIndexType(evidence); 407Type evidenceType = typeof(T); 416private void AddAssemblyEvidence(EvidenceBase evidence, Type evidenceType, DuplicateEvidenceAction duplicateAction) 424private void AddAssemblyEvidenceNoLock(EvidenceBase evidence, Type evidenceType, DuplicateEvidenceAction duplicateAction) 464Type evidenceType = typeof(T); 474private void AddHostEvidence(EvidenceBase evidence, Type evidenceType, DuplicateEvidenceAction duplicateAction) 494private void AddHostEvidenceNoLock(EvidenceBase evidence, Type evidenceType, DuplicateEvidenceAction duplicateAction) 534Type[] hostSuppliedTypes = null; 562foreach (Type hostEvidenceType in hostSuppliedTypes) 648private static Type GetEvidenceIndexType(EvidenceBase evidence) 666internal EvidenceTypeDescriptor GetEvidenceTypeDescriptor(Type evidenceType) 677private EvidenceTypeDescriptor GetEvidenceTypeDescriptor(Type evidenceType, bool addIfNotExist) 819Type hostEvidenceType = hostEnumerator.Current.GetType(); 892foreach (Type evidenceType in new List<Type>(m_evidence.Keys)) 933m_evidence = new Dictionary<Type, EvidenceTypeDescriptor>(); 1031Dictionary<Type, EvidenceBase> generatedEvidence = new Dictionary<Type, EvidenceBase>(); 1032foreach (KeyValuePair<Type, EvidenceTypeDescriptor> evidenceType in m_evidence) 1113return new RawEvidenceEnumerator(this, new List<Type>(m_evidence.Keys), false); 1123return new RawEvidenceEnumerator(this, new List<Type>(m_evidence.Keys), true); 1144internal EvidenceBase GetAssemblyEvidence(Type type) 1154private EvidenceBase GetAssemblyEvidenceNoLock(Type type) 1187internal EvidenceBase GetHostEvidence(Type type) 1195private EvidenceBase GetHostEvidence(Type type, bool markDelayEvaluatedEvidenceUsed) 1226private EvidenceBase GetHostEvidenceNoLock(Type type) 1302private EvidenceBase GenerateHostEvidence(Type type, bool hostCanGenerate) 1382foreach (Type evidenceType in new List<Type>(m_evidence.Keys)) 1445public void RemoveType(Type t) 1479foreach (KeyValuePair<Type, EvidenceTypeDescriptor> evidenceType in m_evidence) 1611private Type[] m_evidenceTypes; 1615private static volatile List<Type> s_expensiveEvidence; 1617public RawEvidenceEnumerator(Evidence evidence, IEnumerable<Type> evidenceTypes, bool hostEnumerator) 1655private static List<Type> ExpensiveEvidence 1661List<Type> expensiveEvidence = new List<Type>(); 1690private static Type[] GenerateEvidenceTypes(Evidence evidence, 1691IEnumerable<Type> evidenceTypes, 1707List<Type> alreadyGeneratedList = new List<Type>(); 1708List<Type> inexpensiveList = new List<Type>(); 1709List<Type> expensiveList = new List<Type>(ExpensiveEvidence.Count); 1714foreach (Type evidenceType in evidenceTypes) 1736Type[] enumerationTypes = new Type[alreadyGeneratedList.Count + inexpensiveList.Count + expensiveList.Count];
system\security\policy\evidencebase.cs (3)
77Type EvidenceType { get; } 103public Type EvidenceType 154public Type EvidenceType
system\security\policy\hash.cs (27)
35private Dictionary<Type, byte[]> m_hashes; 54Dictionary<Type, byte[]> hashes = info.GetValueNoThrow("Hashes", typeof(Dictionary<Type, byte[]>)) as Dictionary<Type, byte[]>; 63m_hashes = new Dictionary<Type, byte[]>(); 96m_hashes = new Dictionary<Type, byte[]>(); 112m_hashes = new Dictionary<Type, byte[]>(hash.m_hashes); 118private Hash(Type hashType, byte[] hashValue) 123m_hashes = new Dictionary<Type, byte[]>(); 307private byte[] GenerateHash(Type hashType) 311Type indexType = GetHashIndexType(hashType); 331private static byte[] GenerateHash(Type hashType, byte[] assemblyBytes) 364Type[] defaultHashTypes = new Type[] 371foreach (Type defaultHashType in defaultHashTypes) 373Type hashImplementationType = GetDefaultHashImplementation(defaultHashType); 391private static Type GetDefaultHashImplementationOrFallback(Type hashAlgorithm, 392Type fallbackImplementation) 397Type defaultImplementation = GetDefaultHashImplementation(hashAlgorithm); 406private static Type GetDefaultHashImplementation(Type hashAlgorithm) 428return Type.GetType("System.Security.Cryptography.SHA256CryptoServiceProvider, " + AssemblyRef.SystemCore); 443private static Type GetHashIndexType(Type hashType) 447Type currentType = hashType; 503foreach (KeyValuePair<Type, byte[]> hashValue in m_hashes)
system\security\policy\iruntimeevidencefactory.cs (1)
36EvidenceBase GenerateEvidence(Type evidenceType);
system\security\policy\pefileevidencefactory.cs (1)
212public EvidenceBase GenerateEvidence(Type evidenceType)
system\security\policy\policylevel.cs (2)
1300Type type = System.Type.GetType(className, false, false);
system\security\principal\identityreference.cs (2)
33public abstract bool IsValidTargetType( Type targetType ); 35public abstract IdentityReference Translate( Type targetType );
system\security\principal\ircollection.cs (5)
154public IdentityReferenceCollection Translate( Type targetType ) 161public IdentityReferenceCollection Translate( Type targetType, bool forceSuccess ) 197Type type = Identities[i].GetType(); 260Type type = id.GetType(); 357Type type = id.GetType();
system\security\principal\ntaccount.cs (4)
102public override bool IsValidTargetType( Type targetType ) 120public override IdentityReference Translate( Type targetType ) 175internal static IdentityReferenceCollection Translate( IdentityReferenceCollection sourceAccounts, Type targetType, bool forceSuccess) 202internal static IdentityReferenceCollection Translate( IdentityReferenceCollection sourceAccounts, Type targetType, out bool someFailed )
system\security\principal\sid.cs (5)
717internal static bool IsValidTargetTypeStatic( Type targetType ) 733public override bool IsValidTargetType( Type targetType ) 781public override IdentityReference Translate( Type targetType ) 1080internal static IdentityReferenceCollection Translate( IdentityReferenceCollection sourceSids, Type targetType, bool forceSuccess) 1108internal static IdentityReferenceCollection Translate( IdentityReferenceCollection sourceSids, Type targetType, out bool someFailed )
system\security\principal\windowsidentity.cs (1)
115new Type[] { typeof(SerializationInfo) },
system\security\readonlypermissionset.cs (2)
85protected override IPermission GetPermissionImpl(Type permClass) 116protected override IPermission RemovePermissionImpl(Type permClass)
system\security\securityexception.cs (4)
41[NonSerialized] private Type m_typeOfPermissionThatFailed; 176public SecurityException(String message, Type type ) 186public SecurityException(String message, Type type, String state ) 351public Type PermissionType
system\security\util\xmlutil.cs (8)
63AddClassAttribute( SecurityElement element, Type type, String typename ) 412Type permClass = null; 484Type groupClass = null; 618Type condClass = null; 633internal static Type 650return Type.GetType(className, false, false); 658return Type.GetType(className, true, false); 683public static String BitFieldEnumToString( Type type, Object value )
system\single.cs (1)
343Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\string.cs (1)
3435Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\stubhelpers.cs (10)
810internal static unsafe void ConvertContentsToNative_Type(ref System.Type[] managedArray, IntPtr pNativeHome) 884internal static unsafe void ConvertContentsToManaged_Type(ref System.Type[] managedArray, IntPtr pNativeHome) 1001private Type layoutType; 1028Type elementType = pManagedHome.GetType().GetElementType(); 1031switch (Type.GetTypeCode(elementType)) 1397internal static extern string ConvertToWinRTTypeName(System.Type managedType, out bool isPrimitive); 1400internal static extern System.Type GetTypeFromWinRTTypeName(string typeName, out bool isPrimitive); 1407internal static unsafe void ConvertToNative(System.Type managedType, TypeNameNative *pNativeType) 1451internal static unsafe void ConvertToManaged(TypeNameNative *pNativeType, ref System.Type managedType) 1467managedType = Type.GetType(typeName, /* throwOnError = */ true);
system\threading\synchronizationcontext.cs (8)
76static Type s_cachedPreparedType1; 77static Type s_cachedPreparedType2; 78static Type s_cachedPreparedType3; 79static Type s_cachedPreparedType4; 80static Type s_cachedPreparedType5; 98Type type = this.GetType(); 323Type factoryType = Type.GetType("System.Threading.WinRTSynchronizationContextFactory, " + AssemblyRef.SystemRuntimeWindowsRuntime, true);
system\threading\Tasks\TaskExceptionHolder.cs (1)
317var t = exceptions[i].SourceException.GetType();
system\throwhelper.cs (2)
59internal static void ThrowWrongKeyTypeArgumentException(object key, Type targetType) { 63internal static void ThrowWrongValueTypeArgumentException(object value, Type targetType) {
system\type.cs (126)
56public readonly static Type[] EmptyTypes = EmptyArray<Type>.Value; 72public override Type DeclaringType { 79public override Type ReflectedType 91public static Type GetType(String typeName, bool throwOnError, bool ignoreCase) { 97public static Type GetType(String typeName, bool throwOnError) { 103public static Type GetType(String typeName) { 110public static Type GetType( 113Func<Assembly, string, bool, Type> typeResolver) 120public static Type GetType( 123Func<Assembly, string, bool, Type> typeResolver, 131public static Type GetType( 134Func<Assembly, string, bool, Type> typeResolver, 144public static Type ReflectionOnlyGetType(String typeName, bool throwIfNotFound, bool ignoreCase) 150public virtual Type MakePointerType() { throw new NotSupportedException(); } 152public virtual Type MakeByRefType() { throw new NotSupportedException(); } 153public virtual Type MakeArrayType() { throw new NotSupportedException(); } 154public virtual Type MakeArrayType(int rank) { throw new NotSupportedException(); } 167public static Type GetTypeFromProgID(String progID) 182public static Type GetTypeFromProgID(String progID, bool throwOnError) 188public static Type GetTypeFromProgID(String progID, String server) 194public static Type GetTypeFromProgID(String progID, String server, bool throwOnError) 207public static Type GetTypeFromCLSID(Guid clsid) 213public static Type GetTypeFromCLSID(Guid clsid, bool throwOnError) 219public static Type GetTypeFromCLSID(Guid clsid, String server) 225public static Type GetTypeFromCLSID(Guid clsid, String server, bool throwOnError) 234public static TypeCode GetTypeCode(Type type) 248return Type.GetTypeCode(UnderlyingSystemType); 363public static extern Type GetTypeFromHandle(RuntimeTypeHandle handle); 394public abstract Type BaseType { 408Type[] types, 422public ConstructorInfo GetConstructor(BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) 434public ConstructorInfo GetConstructor(Type[] types) 443Type[] types, 464Type.EmptyTypes, 478Type[] types, 495Type[] types, 509public MethodInfo GetMethod(String name, Type[] types, ParameterModifier[] modifiers) 519return GetMethodImpl(name, Type.DefaultLookup, null, CallingConventions.Any, types, modifiers); 522public MethodInfo GetMethod(String name,Type[] types) 532return GetMethodImpl(name, Type.DefaultLookup, null, CallingConventions.Any, types, null); 548return GetMethodImpl(name, Type.DefaultLookup, null, CallingConventions.Any, null, null); 555Type[] types, 562return GetMethods(Type.DefaultLookup); 573return GetField(name, Type.DefaultLookup); 580return GetFields(Type.DefaultLookup); 587public Type GetInterface(String name) { 590abstract public Type GetInterface(String name, bool ignoreCase); 595abstract public Type[] GetInterfaces(); 599public virtual Type[] FindInterfaces(TypeFilter filter,Object filterCriteria) 604Type[] c = GetInterfaces(); 615Type[] ret = new Type[cnt]; 630return GetEvent(name,Type.DefaultLookup); 638return GetEvents(Type.DefaultLookup); 646Type returnType, Type[] types, ParameterModifier[] modifiers) 656public PropertyInfo GetProperty(String name, Type returnType, Type[] types,ParameterModifier[] modifiers) 663return GetPropertyImpl(name,Type.DefaultLookup,null,returnType,types,modifiers); 674public PropertyInfo GetProperty(String name, Type returnType, Type[] types) 681return GetPropertyImpl(name,Type.DefaultLookup,null,returnType,types,null); 684public PropertyInfo GetProperty(String name, Type[] types) 691return GetPropertyImpl(name,Type.DefaultLookup,null,null,types,null); 694public PropertyInfo GetProperty(String name, Type returnType) 701return GetPropertyImpl(name,Type.DefaultLookup,null,returnType,null,null); 704internal PropertyInfo GetProperty(String name, BindingFlags bindingAttr, Type returnType) 719return GetPropertyImpl(name,Type.DefaultLookup,null,null,null,null); 723Type returnType, Type[] types, ParameterModifier[] modifiers); 732return GetProperties(Type.DefaultLookup); 739public Type[] GetNestedTypes() 741return GetNestedTypes(Type.DefaultLookup); 744abstract public Type[] GetNestedTypes(BindingFlags bindingAttr); 749public Type GetNestedType(String name) 751return GetNestedType(name,Type.DefaultLookup); 754abstract public Type GetNestedType(String name, BindingFlags bindingAttr); 760return GetMember(name,Type.DefaultLookup); 777return GetMembers(Type.DefaultLookup); 799Type[] t = null; 984Type type = this; 1000foreach (Type t in GetGenericArguments()) 1202Type[] genericArguments = GetGenericArguments(); 1214public virtual Type[] GetGenericParameterConstraints() 1317public virtual Type MakeGenericType(params Type[] typeArguments) { 1318Contract.Ensures(Contract.Result<Type>() != null); 1341abstract public Type GetElementType(); 1344public virtual Type[] GetGenericArguments() 1349public virtual Type[] GenericTypeArguments{ 1355return Type.EmptyTypes; 1362public virtual Type GetGenericTypeDefinition() 1364Contract.Ensures(Contract.Result<Type>() != null); 1371internal Type GetRootElementType() 1373Type rootElementType = this; 1468public virtual Type GetEnumUnderlyingType() 1472Contract.Ensures(Contract.Result<Type>() != null); 1491Type valueType = value.GetType(); 1513if (Type.IsIntegerType(valueType)) 1515Type underlyingType = GetEnumUnderlyingType(); 1544Type valueType = value.GetType(); 1546if (!(valueType.IsEnum || Type.IsIntegerType(valueType))) 1573internal static bool IsIntegerType(Type t) 1612foreach (Type genericArgument in GetGenericArguments()) 1634public abstract Type UnderlyingSystemType { 1644public virtual bool IsSubclassOf(Type c) 1646Type p = this; 1676public virtual bool IsAssignableFrom(Type c) 1700Type[] constraints = GetGenericParameterConstraints(); 1713public virtual bool IsEquivalentTo(Type other) 1718internal bool ImplementInterface(Type ifaceType) 1723Type t = this; 1726Type[] interfaces = t.GetInterfaces(); 1766public static Type[] GetTypeArray(Object[] args) { 1770Type[] cls = new Type[args.Length]; 1786return Equals(o as Type); 1792public virtual bool Equals(Type o) 1808public static extern bool operator ==(Type left, Type right); 1814public static extern bool operator !=(Type left, Type right); 1819Type SystemType = UnderlyingSystemType; 1831public virtual InterfaceMapping GetInterfaceMap(Type interfaceType) 1839public new Type GetType()
system\typedreference.cs (1)
113public static Type GetTargetType (TypedReference value)
system\typenameparser.cs (11)
77internal static Type GetType( 80Func<Assembly, string, bool, Type> typeResolver, 91Type ret = null; 131private unsafe Type ConstructType( 133Func<Assembly, string, bool, Type> typeResolver, 166Type baseType = ResolveType(assembly, names, typeResolver, throwOnError, ignoreCase, ref stackMark); 177Type[] types = null; 180types = new Type[typeArguments.Length]; 247private static Type ResolveType(Assembly assembly, string[] names, Func<Assembly, string, bool, Type> typeResolver, bool throwOnError, bool ignoreCase, ref StackCrawlMark stackMark) 251Type type = null;
system\uint16.cs (1)
247Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\uint32.cs (1)
229Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\uint64.cs (1)
224Object IConvertible.ToType(Type type, IFormatProvider provider) {
system\unityserializationholder.cs (14)
75internal Type MakeElementTypes(Type type) 109info.AddValue("DeclaringType", type.DeclaringType, typeof(Type)); 121info.AddValue("GenericArguments", type.GetGenericArguments(), typeof(Type[])); 156private Type[] m_instantiation; 159private Type m_declaringType; 181m_declaringType = info.GetValue("DeclaringType", typeof(Type)) as Type; 190m_instantiation = info.GetValue("GenericArguments", typeof(Type[])) as Type[]; 248Type definition = GetRealObject(context) as Type; 277return Type.GetType(m_data, true, false); 281Type t = assembly.GetType(m_data, true, false);
system\variant.cs (5)
90internal static readonly Type [] ClassTypes = { 117internal static readonly Variant Missing = new Variant(Variant.CV_MISSING, Type.Missing, 0, 0); 297if (obj == Type.Missing) { 353unsafe public Variant(void* voidPointer,Type pointerType) { 411return Type.Missing;
PresentationBuildTasks (400)
Base\System\Windows\Markup\TypeConverterHelper.cs (11)
104internal static Type GetConverterType(MemberInfo memberInfo) 108Type converterType = null; 121internal static Type GetConverterType(Type type) 125Type converterType = null; 138private static Type GetConverterTypeFromName(string converterName) 140Type converterType = null; 167internal static Type GetCoreConverterTypeFromCustomType(Type type) 169Type converterType = null; 245else if (typeof(Type).IsAssignableFrom(type))
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
72public override System.Type ValueType { get { return _reader.ValueType; } }
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (28)
1051Type eventTarget; 1729private CodeExpression GetPropertyValueExpression(ITypeDescriptorContext ctx, Type typeToConvertTo, Object value, string attributeValue) 1839private Type GetEventHandlerType(MemberInfo memberInfo) 1841Type eventHandlerType = null; 1874Type eventTarget = cc != null ? cc.ElementType : miEvent.DeclaringType; 1882Type eventHandlerType = GetEventHandlerType(miEvent); 1920private CodeStatement AddCLREvent(Type eventTarget, CodeContext cc, CodeExpression ce, MarkupEventInfo mei) 1983Type eventHandlerType = GetEventHandlerType(mei.mi); 2129Type resourceDictionary = KnownTypes.Types[(int)KnownElements.ResourceDictionary]; 2130Type iNameScope = KnownTypes.Types[(int)KnownElements.INameScope]; 2134Type t = ((CodeContext)contexts[i]).ElementType; 2204Type currTypeArg = parserContext.XamlTypeMapper.GetTypeArgsType(_typeArgsList[i].Trim(), 2246private static CodeTypeReference GenerateConstructedTypeReference(Type t, string [] typeArgsList, string genericName) 2291private static CodeTypeReference GenerateConstructedTypeReference(Type t, string [] typeArgsList, Type refType, string refTypeFullName, string eventName) 2298Type[] refTypeParams = null; 2300Type[] typeParams = t.GetGenericArguments(); 2317foreach (Type typeParam in typeParams) 2398private CodeTypeDeclaration GenerateClass(string className, ref string modifier, Type baseClass, string baseClassFullName) 2442private CodeContext GenerateSubClass(ref string className, ref string modifier, Type baseClass, string baseClassFullName) 2517CodeParameterDeclarationExpression param1 = new CodeParameterDeclarationExpression(typeof(Type), DELEGATETYPE); 2687CodeParameterDeclarationExpression param1 = new CodeParameterDeclarationExpression(typeof(Type), TYPE); 2786param1 = new CodeParameterDeclarationExpression(typeof(Type), DELEGATETYPE); 2891internal string StartElement(ref string className, string subClassFullName, ref string modifier, Type elementType, string baseClassFullName) 3262internal CodeContext(Type elementType, string [] typeArgsList, string localElementFullName) 3269internal Type ElementType 3311private Type _elementType = null; 3321Type elementType,
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (4)
108Type rootType = isRootPublic ? xamlObjectNode.ElementType : typeof(ParserExtension); 294Type ownerTagType = typeAndSerializer.ObjectType; 404ref Type baseType, 405ref Type serializerType)
Framework\System\Windows\Markup\AttributeData.cs (8)
75Type targetType, 77Type declaringType, 80Type serializerType, 101internal Type SerializerType; // Type of serializer (if any) 132Type targetType, 134Type declaringType, 153internal Type TargetType; // Target type 154internal Type DeclaringType; // Type where Attribute is declared
Framework\System\Windows\Markup\BamlMapTable.cs (28)
116internal static Type GetKnownTypeFromId(short id) 145Type probeType = KnownTypes.Types[probe]; 176internal static short GetKnownTypeIdFromType(Type type) 298internal Type GetKnownConverterTypeFromType(Type type) 319if (type == typeof(System.Type)) 344private static Type GetKnownConverterTypeFromPropName( 345Type propOwnerType, 971internal short GetAttributeOrTypeId(BinaryWriter binaryWriter, Type declaringType, string memberName, out short typeId) 1225Type elementType, 1309Type owningType, // Actual type of the object the owns or declares this attribute 1311Type attributeType, // Type of the attribute or property itself; not its owner type 1322Type owningType, // Actual type of the object the owns or declares this attribute 1324Type attributeType, // Type of the attribute or property itself; not its owner type 1336Type serializerType = XamlTypeMapper.GetXamlSerializerForType(owningType); 1387Type ownerType, // Type of object that owns or declares this attribute 1388Type attributeType, // Type of the attribute or property itself; not its owner type 1392out Type converterOrSerializerType) 1503Type defaultTargetType) 1506Type targetType = null; 1552Type declaringType, // Type of object that owns or declares this attribute 1553Type attributeType) // Type of the attribute or property itself; not its owner type 1571private Type GetCustomConverter( 1573Type ownerType, // Type of object that owns or declares this attribute 1575Type attributeType) // Type of the attribute or property itself; not its owner type 1578Type converterType = GetKnownConverterTypeFromPropName(ownerType, fieldName); 1612private Type GetCustomSerializer( 1613Type type,
Framework\System\Windows\Markup\BamlRecords.cs (6)
482static internal bool TreatAsIAddChild(Type parentObjectType) 487static internal BamlRecordType GetPropertyStartRecordType(Type propertyType, bool propertyCanWrite) 2739internal Type ValueType 2754internal Type SerializerType 2768Type _valueType; 2771Type _serializerType;
Framework\System\Windows\Markup\BamlRecordWriter.cs (3)
992Type converterOrSerializerType; 1028Type ownerType = _xamlTypeMapper.GetDependencyPropertyOwnerAndName(xamlProperty.Value, 1093Type typeValue = _xamlTypeMapper.GetTypeFromBaseString(xamlPropertyNode.Value,
Framework\System\Windows\Markup\KnownTypes.cs (2)
4766private Type InitializeOneType(KnownElements knownElement) 4768Type t = null;
Framework\System\Windows\Markup\KnownTypesHelper.cs (4)
49_typeTable =new Type[size]; 52public System.Type this[int index] 56Type t = _typeTable[index]; 66private Type[] _typeTable;
Framework\System\Windows\Markup\MarkupExtensionParser.cs (25)
54ref Type baseType, 55ref Type serializerType); 83Type declaringType, // Type where propIdName is declared 108Type declaringType, 169private KnownElements GetKnownExtensionFromType(Type extensionType, out string propName) 209Type extensionType, 246Type extensionType, 320Type targetType) 464Type declaringType, // Type where attribute is declared 475Type targetType; 476Type serializerType; 498Type declaringType, // Type where propIdName is declared 511Type targetType; 512Type serializerType; 572out Type targetType, 573out Type serializerType) 660Type propertyType; 934Type extensionType) 1221private ParameterInfo[] FindLongestConstructor(Type extensionType, out int maxConstructorArguments) 1400Type declaringType; 1516Type parentType, 1534Type declaringType; 1569Type typeValue = _parserContext.XamlTypeMapper.GetTypeFromBaseString(value, 1669Type elementBaseType, 1676out Type declaringType, // type of the object that the field is on
Framework\System\Windows\Markup\ParserContext.cs (11)
209internal Dictionary<string, SpecialBracketCharacters> InitBracketCharacterCacheForType(Type type) 249_targetType = (Type) _langSpaceStack.Pop(); 325internal Type TargetType 728internal Dictionary<Type, Dictionary<string, SpecialBracketCharacters>> MasterBracketCharacterCache 734_masterBracketCharacterCache = new Dictionary<Type, Dictionary<string, SpecialBracketCharacters>>(); 855private Type _targetType; 856private Dictionary<Type, Dictionary<string, SpecialBracketCharacters>> _masterBracketCharacterCache; 876private Dictionary<string, SpecialBracketCharacters> BuildBracketCharacterCacheForType(Type extensionType) 880Type constructorArgumentType = null; 881Type markupExtensionBracketCharacterType = null; 891Type attributeType = attributeData.AttributeType;
Framework\System\Windows\Markup\StyleXamlParser.cs (4)
301Type ownerTagType = typeAndSerializer.ObjectType; 414Type targetType = null; 558Type propertyType = XamlTypeMapper.GetPropertyType(_setterOrTriggerPropertyInfo); 1589Type _styleTargetTypeType;
Framework\System\Windows\Markup\TemplateXamlParser.cs (17)
337Type ownerTagType = typeAndSerializer.ObjectType; 462Type targetType = null; 473targetType = _IDTypes[_setterTargetNameOrConditionSourceName] as Type; 580Type propertyType = XamlTypeMapper.GetPropertyType(_setterOrTriggerPropertyMemberInfo); 836private void CommonElementStartProcessing (XamlNode xamlNode, Type elementType, ref StyleMode mode) 930private Type TargetType 1369xamlClrEventNode.ListenerType = (Type) _elementTypeStack.Peek(); 1497_IDTypes[xamlPropertyNode.Value] = _elementTypeStack.Peek() as Type; 1546Type t = (Type)_elementTypeStack.Peek(); 1773private Type ItemContainerTemplateType 1785private Type ItemContainerTemplateKeyType 1825Type _templateTargetTypeType; 1828Type _defaultTargetType; 1863Type _templateKeyType; 1866private static Type _itemContainerTemplateType; 1869private static Type _itemContainerTemplateKeyType;
Framework\System\Windows\Markup\TypeContext.cs (1)
77virtual public object GetService(Type serviceType)
Framework\System\Windows\Markup\XamlNodes.cs (40)
381Type converterType) 399internal Type ConverterType 414Type _converterType = null; 490internal Type PropDeclaringType 507internal Type PropValidType 534Type _validType; 535Type _declaringType; 672internal Type DefaultTargetType 682Type _defaultTargetType; 770internal Type ValueDeclaringType 812internal Type ValuePropertyType 877internal Type DefaultTargetType 914Type _valueDeclaringType; 916Type _valuePropertyType; 921Type _defaultTargetType; 943Type valueElementType, // Actual type of the valueTypeFullname. 982internal Type ValueElementType 1007Type _valueElementType; 1101Type elementType, 1102Type serializerType) 1124Type elementType, 1125Type serializerType, 1162internal Type ElementType 1173internal Type SerializerType 1222Type _elementType; 1223Type _serializerType; 1279Type valueElementType) // Actual type of the valueTypeFullname. 1307internal Type ValueElementType 1314Type _valueElementType; 1704internal Type ListenerType 1781private Type _listenerType; 2091Type valueType) // Actual Type, if known. 2109internal Type ValueType 2115Type _valueType; 2176Type elementType, 2177Type serializerType) 2270internal Type PropDeclaringType 2287internal Type PropValidType 2301Type _declaringType; 2302Type _validType;
Framework\System\Windows\Markup\XAMLParseException.cs (1)
437Type objectType
Framework\System\Windows\Markup\XamlParser.cs (2)
1069ref Type baseType, 1070ref Type serializerType)
Framework\System\Windows\Markup\XamlReaderHelper.cs (117)
193ref Type baseType, 194ref Type serializerType) 248private static bool IsACollection(Type type) 261Type contentPropertyType = XamlTypeMapper.GetPropertyType(context.ContentPropertyInfo); 284Type t = ((Type)context.ContextData); 481ref Type baseType, 482ref Type serializerType) 631Type elementType, 632Type serializerType, 640typeof(IDictionary).IsAssignableFrom(ParentContext.ContextData as Type)); 675Type elementType = (Type) CurrentContext.ContextDataType; 683Type propertyDeclaringType; 700Type converterType, 802Type typeValue = XamlTypeMapper.GetTypeFromBaseString(value, 852Type valueElementType, // Actual type of the valueTypeFullname. 872Type declaringType, // Type that corresponds to declaringTypeFullName (where the property is declared) 880Type propType = XamlTypeMapper.GetPropertyType(propertyMember); 1083Type valueElementType) 1149ref Type baseType, // Type of the dynamicObject - PropertyInfo, MethodInfo or DependencyProperty 1151ref Type declaringType) // Actual type corresponding to typeFullName 1346bool GetTrimSurroundingWhitespace(Type type) 1442delegate bool ContentValidator(Type type); 1476public Type ContextDataType 1483return _contextData as Type; 1540internal Type ChildPropertyType 1651Type _childPropertyType; 1696Type elementBaseType, 1703out Type declaringType, // type of the object that the field is on 1774Type elementBaseType, 1782ref Type declaringType, // type of the object that the field is on 1890static string GetContentPropertyName(Type type) 1923Type baseType = type; 1924Type attrType = KnownTypes.Types[(int)KnownElements.ContentPropertyAttribute]; 1925Type DOType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1926Type FEType = KnownTypes.Types[(int)KnownElements.FrameworkElement]; 1927Type FCEType = KnownTypes.Types[(int)KnownElements.FrameworkContentElement]; 2203Type elementType, 2301Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 2766Type parentType, // Type of parent, if known 2831Type declaringType = null; 2987Type parentType, 3023parentType.GetConstructor(Type.EmptyTypes) == null || 3077Type valueElementType = null; 3078Type valueSerializerType = null; 3129Type pType = ParentContext.ContextData as Type; 3175Type parentType, 3185Type declaringType, 3247Type propType; 3298parentType.GetConstructor(Type.EmptyTypes) == null || 3306if (propType == typeof(Type)) 3337Type parentType = XamlTypeMapper.GetType(parentTypeNamespace, parentTypeName); 3343private string GetRuntimeNamePropertyName(Type objectType) 3417Type baseType = objectType; 3418Type attrType = KnownTypes.Types[(int)KnownElements.RuntimeNamePropertyAttribute]; 3419Type TimelineType = KnownTypes.Types[(int)KnownElements.Timeline]; 3420Type FEType = KnownTypes.Types[(int)KnownElements.FrameworkElement]; 3421Type FCEType = KnownTypes.Types[(int)KnownElements.FrameworkContentElement]; 3422Type BSBType = KnownTypes.Types[(int)KnownElements.BeginStoryboard]; 3488Type parentType, 3515private bool PropertyIsWriteable(object propertyMember, Type declaringType) 3577Type elementBaseType = null; 3581Type serializerType = null; 3678Type declaringType = null; 3701Type propertyType = XamlTypeMapper.GetPropertyType(dynamicObject); 3937Type propertyType, // Type of the property 3938Type serializerType, // Type of serializer for the property 3944Type declaringType, // Actual type that corresponds to typeFullName 4170Type propertyType, // Type of the property 4190Type propertyType, // Type of the property 4191Type serializerType, 4225Type propertyType, // Type of the property 4226Type serializerType, // Type of serializer for the property 4265Type propertyType, // Type of the property 4321Type serializerType, 4335Type currentObjectType = CurrentContext.ContextDataType; 4353FirstTagName = ((Type)GrandParentContext.ContextData).Name + "." + GrandParentContext.ChildTagLocalName; 4412ParentContext.ContextDataType.GetConstructor(Type.EmptyTypes) == null)) 4494Type parentElementType = CurrentContext.ContextDataType; 4513private void LoadContentPropertyInfo(Type elementType) 4529Type propertyDeclaringType; 4551Type elementType, 4555out Type propertyDeclaringType) 4563Type propertyBaseType = null; 4616Type propertyDeclaringType = XamlTypeMapper.GetDeclaringType(contentPropertyInfo); 4637Type parentType = ParentContext.ContextDataType; 4654Type arrayType = ParentContext.ContextDataType; 4655Type objectType = CurrentContext.ContextDataType; 4686Type elementType = CurrentContext.ContextDataType; 4701Type contentPropertyType = XamlTypeMapper.GetPropertyType(CurrentContext.ContentPropertyInfo); 4747Type converterType = XamlTypeMapper.GetTypeConverterType(elementType); 4765Type converterType = XamlTypeMapper.GetTypeConverterType(elementType); 4786internal static bool CanCollectionTypeAcceptStrings( Type collectionType ) 4806internal static bool CanCollectionTypeAcceptStringsHelper( Type propertyType ) 4813Type collectionItemType = GetCollectionItemType(propertyType); 4843internal static Type GetCollectionItemType( Type collectionType ) 4847Type iCollectionT = collectionType.GetInterface("System.Collections.Generic.ICollection`1"); 4879internal static bool CanWrapStringAsItemType( Type collectionType, Type collectionItemType ) 4881Type contentWrapper = null; //e.g. Run 4908contentWrapper = attributes[i].ConstructorArguments[0].Value as Type; 5650private bool IsWhitespaceSignificantAttributePresent(Type collectionType) 5663Type baseType = collectionType; 5664Type attrType = KnownTypes.Types[(int)KnownElements.WhitespaceSignificantCollectionAttribute]; 5692Type propertyType) 5697internal Type PropertyType 5724private Type _propertyType; 6411Type typeRightTag = elementNode.ElementType; 6726private bool IsAssignableToIXmlSerializable(Type type) 6786Type _definitionScopeType; 6801private Type _typeIXmlSerializable; 6809Type _ownerType; 6812public XamlPropertyFullName(Type ownerType, string name) 6819public Type OwnerType { get { return _ownerType; } }
Framework\System\Windows\Markup\XamlTypeMapper.cs (57)
126public Type GetType( 806Type propType, 861Type owner, 1024Type owner, 1048static private bool IsAllowedEventDelegateType(Type delegateType) 1299Type owner, 1329Type owner, 1359Type objectType = typeAndSerializer.ObjectType; 1380Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1518Type baseType = owner; 1543Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1936Type typeValue = null; 1993Type ownerType, 2111internal static Type GetPropertyType(object propertyMember) 2113Type propertyType; 2128out Type propertyType, 2209internal static Type GetDeclaringType(object propertyMember) 2211Type validType = null; 2336internal Type GetTargetTypeAndMember(string valueParam, 2351Type targetType = null; 2387internal Type GetDependencyPropertyOwnerAndName(string memberValue, 2389Type defaultTargetType, 2392Type targetType = GetTargetTypeAndMember(memberValue, context, false, out memberName); 2419internal MemberInfo GetStaticMemberInfo(Type targetType, string memberName, bool fieldInfoOnly) 2459private MemberInfo GetStaticMemberInfo(Type targetType, string memberName, bool fieldInfoOnly, bool tryInternal) 2583private static bool IsInternalAllowedOnType(Type type) 2634Type objectType = GetObjectType(namespaceMap, localName, knownTypesOnly); 2684private Type GetObjectType( 2692Type type = null; 2761internal int GetCustomBamlSerializerIdForType(Type objectType) 2802internal Type GetXamlSerializerForType(Type objectType) 3068internal Type GetTypeFromBaseString( 3074Type keyObject = null; 3143internal Type GetTypeArgsType( 3149Type t = null; 3205private TypeInformationCacheData GetCachedInformationForType(Type type) 3325internal object CreateInstance(Type t) 3667internal Type GetTypeConverterType(Type type) 3671Type converterType = null; 3742internal Type GetPropertyConverterType(Type propType, object dpOrPiOrMi) 3745Type converterType = null; 3756converterType = (Type)ret; 3953internal bool GetCachedTrimSurroundingWhitespace(Type t) 3971private bool GetTrimSurroundingWhitespace(Type type) 4154internal TypeInformationCacheData(Type baseType) 4191internal Type TypeConverterType 4237Type ownerType, 4283Type converter) 4291Type _baseType; 4299Type _typeConverterType; 4309Type ot, 4322public Type OwnerType; 4423public Type ObjectType = null; 4424public Type SerializerType = null;
Framework\System\Windows\SystemResourceKey.cs (1)
364internal static short GetBamlIdBasedOnSystemResourceKeyId(Type targetType, string memberName)
Shared\System\Windows\Markup\ReflectionHelper.cs (29)
46internal static Type GetQualifiedType(string typeName) 51Type type = null; 55type = Type.GetType(nameFrags[0]); 104internal static bool IsNullableType(Type type) 109internal static bool IsInternalType(Type type) 111Type origType = type; 131internal static bool IsPublicType(Type type) 148internal static Type GetSystemType(Type type) 186internal static string GetTypeConverterAttributeData(Type type, out Type converterType) 192internal static string GetTypeConverterAttributeData(MemberInfo mi, out Type converterType) 200private static string GetCustomAttributeData(MemberInfo mi, Type attrType, out Type typeValue) 211internal static string GetCustomAttributeData(Type t, Type attrType, bool allowZeroArgs) 213Type typeValue = null; 223private static string GetCustomAttributeData(IList<CustomAttributeData> list, Type attrType, out Type typeValue, bool allowTypeAlso, bool allowZeroArgs) 244internal static string GetCustomAttributeData(Type t, 245Type attrType, 248out Type typeValue) 252Type currentType = t; 287Type attrType, 288out Type typeValue, 308if (attrValue == null && allowTypeAlso && tca.ArgumentType == typeof(Type)) 310typeValue = tca.Value as Type; 456Type typeValue = null; 474internal static bool IsInternalAllowedOnType(Type type)
PresentationCore (399)
Core\CSharp\MS\Internal\ConstrainedDataObject.cs (3)
115public object GetData(Type format) 129public bool GetDataPresent(Type format) 249public void SetData(Type format, object data)
Core\CSharp\MS\Internal\IListConverters.cs (9)
41public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 49public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 77public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 94internal abstract object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType); 120internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 162internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 203internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 245internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 283internal override object ConvertToCore(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\MS\Internal\Ink\ExtendedProperty.cs (6)
62Type type1 = this.Value.GetType(); 63Type type2 = that.Value.GetType(); 67Type elementType1 = type1.GetElementType(); 68Type elementType2 = type2.GetElementType(); 191Type type = _value.GetType(); 206Type elementType = type.GetElementType();
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (2)
855Type valueType = value.GetType(); 873Type t = value.GetType();
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (3)
736public static readonly Type StylusTip = typeof(Int32); 737public static readonly Type IsHollow = typeof(bool); 738public static readonly Type StylusTipTransform = typeof(string);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\SerializationHelper.cs (1)
211public static VarEnum ConvertToVarEnum(Type type, bool throwOnError)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (3)
440Type t = caughtException.GetType(); 447new Type[] { typeof(Exception) } 458new Type[] { typeof(string), typeof(Exception) }
Core\CSharp\System\Windows\CultureInfoConverter.cs (4)
53public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 67public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 128Type destinationType) 148new Type[] { typeof(string) },
Core\CSharp\System\Windows\DataObject.cs (11)
155public DataObject(Type format, object data) 280public object GetData(Type format) 294public bool GetDataPresent(Type format) 427public void SetData(Type format, object data) 2784public Object GetData(Type format) 2799public bool GetDataPresent(Type format) 2902public void SetData(Type format, Object data) 3741public override Type BindToType(string assemblyName, string typeName) 3793public Object GetData(Type format) 3808public bool GetDataPresent(Type format) 3947public void SetData(Type format, Object data)
Core\CSharp\System\Windows\Diagnostics\XamlSourceInfoHelper.cs (1)
79Type type = typeof(System.Xaml.XamlObjectEventArgs);
Core\CSharp\System\Windows\DurationConverter.cs (4)
27public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 46public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 111Type destinationType) 123mi = typeof(Duration).GetConstructor(new Type[] { typeof(TimeSpan) });
Core\CSharp\System\Windows\EventManager.cs (6)
57Type handlerType, 58Type ownerType) 102Type classType, 158Type classType, 237public static RoutedEvent[] GetRoutedEventsForOwner(Type ownerType) 273internal static RoutedEvent GetRoutedEventFromName(string name, Type ownerType)
Core\CSharp\System\Windows\FontStretchConverter.cs (4)
38public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 56public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 111public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 117MethodInfo mi = typeof(FontStretch).GetMethod("FromOpenTypeStretch", new Type[]{typeof(int)});
Core\CSharp\System\Windows\FontStyleConverter.cs (4)
38public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 56public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 111public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 117ConstructorInfo ci = typeof(FontStyle).GetConstructor(new Type[]{typeof(int)});
Core\CSharp\System\Windows\FontWeightConverter.cs (4)
38public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 56public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 111public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 117MethodInfo mi = typeof(FontWeight).GetMethod("FromOpenTypeWeight", new Type[]{typeof(int)});
Core\CSharp\System\Windows\Generated\ContentElement.cs (1)
32static private readonly Type _typeofThis = typeof(ContentElement);
Core\CSharp\system\windows\generated\TextDecoration.cs (1)
291Type typeofThis = typeof(TextDecoration);
Core\CSharp\System\Windows\Generated\UIElement.cs (2)
32static private readonly Type _typeofThis = typeof(UIElement); 803internal static void RegisterEvents(Type type)
Core\CSharp\System\Windows\Generated\UIElement3D.cs (1)
32static private readonly Type _typeofThis = typeof(UIElement3D);
Core\CSharp\System\Windows\GlobalEventManager.cs (6)
20Type handlerType, 21Type ownerType) 51Type classType, 148internal static void AddOwner(RoutedEvent routedEvent, Type ownerType) 212internal static RoutedEvent[] GetRoutedEventsForOwner(Type ownerType) 245Type ownerType,
Core\CSharp\System\Windows\IDataObject.cs (3)
52object GetData(Type format); 94bool GetDataPresent(Type format); 180void SetData(Type format, object data);
Core\CSharp\System\Windows\Ink\DrawingAttributes.cs (1)
721Type t = propertyData.GetType();
Core\CSharp\System\Windows\Ink\StrokeCollectionConverter.cs (4)
46public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 62public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 131public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 156ConstructorInfo ci = typeof(StrokeCollection).GetConstructor(new Type[] { typeof(Stream) });
Core\CSharp\System\Windows\Input\Command\CanExecuteChangedEventManager.cs (1)
173Type managerType = typeof(CanExecuteChangedEventManager);
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (12)
242public static void RegisterClassInputBinding(Type type, InputBinding inputBinding) 277public static void RegisterClassCommandBinding(Type type, CommandBinding commandBinding) 393Type classType = targetElement.GetType(); 441Type classType = targetElement.GetType(); 660Tuple<Type, CommandBinding> tuple = null; // zero or one binding 661List<Tuple<Type, CommandBinding>> list = null; // more than one 666Type classType = sender.GetType(); 680tuple = new Tuple<Type, CommandBinding>(classType, commandBinding); 686list = new List<Tuple<Type, CommandBinding>>(); 689list.Add(new Tuple<Type, CommandBinding>(classType, commandBinding)); 716Type classType = list[i].Item1; 1016Type managerType = typeof(RequerySuggestedEventManager);
Core\CSharp\System\Windows\Input\Command\KeyGestureConverter.cs (3)
42public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 62public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 148public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\Command\MouseActionConverter.cs (3)
42public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 62public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 118public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\Command\MouseGestureConverter.cs (3)
41public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 123public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 150public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\Command\RoutedCommand.cs (5)
47public RoutedCommand(string name, Type ownerType) : this(name, ownerType, null) 57public RoutedCommand(string name, Type ownerType, InputGestureCollection inputGestures) 85internal RoutedCommand(string name, Type ownerType, byte commandId) : this(name, ownerType, null) 229public Type OwnerType 545private Type _ownerType;
Core\CSharp\System\Windows\Input\Command\RoutedUICommand.cs (3)
37public RoutedUICommand(string text, string name, Type ownerType) 49public RoutedUICommand(string text, string name, Type ownerType, InputGestureCollection inputGestures) 65internal RoutedUICommand(string name, Type ownerType, byte commandId):base(name, ownerType, commandId)
Core\CSharp\System\Windows\Input\Command\SecureUICommand.cs (1)
54internal SecureUICommand(PermissionSet userInitiated, string name, Type ownerType, byte commandId)
Core\CSharp\System\Windows\Input\CursorConverter.cs (3)
27public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 42public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 214public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\InputScopeConverter.cs (3)
44public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 68public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 151public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Input\InputScopeNameConverter.cs (3)
44public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 68public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 137public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Interop\HwndSource.cs (1)
475internal override IInputProvider GetInputProvider(Type inputDevice)
Core\CSharp\System\Windows\Markup\XmlLanguageConverter.cs (4)
46public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 60public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 121Type destinationType) 141new Type[] { typeof(string) },
Core\CSharp\System\Windows\Media\Animation\Animatable.cs (2)
125Type propertyType, 126Type ownerType,
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (1)
1123private static IndependentAnimationStorage CreateIndependentAnimationStorageForType(Type type)
Core\CSharp\System\Windows\Media\Animation\AnimationTimeline.cs (1)
142public abstract Type TargetPropertyType { get; }
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimation.cs (2)
60Type typeofProp = typeof(Byte?); 61Type typeofThis = typeof(ByteAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimation.cs (2)
60Type typeofProp = typeof(Color?); 61Type typeofThis = typeof(ColorAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimation.cs (2)
60Type typeofProp = typeof(Decimal?); 61Type typeofThis = typeof(DecimalAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimation.cs (2)
60Type typeofProp = typeof(Double?); 61Type typeofThis = typeof(DoubleAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\Int16Animation.cs (2)
60Type typeofProp = typeof(Int16?); 61Type typeofThis = typeof(Int16Animation);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (2)
60Type typeofProp = typeof(Int32?); 61Type typeofThis = typeof(Int32Animation);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\Int64Animation.cs (2)
60Type typeofProp = typeof(Int64?); 61Type typeofThis = typeof(Int64Animation);
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationBase.cs (1)
129public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimation.cs (2)
60Type typeofProp = typeof(Point3D?); 61Type typeofThis = typeof(Point3DAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimation.cs (2)
60Type typeofProp = typeof(Point?); 61Type typeofThis = typeof(PointAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (2)
60Type typeofProp = typeof(Quaternion?); 61Type typeofThis = typeof(QuaternionAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimation.cs (2)
60Type typeofProp = typeof(Rect?); 61Type typeofThis = typeof(RectAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (2)
60Type typeofProp = typeof(Rotation3D); 61Type typeofThis = typeof(Rotation3DAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationBase.cs (1)
100public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimation.cs (2)
60Type typeofProp = typeof(Single?); 61Type typeofThis = typeof(SingleAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimation.cs (2)
60Type typeofProp = typeof(Size?); 61Type typeofThis = typeof(SizeAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationBase.cs (1)
100public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineGroup.cs (1)
210Type typeofThis = typeof(TimelineGroup);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (2)
60Type typeofProp = typeof(Vector3D?); 61Type typeofThis = typeof(Vector3DAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimation.cs (2)
60Type typeofProp = typeof(Vector?); 61Type typeofThis = typeof(VectorAnimation);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
Core\CSharp\System\Windows\Media\Animation\KeySplineConverter.cs (4)
36public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptor, Type destinationType) 55public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 111Type destinationType) 119ConstructorInfo ci = typeof(KeySpline).GetConstructor(new Type[]
Core\CSharp\System\Windows\Media\Animation\KeyTimeConverter.cs (5)
35Type type) 55Type type) 145Type destinationType) 160mi = typeof(KeyTime).GetMethod("FromPercent", new Type[] { typeof(double) }); 166mi = typeof(KeyTime).GetMethod("FromTimeSpan", new Type[] { typeof(TimeSpan) });
Core\CSharp\System\Windows\Media\Animation\RepeatBehaviorConverter.cs (5)
33public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 52public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 121Type destinationType) 140mi = typeof(RepeatBehavior).GetConstructor(new Type[] { typeof(double) }); 146mi = typeof(RepeatBehavior).GetConstructor(new Type[] { typeof(TimeSpan) });
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (1)
394private static void StaticInitialize(Type typeofThis)
Core\CSharp\System\Windows\Media\CharacterMetricsDictionary.cs (1)
224Type elementType = array.GetType().GetElementType();
Core\CSharp\System\Windows\Media\ColorConverter.cs (4)
33public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 51public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 121MethodInfo mi = typeof(Color).GetMethod("FromArgb", new Type[]{typeof(byte), typeof(byte), typeof(byte), typeof(byte)});
Core\CSharp\System\Windows\Media\CultureSpecificStringDictionary.cs (1)
190Type elementType = array.GetType().GetElementType();
Core\CSharp\System\Windows\Media\Effects\Generated\BevelBitmapEffect.cs (1)
321Type typeofThis = typeof(BevelBitmapEffect);
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectGroup.cs (1)
229Type typeofThis = typeof(BitmapEffectGroup);
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectInput.cs (1)
262Type typeofThis = typeof(BitmapEffectInput);
Core\CSharp\System\Windows\Media\Effects\Generated\BlurBitmapEffect.cs (1)
240Type typeofThis = typeof(BlurBitmapEffect);
Core\CSharp\System\Windows\Media\Effects\Generated\BlurEffect.cs (1)
352Type typeofThis = typeof(BlurEffect);
Core\CSharp\System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (1)
355Type typeofThis = typeof(DropShadowBitmapEffect);
Core\CSharp\System\Windows\Media\Effects\Generated\DropShadowEffect.cs (1)
456Type typeofThis = typeof(DropShadowEffect);
Core\CSharp\System\Windows\Media\Effects\Generated\EmbossBitmapEffect.cs (1)
247Type typeofThis = typeof(EmbossBitmapEffect);
Core\CSharp\System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (1)
301Type typeofThis = typeof(OuterGlowBitmapEffect);
Core\CSharp\System\Windows\Media\Effects\Generated\PixelShader.cs (1)
319Type typeofThis = typeof(PixelShader);
Core\CSharp\System\Windows\Media\Effects\Generated\ShaderEffect.cs (1)
318Type typeofThis = typeof(ShaderEffect);
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (8)
328Type ownerType, 339Type ownerType, 359Type t = DetermineShaderConstantType(dp.PropertyType, PixelShader); 858internal static Type DetermineShaderConstantType(Type type, PixelShader pixelShader) 860Type result = null; 903Type t = value.GetType(); 987Type t = value.GetType();
Core\CSharp\System\Windows\Media\FamilyMapCollection.cs (1)
111Type elementType = array.GetType().GetElementType();
Core\CSharp\System\Windows\Media\FamilyTypefaceCollection.cs (1)
392Type elementType = array.GetType().GetElementType();
Core\CSharp\System\Windows\Media\FontFamilyConverter.cs (3)
42public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 56public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 137public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\ArcSegment.cs (1)
296Type typeofThis = typeof(ArcSegment);
Core\CSharp\System\Windows\Media\Generated\BezierSegment.cs (1)
271Type typeofThis = typeof(BezierSegment);
Core\CSharp\System\Windows\Media\Generated\BitmapCache.cs (1)
354Type typeofThis = typeof(BitmapCache);
Core\CSharp\System\Windows\Media\Generated\BitmapCacheBrush.cs (1)
559Type typeofThis = typeof(BitmapCacheBrush);
Core\CSharp\System\Windows\Media\Generated\Brush.cs (1)
470Type typeofThis = typeof(Brush);
Core\CSharp\System\Windows\Media\Generated\BrushConverter.cs (3)
58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 76public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 145public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\CacheModeConverter.cs (3)
58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 76public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 145public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\CombinedGeometry.cs (1)
481Type typeofThis = typeof(CombinedGeometry);
Core\CSharp\System\Windows\Media\Generated\DashStyle.cs (1)
372Type typeofThis = typeof(DashStyle);
Core\CSharp\System\Windows\Media\Generated\DoubleCollectionConverter.cs (3)
58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 76public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 130public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\DrawingBrush.cs (1)
416Type typeofThis = typeof(DrawingBrush);
Core\CSharp\System\Windows\Media\Generated\DrawingGroup.cs (1)
915Type typeofThis = typeof(DrawingGroup);
Core\CSharp\System\Windows\Media\Generated\DrawingImage.cs (1)
353Type typeofThis = typeof(DrawingImage);
Core\CSharp\System\Windows\Media\Generated\EllipseGeometry.cs (1)
398Type typeofThis = typeof(EllipseGeometry);
Core\CSharp\System\Windows\Media\Generated\GeneralTransformGroup.cs (1)
218Type typeofThis = typeof(GeneralTransformGroup);
Core\CSharp\System\Windows\Media\Generated\Geometry.cs (1)
383Type typeofThis = typeof(Geometry);
Core\CSharp\System\Windows\Media\Generated\GeometryConverter.cs (3)
58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 76public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 145public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\GeometryDrawing.cs (1)
488Type typeofThis = typeof(GeometryDrawing);
Core\CSharp\System\Windows\Media\Generated\GeometryGroup.cs (1)
530Type typeofThis = typeof(GeometryGroup);
Core\CSharp\System\Windows\Media\Generated\GlyphRunDrawing.cs (1)
395Type typeofThis = typeof(GlyphRunDrawing);
Core\CSharp\System\Windows\Media\Generated\GradientBrush.cs (1)
315Type typeofThis = typeof(GradientBrush);
Core\CSharp\System\Windows\Media\Generated\GuidelineSet.cs (1)
401Type typeofThis = typeof(GuidelineSet);
Core\CSharp\System\Windows\Media\Generated\ImageBrush.cs (1)
416Type typeofThis = typeof(ImageBrush);
Core\CSharp\System\Windows\Media\Generated\ImageDrawing.cs (1)
374Type typeofThis = typeof(ImageDrawing);
Core\CSharp\System\Windows\Media\Generated\Int32CollectionConverter.cs (3)
58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 76public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 130public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\LinearGradientBrush.cs (1)
320Type typeofThis = typeof(LinearGradientBrush);
Core\CSharp\System\Windows\Media\Generated\LineGeometry.cs (1)
350Type typeofThis = typeof(LineGeometry);
Core\CSharp\System\Windows\Media\Generated\LineSegment.cs (1)
229Type typeofThis = typeof(LineSegment);
Core\CSharp\System\Windows\Media\Generated\MatrixTransform.cs (1)
311Type typeofThis = typeof(MatrixTransform);
Core\CSharp\System\Windows\Media\Generated\MediaTimeline.cs (1)
229Type typeofThis = typeof(MediaTimeline);
Core\CSharp\System\Windows\Media\Generated\PathFigure.cs (1)
293Type typeofThis = typeof(PathFigure);
Core\CSharp\System\Windows\Media\Generated\PathFigureCollectionConverter.cs (3)
58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 76public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 145public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\PathGeometry.cs (1)
322Type typeofThis = typeof(PathGeometry);
Core\CSharp\System\Windows\Media\Generated\PathSegment.cs (1)
229Type typeofThis = typeof(PathSegment);
Core\CSharp\System\Windows\Media\Generated\Pen.cs (1)
598Type typeofThis = typeof(Pen);
Core\CSharp\System\Windows\Media\Generated\PointCollectionConverter.cs (3)
58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 76public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 130public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\PolyBezierSegment.cs (1)
231Type typeofThis = typeof(PolyBezierSegment);
Core\CSharp\System\Windows\Media\Generated\PolyLineSegment.cs (1)
231Type typeofThis = typeof(PolyLineSegment);
Core\CSharp\System\Windows\Media\Generated\PolyQuadraticBezierSegment.cs (1)
231Type typeofThis = typeof(PolyQuadraticBezierSegment);
Core\CSharp\System\Windows\Media\Generated\QuadraticBezierSegment.cs (1)
236Type typeofThis = typeof(QuadraticBezierSegment);
Core\CSharp\System\Windows\Media\Generated\RadialGradientBrush.cs (1)
372Type typeofThis = typeof(RadialGradientBrush);
Core\CSharp\System\Windows\Media\Generated\RectangleGeometry.cs (1)
396Type typeofThis = typeof(RectangleGeometry);
Core\CSharp\System\Windows\Media\Generated\RotateTransform.cs (1)
364Type typeofThis = typeof(RotateTransform);
Core\CSharp\System\Windows\Media\Generated\ScaleTransform.cs (1)
397Type typeofThis = typeof(ScaleTransform);
Core\CSharp\System\Windows\Media\Generated\SkewTransform.cs (1)
397Type typeofThis = typeof(SkewTransform);
Core\CSharp\System\Windows\Media\Generated\SolidColorBrush.cs (1)
353Type typeofThis = typeof(SolidColorBrush);
Core\CSharp\System\Windows\Media\Generated\StreamGeometry.cs (1)
222Type typeofThis = typeof(StreamGeometry);
Core\CSharp\System\Windows\Media\Generated\TextEffect.cs (1)
317Type typeofThis = typeof(TextEffect);
Core\CSharp\System\Windows\Media\Generated\TileBrush.cs (1)
441Type typeofThis = typeof(TileBrush);
Core\CSharp\System\Windows\Media\Generated\TransformConverter.cs (3)
58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 76public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 145public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\TransformGroup.cs (1)
485Type typeofThis = typeof(TransformGroup);
Core\CSharp\System\Windows\Media\Generated\TranslateTransform.cs (1)
331Type typeofThis = typeof(TranslateTransform);
Core\CSharp\System\Windows\Media\Generated\VectorCollectionConverter.cs (3)
58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 76public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 130public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Generated\VideoDrawing.cs (1)
355Type typeofThis = typeof(VideoDrawing);
Core\CSharp\System\Windows\Media\Generated\VisualBrush.cs (1)
450Type typeofThis = typeof(VisualBrush);
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (3)
48public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 66public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 214public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media\Imaging\Generated\BitmapImage.cs (1)
513Type typeofThis = typeof(BitmapImage);
Core\CSharp\System\Windows\Media\Imaging\Generated\ColorConvertedBitmap.cs (1)
387Type typeofThis = typeof(ColorConvertedBitmap);
Core\CSharp\System\Windows\Media\Imaging\Generated\CroppedBitmap.cs (1)
329Type typeofThis = typeof(CroppedBitmap);
Core\CSharp\System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (1)
387Type typeofThis = typeof(FormatConvertedBitmap);
Core\CSharp\System\Windows\Media\Imaging\Generated\TransformedBitmap.cs (1)
352Type typeofThis = typeof(TransformedBitmap);
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (4)
150internal void InitVector(Array array, Type type, VarEnum varEnum) 160internal void Init(Array array, Type type, VarEnum vt) 281Type type = value.GetType(); 368Type type = value.GetType();
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (3)
447Type elementType; 569Type elementType; 1264out Type elementType)
Core\CSharp\System\Windows\Media\PixelFormatConverter.cs (4)
40public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 58public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 108public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 127ConstructorInfo ci = typeof(PixelFormat).GetConstructor(new Type[]{typeof(string)});
Core\CSharp\System\Windows\Media\RequestCachePolicyConverter.cs (5)
34public override bool CanConvertFrom(ITypeDescriptorContext td, Type t) 54public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 120Type destinationType) 136ConstructorInfo ci = typeof(HttpRequestCachePolicy).GetConstructor(new Type[] { typeof(HttpRequestCachePolicy) }); 151ConstructorInfo ci = typeof(RequestCachePolicy).GetConstructor(new Type[] { typeof(RequestCachePolicy) });
Core\CSharp\System\Windows\Media\VisualTreeHelper.cs (1)
236internal static bool IsAncestorOf(DependencyObject ancestor, DependencyObject descendant, Type stopType)
Core\CSharp\System\Windows\Media3D\Generated\AxisAngleRotation3D.cs (1)
331Type typeofThis = typeof(AxisAngleRotation3D);
Core\CSharp\System\Windows\Media3D\Generated\Camera.cs (1)
366Type typeofThis = typeof(Camera);
Core\CSharp\System\Windows\Media3D\Generated\DiffuseMaterial.cs (1)
407Type typeofThis = typeof(DiffuseMaterial);
Core\CSharp\System\Windows\Media3D\Generated\DirectionalLight.cs (1)
319Type typeofThis = typeof(DirectionalLight);
Core\CSharp\System\Windows\Media3D\Generated\EmissiveMaterial.cs (1)
379Type typeofThis = typeof(EmissiveMaterial);
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DGroup.cs (1)
214Type typeofThis = typeof(GeneralTransform3DGroup);
Core\CSharp\System\Windows\Media3D\Generated\GeometryModel3D.cs (1)
505Type typeofThis = typeof(GeometryModel3D);
Core\CSharp\System\Windows\Media3D\Generated\Light.cs (1)
224Type typeofThis = typeof(Light);
Core\CSharp\System\Windows\Media3D\Generated\MaterialGroup.cs (1)
481Type typeofThis = typeof(MaterialGroup);
Core\CSharp\System\Windows\Media3D\Generated\Matrix3DConverter.cs (3)
54public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 72public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\MatrixCamera.cs (1)
334Type typeofThis = typeof(MatrixCamera);
Core\CSharp\System\Windows\Media3D\Generated\MatrixTransform3D.cs (1)
300Type typeofThis = typeof(MatrixTransform3D);
Core\CSharp\System\Windows\Media3D\Generated\MeshGeometry3D.cs (1)
476Type typeofThis = typeof(MeshGeometry3D);
Core\CSharp\System\Windows\Media3D\Generated\Model3D.cs (1)
366Type typeofThis = typeof(Model3D);
Core\CSharp\System\Windows\Media3D\Generated\Model3DGroup.cs (1)
498Type typeofThis = typeof(Model3DGroup);
Core\CSharp\System\Windows\Media3D\Generated\OrthographicCamera.cs (1)
343Type typeofThis = typeof(OrthographicCamera);
Core\CSharp\System\Windows\Media3D\Generated\PerspectiveCamera.cs (1)
343Type typeofThis = typeof(PerspectiveCamera);
Core\CSharp\System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (3)
54public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 72public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\Point3DConverter.cs (3)
54public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 72public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\Point4DConverter.cs (3)
54public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 72public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\PointLightBase.cs (1)
319Type typeofThis = typeof(PointLightBase);
Core\CSharp\System\Windows\Media3D\Generated\ProjectionCamera.cs (1)
319Type typeofThis = typeof(ProjectionCamera);
Core\CSharp\System\Windows\Media3D\Generated\QuaternionConverter.cs (3)
54public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 72public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\QuaternionRotation3D.cs (1)
310Type typeofThis = typeof(QuaternionRotation3D);
Core\CSharp\System\Windows\Media3D\Generated\Rect3DConverter.cs (3)
54public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 72public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\RotateTransform3D.cs (1)
454Type typeofThis = typeof(RotateTransform3D);
Core\CSharp\System\Windows\Media3D\Generated\ScaleTransform3D.cs (1)
482Type typeofThis = typeof(ScaleTransform3D);
Core\CSharp\System\Windows\Media3D\Generated\Size3DConverter.cs (3)
54public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 72public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\SpecularMaterial.cs (1)
407Type typeofThis = typeof(SpecularMaterial);
Core\CSharp\System\Windows\Media3D\Generated\SpotLight.cs (1)
415Type typeofThis = typeof(SpotLight);
Core\CSharp\System\Windows\Media3D\Generated\Transform3DGroup.cs (1)
481Type typeofThis = typeof(Transform3DGroup);
Core\CSharp\System\Windows\Media3D\Generated\TranslateTransform3D.cs (1)
371Type typeofThis = typeof(TranslateTransform3D);
Core\CSharp\System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (3)
54public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 72public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\Media3D\Generated\Vector3DConverter.cs (3)
54public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 72public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 126public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Core\CSharp\System\Windows\PresentationSource.cs (1)
83internal virtual IInputProvider GetInputProvider(Type inputDevice)
Core\CSharp\System\Windows\RoutedEvent.cs (8)
37public RoutedEvent AddOwner(Type ownerType) 74public Type HandlerType 85Type handlerType = handler.GetType(); 98public Type OwnerType 121Type handlerType, 122Type ownerType) 145private Type _handlerType; 146private Type _ownerType;
Core\CSharp\system\windows\TextDecorationCollectionConverter.cs (4)
39public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 188public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 193new Type[]{typeof(IEnumerable<TextDecoration>)}
Shared\MS\Internal\Commands\CommandLibraryHelper.cs (1)
28internal static RoutedUICommand CreateUICommand(string name, Type ownerType, byte commandId, PermissionSet ps)
Shared\MS\Internal\HashHelper.cs (2)
35Type[] types = new Type[] {
Shared\MS\Utility\PerfService.cs (1)
51Type type = key.GetType();
PresentationFramework (1610)
parent\InternalApis\Clr\inc\LocalAppContext.cs (2)
86Type appContextType = typeof(object).Assembly.GetType("System.AppContext"); 94new Type[] { typeof(string), typeof(bool).MakeByRefType() },
src\Framework\Microsoft\Win32\OpenFileDialog.cs (1)
473return (IFileDialog)Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid(CLSID.FileOpenDialog)));
src\Framework\Microsoft\Win32\SaveFileDialog.cs (1)
415return (IFileDialog)Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid(CLSID.FileSaveDialog)));
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (2)
209public void RegisterSelectionProcessor(SelectionProcessor processor, Type selectionType) 244public SelectionProcessor GetSelectionProcessor(Type selectionType)
src\Framework\MS\Internal\Annotations\Component\AdornerPresentationContext.cs (2)
112internal static void SetTypeZLevel(Type type, int level) 523Type type = component.GetType();
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (4)
315internal override Type OwnerType 591internal override Type OwnerType 1018Type elementType = cursor.GetElementType(LogicalDirection.Forward); 1044Type elementType = cursor.ParentType;
src\Framework\MS\Internal\Annotations\Serializer.cs (2)
47public Serializer(Type type) 63_ctor = type.GetConstructor(new Type[0]);
src\Framework\MS\Internal\AppModel\Journaling.cs (2)
725Type pfType = Type.GetType(this._typeName.Value);
src\Framework\MS\Internal\AppModel\ReturnEventSaver.cs (1)
154Type.GetType(_returnList[i]._delegateTypeName),
src\Framework\MS\Internal\Commands\CommandHelpers.cs (13)
24internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler) 29internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 35internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 41internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 47internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 53internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 59internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 65internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 71internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 79internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, Key key, ModifierKeys modifierKeys, 85internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 92internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, 100private static void PrivateRegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler,
src\Framework\MS\Internal\Controls\ConnectionPointCookie.cs (1)
33internal ConnectionPointCookie(object source, object sink, Type eventInterface)
src\Framework\MS\Internal\Data\AccessorTable.cs (6)
31internal AccessorInfo(object accessor, Type propertyType, object[] args) 39internal Type PropertyType { get { return _propertyType; } } 45Type _propertyType; // type of the property 58internal AccessorInfo this[SourceValueType sourceValueType, Type type, string name] 195public AccessorTableKey(SourceValueType sourceValueType, Type type, string name) 230Type _type;
src\Framework\MS\Internal\Data\BindingWorker.cs (2)
51internal virtual Type SourcePropertyType { get { return null; } } 54internal Type TargetPropertyType { get { return TargetProperty.PropertyType; } }
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (5)
69Type targetType = targetDP.PropertyType; 124internal override Type SourcePropertyType 388internal void SetupDefaultValueConverter(Type type) 488Type type = PW.GetType(k); 503Type type = PW.GetType(k);
src\Framework\MS\Internal\Data\DataBindEngine.cs (10)
346internal ViewRecord GetViewRecord(object collection, CollectionViewSource key, Type collectionViewType, bool createView, Func<object, object> GetSourceItem) 375internal IValueConverter GetDefaultValueConverter(Type sourceType, 376Type targetType, 674Type _sourceType, _targetType; 677public Key(Type sourceType, Type targetType, bool targetToSource) 711public IValueConverter this[Type sourceType, Type targetType, bool targetToSource] 721public void Add(Type sourceType, Type targetType, bool targetToSource, IValueConverter value)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (51)
41protected DefaultValueConverter(TypeConverter typeConverter, Type sourceType, Type targetType, 63internal static IValueConverter Create(Type sourceType, 64Type targetType, 69Type innerType; 183internal static TypeConverter GetConverter(Type type) 202internal static object TryParse(object o, Type targetType, CultureInfo culture) 216new Type[] {StringType, typeof(System.Globalization.NumberStyles), typeof(System.IFormatProvider)}, 225new Type[] {StringType, typeof(System.IFormatProvider)}, 234new Type[] {StringType}, 257protected object ConvertFrom(object o, Type destinationType, DependencyObject targetElement, CultureInfo culture) 262protected object ConvertTo(object o, Type destinationType, DependencyObject targetElement, CultureInfo culture) 268protected void EnsureConverter(Type type) 282private object ConvertHelper(object o, Type destinationType, DependencyObject targetElement, CultureInfo culture, bool isForward) 369protected Type _sourceType; 370protected Type _targetType; 377static Type StringType = typeof(String); 392public SourceDefaultValueConverter(TypeConverter typeConverter, Type sourceType, Type targetType, 405public object Convert(object o, Type type, object parameter, CultureInfo culture) 410public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 428public TargetDefaultValueConverter(TypeConverter typeConverter, Type sourceType, Type targetType, 440public object Convert(object o, Type type, object parameter, CultureInfo culture) 445public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 457public SystemConvertConverter(Type sourceType, Type targetType) 463public object Convert(object o, Type type, object parameter, CultureInfo culture) 468public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 477public static bool CanConvert(Type sourceType, Type targetType) 521private static bool CanConvertChar(Type type) 531Type _sourceType, _targetType; 534static readonly Type[] SupportedTypes = { 543static readonly Type[] CharSupportedTypes = { 565public ObjectTargetConverter(Type sourceType, DataBindEngine engine) : 577public object Convert(object o, Type type, object parameter, CultureInfo culture) 583public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 612public ObjectSourceConverter(Type targetType, DataBindEngine engine) : 624public object Convert(object o, Type type, object parameter, CultureInfo culture) 641public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 667public object Convert(object o, Type type, object parameter, CultureInfo culture) 680public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 698internal InterfaceConverter(Type sourceType, Type targetType) 710public object Convert(object o, Type type, object parameter, CultureInfo culture) 715public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 720private object ConvertTo(object o, Type type) 725Type _sourceType; 726Type _targetType; 736virtual public object GetService(Type serviceType)
src\Framework\MS\Internal\Data\DynamicObjectAccessor.cs (6)
20protected DynamicObjectAccessor(Type ownerType, string propertyName) 26public Type OwnerType { get { return _ownerType; } } 29public Type PropertyType { get { return typeof(object); } } 36Type _ownerType; 46protected DynamicPropertyAccessor(Type ownerType, string propertyName) 62protected DynamicIndexerAccessor(Type ownerType, string propertyName)
src\Framework\MS\Internal\Data\DynamicValueConverter.cs (11)
34internal DynamicValueConverter(bool targetToSourceNeeded, Type sourceType, Type targetType) 40internal object Convert(object value, Type targetType) 45public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 51Type sourceType = value.GetType(); 70public object ConvertBack(object value, Type sourceType, object parameter, CultureInfo culture) 76Type targetType = value.GetType(); 96private void EnsureConverter(Type sourceType, Type targetType) 127private Type _sourceType; 128private Type _targetType;
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (4)
500Type srcType = collection.GetType(); 502MethodInfo mi = srcType.GetMethod("IndexOf", new Type[] {typeof(object)}); 683bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 691protected virtual bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\MS\Internal\Data\IndexerPropertyInfo.cs (5)
74public override Type PropertyType 84public override Type DeclaringType 89public override object[] GetCustomAttributes(Type attributeType, bool inherit) 99public override bool IsDefined(Type attributeType, bool inherit) 109public override Type ReflectedType
src\Framework\MS\Internal\Data\ObjectRef.cs (1)
560private DependencyObject FindAncestorOfType(Type type, int level, DependencyObject d, bool isTracing)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (13)
195internal Type GetType(int level) 706Type declaringType = (oldPI != null) ? oldPI.DeclaringType 876Type declaringType = (newPI != null) ? newPI.DeclaringType 1036Type oldType = ReflectionHelper.GetReflectionType(oldItem); 1037Type newType = ReflectionHelper.GetReflectionType(item); 1038Type sourceType = null; 1321private MemberInfo[] GetIndexers(Type type, int k) 1365Type paramType = (aryPI != null) ? aryPI[i].ParameterType : typeof(Object); 1463Type type = pi.DeclaringType; 1774bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 1895public Type type; // Type of the value (useful for Arrays) 1909static readonly IList<Type> IListIndexerWhitelist = new Type[]
src\Framework\MS\Internal\Data\StaticPropertyChangedEventManager.cs (10)
49public static void AddHandler(Type type, EventHandler<PropertyChangedEventArgs> handler, string propertyName) 62public static void RemoveHandler(Type type, EventHandler<PropertyChangedEventArgs> handler, string propertyName) 134Type managerType = typeof(StaticPropertyChangedEventManager); 161private void PrivateAddHandler(Type type, EventHandler<PropertyChangedEventArgs> handler, string propertyName) 186private void PrivateRemoveHandler(Type type, EventHandler<PropertyChangedEventArgs> handler, string propertyName) 263public TypeRecord(Type type, StaticPropertyChangedEventManager manager) 270public Type Type { get { return _type; } } 575Type _type; // the type whose static property-changes we're listening to 611public void StartListening(Type type) 622public void StopListening(Type type)
src\Framework\MS\Internal\Data\ValueChangedEventManager.cs (1)
284Type managerType = typeof(ValueChangedEventManager);
src\Framework\MS\Internal\Data\ValueTable.cs (1)
202bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\MS\Internal\Data\ViewManager.cs (4)
502internal ViewRecord GetViewRecord(object collection, CollectionViewSource cvs, Type collectionViewType, bool createView, Func<object, object> GetSourceItem) 692private ViewRecord GetExistingView(object collection, CollectionViewSource cvs, Type collectionViewType, Func<object, object> GetSourceItem) 837private void ValidateViewType(CollectionView cv, Type collectionViewType) 845Type cachedViewType = (cvp == null) ? cv.GetType() : cvp.ProxiedView.GetType();
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
409bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs args)
src\Framework\MS\Internal\Data\XmlNodeChangedEventManager.cs (1)
142Type managerType = typeof(XmlNodeChangedEventManager);
src\Framework\MS\Internal\Documents\FixedDocumentPaginator.cs (1)
204object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\Documents\FixedDocumentSequencePaginator.cs (1)
204object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (1)
1088object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (1)
746object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
63object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
832Type type = assm.GetType(fullTypeName);
src\Framework\MS\Internal\Helper.cs (5)
607Type targetType = targetObject.GetType(); 668Type memberType; 744static EventHandler<System.Windows.Markup.XamlSetMarkupExtensionEventArgs> LookupSetMarkupExtensionHandler(Type type) 1549static readonly Type NullableType = Type.GetType("System.Nullable`1");
src\Framework\MS\Internal\Interop\InternalDispatchObject.cs (4)
104MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) 120PropertyInfo IReflect.GetProperty(string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) 152Type IReflect.UnderlyingSystemType
src\Framework\MS\Internal\IO\Packaging\PackageFilter.cs (2)
290Type filterType = Type.GetTypeFromCLSID(clsid);
src\Framework\MS\Internal\LayoutDump.cs (9)
156internal static void AddUIElementDumpHandler(Type type, DumpCustomUIElement dumper) 164internal static void AddDocumentPageDumpHandler(Type type, DumpCustomDocumentPage dumper) 269Type t = element.GetType(); 318Type t = page.GetType(); 906Type paragraphResultType = paragraph.GetType(); 909Type paraClientType = paraClient.GetType(); 934Type type = typeof(Table); 951Type paragraphResultType = paragraph.GetType(); 966Type typeOfCell = cell.GetType();
src\Framework\MS\Internal\Navigation\BindStream.cs (1)
231Type requestedType
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (1)
1177object IServiceProvider.GetService(Type serviceType)
src\Framework\MS\Internal\SystemCoreHelper.cs (1)
25internal static object NewDynamicPropertyAccessor(Type ownerType, string propertyName)
src\Framework\MS\Internal\SystemDataHelper.cs (2)
42internal static bool IsSqlNullableType(Type type) 72internal static object NullValueForSqlNullableType(Type type)
src\Framework\MS\Internal\TraceData.cs (2)
255Type type = o.GetType(); 275static public string IdentifyWeakEvent(Type type)
src\Framework\MS\Internal\WeakHashtable.cs (1)
240public static IWeakHashtable FromKeyType(Type tKey)
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\AlternateWordForm.cs (3)
34s_WinRTType = Type.GetType(s_TypeName); 90public static Type WinRTType 99private static Type s_WinRTType = null;
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\TextSegment.cs (3)
23s_WinRTType = Type.GetType(s_TypeName); 65public static Type WinRTType 73private static Type s_WinRTType;
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordSegment.cs (3)
29s_WinRTType = Type.GetType(s_TypeName); 97public static Type WinRTType 111private static Type s_WinRTType = null;
src\Framework\MS\Internal\WindowsRuntime\Windows\Data\Text\WordsSegmenter.cs (4)
45s_WinRTType = Type.GetType(s_TypeName); 48constructor = s_WinRTType.GetConstructor(new Type[] { typeof(string) }); 206public static Type WinRTType 272private static Type s_WinRTType;
src\Framework\System\Windows\Application.cs (1)
285internal object GetService(Type serviceType)
src\Framework\System\Windows\AttachedPropertyBrowsableForChildrenAttribute.cs (1)
102Type ownerType = dp.OwnerType;
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
300internal static Visual FindVisualByType(Visual parent, Type type)
src\Framework\System\Windows\ComponentResourceKey.cs (3)
26public ComponentResourceKey(Type typeInTargetAssembly, object resourceId) 47public Type TypeInTargetAssembly 142private Type _typeInTargetAssembly;
src\Framework\System\Windows\ComponentResourceKeyConverter.cs (3)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 54public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 103public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\Controls\AlternationConverter.cs (2)
39public object Convert (object o, Type targetType, object parameter, CultureInfo culture) 56public object ConvertBack(object o, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\BooleanToSelectiveScrollingOrientationConverter.cs (2)
27public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 46public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\BooleanToVisibilityConverter.cs (2)
34public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 57public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\BorderGapMaskConverter.cs (4)
37public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 43Type doubleType = typeof(double); 58Type paramType = parameter.GetType(); 144public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
215Type type; // unused 634internal static object DataTypeForItem(object item, DependencyObject target, out Type type) 1150object IServiceProvider.GetService(Type serviceType) { return null; }
src\Framework\System\Windows\Controls\DataGrid.cs (1)
42Type ownerType = typeof(DataGrid);
src\Framework\System\Windows\Controls\DataGridAutoGeneratingColumnEventArgs.cs (4)
29public DataGridAutoGeneratingColumnEventArgs(string propertyName, Type propertyType, DataGridColumn column) : 42Type propertyType, 85public Type PropertyType 142private Type _propertyType;
src\Framework\System\Windows\Controls\DataGridColumn.cs (1)
1168Type propertyType = itemProperty.PropertyType;
src\Framework\System\Windows\Controls\DataGridHeadersVisibilityToVisibilityConverter.cs (2)
28public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 66public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\DataGridLengthConverter.cs (5)
27public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 30TypeCode tc = Type.GetTypeCode(sourceType); 54public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 137Type destinationType) 155ConstructorInfo ci = typeof(DataGridLength).GetConstructor(new Type[] { typeof(double), typeof(DataGridLengthUnitType) });
src\Framework\System\Windows\Controls\DeferredRunTextReference.cs (1)
50internal override Type GetValueType()
src\Framework\System\Windows\Controls\DeferredSelectedIndexReference.cs (1)
50internal override Type GetValueType()
src\Framework\System\Windows\Controls\DeferredTextReference.cs (1)
58internal override Type GetValueType()
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1899object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1183Type headerType = (srcHeader != null ? srcHeader.GetType() : typeof(GridViewColumnHeader));
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (3)
95Type oldType = (e.OldValue != null) ? e.OldValue.GetType() : null; 96Type newType = (e.NewValue != null) ? e.NewValue.GetType() : null; 702private Type _oldContentType;
src\Framework\System\Windows\Controls\Image.cs (3)
625Type managerType = typeof(DownloadCompletedEventManager); 751Type managerType = typeof(DownloadFailedEventManager); 877Type managerType = typeof(DecodeFailedEventManager);
src\Framework\System\Windows\Controls\InkCanvas.cs (4)
70Type ownerType = typeof(InkCanvas); 2596Type ownerType = typeof(InkCanvas); 3160public object Convert(object o, Type type, object parameter, System.Globalization.CultureInfo culture) 3175public object ConvertBack(object o, Type type, object parameter, System.Globalization.CultureInfo culture)
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
1948bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (3)
1122Type sourceType = source.GetType(); 2366bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 2812private Type _containerType; // type of containers on the recycle queue
src\Framework\System\Windows\Controls\ItemsPanelTemplate.cs (3)
74internal override Type TargetTypeInternal 81internal override void SetTargetTypeInternal(Type targetType) 87static internal Type DefaultTargetType
src\Framework\System\Windows\Controls\ItemsPresenter.cs (1)
311Type type = null;
src\Framework\System\Windows\Controls\MenuScrollingVisibilityConverter.cs (4)
45public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 51Type doubleType = typeof(double); 67Type paramType = parameter.GetType(); 122public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (2)
249Type ITextPointer.GetElementType(LogicalDirection direction) 608Type ITextPointer.ParentType
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
38Type ownerType = typeof(DataGridColumnHeadersPresenter);
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (2)
512protected object GetService(Type serviceType) 1037object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1787object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (2)
326bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs args) 478Type managerType = typeof(InternalCollectionChangedEventManager);
src\Framework\System\Windows\Controls\Primitives\Selector.cs (3)
620Type selectedType = (value != null) ? value.GetType() : null; 642private bool VerifyEqual(object knownValue, Type knownType, object itemValue, DynamicValueConverter converter) 648Type itemType = itemValue.GetType();
src\Framework\System\Windows\Controls\StickyNote.cs (5)
106Type owner = typeof(StickyNoteControl); 1951public object Convert(object o, Type type, object parameter, CultureInfo culture) 1967public object ConvertBack(object o, Type type, object parameter, CultureInfo culture) 1977public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 1995public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
src\Framework\System\Windows\Controls\TextBlock.cs (3)
154Type parentType = _complexContent.TextContainer.Parent.GetType(); 156Type valueType = value.GetType(); 290object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Controls\ToolBar.cs (1)
486Type feType = fe.GetType();
src\Framework\System\Windows\Controls\VirtualizationCacheLengthConverter.cs (5)
42public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 45TypeCode tc = Type.GetTypeCode(sourceType); 73public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 144public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType) 163ConstructorInfo ci = typeof(VirtualizationCacheLength).GetConstructor(new Type[] { typeof(double), typeof(VirtualizationCacheLengthUnit) });
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
12102for (Type t = o.GetType(); !isWPFControl && t != null; t = t.BaseType)
src\Framework\System\Windows\Controls\WebBrowser.cs (2)
602Type t = value.GetType(); 1466return Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid(CLSID.WebBrowser)));
src\Framework\System\Windows\ControlTemplate.cs (7)
46public ControlTemplate(Type targetType) 92public Type TargetType 135private void ValidateTargetType(Type targetType, string argName) 157internal override Type TargetTypeInternal 172internal override void SetTargetTypeInternal(Type targetType) 190private Type _targetType; 194internal static readonly Type DefaultTargetType = typeof(Control);
src\Framework\System\Windows\CornerRadiusConverter.cs (5)
44public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 47TypeCode tc = Type.GetTypeCode(sourceType); 75public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 140public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType) 162ConstructorInfo ci = typeof(CornerRadius).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) });
src\Framework\System\Windows\Data\Binding.cs (1)
690internal override ValidationRule LookupValidationRule(Type type)
src\Framework\System\Windows\Data\BindingBase.cs (3)
432internal ValidationRule GetValidationRule(Type type) 446internal virtual ValidationRule LookupValidationRule(Type type) 451internal static ValidationRule LookupValidationRule(Type type, Collection<ValidationRule> collection)
src\Framework\System\Windows\Data\BindingExpression.cs (9)
364internal Type ConverterSourceType 430internal void SetupDefaultValueConverter(Type type) 1267Type targetType = GetEffectiveTargetType(); 1617private object ConvertHelper(IValueConverter converter, object value, Type targetType, object parameter, CultureInfo culture) 1688Type sourceType, 1844Type sourceType = Worker.SourcePropertyType; 2177private bool IsValidValueForUpdate(object value, Type sourceType) 2537bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 2734Type _sourceType;
src\Framework\System\Windows\Data\BindingExpressionBase.cs (9)
148Type type = parent.GetType(); 506bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 1604internal object NullValueForType(Type type) 1622internal ValidationRule LookupValidationRule(Type type) 1919internal virtual bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 2570internal Type GetEffectiveTargetType() 2572Type targetType = TargetProperty.PropertyType; 2593Type targetType = TargetProperty.PropertyType; 2671Type targetType = TargetProperty.PropertyType;
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
2208Type itemType;
src\Framework\System\Windows\Data\CollectionContainer.cs (2)
289bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 297protected virtual bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\System\Windows\Data\CollectionView.cs (7)
1468Type itemType; 1524internal Type GetItemType(bool useRepresentativeItem) 1526Type collectionType = SourceCollection.GetType(); 1527Type[] interfaces = collectionType.GetInterfaces(); 1535Type interfaceType = interfaces[i]; 1540Type[] typeParameters = interfaceType.GetGenericArguments(); 1543Type type = typeParameters[0];
src\Framework\System\Windows\Data\CollectionViewSource.cs (15)
161typeof(Type), 164(Type)null, 174public Type CollectionViewType 176get { return (Type) GetValue(CollectionViewTypeProperty); } 184Type oldCollectionViewType = (Type) e.OldValue; 185Type newCollectionViewType = (Type) e.NewValue; 199protected virtual void OnCollectionViewTypeChanged(Type oldCollectionViewType, Type newCollectionViewType) 205Type type = (Type)o; 733bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 741protected virtual bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 915void EnsureView(object source, Type collectionViewType)
src\Framework\System\Windows\Data\CompositeCollection.cs (2)
432bool IWeakEventListener.ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 440protected virtual bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
src\Framework\System\Windows\Data\DataChangedEventManager.cs (1)
137Type managerType = typeof(DataChangedEventManager);
src\Framework\System\Windows\Data\IMultiValueConverter.cs (2)
58object Convert(object[] values, Type targetType, object parameter, CultureInfo culture); 98object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture);
src\Framework\System\Windows\Data\IValueConverter.cs (2)
68object Convert(object value, Type targetType, object parameter, CultureInfo culture); 95object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture);
src\Framework\System\Windows\Data\ListCollectionView.cs (2)
704Type itemType = GetItemType(true); 707_itemConstructor = itemType.GetConstructor(Type.EmptyTypes);
src\Framework\System\Windows\Data\MultiBinding.cs (1)
362internal override ValidationRule LookupValidationRule(Type type)
src\Framework\System\Windows\Data\MultiBindingExpression.cs (3)
57_tempTypes = new Type[count]; 1091internal override bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e) 1436Type[] _tempTypes;
src\Framework\System\Windows\Data\ObjectDataProvider.cs (3)
98public Type ObjectType 371private bool SetObjectType(Type newType) 670Type _objectType;
src\Framework\System\Windows\Data\RelativeSource.cs (3)
71public RelativeSource(RelativeSourceMode mode, Type ancestorType, int ancestorLevel) 169public Type AncestorType 303private Type _ancestorType;
src\Framework\System\Windows\Data\ValueConversionAttribute.cs (8)
56public ValueConversionAttribute(Type sourceType, Type targetType) 69public Type SourceType 77public Type TargetType 85public Type ParameterType 120private Type _sourceType; 121private Type _targetType; 122private Type _parameterType;
src\Framework\System\Windows\DataTemplate.cs (3)
135internal override Type TargetTypeInternal 142internal override void SetTargetTypeInternal(Type targetType) 166static internal Type DefaultTargetType
src\Framework\System\Windows\DeferrableContentConverter.cs (1)
29public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
src\Framework\System\Windows\DialogResultConverter.cs (3)
39public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 51public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 75Type destinationType)
src\Framework\System\Windows\Documents\DocumentSequence.cs (2)
75object IServiceProvider.GetService(Type serviceType) 1116object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Documents\DocumentSequenceHighlightLayer.cs (2)
104internal override Type OwnerType 165internal override Type OwnerType
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (1)
888internal override object GetHighlightValue(StaticTextPointer textPosition, LogicalDirection direction, Type highlightLayerOwnerType)
src\Framework\System\Windows\Documents\DocumentSequenceTextPointer.cs (4)
134Type ITextPointer.GetElementType(LogicalDirection direction) 335Type ITextPointer.ParentType 708public static Type GetElementType(DocumentSequenceTextPointer thisTp, LogicalDirection direction) 720public static Type GetElementType(DocumentSequenceTextPointer thisTp)
src\Framework\System\Windows\Documents\DPTypeDescriptorContext.cs (1)
186object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
108object IServiceProvider.GetService(Type serviceType) 1425object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Documents\FixedElement.cs (1)
374internal Type Type
src\Framework\System\Windows\Documents\FixedTextPointer.cs (2)
174Type ITextPointer.GetElementType(LogicalDirection direction) 553Type ITextPointer.ParentType
src\Framework\System\Windows\Documents\FlowDocument.cs (2)
71static private readonly Type _typeofThis = typeof(FlowDocument); 1708object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Documents\HighlightChangedEventArgs.cs (1)
33internal abstract Type OwnerType { get; }
src\Framework\System\Windows\Documents\HighlightLayer.cs (1)
86internal abstract Type OwnerType { get; }
src\Framework\System\Windows\Documents\Highlights.cs (5)
67internal virtual object GetHighlightValue(StaticTextPointer textPosition, LogicalDirection direction, Type highlightLayerOwnerType) 268internal HighlightLayer GetLayer(Type highlightLayerType) 416internal LayerHighlightChangedEventArgs(ReadOnlyCollection<TextSegment> ranges, Type ownerType) 432internal override Type OwnerType 444private readonly Type _ownerType;
src\Framework\System\Windows\Documents\ITextPointer.cs (2)
127Type GetElementType(LogicalDirection direction); 180Type ParentType { get; }
src\Framework\System\Windows\Documents\NullTextNavigator.cs (2)
124Type ITextPointer.GetElementType(LogicalDirection direction) 413Type ITextPointer.ParentType
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
115Type factoryType = factoryInstance.GetType();
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (2)
105internal override Type OwnerType 222internal override Type OwnerType
src\Framework\System\windows\Documents\TextEditor.cs (4)
342internal static void RegisterCommandHandlers(Type controlType, bool acceptsRichContent, bool readOnly, bool registerEventListeners) 351if (((Type)_registeredEditingTypes[i]).IsAssignableFrom(controlType)) 359if (controlType.IsAssignableFrom((Type)_registeredEditingTypes[i])) 362SR.Get(SRID.TextEditorCanNotRegisterCommandHandler, ((Type)_registeredEditingTypes[i]).Name, controlType.Name));
src\Framework\System\windows\Documents\TextEditorCharacters.cs (1)
47internal static void _RegisterClassHandlers(Type controlType, bool registerEventListeners)
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
38internal static void _RegisterClassHandlers(Type controlType, bool registerEventListeners)
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
57internal static void _RegisterClassHandlers(Type controlType, bool acceptsRichContent, bool readOnly, bool registerEventListeners)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
56internal static void _RegisterClassHandlers(Type controlType, bool readOnly, bool registerEventListeners)
src\Framework\System\windows\Documents\TextEditorLists.cs (1)
46internal static void _RegisterClassHandlers(Type controlType, bool registerEventListeners)
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
48internal static void _RegisterClassHandlers(Type controlType, bool registerEventListeners)
src\Framework\System\windows\Documents\TextEditorParagraphs.cs (1)
47internal static void _RegisterClassHandlers(Type controlType, bool acceptsRichContent, bool registerEventListeners)
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
55internal static void _RegisterClassHandlers(Type controlType, bool registerEventListeners)
src\Framework\System\windows\Documents\TextEditorSpelling.cs (1)
32internal static void _RegisterClassHandlers(Type controlType, bool registerEventListeners)
src\Framework\System\windows\Documents\TextEditorTables.cs (1)
47internal static void _RegisterClassHandlers(Type controlType, bool registerEventListeners)
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
63internal static void _RegisterClassHandlers(Type controlType, bool registerEventListeners) 844Type parentType = position.ParentType;
src\Framework\System\Windows\Documents\TextElement.cs (1)
846Type valueType = value.GetType();
src\Framework\System\Windows\Documents\TextElementCollection.cs (1)
632Type elementType = array.GetType().GetElementType();
src\Framework\System\Windows\Documents\TextPointer.cs (3)
1439Type containerType = this.TextContainer.Parent.GetType(); 2434Type ITextPointer.GetElementType(LogicalDirection direction) 3640Type ITextPointer.ParentType
src\Framework\System\Windows\Documents\TextPointerBase.cs (10)
186Type forwardType = forwardPosition.GetElementType(LogicalDirection.Forward); 187Type backwardType = backwardPosition.GetElementType(LogicalDirection.Backward); 231Type parentType = position.ParentType; 284private static bool IsInAncestorScope(ITextPointer position, Type allowedParentType, Type limitingType) 287Type parentType = navigator.ParentType; 321Type elementType; 598Type elementType = position.GetElementType(direction); 1520private static bool IsNextToRichBreak(ITextPointer thisPosition, LogicalDirection direction, Type lineBreakType) 1528Type neighbor = thisPosition.GetElementType(direction);
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
690Type elementType;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (16)
549Type elementType = textReader.ParentType; 551Type elementTypeStandardized = TextSchema.GetStandardElementType(elementType, reduceElement); 659Type rootType; 670Type contextType = context.ParentType; 776private static void WriteInheritableProperties(Type elementTypeStandardized, ITextPointer context, XmlWriter xmlWriter, bool onlyAffected, DependencyObject complexProperties) 841private static void WriteNoninheritableProperties(Type elementTypeStandardized, ITextPointer context, XmlWriter xmlWriter, bool onlyAffected, DependencyObject complexProperties) 851Type propertyOwnerType = context.ParentType; 921private static void WriteNoninheritableProperty(XmlWriter xmlWriter, DependencyProperty property, object propertyValue, Type propertyOwnerType, bool onlyAffected, DependencyObject complexProperties, object localValue) 961private static void WriteLocallySetProperties(Type elementTypeStandardized, ITextPointer context, XmlWriter xmlWriter, DependencyObject complexProperties) 1075private static void WriteComplexProperties(XmlWriter xmlWriter, DependencyObject complexProperties, Type elementType) 1117private static string GetPropertyNameForElement(DependencyProperty property, Type elementType, bool forceComplexName) 1145Type elementTypeStandardized = TextSchema.GetStandardElementType(element.GetType(), reduceElement); 1192Type elementTypeStandardized = typeof(Image); 1537private static void ValidateMergingPositions(Type itemType, TextPointer start, TextPointer end) 1624private static void ApplyContextualProperty(Type targetType, TextPointer start, TextPointer end, DependencyProperty property, object value) 1962private static string FilterNaNStringValueForDoublePropertyType(string stringValue, Type propertyType)
src\Framework\System\Windows\Documents\TextSchema.cs (25)
123internal static bool IsValidChild(TextElement parent, Type childType) 128internal static bool ValidateChild(TextElement parent, Type childType, bool throwIfIllegalChild, bool throwIfIllegalHyperlinkDescendent) 154internal static bool IsValidChild(TextPointer position, Type childType) 159internal static bool ValidateChild(TextPointer position, Type childType, bool throwIfIllegalChild, bool throwIfIllegalHyperlinkDescendent) 186internal static bool IsValidSibling(Type siblingType, Type newType) 219internal static bool IsValidChild(ITextPointer position, Type childType) 235internal static bool IsValidChildOfContainer(Type parentType, Type childType) 260internal static bool IsFormattingType(Type elementType) 271internal static bool IsKnownType(Type elementType) 277internal static bool IsNonFormattingInline(Type elementType) 282internal static bool IsMergeableInline(Type elementType) 287internal static bool IsNonMergeableInline(Type elementType) 306internal static bool AllowsParagraphMerging(Type elementType) 326internal static bool IsParagraphOrBlockUIContainer(Type elementType) 334internal static bool IsBlock(Type type) 340internal static bool IsBreak(Type type) 364internal static Type GetStandardElementType(Type type, bool reduceElement) 457internal static DependencyProperty[] GetInheritableProperties(Type type) 478internal static DependencyProperty[] GetNoninheritableProperties(Type type) 761Type propertyType = property.PropertyType; 807private static bool IsValidChild(Type parentType, Type childType)
src\Framework\System\windows\Documents\TextSelectionHighlightLayer.cs (2)
271internal override Type OwnerType 371internal override Type OwnerType
src\Framework\System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (2)
430internal ElementContentContainer(Type elementType, PropertyRecord[] localValues, ResourceDictionary resources, ContentContainer childContainer) 471private readonly Type _elementType;
src\Framework\System\Windows\Documents\TextTreeExtractElementUndoUnit.cs (1)
101private readonly Type _type;
src\Framework\System\Windows\Documents\Typography.cs (2)
38static private readonly Type _typeofThis = typeof(Typography); 39static private readonly Type _typeofBool = typeof(bool);
src\Framework\System\Windows\Documents\ZoomPercentageConverter.cs (2)
72public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 137public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
src\Framework\System\Windows\DynamicResourceExtensionConverter.cs (3)
33public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 50public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) 62return new InstanceDescriptor(typeof(DynamicResourceExtension).GetConstructor(new Type[] { typeof(object) }),
src\Framework\System\Windows\EventSetterHandlerConverter.cs (4)
18static Type s_ServiceProviderContextType; 23public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 39public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 97Type destinationType)
src\Framework\System\Windows\FigureLengthConverter.cs (5)
55Type sourceType) 58TypeCode tc = Type.GetTypeCode(sourceType); 89Type destinationType) 156Type destinationType) 175ConstructorInfo ci = typeof(FigureLength).GetConstructor(new Type[] { typeof(double), typeof(FigureUnitType) });
src\Framework\System\Windows\FontSizeConverter.cs (3)
47public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 61public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\FrameworkElement.cs (3)
111static private readonly Type _typeofThis = typeof(FrameworkElement); 1425internal static object FindTemplateResourceInternal(DependencyObject target, object item, Type templateType) 1433Type type;
src\Framework\System\Windows\FrameworkElementFactory.cs (7)
44public FrameworkElementFactory(Type type) : this(type, null) 63public FrameworkElementFactory(Type type, string name) 73public Type Type 1134internal static void AddNodeToLogicalTree( DependencyObject parent, Type type, 1208Type targetType = _frameworkTemplate.TargetTypeInternal; 1251Type targetType = _frameworkTemplate.TargetTypeInternal; 1301private Type _type;
src\Framework\System\Windows\FrameworkPropertyMetadata.cs (1)
636protected override void OnApply(DependencyProperty dp, Type targetType)
src\Framework\System\Windows\FrameworkTemplate.cs (5)
1350internal virtual Type TargetTypeInternal 1357internal abstract void SetTargetTypeInternal(Type targetType); 1520internal Dictionary<int, Type> ChildTypeFromChildIndex 1558private Dictionary<int, Type> _childTypeFromChildIndex = new Dictionary<int, Type>();
src\Framework\System\Windows\GridLengthConverter.cs (5)
58Type sourceType) 61TypeCode tc = Type.GetTypeCode(sourceType); 92Type destinationType) 176Type destinationType) 195ConstructorInfo ci = typeof(GridLength).GetConstructor(new Type[] { typeof(double), typeof(GridUnitType) });
src\Framework\System\Windows\Input\Command\CommandConverter.cs (9)
55public override bool CanConvertFrom( ITypeDescriptorContext context, Type sourceType ) 74public override bool CanConvertTo( ITypeDescriptorContext context, Type destinationType ) 114Type ownerType = GetTypeFromContext(context, typeName); 134internal static ICommand ConvertFromHelper(Type ownerType, string localName ) 180public override object ConvertTo( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) 210internal static bool IsKnownType( Type commandType ) 224private Type GetTypeFromContext( ITypeDescriptorContext context, string typeName ) 253private static RoutedUICommand GetKnownCommand( string localName, Type ownerType ) 776internal static object GetKnownControlCommand(Type ownerType, string commandName)
src\Framework\System\Windows\Input\Command\CommandValueSerializer.cs (8)
27if (context == null || context.GetValueSerializerFor(typeof(Type)) == null) 45Type ownerType = command.OwnerType; 89typeSerializer = context.GetValueSerializerFor(typeof(Type)); 105public override IEnumerable<Type> TypeReferences(object value, IValueSerializerContext context) 114return new Type[] { command.OwnerType }; 127Type declaringType = null; 146ValueSerializer typeSerializer = context.GetValueSerializerFor(typeof(Type)); 154declaringType = typeSerializer.ConvertFromString(typeName, context) as Type;
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
308return Activator.CreateInstance(Type.GetTypeFromCLSID(clsid));
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
145object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (2)
417Type argType = args[i].GetType(); 696Type type = value.GetType();
src\Framework\System\Windows\LengthConverter.cs (5)
51public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 54TypeCode tc = Type.GetTypeCode(sourceType); 81public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 149Type destinationType) 169ConstructorInfo ci = typeof(double).GetConstructor(new Type[] { typeof(double) });
src\Framework\System\Windows\LostFocusEventManager.cs (1)
150Type managerType = typeof(LostFocusEventManager);
src\Framework\System\Windows\Markup\AttributeData.cs (8)
75Type targetType, 77Type declaringType, 80Type serializerType, 101internal Type SerializerType; // Type of serializer (if any) 132Type targetType, 134Type declaringType, 153internal Type TargetType; // Target type 154internal Type DeclaringType; // Type where Attribute is declared
src\Framework\System\Windows\Markup\Baml2006\Baml2006KeyRecord.cs (3)
13public KeyRecord(bool shared, bool sharedSet, int valuePosition, Type keyType) : 78public Type KeyType 80get { return _data as Type; }
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (4)
28private delegate Type LazyTypeOf(); 50public static Type GetAttachableTargetType(Int16 propertyId) 86public static Type GetKnownType(Int16 typeId) 2060public static Type GetTypeConverterForKnownProperty(Int16 propertyId)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (15)
33private Dictionary<Type, TypeConverter> _enumTypeConverterMap = new Dictionary<Type, TypeConverter>(); 410internal Type GetTypeOfFirstStartObject(KeyRecord record) 909Type memberType; 1015Type type = Baml2006SchemaContext.KnownTypes.GetKnownType(typeId); 1148Type rootType = _root.GetType(); 1390Type currentType = eventProperty.DeclaringType.UnderlyingType; 1563Type type = BamlSchemaContext.GetXamlType(_binaryReader.ReadInt16()).UnderlyingType; 1603Type propertyType = property.Type.UnderlyingType; 1660Type typeExtensionType = null; 1661Type memberType = null; 1677Type ownerType = null; 1774Type ownerType = null; 1930Type memberType = null; 2642private string GetStaticExtensionValue(short valueId, out Type memberType, out object providedValue)
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (4)
61public override XamlType GetXamlType(Type type) 152internal Type GetClrType(Int16 typeId) 546private Type ResolveBamlTypeToType(BamlType bamlType) 563Type type = ResolveBamlTypeToType(bamlType);
src\Framework\System\Windows\Markup\Baml2006\Baml6ConstructorInfo.cs (3)
9public Baml6ConstructorInfo(List<Type> types, Func<Object[], object> ctor) 15List<Type> _types; 18public List<Type> Types { get { return _types; } }
src\Framework\System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
64object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (1)
31object IServiceProvider.GetService(Type serviceType)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (403)
1712Type type = typeof(System.Windows.Controls.AccessText); 1729Type type = typeof(System.Windows.Media.Animation.BeginStoryboard); 1745Type type = typeof(System.Windows.Media.Effects.BitmapEffectGroup); 1761Type type = typeof(System.Windows.Controls.Border); 1778Type type = typeof(System.Windows.Controls.Border); 1795Type type = typeof(System.Windows.Controls.Border); 1812Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 1829Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 1847Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 1863Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 1881Type type = typeof(System.Windows.Controls.ColumnDefinition); 1898Type type = typeof(System.Windows.Controls.ColumnDefinition); 1915Type type = typeof(System.Windows.Controls.ColumnDefinition); 1932Type type = typeof(System.Windows.Controls.ContentControl); 1950Type type = typeof(System.Windows.Controls.ContentControl); 1966Type type = typeof(System.Windows.Controls.ContentControl); 1982Type type = typeof(System.Windows.Controls.ContentControl); 2000Type type = typeof(System.Windows.ContentElement); 2017Type type = typeof(System.Windows.Controls.ContentPresenter); 2035Type type = typeof(System.Windows.Controls.ContentPresenter); 2052Type type = typeof(System.Windows.Controls.ContentPresenter); 2068Type type = typeof(System.Windows.Controls.ContentPresenter); 2084Type type = typeof(System.Windows.Controls.ContentPresenter); 2101Type type = typeof(System.Windows.Controls.Control); 2118Type type = typeof(System.Windows.Controls.Control); 2135Type type = typeof(System.Windows.Controls.Control); 2152Type type = typeof(System.Windows.Controls.Control); 2169Type type = typeof(System.Windows.Controls.Control); 2186Type type = typeof(System.Windows.Controls.Control); 2203Type type = typeof(System.Windows.Controls.Control); 2220Type type = typeof(System.Windows.Controls.Control); 2237Type type = typeof(System.Windows.Controls.Control); 2254Type type = typeof(System.Windows.Controls.Control); 2271Type type = typeof(System.Windows.Controls.Control); 2288Type type = typeof(System.Windows.Controls.Control); 2305Type type = typeof(System.Windows.Controls.Control); 2322Type type = typeof(System.Windows.Controls.Control); 2338Type type = typeof(System.Windows.Controls.Control); 2355Type type = typeof(System.Windows.Controls.DockPanel); 2372Type type = typeof(System.Windows.Controls.DockPanel); 2389Type type = typeof(System.Windows.Controls.Primitives.DocumentViewerBase); 2405Type type = typeof(System.Windows.Media.DrawingGroup); 2421Type type = typeof(System.Windows.Controls.FlowDocumentReader); 2437Type type = typeof(System.Windows.Controls.FlowDocumentScrollViewer); 2453Type type = typeof(System.Windows.FrameworkContentElement); 2469Type type = typeof(System.Windows.FrameworkElement); 2486Type type = typeof(System.Windows.FrameworkElement); 2503Type type = typeof(System.Windows.FrameworkElement); 2520Type type = typeof(System.Windows.FrameworkElement); 2537Type type = typeof(System.Windows.FrameworkElement); 2554Type type = typeof(System.Windows.FrameworkElement); 2571Type type = typeof(System.Windows.FrameworkElement); 2588Type type = typeof(System.Windows.FrameworkElement); 2605Type type = typeof(System.Windows.FrameworkElement); 2622Type type = typeof(System.Windows.FrameworkElement); 2638Type type = typeof(System.Windows.FrameworkElement); 2655Type type = typeof(System.Windows.FrameworkElement); 2672Type type = typeof(System.Windows.Media.GeneralTransformGroup); 2688Type type = typeof(System.Windows.Media.GeometryGroup); 2704Type type = typeof(System.Windows.Media.GradientBrush); 2720Type type = typeof(System.Windows.Controls.Grid); 2737Type type = typeof(System.Windows.Controls.Grid); 2754Type type = typeof(System.Windows.Controls.Grid); 2771Type type = typeof(System.Windows.Controls.Grid); 2788Type type = typeof(System.Windows.Controls.GridViewColumn); 2806Type type = typeof(System.Windows.Controls.HeaderedContentControl); 2824Type type = typeof(System.Windows.Controls.HeaderedContentControl); 2842Type type = typeof(System.Windows.Controls.HeaderedContentControl); 2858Type type = typeof(System.Windows.Controls.HeaderedContentControl); 2874Type type = typeof(System.Windows.Controls.HeaderedItemsControl); 2892Type type = typeof(System.Windows.Controls.HeaderedItemsControl); 2910Type type = typeof(System.Windows.Controls.HeaderedItemsControl); 2926Type type = typeof(System.Windows.Controls.HeaderedItemsControl); 2942Type type = typeof(System.Windows.Documents.Hyperlink); 2959Type type = typeof(System.Windows.Controls.Image); 2976Type type = typeof(System.Windows.Controls.Image); 2993Type type = typeof(System.Windows.Controls.ItemsControl); 3009Type type = typeof(System.Windows.Controls.ItemsControl); 3025Type type = typeof(System.Windows.Controls.ItemsControl); 3041Type type = typeof(System.Windows.Controls.ItemsControl); 3057Type type = typeof(System.Windows.Controls.ItemsControl); 3073Type type = typeof(System.Windows.Controls.ItemsControl); 3089Type type = typeof(System.Windows.Media.Media3D.MaterialGroup); 3105Type type = typeof(System.Windows.Media.Media3D.Model3DGroup); 3121Type type = typeof(System.Windows.Controls.Page); 3139Type type = typeof(System.Windows.Controls.Panel); 3156Type type = typeof(System.Windows.Shapes.Path); 3173Type type = typeof(System.Windows.Media.PathFigure); 3189Type type = typeof(System.Windows.Media.PathGeometry); 3206Type type = typeof(System.Windows.Controls.Primitives.Popup); 3222Type type = typeof(System.Windows.Controls.Primitives.Popup); 3239Type type = typeof(System.Windows.Controls.Primitives.Popup); 3256Type type = typeof(System.Windows.Controls.Primitives.Popup); 3273Type type = typeof(System.Windows.Controls.RowDefinition); 3290Type type = typeof(System.Windows.Controls.RowDefinition); 3307Type type = typeof(System.Windows.Controls.RowDefinition); 3324Type type = typeof(System.Windows.Controls.ScrollViewer); 3341Type type = typeof(System.Windows.Controls.ScrollViewer); 3358Type type = typeof(System.Windows.Controls.ScrollViewer); 3375Type type = typeof(System.Windows.Shapes.Shape); 3392Type type = typeof(System.Windows.Shapes.Shape); 3409Type type = typeof(System.Windows.Shapes.Shape); 3426Type type = typeof(System.Windows.Controls.TextBlock); 3443Type type = typeof(System.Windows.Controls.TextBlock); 3460Type type = typeof(System.Windows.Controls.TextBlock); 3477Type type = typeof(System.Windows.Controls.TextBlock); 3494Type type = typeof(System.Windows.Controls.TextBlock); 3511Type type = typeof(System.Windows.Controls.TextBlock); 3528Type type = typeof(System.Windows.Controls.TextBlock); 3545Type type = typeof(System.Windows.Controls.TextBlock); 3562Type type = typeof(System.Windows.Controls.TextBlock); 3579Type type = typeof(System.Windows.Controls.TextBlock); 3596Type type = typeof(System.Windows.Controls.TextBlock); 3613Type type = typeof(System.Windows.Controls.TextBox); 3630Type type = typeof(System.Windows.Documents.TextElement); 3647Type type = typeof(System.Windows.Documents.TextElement); 3664Type type = typeof(System.Windows.Documents.TextElement); 3681Type type = typeof(System.Windows.Documents.TextElement); 3698Type type = typeof(System.Windows.Documents.TextElement); 3715Type type = typeof(System.Windows.Documents.TextElement); 3732Type type = typeof(System.Windows.Documents.TextElement); 3749Type type = typeof(System.Windows.Media.Animation.TimelineGroup); 3765Type type = typeof(System.Windows.Controls.Primitives.Track); 3782Type type = typeof(System.Windows.Controls.Primitives.Track); 3799Type type = typeof(System.Windows.Controls.Primitives.Track); 3816Type type = typeof(System.Windows.Controls.Primitives.Track); 3833Type type = typeof(System.Windows.Controls.Primitives.Track); 3850Type type = typeof(System.Windows.Controls.Primitives.Track); 3867Type type = typeof(System.Windows.Media.Media3D.Transform3DGroup); 3883Type type = typeof(System.Windows.Media.TransformGroup); 3899Type type = typeof(System.Windows.UIElement); 3916Type type = typeof(System.Windows.UIElement); 3933Type type = typeof(System.Windows.UIElement); 3950Type type = typeof(System.Windows.UIElement); 3967Type type = typeof(System.Windows.UIElement); 3984Type type = typeof(System.Windows.Controls.Viewport3D); 4001Type type = typeof(System.Windows.Controls.AdornedElementPlaceholder); 4018Type type = typeof(System.Windows.Documents.AdornerDecorator); 4035Type type = typeof(System.Windows.Documents.AnchoredBlock); 4052Type type = typeof(System.Windows.Markup.ArrayExtension); 4069Type type = typeof(System.Windows.Documents.BlockUIContainer); 4086Type type = typeof(System.Windows.Documents.Bold); 4103Type type = typeof(System.Windows.Media.Animation.BooleanAnimationUsingKeyFrames); 4120Type type = typeof(System.Windows.Controls.Border); 4137Type type = typeof(System.Windows.Controls.Primitives.BulletDecorator); 4154Type type = typeof(System.Windows.Controls.Button); 4172Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 4190Type type = typeof(System.Windows.Media.Animation.ByteAnimationUsingKeyFrames); 4207Type type = typeof(System.Windows.Controls.Canvas); 4224Type type = typeof(System.Windows.Media.Animation.CharAnimationUsingKeyFrames); 4241Type type = typeof(System.Windows.Controls.CheckBox); 4259Type type = typeof(System.Windows.Media.Animation.ColorAnimationUsingKeyFrames); 4276Type type = typeof(System.Windows.Controls.ComboBox); 4293Type type = typeof(System.Windows.Controls.ComboBoxItem); 4311Type type = typeof(System.Windows.Controls.ContextMenu); 4328Type type = typeof(System.Windows.Controls.ControlTemplate); 4345Type type = typeof(System.Windows.DataTemplate); 4362Type type = typeof(System.Windows.DataTrigger); 4379Type type = typeof(System.Windows.Media.Animation.DecimalAnimationUsingKeyFrames); 4396Type type = typeof(System.Windows.Controls.Decorator); 4413Type type = typeof(System.Windows.Controls.DockPanel); 4430Type type = typeof(System.Windows.Controls.DocumentViewer); 4446Type type = typeof(System.Windows.Media.Animation.DoubleAnimationUsingKeyFrames); 4463Type type = typeof(System.Windows.EventTrigger); 4480Type type = typeof(System.Windows.Controls.Expander); 4498Type type = typeof(System.Windows.Documents.Figure); 4515Type type = typeof(System.Windows.Documents.FixedDocument); 4532Type type = typeof(System.Windows.Documents.FixedDocumentSequence); 4549Type type = typeof(System.Windows.Documents.FixedPage); 4566Type type = typeof(System.Windows.Documents.Floater); 4583Type type = typeof(System.Windows.Documents.FlowDocument); 4600Type type = typeof(System.Windows.Controls.FlowDocumentPageViewer); 4616Type type = typeof(System.Windows.FrameworkTemplate); 4633Type type = typeof(System.Windows.Controls.Grid); 4650Type type = typeof(System.Windows.Controls.GridView); 4667Type type = typeof(System.Windows.Controls.GridViewColumnHeader); 4685Type type = typeof(System.Windows.Controls.GroupBox); 4703Type type = typeof(System.Windows.Controls.GroupItem); 4721Type type = typeof(System.Windows.Controls.HeaderedContentControl); 4739Type type = typeof(System.Windows.Controls.HeaderedItemsControl); 4756Type type = typeof(System.Windows.HierarchicalDataTemplate); 4773Type type = typeof(System.Windows.Documents.Hyperlink); 4790Type type = typeof(System.Windows.Controls.InkCanvas); 4807Type type = typeof(System.Windows.Controls.InkPresenter); 4824Type type = typeof(System.Windows.Documents.InlineUIContainer); 4841Type type = typeof(System.Windows.Input.InputScopeName); 4859Type type = typeof(System.Windows.Media.Animation.Int16AnimationUsingKeyFrames); 4876Type type = typeof(System.Windows.Media.Animation.Int32AnimationUsingKeyFrames); 4893Type type = typeof(System.Windows.Media.Animation.Int64AnimationUsingKeyFrames); 4910Type type = typeof(System.Windows.Documents.Italic); 4927Type type = typeof(System.Windows.Controls.ItemsControl); 4944Type type = typeof(System.Windows.Controls.ItemsPanelTemplate); 4961Type type = typeof(System.Windows.Controls.Label); 4979Type type = typeof(System.Windows.Media.LinearGradientBrush); 4995Type type = typeof(System.Windows.Documents.List); 5012Type type = typeof(System.Windows.Controls.ListBox); 5029Type type = typeof(System.Windows.Controls.ListBoxItem); 5047Type type = typeof(System.Windows.Documents.ListItem); 5064Type type = typeof(System.Windows.Controls.ListView); 5081Type type = typeof(System.Windows.Controls.ListViewItem); 5099Type type = typeof(System.Windows.Media.Animation.MatrixAnimationUsingKeyFrames); 5116Type type = typeof(System.Windows.Controls.Menu); 5133Type type = typeof(System.Windows.Controls.Primitives.MenuBase); 5150Type type = typeof(System.Windows.Controls.MenuItem); 5167Type type = typeof(System.Windows.Media.Media3D.ModelVisual3D); 5184Type type = typeof(System.Windows.Data.MultiBinding); 5201Type type = typeof(System.Windows.MultiDataTrigger); 5218Type type = typeof(System.Windows.MultiTrigger); 5235Type type = typeof(System.Windows.Media.Animation.ObjectAnimationUsingKeyFrames); 5252Type type = typeof(System.Windows.Documents.PageContent); 5269Type type = typeof(System.Windows.Navigation.PageFunctionBase); 5287Type type = typeof(System.Windows.Controls.Panel); 5304Type type = typeof(System.Windows.Documents.Paragraph); 5321Type type = typeof(System.Windows.Media.Animation.ParallelTimeline); 5337Type type = typeof(System.Windows.Media.Animation.Point3DAnimationUsingKeyFrames); 5354Type type = typeof(System.Windows.Media.Animation.PointAnimationUsingKeyFrames); 5371Type type = typeof(System.Windows.Data.PriorityBinding); 5388Type type = typeof(System.Windows.Media.Animation.QuaternionAnimationUsingKeyFrames); 5405Type type = typeof(System.Windows.Media.RadialGradientBrush); 5421Type type = typeof(System.Windows.Controls.RadioButton); 5439Type type = typeof(System.Windows.Media.Animation.RectAnimationUsingKeyFrames); 5456Type type = typeof(System.Windows.Controls.Primitives.RepeatButton); 5474Type type = typeof(System.Windows.Controls.RichTextBox); 5491Type type = typeof(System.Windows.Media.Animation.Rotation3DAnimationUsingKeyFrames); 5508Type type = typeof(System.Windows.Documents.Run); 5525Type type = typeof(System.Windows.Controls.ScrollViewer); 5543Type type = typeof(System.Windows.Documents.Section); 5560Type type = typeof(System.Windows.Controls.Primitives.Selector); 5577Type type = typeof(System.Windows.Media.Animation.SingleAnimationUsingKeyFrames); 5594Type type = typeof(System.Windows.Media.Animation.SizeAnimationUsingKeyFrames); 5611Type type = typeof(System.Windows.Documents.Span); 5628Type type = typeof(System.Windows.Controls.StackPanel); 5645Type type = typeof(System.Windows.Controls.Primitives.StatusBar); 5662Type type = typeof(System.Windows.Controls.Primitives.StatusBarItem); 5680Type type = typeof(System.Windows.Media.Animation.Storyboard); 5696Type type = typeof(System.Windows.Media.Animation.StringAnimationUsingKeyFrames); 5713Type type = typeof(System.Windows.Style); 5730Type type = typeof(System.Windows.Controls.TabControl); 5747Type type = typeof(System.Windows.Controls.TabItem); 5765Type type = typeof(System.Windows.Controls.Primitives.TabPanel); 5782Type type = typeof(System.Windows.Documents.Table); 5799Type type = typeof(System.Windows.Documents.TableCell); 5816Type type = typeof(System.Windows.Documents.TableRow); 5833Type type = typeof(System.Windows.Documents.TableRowGroup); 5850Type type = typeof(System.Windows.Controls.TextBlock); 5867Type type = typeof(System.Windows.Media.Animation.ThicknessAnimationUsingKeyFrames); 5884Type type = typeof(System.Windows.Controls.Primitives.ToggleButton); 5902Type type = typeof(System.Windows.Controls.ToolBar); 5919Type type = typeof(System.Windows.Controls.Primitives.ToolBarOverflowPanel); 5936Type type = typeof(System.Windows.Controls.Primitives.ToolBarPanel); 5953Type type = typeof(System.Windows.Controls.ToolBarTray); 5970Type type = typeof(System.Windows.Controls.ToolTip); 5988Type type = typeof(System.Windows.Controls.TreeView); 6005Type type = typeof(System.Windows.Controls.TreeViewItem); 6022Type type = typeof(System.Windows.Trigger); 6039Type type = typeof(System.Windows.Documents.Underline); 6056Type type = typeof(System.Windows.Controls.Primitives.UniformGrid); 6073Type type = typeof(System.Windows.Controls.UserControl); 6091Type type = typeof(System.Windows.Media.Animation.Vector3DAnimationUsingKeyFrames); 6108Type type = typeof(System.Windows.Media.Animation.VectorAnimationUsingKeyFrames); 6125Type type = typeof(System.Windows.Controls.Viewbox); 6142Type type = typeof(System.Windows.Media.Media3D.Viewport3DVisual); 6159Type type = typeof(System.Windows.Controls.VirtualizingPanel); 6176Type type = typeof(System.Windows.Controls.VirtualizingStackPanel); 6193Type type = typeof(System.Windows.Window); 6211Type type = typeof(System.Windows.Controls.WrapPanel); 6228Type type = typeof(System.Windows.Data.XmlDataProvider); 6245Type type = typeof(System.Windows.Controls.ControlTemplate); 6262Type type = typeof(System.Windows.DataTemplate); 6279Type type = typeof(System.Windows.DataTemplate); 6298Type type = typeof(System.Windows.Controls.ControlTemplate); 6302typeof(System.Type), // type 6307bamlMember.TypeConverterType = typeof(System.Type); 6309bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.ControlTemplate)target).TargetType = (System.Type)value; }; 6318Type type = typeof(System.Windows.FrameworkElement); 6336Type type = typeof(System.Windows.FrameworkTemplate); 6355Type type = typeof(System.Windows.Controls.Grid); 6372Type type = typeof(System.Windows.Controls.Grid); 6389Type type = typeof(System.Windows.MultiTrigger); 6406Type type = typeof(System.Windows.NameScope); 6422Type type = typeof(System.Windows.Style); 6426typeof(System.Type), // type 6431bamlMember.TypeConverterType = typeof(System.Type); 6433bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Style)target).TargetType = (System.Type)value; }; 6442Type type = typeof(System.Windows.Style); 6459Type type = typeof(System.Windows.Setter); 6477Type type = typeof(System.Windows.Setter); 6496Type type = typeof(System.Windows.Data.Binding); 6514Type type = typeof(System.Windows.ComponentResourceKey); 6533Type type = typeof(System.Windows.ComponentResourceKey); 6537typeof(System.Type), // type 6542bamlMember.TypeConverterType = typeof(System.Type); 6543bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.ComponentResourceKey)target).TypeInTargetAssembly = (System.Type)value; }; 6552Type type = typeof(System.Windows.Data.Binding); 6569Type type = typeof(System.Windows.Data.Binding); 6588Type type = typeof(System.Windows.Data.Binding); 6605Type type = typeof(System.Windows.Data.Binding); 6623Type type = typeof(System.Windows.Media.Animation.Timeline); 6640Type type = typeof(System.Windows.Style); 6658Type type = typeof(System.Windows.Data.Binding); 6676Type type = typeof(System.Windows.Data.Binding); 6694Type type = typeof(System.Windows.ResourceDictionary); 6712Type type = typeof(System.Windows.Trigger); 6730Type type = typeof(System.Windows.Trigger); 6749Type type = typeof(System.Windows.Data.RelativeSource); 6753typeof(System.Type), // type 6758bamlMember.TypeConverterType = typeof(System.Type); 6759bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.RelativeSource)target).AncestorType = (System.Type)value; }; 6768Type type = typeof(System.Windows.UIElement); 6785Type type = typeof(System.Windows.FrameworkContentElement); 6802Type type = typeof(System.Windows.FrameworkContentElement); 6820Type type = typeof(System.Windows.Style); 6838Type type = typeof(System.Windows.FrameworkTemplate); 6856Type type = typeof(System.Windows.Application); 6874Type type = typeof(System.Windows.Data.MultiBinding); 6891Type type = typeof(System.Windows.Data.MultiBinding); 6910Type type = typeof(System.Windows.Media.LinearGradientBrush); 6927Type type = typeof(System.Windows.Media.LinearGradientBrush); 6944Type type = typeof(System.Windows.Input.CommandBinding); 6962Type type = typeof(System.Windows.Condition); 6981Type type = typeof(System.Windows.Condition); 6999Type type = typeof(System.Windows.Condition); 7016Type type = typeof(System.Windows.Data.BindingBase); 7035Type type = typeof(System.Windows.Window); 7052Type type = typeof(System.Windows.Window); 7069Type type = typeof(System.Windows.Window); 7086Type type = typeof(System.Windows.Shapes.Shape); 7103Type type = typeof(System.Windows.Shapes.Shape); 7120Type type = typeof(System.Windows.Shapes.Shape); 7137Type type = typeof(System.Windows.Media.TileBrush); 7154Type type = typeof(System.Windows.Media.TileBrush); 7171Type type = typeof(System.Windows.Media.TileBrush); 7188Type type = typeof(System.Windows.Media.GeometryDrawing); 7204Type type = typeof(System.Windows.Controls.TextBox); 7221Type type = typeof(System.Windows.Controls.StackPanel); 7238Type type = typeof(System.Windows.Controls.Primitives.Track); 7255Type type = typeof(System.Windows.Controls.Primitives.Track); 7272Type type = typeof(System.Windows.Controls.Primitives.Track); 7289Type type = typeof(System.Windows.EventTrigger); 7307Type type = typeof(System.Windows.Input.InputBinding); 7324Type type = typeof(System.Windows.Input.KeyBinding); 7342Type type = typeof(System.Windows.Controls.TextBox); 7359Type type = typeof(System.Windows.Controls.TextBlock); 7376Type type = typeof(System.Windows.Navigation.JournalEntryUnifiedViewConverter); 7393Type type = typeof(System.Windows.Media.GradientBrush); 7410Type type = typeof(System.Windows.Controls.MenuItem); 7428Type type = typeof(System.Windows.DataTrigger); 7447Type type = typeof(System.Windows.DataTrigger); 7464Type type = typeof(System.Windows.Setter); 7483Type type = typeof(System.Windows.ResourceDictionary); 7501Type type = typeof(System.Windows.Media.Animation.BeginStoryboard); 7519Type type = typeof(System.Windows.ResourceDictionary); 7536Type type = typeof(System.Windows.Input.KeyboardNavigation); 7553Type type = typeof(System.Windows.Input.KeyboardNavigation); 7570Type type = typeof(System.Windows.Controls.Primitives.ScrollBar); 7587Type type = typeof(System.Windows.Trigger); 7606Type type = typeof(System.Windows.EventTrigger); 7624Type type = typeof(System.Windows.Controls.DefinitionBase); 7641Type type = typeof(System.Windows.Controls.ToolTipService); 7659Type type = typeof(System.Windows.Media.PathFigure); 7676Type type = typeof(System.Windows.Media.PathFigure); 7693Type type = typeof(System.Windows.Controls.Primitives.ButtonBase); 7710Type type = typeof(System.Windows.Documents.Block); 7727Type type = typeof(System.Windows.UIElement); 7744Type type = typeof(System.Windows.Media.Pen); 7761Type type = typeof(System.Windows.Controls.Primitives.BulletDecorator); 7778Type type = typeof(System.Windows.UIElement); 7795Type type = typeof(System.Windows.UIElement); 7812Type type = typeof(System.Windows.UIElement); 7829Type type = typeof(System.Windows.Media.SolidColorBrush); 7846Type type = typeof(System.Windows.Media.Brush); 7863Type type = typeof(System.Windows.Controls.Primitives.TextBoxBase); 7880Type type = typeof(System.Windows.Media.PathSegment); 7897Type type = typeof(System.Windows.Controls.VirtualizingPanel); 7914Type type = typeof(System.Windows.Shapes.Shape); 7931Type type = typeof(System.Windows.Controls.Frame); 7948Type type = typeof(System.Windows.Controls.Frame); 7965Type type = typeof(System.Windows.Media.Animation.Storyboard); 7982Type type = typeof(System.Windows.Data.XmlDataProvider); 8000Type type = typeof(System.Windows.Controls.Primitives.Selector); 8017Type type = typeof(System.Windows.DataTemplate); 8037Type type = typeof(System.Windows.Shapes.Shape); 8054Type type = typeof(System.Windows.UIElement); 8071Type type = typeof(System.Windows.Controls.MenuItem); 8088Type type = typeof(System.Windows.Controls.Panel); 8105Type type = typeof(System.Windows.Data.Binding); 8123Type type = typeof(System.Windows.Window); 8140Type type = typeof(System.Windows.Data.ObjectDataProvider); 8144typeof(System.Type), // type 8149bamlMember.TypeConverterType = typeof(System.Type); 8150bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Data.ObjectDataProvider)target).ObjectType = (System.Type)value; }; 8159Type type = typeof(System.Windows.Controls.ToolBar); 8177Type type = typeof(System.Windows.Controls.Primitives.TextBoxBase); 8194Type type = typeof(System.Windows.Controls.Primitives.TextBoxBase); 8211Type type = typeof(System.Windows.FrameworkElement); 8228Type type = typeof(System.Windows.MultiDataTrigger); 8245Type type = typeof(System.Windows.Input.KeyBinding); 8262Type type = typeof(System.Windows.Data.Binding); 8281Type type = typeof(System.Windows.Controls.Canvas); 8298Type type = typeof(System.Windows.Controls.Canvas); 8315Type type = typeof(System.Windows.Controls.Canvas); 8332Type type = typeof(System.Windows.Controls.Canvas); 8349Type type = typeof(System.Windows.Media.Animation.Storyboard);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (22)
1772new List<Type>() { typeof(System.Type) }, 1776(System.Type)arguments[0]); 1852new List<Type>() { typeof(System.String) }, 2695new List<Type>() { typeof(System.Object) }, 2825new List<Type>() { typeof(System.Type), typeof(System.Object) }, 2829(System.Type)arguments[0], 3165new List<Type>() { typeof(System.Object) }, 4033new List<Type>() { typeof(System.Object) }, 8294new List<Type>() { typeof(System.Windows.Data.RelativeSourceMode) }, 8301new List<Type>() { typeof(System.Windows.Data.RelativeSourceMode), typeof(System.Type), typeof(System.Int32) }, 8306(System.Type)arguments[1], 9424new List<Type>() { typeof(System.String) }, 9443new List<Type>() { typeof(System.Object) }, 9875new List<Type>() { typeof(System.Windows.DependencyProperty) }, 10089new List<Type>() { typeof(System.String) }, 10651new List<Type>() { typeof(System.Type) }, 10655(System.Type)arguments[0]); 11830new List<Type>() { typeof(System.Object) },
src\Framework\System\Windows\Markup\Baml2006\WpfKnownMember.cs (6)
27Type _deferringLoader; 28Type _typeConverterType; 29Type _type; 79Type type, 137public Type TypeConverterType 164public Type DeferringLoaderType
src\Framework\System\Windows\Markup\Baml2006\WpfKnownMemberInvoker.cs (3)
49Type declaringType = _member.UnderlyingMember.DeclaringType; 52Type[] args = new Type[] { typeof(DependencyObject) }; ;
src\Framework\System\Windows\Markup\Baml2006\WpfKnownType.cs (11)
29Type _underlyingType; 36Type _deferringLoader; 37Type _typeConverterType; 66Type underlyingType) 74Type underlyingType, 230public Type TypeConverterType 240public Type DeferringLoaderType 336foreach (Type type in info.Types) 362object[] ICustomAttributeProvider.GetCustomAttributes(Type attributeType, bool inherit) 384private bool TryGetCustomAttribute(Type attributeType, out Attribute result) 415bool ICustomAttributeProvider.IsDefined(Type attributeType, bool inherit)
src\Framework\System\Windows\Markup\Baml2006\WpfMemberInvoker.cs (3)
69Type declaringType = _member.UnderlyingMember.DeclaringType; 72Type[] args = new Type[] { typeof(DependencyObject) }; ;
src\Framework\System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (9)
40private Dictionary<Type, XamlType> _masterTypeTable; 63_masterTypeTable = new Dictionary<Type, XamlType>(256); 183public override XamlType GetXamlType(Type type) 199private XamlType GetUnknownXamlType(Type type) 215internal XamlType GetKnownXamlType(Type type) 257internal XamlValueConverter<XamlDeferringLoader> GetDeferringLoader(Type loaderType) 262internal XamlValueConverter<TypeConverter> GetTypeConverter(Type converterType) 284internal Type ResolvePrefixedNameWithAdditionalWpfSemantics(string prefixedName, DependencyObject element) 309Type result = System.Windows.Markup.XamlTypeMapper.GetTypeFromName(prefixedName, element);
src\Framework\System\Windows\Markup\Baml2006\WpfSharedXamlSchemaContext.cs (5)
23public override XamlType GetXamlType(Type type) 49internal static void RequireRuntimeType(Type type) 54Type runtimeType = typeof(object).GetType(); 67private Dictionary<Type, XamlType> _masterTypeTable = new Dictionary<Type, XamlType>();
src\Framework\System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
74public WpfXamlType(Type type, XamlSchemaContext schema, bool isBamlScenario, bool useV3Rules)
src\Framework\System\Windows\Markup\BamlCollectionHolder.cs (1)
82internal Type PropertyType
src\Framework\System\Windows\Markup\BamlMapTable.cs (47)
116internal static Type GetKnownTypeFromId(short id) 145Type probeType = KnownTypes.Types[probe]; 176internal static short GetKnownTypeIdFromType(Type type) 214internal static KnownElements GetKnownTypeConverterIdFromType(Type type) 221else if (type == typeof(System.Type)) 244internal TypeConverter GetKnownConverterFromType(Type type) 264internal static TypeConverter GetKnownConverterFromType_NoCache(Type type) 298internal Type GetKnownConverterTypeFromType(Type type) 319if (type == typeof(System.Type)) 344private static Type GetKnownConverterTypeFromPropName( 345Type propOwnerType, 419internal Type GetTypeFromId(short id) 421Type type = null; 529private short GetAssemblyIdForType(Type t) 549Type propType, 596Type t = GetTypeFromId(typeId); 660Type ownerType = record.OwnerType; 774internal Type GetTypeFromTypeInfo(BamlTypeInfoRecord typeInfo) 794Type type = assembly.GetType(typeInfo.TypeFullName); 807private Type GetAttributeOwnerType(BamlAttributeInfoRecord bamlAttributeInfoRecord) 829internal Type GetCLRPropertyTypeAndNameFromId(short attributeId, out string propName) 832Type propType = null; 865internal DependencyProperty GetDependencyPropertyValueFromId(short memberId, string memberName, out Type declaringType) 912Type declaringType = GetTypeFromId(ownerTypeId); 958Type ownerType = GetAttributeOwnerType(bamlAttributeInfoRecord); 971internal short GetAttributeOrTypeId(BinaryWriter binaryWriter, Type declaringType, string memberName, out short typeId) 1225Type elementType, 1309Type owningType, // Actual type of the object the owns or declares this attribute 1311Type attributeType, // Type of the attribute or property itself; not its owner type 1322Type owningType, // Actual type of the object the owns or declares this attribute 1324Type attributeType, // Type of the attribute or property itself; not its owner type 1336Type serializerType = XamlTypeMapper.GetXamlSerializerForType(owningType); 1387Type ownerType, // Type of object that owns or declares this attribute 1388Type attributeType, // Type of the attribute or property itself; not its owner type 1392out Type converterOrSerializerType) 1503Type defaultTargetType) 1506Type targetType = null; 1552Type declaringType, // Type of object that owns or declares this attribute 1553Type attributeType) // Type of the attribute or property itself; not its owner type 1571private Type GetCustomConverter( 1573Type ownerType, // Type of object that owns or declares this attribute 1575Type attributeType) // Type of the attribute or property itself; not its owner type 1578Type converterType = GetKnownConverterTypeFromPropName(ownerType, fieldName); 1612private Type GetCustomSerializer( 1613Type type, 1727private TypeConverter GetConverterFromCache(Type type)
src\Framework\System\Windows\Markup\BamlReader.cs (3)
1053Type propertyType = attrInfo.GetPropertyType(); 1062Type declaringType = null; 2216Type converter = MapTable.GetTypeFromId(converterTypeId);
src\Framework\System\Windows\Markup\BamlRecordReader.cs (37)
868out Type delayCreatedType, 872Type elementType = MapTable.GetTypeFromId(typeId); 910protected ReaderFlags GetFlagsFromType(Type elementType) 1031Type delayCreatedType = null; 1280Type elementType = MapTable.GetTypeFromId(bamlElementRecord.TypeId); 1424Type elementType = ParentContext.ExpectedType; 1453Type t = param as Type; 1502Type ownerType = ParserContext.TargetType; 2134Type declaringType = null; 2139out Type declaringType) 2178internal object GetCustomValue(BamlPropertyCustomRecord bamlPropertyRecord, Type propertyType, string propertyName) 2686Type valueType = MapTable.GetTypeFromId(bamlPropertyRecord.TypeId); 3071Type expectedType = holder.PropertyType; 3399Type keyType = MapTable.GetTypeFromId(bamlDefAttributeRecord.TypeId); 3717Type propertyType = null; 3792static private Type NullableType = typeof(Nullable<>); 3794static internal bool IsNullable(Type t) 3801internal object OptionallyMakeNullable(Type propertyType, object o, string propName) 3808((Type)propertyType.GetGenericArguments()[0]).Name, 3819static internal bool TryOptionallyMakeNullable( Type propertyType, string propName, ref object o ) 3825Type genericType = (Type)propertyType.GetGenericArguments()[0]; 4002Type propertyType, 4045Type propertyType) 4054if (propertyType == typeof(Type)) 4078object GetObjectFromString(Type type, string s, short converterTypeId) 4334Type expectedType, 4344Type expectedType, 4822Type parentType = GetParentType(); 4840Type parentType = GetParentType(); 4856private Type GetParentType() 4913Type elementType; 5174Type currentParentType; 5281Type type, 5840Type currentParentType = currentParent.GetType(); 5900public Type PropertyType
src\Framework\System\Windows\Markup\BamlRecords.cs (15)
482static internal bool TreatAsIAddChild(Type parentObjectType) 487static internal BamlRecordType GetPropertyStartRecordType(Type propertyType, bool propertyCanWrite) 2739internal Type ValueType 2754internal Type SerializerType 2768Type _valueType; 2771Type _serializerType; 2815internal object GetCustomValue(BinaryReader reader, Type propertyType, short serializerId, BamlRecordReader bamlRecordReader) 4621internal Type Type 4705Type _type; 4781internal Type SerializerType 4806Type _serializerType; 4910internal Type GetPropertyType() 4912Type validType = null; 5054internal Type OwnerType 5198Type _ownerType = null;
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (3)
992Type converterOrSerializerType; 1028Type ownerType = _xamlTypeMapper.GetDependencyPropertyOwnerAndName(xamlProperty.Value, 1093Type typeValue = _xamlTypeMapper.GetTypeFromBaseString(xamlPropertyNode.Value,
src\Framework\System\Windows\Markup\BamlWriter.cs (26)
109ref Type baseType, 110ref Type serializerType) 234Type elementType = GetType(assemblyName, typeFullName); 235Type serializerType = _xamlTypeMapper.GetXamlSerializerForType(elementType); 334Type declaringType; 362Type propType = XamlTypeMapper.GetPropertyType(dpOrPi); 365Type ownerType = null; 406Type typeValue = _xamlTypeMapper.GetTypeFromBaseString(data.Args, 462Type declaringType; 564Type valueElementType = null; 565Type valueSerializerType = null; 651Type ownerType; 652Type propertyType = null; 883Type typeConverter=null; 1114private Type GetType( 1123Type objectType = assembly.GetType(typeFullName); 1141Type ownerType, 1208out Type ownerType) 1225private MethodInfo GetMi(Type ownerType, string propName) 1257out Type ownerType) 1289private void Push(BamlRecordType recordType, Type elementType) 1312private Type PeekElementType() 1359Type elementType) : this(recordType) 1375public Type ElementType 1382Type _elementType; 1443sealed protected override bool AllowInternalType(Type type)
src\Framework\System\Windows\Markup\DependencyPropertyConverter.cs (7)
42public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 61public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 105public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 115Type type = null; 228if (firstAmbientValue.Value is Type) 230type = (Type)firstAmbientValue.Value; 258private static Type GetTypeFromName(XamlSchemaContext schemaContext,
src\Framework\System\Windows\Markup\KnownTypes.cs (2)
5540private Type InitializeOneType(KnownElements knownElement) 5542Type t = null;
src\Framework\System\Windows\Markup\KnownTypesHelper.cs (4)
49_typeTable =new Type[size]; 52public System.Type this[int index] 56Type t = _typeTable[index]; 66private Type[] _typeTable;
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (25)
54ref Type baseType, 55ref Type serializerType); 83Type declaringType, // Type where propIdName is declared 108Type declaringType, 169private KnownElements GetKnownExtensionFromType(Type extensionType, out string propName) 209Type extensionType, 246Type extensionType, 320Type targetType) 464Type declaringType, // Type where attribute is declared 475Type targetType; 476Type serializerType; 498Type declaringType, // Type where propIdName is declared 511Type targetType; 512Type serializerType; 572out Type targetType, 573out Type serializerType) 660Type propertyType; 934Type extensionType) 1221private ParameterInfo[] FindLongestConstructor(Type extensionType, out int maxConstructorArguments) 1400Type declaringType; 1516Type parentType, 1534Type declaringType; 1569Type typeValue = _parserContext.XamlTypeMapper.GetTypeFromBaseString(value, 1669Type elementBaseType, 1676out Type declaringType, // type of the object that the field is on
src\Framework\System\Windows\Markup\ParserContext.cs (11)
209internal Dictionary<string, SpecialBracketCharacters> InitBracketCharacterCacheForType(Type type) 249_targetType = (Type) _langSpaceStack.Pop(); 325internal Type TargetType 728internal Dictionary<Type, Dictionary<string, SpecialBracketCharacters>> MasterBracketCharacterCache 734_masterBracketCharacterCache = new Dictionary<Type, Dictionary<string, SpecialBracketCharacters>>(); 855private Type _targetType; 856private Dictionary<Type, Dictionary<string, SpecialBracketCharacters>> _masterBracketCharacterCache; 876private Dictionary<string, SpecialBracketCharacters> BuildBracketCharacterCacheForType(Type extensionType) 880Type constructorArgumentType = null; 881Type markupExtensionBracketCharacterType = null; 891Type attributeType = attributeData.AttributeType;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (47)
63public override Type ObjectType 226Type ownerType = dpd.DependencyProperty.OwnerType; 253Type instanceType = instance.GetType(); 302public ShouldSerializeKey(Type type, string propertyName) 337private Type _type; 426private static Type[] _shouldSerializeArgsObject = new Type[] { typeof(DependencyObject) }; 427private static Type[] _shouldSerializeArgsManager = new Type[] { typeof(XamlDesignerSerializationManager) }; 428private static Type[] _shouldSerializeArgsMode = new Type[] { typeof(XamlWriterMode) }; 429private static Type[] _shouldSerializeArgsObjectManager = new Type[] { typeof(DependencyObject), typeof(XamlDesignerSerializationManager) }; 522Type keyType = GetDictionaryKeyType(dictionary); 643static readonly List<Type> EmptyTypes = new List<Type>(); 645public override IEnumerable<Type> TypeReferences 671protected abstract Type GetObjectType(); 707private static Dictionary<Type, Type> _keyTypeMap; 709private static Type GetDictionaryKeyType(IDictionary value) 711Type type = value.GetType(); 712Type result; 715_keyTypeMap = new Dictionary<Type, Type>(); 718foreach (Type interfaceType in type.GetInterfaces()) 722Type genericTypeDefinition = interfaceType.GetGenericTypeDefinition(); 752protected override Type GetObjectType() 776public override Type PropertyType 914Type propertyType, 939Type type = value as Type; 945if( propertyType == typeof(Type) ) 960ValueSerializer typeSerializer = context.GetValueSerializerFor(typeof(Type)); 1001public override Type PropertyType 1041public override IEnumerable<Type> TypeReferences 1060internal ElementPseudoPropertyBase(object value, Type type, ElementMarkupObject obj) : base(obj) 1066public override Type PropertyType 1081public override IEnumerable<Type> TypeReferences 1083get { return new Type[0]; } 1087private Type _type; 1095internal ElementKey(object value, Type type, ElementMarkupObject obj) : base(value, type, obj) { } 1113internal ElementConstructorArgument(object value, Type type, ElementMarkupObject obj) : base(value, type, obj) { } 1131internal ElementItemsPseudoProperty(IEnumerable value, Type type, ElementMarkupObject obj) : base(value, type, obj) 1170internal ElementDictionaryItemsPseudoProperty(IDictionary value, Type type, ElementMarkupObject obj) : base(value, type, obj) 1223public ValueSerializer GetValueSerializerFor(Type type) 1278public object GetService(Type serviceType)
src\Framework\System\Windows\Markup\Primitives\ExtensionSimplifierMarkupObject.cs (4)
43public override Type ObjectType 95public override Type PropertyType 105public override IEnumerable<Type> TypeReferences 321ValueSerializer typeSerializer = _context.GetValueSerializerFor(typeof(Type));
src\Framework\System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (7)
53public override Type ObjectType 186public override Type PropertyType 218protected override Type GetObjectType() 276protected override Type GetObjectType() 286public override Type PropertyType 345protected override Type GetObjectType() 355public override Type PropertyType
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (27)
157internal static void VerifyTypeIsSerializable(Type type) 764List<Type> wrapperTypes = GetWrapperTypes(contentProperty.PropertyType); 1052Type tagType = property.Value.GetType(); 1100private List<Type> GetWrapperTypes(Type type) 1107List<Type> wrapperTypes = new List<Type>(); 1118private MarkupProperty GetWrappedProperty(List<Type> wrapperTypes, MarkupObject item) 1138private bool IsInTypes(Type type, List<Type> types) 1140foreach (Type t in types) 1166private bool IsCollectionType(Type type) 1193List<Type> wrapperTypes = GetWrapperTypes(contentProperty.PropertyType); 1416public void MakeAddressable(IEnumerable<Type> types) 1419foreach (Type type in types) 1423public string MakeAddressable(Type type) 1479if (descriptor.PropertyType == typeof(Type)) 1486public ValueSerializer GetValueSerializerFor(Type type) 1488if (type == typeof(Type)) 1518public object GetService(Type serviceType) 1544Type type = value as Type; 1555public override IEnumerable<Type> TypeReferences(object value, IValueSerializerContext context) 1557Type type = value as Type; 1559return new Type[] { type }; 1626public static string GetNamespaceUriFor(Type type)
src\Framework\System\Windows\Markup\ProvideValueServiceProvider.cs (2)
54Type IXamlTypeResolver.Resolve(string qualifiedTypeName) // E.g. foo:Class 100public object GetService(Type service)
src\Framework\System\Windows\Markup\ReaderContextStackData.cs (2)
30Type _expectedType; 87internal Type ExpectedType
src\Framework\System\Windows\Markup\RoutedEventConverter.cs (6)
20public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 36public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 59Type type = null; 98type = firstAmbientValue.Value as Type; 109Type currentType = type; 138Type destinationType)
src\Framework\System\Windows\Markup\RoutedEventValueSerializer.cs (11)
24return ValueSerializer.GetSerializerFor(typeof(Type), context) != null; 29return ValueSerializer.GetSerializerFor(typeof(Type), context) != null; 37ValueSerializer typeSerializer = ValueSerializer.GetSerializerFor(typeof(Type), context); 46static Dictionary<Type, Type> initializedTypes = new Dictionary<Type, Type>(); 48static void ForceTypeConstructors(Type currentType) 61ValueSerializer typeSerializer = ValueSerializer.GetSerializerFor(typeof(Type), context); 67Type type = typeSerializer.ConvertFromString(value.Substring(0, index), context) as Type;
src\Framework\System\Windows\Markup\SetterTriggerConditionValueConverter.cs (3)
41public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 60public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 86public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\Markup\TemplateKeyConverter.cs (3)
38public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 49public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 74public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\Markup\typecontext.cs (1)
77virtual public object GetService(Type serviceType)
src\Framework\System\Windows\Markup\xamlnodes.cs (35)
381Type converterType) 399internal Type ConverterType 414Type _converterType = null; 490internal Type PropDeclaringType 507internal Type PropValidType 534Type _validType; 535Type _declaringType; 672internal Type DefaultTargetType 682Type _defaultTargetType; 770internal Type ValueDeclaringType 812internal Type ValuePropertyType 877internal Type DefaultTargetType 914Type _valueDeclaringType; 916Type _valuePropertyType; 921Type _defaultTargetType; 943Type valueElementType, // Actual type of the valueTypeFullname. 982internal Type ValueElementType 1007Type _valueElementType; 1101Type elementType, 1102Type serializerType) 1124Type elementType, 1125Type serializerType, 1162internal Type ElementType 1173internal Type SerializerType 1222Type _elementType; 1223Type _serializerType; 2091Type valueType) // Actual Type, if known. 2109internal Type ValueType 2115Type _valueType; 2176Type elementType, 2177Type serializerType) 2270internal Type PropDeclaringType 2287internal Type PropValidType 2301Type _declaringType; 2302Type _validType;
src\Framework\System\Windows\Markup\XamlParseException.cs (2)
333Type objectType) 437Type objectType
src\Framework\System\Windows\Markup\XamlReader.cs (1)
1008Type internalTypeHelper = null;
src\Framework\System\Windows\Markup\XamlStyleSerializer.cs (1)
95Type styleTargetType = Style.DefaultTargetType;
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (83)
126public Type GetType( 530Type owner, 534Type baseType = null; 588Type propType, 806Type propType, 861Type owner, 886Type ownerType, 907Type currentParentType, 949Type propertyOwnerType = attributeInfo.OwnerType; 1024Type owner, 1267protected virtual bool AllowInternalType(Type type) 1272private bool IsInternalTypeAllowedInFullTrust(Type type) 1299Type owner, 1329Type owner, 1359Type objectType = typeAndSerializer.ObjectType; 1380Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1518Type baseType = owner; 1543Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1678Type owner, 1720Type owner, 1723ref Type baseType, 1856ref Type ownerType) 1993Type ownerType, 2085Type ownerType) 2088Type currentType = ownerType; 2111internal static Type GetPropertyType(object propertyMember) 2113Type propertyType; 2128out Type propertyType, 2209internal static Type GetDeclaringType(object propertyMember) 2211Type validType = null; 2249internal static Type GetTypeFromName(string typeName, DependencyObject element) 2301Type t = assy.GetType(fullTypeName); 2321Type t = assy.GetType(fullTypeName); 2336internal Type GetTargetTypeAndMember(string valueParam, 2351Type targetType = null; 2387internal Type GetDependencyPropertyOwnerAndName(string memberValue, 2389Type defaultTargetType, 2392Type targetType = GetTargetTypeAndMember(memberValue, context, false, out memberName); 2419internal MemberInfo GetStaticMemberInfo(Type targetType, string memberName, bool fieldInfoOnly) 2459private MemberInfo GetStaticMemberInfo(Type targetType, string memberName, bool fieldInfoOnly, bool tryInternal) 2634Type objectType = GetObjectType(namespaceMap, localName, knownTypesOnly); 2684private Type GetObjectType( 2692Type type = null; 2761internal int GetCustomBamlSerializerIdForType(Type objectType) 2802internal Type GetXamlSerializerForType(Type objectType) 2818internal static Type GetInternalTypeHelperTypeFromAssembly(ParserContext pc) 2826Type ithType = a.GetType(GeneratedNamespace + "." + GeneratedInternalTypeHelperClassName); 2846Type ithType = GetInternalTypeHelperTypeFromAssembly(pc); 2861internal static object CreateInternalInstance(ParserContext pc, Type type) 2980internal static Delegate CreateDelegate(ParserContext pc, Type delegateType, object target, string handler) 3068internal Type GetTypeFromBaseString( 3074Type keyObject = null; 3205private TypeInformationCacheData GetCachedInformationForType(Type type) 3226private Type GetCachedBaseType(Type t) 3282ref Type ownerType) 3305Type ownerType) 3325internal object CreateInstance(Type t) 3621private string GetCachedNamespace(Type t) 3667internal Type GetTypeConverterType(Type type) 3671Type converterType = null; 3698internal TypeConverter GetTypeConverter(Type type) 3718Type converterType = TypeConverterHelper.GetConverterType(type); 3742internal Type GetPropertyConverterType(Type propType, object dpOrPiOrMi) 3745Type converterType = null; 3786internal TypeConverter GetPropertyConverter(Type propType, object dpOrPiOrMi) 3809Type converterType = TypeConverterHelper.GetConverterType(memberInfo); 3864internal ConstructorData GetConstructors(Type type) 3953internal bool GetCachedTrimSurroundingWhitespace(Type t) 3971private bool GetTrimSurroundingWhitespace(Type type) 4154internal TypeInformationCacheData(Type baseType) 4175internal Type BaseType 4191internal Type TypeConverterType 4237Type ownerType, 4291Type _baseType; 4299Type _typeConverterType; 4309Type ot, 4322public Type OwnerType; 4423public Type ObjectType = null; 4424public Type SerializerType = null;
src\Framework\System\Windows\Markup\XamlTypeMapperSchemaContext.cs (5)
26Dictionary<Type, XamlType> _allowedInternalTypes; 92public override XamlType GetXamlType(Type type) 305private XamlType GetInternalType(Type type, XamlType sharedSchemaXamlType) 311_allowedInternalTypes = new Dictionary<Type, XamlType>(); 413public VisibilityMaskingXamlType(Type underlyingType, XamlSchemaContext schemaContext)
src\Framework\System\Windows\Markup\XmlnsCache.cs (1)
289private Attribute[] GetAttributes(Assembly asm, Type attrType)
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (2)
60Type typeofProp = typeof(Thickness?); 61Type typeofThis = typeof(ThicknessAnimation);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationBase.cs (1)
109public override sealed Type TargetPropertyType
src\Framework\System\Windows\Navigation\JournalEntryListConverter.cs (4)
38public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 48public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 121public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture) 143public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
src\Framework\System\Windows\Navigation\NavigationService.cs (1)
3528Type type = ccs.GetType();
src\Framework\System\Windows\PropertyPath.cs (9)
60public Type type; // user-specified type 308internal object ResolvePropertyName(int level, object item, Type ownerType, object context) 550object ResolvePropertyName(string name, object item, Type ownerType, object context, bool throwOnError) 655private PropertyInfo GetPropertyHelper(Type ownerType, string propertyName) 780object GetTypedParamValue(string param, Type type, bool throwOnError) 835Type GetTypeFromName(string name, object context) 884ValueSerializer typeSerializer = ValueSerializer.GetSerializerFor(typeof(Type), serializerContext); 886return typeSerializer.ConvertFromString(name, serializerContext) as Type; 906Type type = wpfSharedSchemaContext.ResolvePrefixedNameWithAdditionalWpfSemantics(name, hostElement);
src\Framework\System\Windows\PropertyPathConverter.cs (5)
55public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 76public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 144Type destinationType) 187typeSerializer = ValueSerializer.GetSerializerFor(typeof(Type), serializerContext); 224Type type; // the accessor's ownerType, or type of indexer parameter
src\Framework\System\Windows\ResourceDictionary.cs (5)
536internal Type GetValueType(object key, out bool found) 539Type valueType = null; 1378private Type GetTypeOfFirstObject(KeyRecord keyRecord) 1380Type rootType = _reader.GetTypeOfFirstStartObject(keyRecord); 2392HasImplicitStyles = ((key as Type) != null);
src\Framework\System\Windows\ResourceReferenceExpressionConverter.cs (3)
39public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 66public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 119public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\Shell\JumpList.cs (3)
578var destinationList = (ICustomDestinationList)Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid(CLSID.DestinationList))); 934var shellObjectCollection = (IObjectCollection)Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid(CLSID.EnumerableObjectCollection))); 1030var link = (IShellLinkW)Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid(CLSID.ShellLink)));
src\Framework\System\Windows\Standard\ComGuids.cs (1)
68return (T)System.Activator.CreateInstance(System.Type.GetTypeFromCLSID(new System.Guid(clsid)));
src\Framework\System\Windows\Standard\Verify.cs (4)
265public static void TypeSupportsInterface(Type type, Type interfaceType, string parameterName) 290internal static void ImplementsInterface(object parameter, Type interfaceType, string parameterName) 297foreach (var ifaceType in parameter.GetType().GetInterfaces())
src\Framework\System\Windows\Style.cs (6)
60public Style(Type targetType) 72public Style(Type targetType, Style basedOn) 161public Type TargetType 493Type elementType = element.GetType(); 966internal static readonly Type DefaultTargetType = typeof(IFrameworkInputElement); 970private Type _targetType = DefaultTargetType;
src\Framework\System\Windows\StyleHelper.cs (8)
252Type themeStyleTypeKey = themeStyleKey as Type; 679Type valueType = deferredReference.GetValueType(); 2691Type sourceNodeType; 5895Type stateType = (state != null) ? state.GetType() : null; 5906Type cachedType = bindingValueCache.BindingValueType; 5987internal BindingValueCache(Type bindingValueType, object valueAsBindingValueType) 5993internal readonly Type BindingValueType;
src\Framework\System\Windows\StyleTypedPropertyAttribute.cs (2)
37public Type StyleTargetType 44private Type _styleTargetType;
src\Framework\System\Windows\SystemKeyConverter.cs (6)
40public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 62public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 115public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 149Type keyType = SystemKeyConverter.GetSystemClassType(keyId); 156ValueSerializer typeSerializer = valueSerializerContext.GetValueSerializerFor(typeof(Type)); 173internal static Type GetSystemClassType(SystemResourceKeyID id)
src\Framework\System\Windows\SystemResourceKey.cs (1)
364internal static short GetBamlIdBasedOnSystemResourceKeyId(Type targetType, string memberName)
src\Framework\System\Windows\SystemResources.cs (9)
120Type typeKey = null; 126typeKey = key as Type; 354Type typeKey, 819Type knownTypeHelper = assembly.GetType("Microsoft.Windows.Themes.KnownTypeHelper"); 1865internal override Type GetValueType() 1973internal override Type GetValueType() 2029if ((key is Type || key is ResourceKey) && _canCacheAsThemeResource && canCache) 2042internal override Type GetValueType() 2086internal override Type GetValueType()
src\Framework\System\Windows\TemplateBindingExpressionConverter.cs (2)
30public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 42public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
src\Framework\System\Windows\TemplateBindingExtensionConverter.cs (3)
36public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 53public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 65return new InstanceDescriptor(typeof(TemplateBindingExtension).GetConstructor(new Type[] { typeof(DependencyProperty) }),
src\Framework\System\Windows\TemplateContent.cs (9)
914Type typeofValue = xamlReader.Value.GetType(); 963Type typeofValue = xamlReader.Type.UnderlyingType; 1087private static bool CheckSpecialCasesShareable(Type typeofValue, DependencyProperty property) 1226private bool IsTypeShareable(Type type) 1232type == typeof(string) || type == typeof(Uri) || type == typeof(Type) 1278Type targetType, 1386Type targetType, 1503object IServiceProvider.GetService(Type serviceType) 1523Type IXamlTypeResolver.Resolve(string qualifiedTypeName)
src\Framework\System\Windows\TemplateKey.cs (5)
121Type type = DataType as Type; 136Type type = _dataType as Type; 167else if (!(dataType is Type) && !(dataType is String))
src\Framework\System\Windows\TemplatePartAttribute.cs (2)
37public Type Type 44private Type _type;
src\Framework\System\Windows\ThicknessConverter.cs (5)
44public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType) 47TypeCode tc = Type.GetTypeCode(sourceType); 75public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType) 138public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType) 160ConstructorInfo ci = typeof(Thickness).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) });
src\Framework\System\Windows\Window.cs (1)
6759taskbarList = (ITaskbarList)Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid(CLSID.TaskbarList)));
src\Shared\MS\Internal\HashHelper.cs (2)
35Type[] types = new Type[] {
src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (18)
58public static TResult ReflectionStaticCall<TResult>(this Type type, string methodName) 63method = type.GetMethod(methodName, Type.EmptyTypes); 91public static TResult ReflectionStaticCall<TResult, TArg>(this Type type, string methodName, TArg arg) 96method = type.GetMethod(methodName, new Type[] { typeof(TArg) }); 146method = obj.GetType().GetMethod(methodName, Type.EmptyTypes); 178method = obj.GetType().GetMethod(methodName, new Type[] { typeof(TArg1) }); 232method = obj.GetType().GetMethod(methodName, new Type[] { typeof(TArg1), typeof(TArg2) }); 307public static object ReflectionNew(this Type type) 309ConstructorInfo constructor = type.GetConstructor(Type.EmptyTypes); 332public static object ReflectionNew<TArg1>(this Type type, TArg1 arg1) 334ConstructorInfo constructor = type.GetConstructor(new Type[] { typeof(TArg1) }); 359public static object ReflectionNew<TArg1, TArg2>(this Type type, TArg1 arg1, TArg2 arg2) 361ConstructorInfo constructor = type.GetConstructor(new Type[] { typeof(TArg1), typeof(TArg2) }); 380/// <exception cref="AmbiguousMatchException">More than one property is found with the specified name. See <see cref="Type.GetProperty(string)"/></exception> 387Type type = obj.GetType(); 405/// <exception cref="AmbiguousMatchException">More than one property is found with the specified name. See <see cref="Type.GetProperty(string)"/></exception> 421/// <exception cref="AmbiguousMatchException">More than one property is found with the specified name. See <see cref="Type.GetProperty(string)"/></exception> 425public static TResult ReflectionStaticGetProperty<TResult>(this Type type, string propertyName)
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (3)
31public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 36Type doubleType = typeof(double); 124public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
parent\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (2)
130Type type = typeof(Microsoft.Windows.Themes.ScrollChrome); 212public ThemesKnownType(XamlSchemaContext xsc, int bamlNumber, string name, Type type) :
PresentationFramework.Classic (5)
parent\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (2)
48Type type = typeof(Microsoft.Windows.Themes.ClassicBorderDecorator); 212public ThemesKnownType(XamlSchemaContext xsc, int bamlNumber, string name, Type type) :
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (3)
39public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 44Type doubleType = typeof(double); 199public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
PresentationFramework.Luna (5)
parent\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (2)
130Type type = typeof(Microsoft.Windows.Themes.ScrollChrome); 212public ThemesKnownType(XamlSchemaContext xsc, int bamlNumber, string name, Type type) :
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (3)
39public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 44Type doubleType = typeof(double); 199public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
PresentationFramework.Royale (5)
parent\Shared\Microsoft\Windows\Themes\KnownTypeHelper.cs (2)
130Type type = typeof(Microsoft.Windows.Themes.ScrollChrome); 212public ThemesKnownType(XamlSchemaContext xsc, int bamlNumber, string name, Type type) :
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (3)
39public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 44Type doubleType = typeof(double); 199public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
SMSvcHost (1)
System\ServiceModel\Activation\SharingService.cs (1)
118Type contractType;
System (745)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
79public override TypeConverter GetConverter(Type type) { 4137public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 4169public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (3)
87public override TypeConverter GetConverter(Type type) { 3117public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 3149public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\microsoft\win32\SystemEvents.cs (5)
1091Type t = GetAppMainType(); 1141Type t = GetAppMainType(); 1202Type t = GetAppMainType(); 1230private static volatile Type mainType; 1231private static Type GetAppMainType() {
compmod\system\codedom\CodeArrayCreateExpression.cs (3)
62public CodeArrayCreateExpression(Type createType, params CodeExpression[] initializers) { 89public CodeArrayCreateExpression(Type createType, int size) { 116public CodeArrayCreateExpression(Type createType, CodeExpression size) {
compmod\system\codedom\CodeCastExpression.cs (1)
62public CodeCastExpression(Type targetType, CodeExpression expression) {
compmod\system\codedom\CodeMemberField.cs (1)
61public CodeMemberField(Type type, string name) {
compmod\system\codedom\CodeObjectCreateExpression.cs (1)
61public CodeObjectCreateExpression(Type createType, params CodeExpression[] parameters) {
compmod\system\codedom\CodeParameterDeclarationExpression.cs (1)
63public CodeParameterDeclarationExpression(Type type, string name) {
compmod\system\codedom\CodeTypeOfExpression.cs (1)
57public CodeTypeOfExpression(Type type) {
compmod\system\codedom\CodeTypeReference.cs (5)
58public CodeTypeReference(Type type) { 75public CodeTypeReference (Type type, CodeTypeReferenceOptions codeTypeReferenceOption) : this(type) { 94private void InitializeFromType(Type type) { 97Type currentType = type; 108Type[] genericArgs = type.GetGenericArguments();
compmod\system\codedom\CodeTypeReferenceCollection.cs (1)
83public void Add(Type value) {
compmod\system\codedom\CodeTypeReferenceExpression.cs (1)
57public CodeTypeReferenceExpression(Type type) {
compmod\system\codedom\CodeVariableDeclarationStatement.cs (2)
61public CodeVariableDeclarationStatement(Type type, string name) { 90public CodeVariableDeclarationStatement(Type type, string name, CodeExpression initExpression) {
compmod\system\codedom\compiler\CodeDOMProvider.cs (1)
151public virtual TypeConverter GetConverter(Type type) {
compmod\system\codedom\compiler\CompilerInfo.cs (7)
29private Type type; 41public Type CodeDomProviderType { 46type = Type.GetType(_codeDomProviderTypeName); 67Type type = Type.GetType(_codeDomProviderTypeName); 80ConstructorInfo ci = CodeDomProviderType.GetConstructor(new Type[] { typeof(IDictionary<string, string>) }); 94ConstructorInfo constructor = CodeDomProviderType.GetConstructor(new Type[] { typeof(IDictionary<string, string>) });
compmod\system\collections\generic\linkedlist.cs (2)
429Type targetType = array.GetType().GetElementType(); 430Type sourceType = typeof(T);
compmod\system\collections\generic\throwhelper.cs (2)
50internal static void ThrowWrongKeyTypeArgumentException(object key, Type targetType) { 54internal static void ThrowWrongValueTypeArgumentException(object value, Type targetType) {
compmod\system\collections\specialized\nameobjectcollectionbase.cs (1)
571protected object[] BaseGetAllValues(Type type) {
compmod\system\componentmodel\AmbientValueAttribute.cs (1)
36public AmbientValueAttribute(Type type, string value) {
compmod\system\componentmodel\ArrayConverter.cs (5)
30public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 58Type arrayType = value.GetType(); 59Type elementType = arrayType.GetElementType(); 80public ArrayPropertyDescriptor(Type arrayType, Type elementType, int index) : base(arrayType, "[" + index + "]", elementType, null) {
compmod\system\componentmodel\AttributeCollection.cs (7)
56public Type type; 194public virtual Attribute this[Type attributeType] 245Type aType = attribute.GetType(); 257Type aType = attribute.GetType(); 311protected Attribute GetDefaultAttribute(Type attributeType) 330Type reflect = TypeDescriptor.GetReflectionType(attributeType); 338ConstructorInfo ci = reflect.UnderlyingSystemType.GetConstructor(new Type[0]);
compmod\system\componentmodel\AttributeProviderAttribute.cs (1)
57public AttributeProviderAttribute(Type type)
compmod\system\componentmodel\basenumberconverter.cs (4)
39internal abstract Type TargetType { 74public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 117public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 137public override bool CanConvertTo(ITypeDescriptorContext context, Type t) {
compmod\system\componentmodel\BindingList.cs (3)
87Type itemType = typeof(T); 93if (itemType.GetConstructor(BindingFlags.Public | BindingFlags.Instance | BindingFlags.CreateInstance, null, new Type[0], null) != null) { 344Type type = typeof(T);
compmod\system\componentmodel\BooleanConverter.cs (1)
34public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) {
compmod\system\componentmodel\ByteConverter.cs (1)
30internal override Type TargetType {
compmod\system\componentmodel\CharConverter.cs (2)
32public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 42 public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
compmod\system\componentmodel\CollectionConverter.cs (1)
33public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\Component.cs (1)
221protected virtual object GetService(Type service) {
compmod\system\componentmodel\ComponentConverter.cs (1)
32public ComponentConverter(Type type) : base(type) {
compmod\system\componentmodel\ComponentResourceManager.cs (2)
30public ComponentResourceManager(Type t) : base(t) { 167Type t = value.GetType();
compmod\system\componentmodel\Container.cs (2)
151protected virtual object GetService(Type service) { 286public Object GetService(Type service) {
compmod\system\componentmodel\CultureInfoConverter.cs (4)
56public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 67public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { 166public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 196ConstructorInfo ctor = typeof(CultureInfo).GetConstructor(new Type[] {typeof(string)});
compmod\system\componentmodel\CustomTypeDescriptor.cs (1)
138public virtual object GetEditor(Type editorBaseType)
compmod\system\componentmodel\DateTimeConverter.cs (5)
34public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 45public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { 91public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 129ConstructorInfo ctr = typeof(DateTime).GetConstructor(new Type[] {typeof(Int64)}); 137ConstructorInfo ctor = typeof(DateTime).GetConstructor(new Type[] {
compmod\system\componentmodel\DateTimeOffsetConverter.cs (5)
38public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 49public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { 95public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 145ConstructorInfo ctr = typeof(DateTimeOffset).GetConstructor(new Type[] {typeof(Int64)}); 153ConstructorInfo ctor = typeof(DateTimeOffset).GetConstructor(new Type[] {
compmod\system\componentmodel\DecimalConverter.cs (4)
41internal override Type TargetType { 51public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { 65public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 73MemberInfo member = typeof(Decimal).GetConstructor(new Type[] {typeof(Int32[])});
compmod\system\componentmodel\DefaultValueAttribute.cs (1)
40public DefaultValueAttribute(Type type, string value) {
compmod\system\componentmodel\DelegatingTypeDescriptionProvider.cs (10)
23private Type _type; 29internal DelegatingTypeDescriptionProvider(Type type) 48public override object CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, object[] args) 112public override Type GetReflectionType(Type objectType, object instance) 117public override Type GetRuntimeType(Type objectType) { 129public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 134public override bool IsSupportedType(Type type) {
compmod\system\componentmodel\design\DesignerOptionService.cs (5)
460public override Type ComponentType { 472public override Type PropertyType { 526public override object ConvertTo(ITypeDescriptorContext cxt, CultureInfo culture, object value, Type destinationType) { 541public override Type ComponentType { 553public override Type PropertyType {
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (3)
48public override string GetSavedLicenseKey(Type type, Assembly resourceAssembly) { 56public override void SetSavedLicenseKey(Type type, string key) { 81public override string GetSavedLicenseKey(Type type, Assembly resourceAssembly) {
compmod\system\componentmodel\design\HelpKeywordAttribute.cs (1)
80public HelpKeywordAttribute(Type t) {
compmod\system\componentmodel\design\IComponentDiscoveryService.cs (1)
23ICollection GetComponentTypes(IDesignerHost designerHost, Type baseType);
compmod\system\componentmodel\design\IDesignerHost.cs (3)
123IComponent CreateComponent(Type componentClass); 130IComponent CreateComponent(Type componentClass, string name); 175Type GetType(string typeName);
compmod\system\componentmodel\design\IReferenceService.cs (1)
54object[] GetReferences(Type baseType);
compmod\system\componentmodel\design\IServiceObjectContainer.cs (6)
23void AddService(Type serviceType, object serviceInstance); 28void AddService(Type serviceType, object serviceInstance, bool promote); 33void AddService(Type serviceType, ServiceCreatorCallback callback); 38void AddService(Type serviceType, ServiceCreatorCallback callback, bool promote); 43void RemoveService(Type serviceType); 48void RemoveService(Type serviceType, bool promote);
compmod\system\componentmodel\design\ITypeDiscoveryService.cs (1)
24ICollection GetTypes(Type baseType, bool excludeGlobalTypes);
compmod\system\componentmodel\design\ITypeResolutionService.cs (3)
33Type GetType(string name); 38Type GetType(string name, bool throwOnError); 43Type GetType(string name, bool throwOnError, bool ignoreCase);
compmod\system\componentmodel\design\PropertyTabAttribute.cs (10)
24private Type[] tabClasses; 44public PropertyTabAttribute(Type tabClass) : this(tabClass, PropertyTabScope.Component) { 62public PropertyTabAttribute(Type tabClass, PropertyTabScope tabScope) { 64this.tabClasses = new Type[]{ tabClass}; 90public Type[] TabClasses { 93tabClasses = new Type[tabClassNames.Length]; 108tabClasses[i] = Type.GetType(className, false); 200protected void InitializeArrays(Type[] tabClasses, PropertyTabScope[] tabScopes) { 205private void InitializeArrays(string[] tabClassNames, Type[] tabClasses, PropertyTabScope[] tabScopes) { 211this.tabClasses = (Type[])tabClasses.Clone();
compmod\system\componentmodel\design\serialization\ContextStack.cs (1)
68public object this[Type type] {
compmod\system\componentmodel\design\serialization\DefaultSerializationProviderAttribute.cs (1)
25public DefaultSerializationProviderAttribute(Type providerType) {
compmod\system\componentmodel\design\serialization\DesignerSerializerAttribute.cs (3)
23public DesignerSerializerAttribute(Type serializerType, Type baseSerializerType) { 31public DesignerSerializerAttribute(string serializerTypeName, Type baseSerializerType) {
compmod\system\componentmodel\design\serialization\IDesignerSerializationManager.cs (4)
79object CreateInstance(Type type, ICollection arguments, string name, bool addToContainer); 97object GetSerializer(Type objectType, Type serializerType); 102Type GetType(string typeName);
compmod\system\componentmodel\design\serialization\IDesignerSerializationProvider.cs (2)
35object GetSerializer(IDesignerSerializationManager manager, object currentSerializer, Type objectType, Type serializerType);
compmod\system\componentmodel\design\serialization\INameCreationService.cs (1)
28string CreateName(IContainer container, Type dataType);
compmod\system\componentmodel\design\serialization\RootDesignerSerializerAttribute.cs (3)
25public RootDesignerSerializerAttribute(Type serializerType, Type baseSerializerType, bool reloadable) { 34public RootDesignerSerializerAttribute(string serializerTypeName, Type baseSerializerType, bool reloadable) {
compmod\system\componentmodel\design\ServiceCreatorCallback.cs (1)
18public delegate object ServiceCreatorCallback(IServiceContainer container, Type serviceType);
compmod\system\componentmodel\design\ServiceObjectContainer.cs (16)
24private static Type[] _defaultServices = new Type[] { typeof(IServiceContainer), typeof(ServiceContainer) }; 61protected virtual Type[] DefaultServices { 83public void AddService(Type serviceType, object serviceInstance) { 90public virtual void AddService(Type serviceType, object serviceInstance, bool promote) { 122public void AddService(Type serviceType, ServiceCreatorCallback callback) { 129public virtual void AddService(Type serviceType, ServiceCreatorCallback callback, bool promote) { 184public virtual object GetService(Type serviceType) { 193Type[] defaults = DefaultServices; 245public void RemoveService(Type serviceType) { 252public virtual void RemoveService(Type serviceType, bool promote) { 278private sealed class ServiceCollection<T> : Dictionary<Type, T> { 281private sealed class EmbeddedTypeAwareTypeComparer : IEqualityComparer<Type> { 284public bool Equals(Type x, Type y) { 288public int GetHashCode(Type obj) {
compmod\system\componentmodel\design\ToolboxItemAttribute.cs (4)
25private Type toolboxItemType; 83public ToolboxItemAttribute(Type toolboxItemType) { 93public Type ToolboxItemType { 98toolboxItemType = Type.GetType(toolboxItemTypeName, true);
compmod\system\componentmodel\DesignerAttribute.cs (4)
45public DesignerAttribute(Type designerType) { 69public DesignerAttribute(string designerTypeName, Type designerBaseType) { 82public DesignerAttribute(Type designerType, Type designerBaseType) {
compmod\system\componentmodel\DoubleConverter.cs (1)
41internal override Type TargetType {
compmod\system\componentmodel\EditorAttribute.cs (3)
48public EditorAttribute(string typeName, Type baseType) { 59public EditorAttribute(Type type, Type baseType) {
compmod\system\componentmodel\EnumConverter.cs (11)
44private Type type; 52public EnumConverter(Type type) { 59protected Type EnumType { 83public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 94public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { 153public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 162Type underlyingType = Enum.GetUnderlyingType(type); 181Type underlyingType = Enum.GetUnderlyingType(type); 185MethodInfo method = typeof(Enum).GetMethod("ToObject", new Type[] {typeof(Type), underlyingType}); 251Type reflectType = TypeDescriptor.GetReflectionType(type);
compmod\system\componentmodel\EventDescriptor.cs (2)
64public abstract Type ComponentType { get; } 72public abstract Type EventType { get; }
compmod\system\componentmodel\ExtendedPropertyDescriptor.cs (3)
35public ExtendedPropertyDescriptor(ReflectPropertyDescriptor extenderInfo, Type receiverType, IExtenderProvider provider, Attribute[] attributes) 81public override Type ComponentType { 99public override Type PropertyType {
compmod\system\componentmodel\ExtenderProvidedPropertyAttribute.cs (3)
27private Type receiverType; 32internal static ExtenderProvidedPropertyAttribute Create(PropertyDescriptor extenderProperty, Type receiverType, IExtenderProvider provider) { 67public Type ReceiverType {
compmod\system\componentmodel\GuidConverter.cs (4)
33public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 44public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { 70public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 76ConstructorInfo ctor = typeof(Guid).GetConstructor(new Type[] {typeof(string)});
compmod\system\componentmodel\IComNativeDescriptorHandler.cs (1)
45object GetEditor(object component, Type baseEditorType);
compmod\system\componentmodel\ICustomTypeDescriptor.cs (1)
61object GetEditor(Type editorBaseType);
compmod\system\componentmodel\InstallerTypeAttribute.cs (3)
28public InstallerTypeAttribute(Type installerType) { 43public virtual Type InstallerType { 45return Type.GetType(_typeName);
compmod\system\componentmodel\InstanceCreationEditor.cs (1)
42public abstract object CreateInstance(ITypeDescriptorContext context, Type instanceType);
compmod\system\componentmodel\Int16Converter.cs (1)
28internal override Type TargetType {
compmod\system\componentmodel\Int32Converter.cs (1)
28internal override Type TargetType {
compmod\system\componentmodel\Int64Converter.cs (1)
29internal override Type TargetType {
compmod\system\componentmodel\InvalidEnumArgumentException.cs (1)
50public InvalidEnumArgumentException(string argumentName, int invalidValue, Type enumClass)
compmod\system\componentmodel\LicenseContext.cs (3)
35public virtual string GetSavedLicenseKey(Type type, Assembly resourceAssembly) { 42public virtual object GetService(Type type) { 49public virtual void SetSavedLicenseKey(Type type, string key) {
compmod\system\componentmodel\LicenseException.cs (8)
21private Type type; 28public LicenseException(Type type) : this(type, null, SR.GetString(SR.LicExceptionTypeOnly, type.FullName)) { 34public LicenseException(Type type, object instance) : this(type, null, SR.GetString(SR.LicExceptionTypeAndInstance, type.FullName, instance.GetType().FullName)) { 40public LicenseException(Type type, object instance, string message) : base(message) { 49public LicenseException(Type type, object instance, string message, Exception innerException) : base(message, innerException) { 59type = (Type) info.GetValue("type", typeof(Type)); 66public Type LicensedType {
compmod\system\componentmodel\LicenseManager.cs (27)
87private static void CacheProvider(Type type, LicenseProvider provider) { 107public static object CreateWithContext(Type type, LicenseContext creationContext) { 117public static object CreateWithContext(Type type, LicenseContext creationContext, object[] args) { 146private static bool GetCachedNoLicenseProvider(Type type) { 158private static LicenseProvider GetCachedProvider(Type type) { 170private static LicenseProvider GetCachedProviderInstance(Type providerType) { 191public static bool IsLicensed(Type type) { 206public static bool IsValid(Type type) { 223public static bool IsValid(Type type, object instance, out License license) { 255private static bool ValidateInternal(Type type, object instance, bool allowExceptions, out License license) { 271private static bool ValidateInternalRecursive(LicenseContext context, Type type, object instance, bool allowExceptions, out License license, out string licenseKey) { 278Type providerType = attr.LicenseProvider; 311Type baseType = type.BaseType; 333public static void Validate(Type type) { 350public static License Validate(Type type, object instance) { 388Type savedType; 401Type type = Type.GetTypeFromHandle(rth); 422Type type = Type.GetTypeFromHandle(rth); 467Type type = Type.GetTypeFromHandle(rth); 514this.savedType = Type.GetTypeFromHandle(rth); 542Type type; 545public CLRLicenseContext(LicenseUsageMode usageMode, Type type) { 558public override string GetSavedLicenseKey(Type type, Assembly resourceAssembly) { 561public override void SetSavedLicenseKey(Type type, string key) {
compmod\system\componentmodel\LicenseProvider.cs (1)
27public abstract License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions);
compmod\system\componentmodel\LicenseProviderAttribute.cs (5)
26private Type licenseProviderType = null; 52public LicenseProviderAttribute(Type type) { 59public Type LicenseProvider { 64licenseProviderType = Type.GetType(licenseProviderName); 96Type type = ((LicenseProviderAttribute)value).LicenseProvider;
compmod\system\componentmodel\LicFileLicenseProvider.cs (3)
30protected virtual bool IsKeyValid(string key, Type type) { 41protected virtual string GetKey(Type type) { 51public override License GetLicense(LicenseContext context, Type type, object instance, bool allowExceptions) {
compmod\system\componentmodel\MarshalByValueComponent.cs (1)
172public virtual object GetService(Type service) {
compmod\system\componentmodel\MaskedTextProvider.cs (2)
131static Type maskTextProviderType = typeof(MaskedTextProvider); 501Type providerType = this.GetType();
compmod\system\componentmodel\MemberDescriptor.cs (8)
422protected static MethodInfo FindMethod(Type componentClass, string name, Type[] args, Type returnType) { 431protected static MethodInfo FindMethod(Type componentClass, string name, Type[] args, Type returnType, bool publicOnly) { 460protected virtual object GetInvocationTarget(Type type, object instance) { 497protected static object GetInvokee(Type componentClass, object component) {
compmod\system\componentmodel\MultilineStringConverter.cs (1)
25public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\NestedContainer.cs (2)
93protected override object GetService(Type service) { 139public Object GetService(Type service) {
compmod\system\componentmodel\NullableConverter.cs (9)
23Type nullableType; 24Type simpleType; 30public NullableConverter(Type type) 45public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 79public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { 97public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType) { 106ConstructorInfo ci = nullableType.GetConstructor(new Type[] {simpleType}); 247public Type NullableType 258public Type UnderlyingType
compmod\system\componentmodel\PropertyDescriptor.cs (19)
35private Type[] editorTypes; 77public abstract Type ComponentType {get;} 93Type converterType = GetTypeFromName(attr.ConverterTypeName); 149public abstract Type PropertyType { get;} 215protected object CreateInstance(Type type) { 216Type[] typeArgs = new Type[] {typeof(Type)}; 282public virtual object GetEditor(Type editorBaseType) { 308Type editorType = GetTypeFromName(attr.EditorBaseTypeName); 311Type type = GetTypeFromName(attr.EditorTypeName); 329editorTypes = new Type[5]; 334Type[] newTypes = new Type[editorTypes.Length * 2]; 363protected override object GetInvocationTarget(Type type, object instance) { 376protected Type GetTypeFromName(string typeName) { 383Type typeFromGetType = Type.GetType(typeName); 389Type typeFromComponent = null;
compmod\system\componentmodel\ProvidePropertyAttribute.cs (1)
27public ProvidePropertyAttribute(string propertyName, Type receiverType) {
compmod\system\componentmodel\ReferenceConverter.cs (4)
28private Type type; 35public ReferenceConverter(Type type) { 44public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 93public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
compmod\system\componentmodel\ReflectEventDescriptor.cs (15)
71private static readonly Type[] argsNone = new Type[0]; 74private Type type; // the delegate type for the event 75private readonly Type componentClass; // the class of the component this info is for 85public ReflectEventDescriptor(Type componentClass, string name, Type type, 99public ReflectEventDescriptor(Type componentClass, EventInfo eventInfo) 113public ReflectEventDescriptor(Type componentType, EventDescriptor oldReflectEventDescriptor, Attribute[] attributes) 139public override Type ComponentType { 148public override Type EventType { 269Type currentReflectType = realEventInfo.ReflectedType; 332Type start = componentClass.BaseType; 364Type[] argsType = new Type[] {type}; 380Type currentReflectType = realMethodInfo.ReflectedType;
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (32)
62private static readonly Type[] argsNone = new Type[0]; 82Type componentClass; // used to determine if we should all on us or on the designer 83Type type; // the data type of the property 93Type receiverType; // Only set if we are an extender 98public ReflectPropertyDescriptor(Type componentClass, string name, Type type, 126public ReflectPropertyDescriptor(Type componentClass, string name, Type type, PropertyInfo propInfo, MethodInfo getMethod, MethodInfo setMethod, Attribute[] attrs) : this(componentClass, name, type, attrs) { 139public ReflectPropertyDescriptor(Type componentClass, string name, Type type, Type receiverType, MethodInfo getMethod, MethodInfo setMethod, Attribute[] attrs) : this(componentClass, name, type, attrs) { 150public ReflectPropertyDescriptor(Type componentClass, PropertyDescriptor oldReflectPropertyDescriptor, Attribute[] attributes) 306public override Type ComponentType { 346propInfo = componentClass.GetProperty(Name, bindingFlags, null, PropertyType, new Type[0], new ParameterModifier[0]); 356getMethod = FindMethod(componentClass, "Get" + Name, new Type[] { receiverType }, type); 398public override Type PropertyType { 412Type[] args; 418args = new Type[] {receiverType}; 457for (Type t = ComponentType.BaseType; t != null && t != typeof(object); t = t.BaseType) 463PropertyInfo p = t.GetProperty(name, bindingFlags, null, PropertyType, new Type[0], null); 482propInfo = componentClass.GetProperty(Name, bindingFlags, null, PropertyType, new Type[0], new ParameterModifier[0]); 490new Type[] { receiverType, type}, typeof(void)); 515Type[] args; 521args = new Type[] {receiverType}; 597internal Type ExtenderGetReceiverType() { 601internal Type ExtenderGetType(IExtenderProvider provider) { 805Type currentReflectType = componentClass; 830memberInfo = currentReflectType.GetMethod("Get" + Name, bindingFlags, null, new Type[] { receiverType }, null); 833memberInfo = currentReflectType.GetProperty(Name, bindingFlags, null, PropertyType, new Type[0], new ParameterModifier[0]); 857Type specificType = Type.GetType(sta.TypeName);
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (81)
41private static Type[] _typeConstructor = new Type[] {typeof(Type)}; 78private static readonly Type[] _skipInterfaceAttributeList = new Type[] 162internal static void AddEditorTable(Type editorBaseType, Hashtable table) 192public override object CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, object[] args) 204argTypes = new Type[args.Length]; 215argTypes = new Type[0]; 234private static object CreateInstance(Type objectType, Type callingType) { 247internal AttributeCollection GetAttributes(Type type) 280internal string GetClassName(Type type) 289internal string GetComponentName(Type type, object instance) 300internal TypeConverter GetConverter(Type type, object instance) 310internal EventDescriptor GetDefaultEvent(Type type, object instance) 319internal PropertyDescriptor GetDefaultProperty(Type type, object instance) 328internal object GetEditor(Type type, object instance, Type editorBaseType) 337private static Hashtable GetEditorTable(Type editorBaseType) { 393internal EventDescriptorCollection GetEvents(Type type) 454internal object GetExtendedEditor(object instance, Type editorBaseType) 475Type componentType = instance.GetType(); 530Type receiverType = eppa.ReceiverType; 778internal Type[] GetPopulatedTypes(Module module) { 782Type type = (Type)de.Key; 790return (Type[])typeList.ToArray(typeof(Type)); 796internal PropertyDescriptorCollection GetProperties(Type type) 805internal object GetPropertyOwner(Type type, object instance, PropertyDescriptor pd) 814public override Type GetReflectionType(Type objectType, object instance) 825private ReflectedTypeData GetTypeData(Type type, bool createIfNeeded) { 861public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 870private static Type GetTypeFromName(string typeName) 872Type t = Type.GetType(typeName); 889t = Type.GetType(typeName.Substring(0, commaIndex)); 900internal bool IsPopulated(Type type) 916private static Attribute[] ReflectGetAttributes(Type type) 1000private static EventDescriptor[] ReflectGetEvents(Type type) 1124Type providerType = provider.GetType(); 1146Type receiverType = GetTypeFromName(provideAttr.ReceiverTypeName); 1150MethodInfo getMethod = providerType.GetMethod("Get" + provideAttr.PropertyName, new Type[] {receiverType}); 1154MethodInfo setMethod = providerType.GetMethod("Set" + provideAttr.PropertyName, new Type[] {receiverType, getMethod.ReturnType}); 1204private static PropertyDescriptor[] ReflectGetProperties(Type type) 1301internal void Refresh(Type type) 1318private static object SearchIntrinsicTable(Hashtable table, Type callingType) 1329Type baseType = callingType; 1340hashEntry = Type.GetType(typeString); 1363Type keyType = de.Key as Type; 1373hashEntry = Type.GetType(typeString); 1418Type type = hashEntry as Type; 1439private Type _type; 1445private Type[] _editorTypes; 1448internal ReflectedTypeData(Type type) { 1511Type baseType = _type.BaseType; 1527Type[] interfaces = _type.GetInterfaces(); 1531Type iface = interfaces[idx]; 1635Type converterType = GetTypeFromName(instanceAttr.ConverterTypeName); 1661Type converterType = GetTypeFromName(typeAttr.ConverterTypeName); 1754internal object GetEditor(object instance, Type editorBaseType) 1770Type editorType = GetTypeFromName(instanceAttr.EditorTypeName); 1798Type editorType = GetTypeFromName(typeAttr.EditorTypeName); 1832Type[] newTypes = new Type[newLength]; 1856private static EditorAttribute GetEditorAttribute(AttributeCollection attributes, Type editorBaseType) 1863Type attrEditorBaseType = Type.GetType(edAttr.EditorBaseTypeName); 1890Type baseType = _type; 1891Type objType = typeof(object); 1927Type baseType = _type; 1928Type objType = typeof(object); 1954private Type GetTypeFromName(string typeName) 1963Type t = null; 1972t = Type.GetType(typeName); 1986t = Type.GetType(typeName.Substring(0, commaIndex));
compmod\system\componentmodel\RefreshEventArgs.cs (3)
24private Type typeChanged; 45public RefreshEventArgs(Type typeChanged) { 67public Type TypeChanged {
compmod\system\componentmodel\RefreshEventHandler.cs (1)
12/// raised when a <see cref='System.Type'/> or component is changed during design time.</para>
compmod\system\componentmodel\SByteConverter.cs (1)
30internal override Type TargetType {
compmod\system\componentmodel\SingleConverter.cs (1)
40internal override Type TargetType {
compmod\system\componentmodel\StringConverter.cs (1)
29public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) {
compmod\system\componentmodel\TimeSpanConverter.cs (4)
35public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 46public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { 78public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 84MethodInfo method = typeof(TimeSpan).GetMethod("Parse", new Type[] {typeof(string)});
compmod\system\componentmodel\TypeConverter.cs (15)
63public bool CanConvertFrom(Type sourceType) { 72public virtual bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 83public bool CanConvertTo(Type destinationType) { 91public virtual bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { 154public object ConvertTo(object value, Type destinationType) { 163public virtual object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 263protected Exception GetConvertToException(object value, Type destinationType) { 446private Type componentType; 447private Type propertyType; 456protected SimplePropertyDescriptor(Type componentType, string name, Type propertyType) : this(componentType, name, propertyType, new Attribute[0]) { 464protected SimplePropertyDescriptor(Type componentType, string name, Type propertyType, Attribute[] attributes) : base(name, attributes) { 475public override Type ComponentType { 498public override Type PropertyType {
compmod\system\componentmodel\TypeConverterAttribute.cs (2)
51public TypeConverterAttribute(Type type) { 66/// <para>Gets the fully qualified type name of the <see cref='System.Type'/>
compmod\system\componentmodel\TypeDescriptionProvider.cs (12)
59public virtual object CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, object[] args) 158public Type GetReflectionType(Type objectType) 172public Type GetReflectionType(object instance) 191public virtual Type GetReflectionType(Type objectType, object instance) 207public virtual Type GetRuntimeType(Type reflectionType) 235public ICustomTypeDescriptor GetTypeDescriptor(Type objectType) 272public virtual ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 290public virtual bool IsSupportedType(Type type)
compmod\system\componentmodel\TypeDescriptionProviderAttribute.cs (1)
36public TypeDescriptionProviderAttribute(Type type)
compmod\system\componentmodel\TypeDescriptionProviderService.cs (1)
13public abstract TypeDescriptionProvider GetProvider(Type type);
compmod\system\componentmodel\TypeDescriptor.cs (89)
159public static Type ComObjectType 172public static Type InterfaceType 207public static TypeDescriptionProvider AddAttributes(Type type, params Attribute[] attributes) { 260public static void AddEditorTable(Type editorBaseType, Hashtable table) 276public static void AddProvider(TypeDescriptionProvider provider, Type type) 357public static void AddProviderTransparent(TypeDescriptionProvider provider, Type type) 405Type type = instance.GetType(); 425private static void CheckDefaultProvider(Type type) 469Type providerType = Type.GetType(pa.TypeName); 493Type baseType = type.BaseType; 575public static IDesigner CreateDesigner(IComponent component, Type designerBaseType) 577Type designerType = null; 589Type attributeBaseType = Type.GetType(da.DesignerBaseTypeName); 607designerType = Type.GetType(da.DesignerTypeName); 631public static EventDescriptor CreateEvent(Type componentType, string name, Type type, params Attribute[] attributes) 641public static EventDescriptor CreateEvent(Type componentType, EventDescriptor oldEventDescriptor, params Attribute[] attributes) 651public static object CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, object[] args) 693public static PropertyDescriptor CreateProperty(Type componentType, string name, Type type, params Attribute[] attributes) 703public static PropertyDescriptor CreateProperty(Type componentType, PropertyDescriptor oldPropertyDescriptor, params Attribute[] attributes) 789private static void DebugValidate(Type type, AttributeCollection attributes, AttributeCollection debugAttributes) 933private static void DebugValidate(AttributeCollection attributes, Type type) 963private static void DebugValidate(TypeConverter converter, Type type) 993private static void DebugValidate(EventDescriptorCollection events, Type type, Attribute[] attributes) 1071private static void DebugValidate(PropertyDescriptorCollection properties, Type type, Attribute[] attributes) 1280public static object GetAssociation(Type type, object primary) 1367public static AttributeCollection GetAttributes(Type componentType) 1504public static string GetClassName(Type componentType) 1549public static TypeConverter GetConverter(Type type) 1559public static EventDescriptor GetDefaultEvent(Type componentType) 1596public static PropertyDescriptor GetDefaultProperty(Type componentType) 1634internal static ICustomTypeDescriptor GetDescriptor(Type type, string typeName) 1689public static object GetEditor(object component, Type editorBaseType) 1699public static object GetEditor(object component, Type editorBaseType, bool noCustomTypeDesc) 1712public static object GetEditor(Type type, Type editorBaseType) 1725public static EventDescriptorCollection GetEvents(Type componentType) 1740public static EventDescriptorCollection GetEvents(Type componentType, Attribute[] attributes) 1930private static Type GetNodeForBaseType(Type searchType) 1946public static PropertyDescriptorCollection GetProperties(Type componentType) 1961public static PropertyDescriptorCollection GetProperties(Type componentType, Attribute[] attributes) 2117public static TypeDescriptionProvider GetProvider(Type type) 2152internal static TypeDescriptionProvider GetProviderRecursive(Type type) { 2160public static Type GetReflectionType(Type type) 2174public static Type GetReflectionType(object instance) 2191private static TypeDescriptionNode NodeFor(Type type) { 2210private static TypeDescriptionNode NodeFor(Type type, bool createDelegator) { 2221Type searchType = type; 2230Type baseType = GetNodeForBaseType(searchType); 2302Type type = instance.GetType(); 2394Type keyType = key as Type; 2848private static void RaiseRefresh(Type type) { 2885Type type = component.GetType(); 2894Type nodeType = de.Key as Type; 2956public static void Refresh(Type type) 2982Type nodeType = de.Key as Type; 3046Type nodeType = de.Key as Type; 3062Type[] populatedTypes = provider.GetPopulatedTypes(module); 3064foreach(Type populatedType in populatedTypes) { 3080foreach(Type t in refreshedTypes.Keys) { 3177public static void RemoveProvider(TypeDescriptionProvider provider, Type type) 3232public static void RemoveProviderTransparent(TypeDescriptionProvider provider, Type type) 3279Type type = instance.GetType(); 3358public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 3471public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 3562object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 3797object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 3914public override object CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, object[] args) 3998public override Type GetReflectionType(Type objectType, object instance) 4008public override Type GetRuntimeType(Type objectType) 4024public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 4039public override bool IsSupportedType(Type type) 4201object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 4356private Type _objectType; 4362internal DefaultTypeDescriptor(TypeDescriptionNode node, Type objectType, object instance) 4525object ICustomTypeDescriptor.GetEditor(Type editorBaseType)
compmod\system\componentmodel\TypeListConverter.cs (11)
27private Type[] types; 34protected TypeListConverter(Type[] types) { 44public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 55public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { 68foreach(Type t in types) { 82public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { 92return((Type)value).FullName; 95if (destinationType == typeof(InstanceDescriptor) && value is Type) { 96MethodInfo method = typeof(Type).GetMethod("GetType", new Type[] {typeof(string)}); 98return new InstanceDescriptor(method, new object[] {((Type)value).AssemblyQualifiedName});
compmod\system\componentmodel\UInt16Converter.cs (1)
29internal override Type TargetType {
compmod\system\componentmodel\UInt32Converter.cs (1)
30internal override Type TargetType {
compmod\system\componentmodel\UInt64Converter.cs (1)
32internal override Type TargetType {
compmod\system\configuration\appsettingsreader.cs (4)
21static Type stringType = typeof(string); 22static Type[] paramsArray = new Type[] { stringType }; 39public object GetValue(string key, Type type) {
compmod\system\diagnostics\FilterElement.cs (1)
20if (Type.GetType(TypeName) != filter.GetType() || InitData != filter.initializeData) {
compmod\system\diagnostics\ListenerElementsCollection.cs (1)
345if (Type.GetType(className) != listener.GetType() || InitData != listener.initializeData) {
compmod\system\diagnostics\SwitchAttribute.cs (6)
16private Type type; 20 public SwitchAttribute (string switchName, Type switchType) { 37 public Type SwitchType { 60 Type[] types = assembly.GetTypes(); 69 static void GetAllRecursive(Type type, ArrayList switchAttribs) { 76if (!(members[i] is Type))
compmod\system\diagnostics\SwitchLevelAttribute.cs (3)
15private Type type; 17 public SwitchLevelAttribute (Type switchLevelType) { 21 public Type SwitchLevelType {
compmod\system\diagnostics\traceutils.cs (9)
20internal static object GetRuntimeObject(string className, Type baseType, string initializeData) { 22Type objectType = null; 28objectType = Type.GetType(className); 44ConstructorInfo ctorInfo = objectType.GetConstructor(new Type[] {}); 52ConstructorInfo ctorInfo = objectType.GetConstructor(new Type[] { typeof(string) }); 79Type paramtype = ctorparams[0].ParameterType; 114internal static bool IsOwnedTL(Type type) { 118internal static bool IsOwnedTextWriterTL(Type type) { 124private static object ConvertToBaseTypeOrEnum(string value, Type type) {
compmod\system\diagnostics\TypedElement.cs (2)
18private Type _baseType; 20public TypedElement(Type baseType) : base() {
compmod\system\security\permissions\ResourcePermissionBase.cs (3)
30private Type permissionAccessType; 98protected Type PermissionAccessType { 550Type type = this.GetType();
misc\SecurityUtils.cs (15)
62private static void DemandReflectionAccess(Type type) { 78private static bool HasReflectionPermission(Type type) { 94internal static object SecureCreateInstance(Type type) { 103internal static object SecureCreateInstance(Type type, object[] args, bool allowNonPublic) { 136internal static object SecureCreateInstance(Type type, object[] args) { 145internal static object SecureConstructorInvoke(Type type, Type[] argTypes, object[] args, bool allowNonPublic) { 155internal static object SecureConstructorInvoke(Type type, Type[] argTypes, object[] args, 186Type[] parameterTypes = method.GetGenericArguments(); 187foreach (Type type in parameterTypes) { 200Type type = field.DeclaringType; 216Type type = method.DeclaringType; 235Type type = ctor.DeclaringType; 245internal static object ArrayCreateInstance(Type type, int length) {
net\System\_UriSyntax.cs (1)
345Type type = this.GetType();
net\System\_UriTypeConverter.cs (4)
38public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 52public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 80public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 86ConstructorInfo ci = typeof(Uri).GetConstructor(BindingFlags.Public | BindingFlags.Instance, null, new Type[]{typeof(string), typeof(UriKind)}, null);
net\System\Net\_AuthenticationManager2.cs (2)
313List<Type> authenticationModuleTypes = 328foreach (Type type in authenticationModuleTypes)
net\System\Net\_AuthenticationManagerDefault.cs (2)
95List<Type> authenticationModuleTypes = 109foreach (Type type in authenticationModuleTypes)
net\System\Net\_AutoWebProxyScriptHelper.cs (10)
48public override Type ReturnType { 51Type type = null; 143public override Type DeclaringType { 149public override Type ReflectedType { 159public override object[] GetCustomAttributes(Type type, bool inherit) { 163public override bool IsDefined(Type type, bool inherit) { 196MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) { 220PropertyInfo IReflect.GetProperty(string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers) { 241Type IReflect.UnderlyingSystemType {
net\System\Net\_AutoWebProxyScriptWrapper.cs (3)
477bool Load(Uri scriptLocation, string script, Type helperType); 498private static volatile Type s_ProxyScriptHelperType; 523s_ProxyScriptHelperType = Type.GetType("System.Net.VsaWebProxyScript, Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", true);
net\System\Net\_NativeSSPI.cs (3)
39int QueryContextAttributes(SafeDeleteContext phContext, ContextAttribute attribute, byte[] buffer, Type handleType, out SafeHandle refHandle); 170public unsafe int QueryContextAttributes(SafeDeleteContext phContext, ContextAttribute attribute, byte[] buffer, Type handleType, out SafeHandle refHandle) { 393public unsafe int QueryContextAttributes(SafeDeleteContext context, ContextAttribute attribute, byte[] buffer, Type handleType, out SafeHandle refHandle) {
net\System\Net\_SecureChannel.cs (1)
307Type t = certificate.GetType();
net\System\Net\_SSPIWrapper.cs (1)
523Type handleType = null;
net\System\Net\Configuration\AuthenticationModulesSection.cs (7)
79this.authenticationModules = new List<Type>(section.AuthenticationModules.Count); 82Type type = null; 86type = Type.GetType(authenticationModuleElement.Type, true, true); 106internal List<Type> AuthenticationModules 110List<Type> retval = this.authenticationModules; 113retval = new List<Type>(0); 144List<Type> authenticationModules = null;
net\System\Net\Configuration\DefaultProxySection.cs (2)
186Type theType = Type.GetType(section.Module.Type, true, true);
net\System\Net\Configuration\HttpListenerTimeoutsElement.cs (2)
97public override bool CanValidate(Type type) 120public override bool CanValidate(Type type)
net\System\Net\Configuration\IdnElement.cs (1)
47public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
net\System\Net\Configuration\SmtpSection.cs (2)
114public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 142public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) {
net\System\Net\Configuration\TimeoutValidationAttribute.cs (1)
21public override bool CanValidate( Type type ) {
net\System\Net\Configuration\WebProxyScriptElement.cs (1)
106public override bool CanValidate(Type type)
net\System\Net\Configuration\WebRequestModuleElement.cs (7)
30public WebRequestModuleElement(string prefix, Type type) : this() 53public Type Type 96this.type = Type.GetType(name, true, true); 100public TypeAndName(Type type) 115public readonly Type type; 120public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { 135public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) {
net\System\Net\Configuration\WebUtilityElement.cs (1)
58public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) {
net\System\Net\HttpListener.cs (1)
284private static readonly Type ChannelBindingStatusType = typeof(UnsafeNclNativeMethods.HttpApi.HTTP_REQUEST_CHANNEL_BIND_STATUS);
net\System\Net\Internal.cs (2)
1607internal Type creatorType; 1636public WebRequestPrefixElement(string P, Type creatorType) {
net\System\Net\WebRequest.cs (4)
1191Type fest = typeof(FrameworkEventSource); 1192var beginParamTypes = new Type[] { typeof(object), typeof(string), typeof(bool), typeof(bool) }; 1195var mi2 = fest.GetMethod("EndGetResponse", bindingFlags, null, new Type[] { typeof(object), typeof(bool), typeof(bool), typeof(int) }, null); 1197var mi4 = fest.GetMethod("EndGetRequestStream", bindingFlags, null, new Type[] { typeof(object), typeof(bool), typeof(bool) }, null);
net\System\Net\WebSockets\WebSocketConnectionStream.cs (1)
24private static readonly Type s_NetworkStreamType = typeof(NetworkStream);
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (2)
86Type appContextType = typeof(object).Assembly.GetType("System.AppContext"); 94new Type[] { typeof(string), typeof(bool).MakeByRefType() },
regex\system\text\regularexpressions\RegexCompiler.cs (24)
165_chartolowerM = typeof(Char).GetMethod("ToLower", new Type[] {typeof(Char), typeof(CultureInfo)}); 166_getcharM = typeof(String).GetMethod("get_Chars", new Type[] {typeof(int)}); 235Type factory; 3088ConstructorInfo transparencyCtor = typeof(SecurityTransparentAttribute).GetConstructor(Type.EmptyTypes); 3092ConstructorInfo securityRulesCtor = typeof(SecurityRulesAttribute).GetConstructor(new Type[] { typeof(SecurityRuleSet) }); 3123internal Type FactoryTypeFromCode(RegexCode code, RegexOptions options, String typeprefix) { 3126Type runnertype; 3127Type factory; 3186internal void GenerateRegexType(String pattern, RegexOptions opts, String name, bool ispublic, RegexCode code, RegexTree tree, Type factory, TimeSpan matchTimeout) { 3195Type[] noTypeArray = new Type[0]; 3209null, new Type[0], new ParameterModifier[0])); 3280tmoutCtorBuilder = _typebuilder.DefineConstructor(ma, CallingConventions.Standard, new Type[] { typeof(TimeSpan) }); 3319Newobj(typeof(Hashtable).GetConstructor(new Type[0])); 3360internal void GenerateCreateInstance(Type newtype) { 3361Newobj(newtype.GetConstructor(new Type[0])); 3368internal void DefineType(String typename, bool ispublic, Type inheritfromclass) { 3379internal void DefineMethod(String methname, Type returntype) { 3396internal Type BakeType() { 3397Type retval = _typebuilder.CreateType(); 3407private static Type[] _paramTypes = new Type[] {typeof(RegexRunner)}; 3444internal DynamicMethod DefineDynamicMethod(String methname, Type returntype, Type hostType) {
security\system\security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (5)
18public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 28public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 36Type[] parameterTypes; 41parameterTypes = new Type[] { typeof(PolicyEnforcement) }; 46parameterTypes = new Type[] { typeof(PolicyEnforcement), typeof(ProtectionScenario), typeof(ICollection) };
services\monitoring\system\diagnosticts\AlphabeticalEnumConverter.cs (1)
24public AlphabeticalEnumConverter(Type type) : base(type) {
services\monitoring\system\diagnosticts\DiagnosticsConfigurationHandler.cs (4)
188Type t = Type.GetType(className); 198ConstructorInfo ctorInfo = t.GetConstructor(new Type[] {}); 205ConstructorInfo ctorInfo = t.GetConstructor(new Type[] { typeof(string) });
services\monitoring\system\diagnosticts\EventLog.cs (1)
248internal object ComponentGetService(Type service) {
sys\system\configuration\ApplicationSettingsBase.cs (6)
427Type providerType = Type.GetType(providerTypeName); 487Type type = this.GetType(); 553Type providerType = Type.GetType(providerTypeName); 649private SettingsSerializeAs GetSerializeAs(Type type) {
sys\system\configuration\SettingsAttributes.cs (1)
176public SettingsProviderAttribute(Type providerType) {
sys\system\configuration\SettingsProperty.cs (3)
26public virtual Type PropertyType { get { return _PropertyType; } set { _PropertyType = value; } } 41public SettingsProperty(string name, Type propertyType, SettingsProvider provider, 79private Type _PropertyType;
sys\system\configuration\SettingsPropertyValue.cs (4)
121Type type = Type.GetType(webBaseEventTypeName, true); 176private static object GetObjectFromString(Type type, SettingsSerializeAs serializeAs, string attValue) 235private static string ConvertObjectToString(object propValue, Type type, SettingsSerializeAs serializeAs, bool throwOnError)
sys\system\configuration\TypeUtil.cs (2)
17Type type = Type.GetType(typeString, true); // catch the errors and report them
sys\system\Reflection\ICustomTypeProvider.cs (1)
17Type GetCustomType();
sys\system\security\accesscontrol\semaphoresecurity.cs (3)
252public override Type AccessRightType 257public override Type AccessRuleType 262public override Type AuditRuleType
sys\system\windows\markup\ValueSerializerAttribute.cs (4)
36public ValueSerializerAttribute(Type valueSerializerType) 53public Type ValueSerializerType 58_valueSerializerType = Type.GetType(_valueSerializerTypeName); 77private Type _valueSerializerType;
System.Activities (565)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (31)
21static Type VisualBasicExpressionFactoryType = typeof(VisualBasicExpressionFactory<>); 39out Type returnType, 72out Type returnType, 103public static Activity CreatePrecompiledVisualBasicValue(Type targetType, string expressionText, IEnumerable<string> namespaces, IEnumerable<string> referencedAssemblies, 105out Type returnType, 157MethodInfo genericCompileMethod = typeof(VisualBasicHelper).GetMethod("Compile", new Type[] { typeof(LocationReferenceEnvironment) }); 158genericCompileMethod = genericCompileMethod.MakeGenericMethod(new Type[] { targetType }); 182HashSet<Type> typeReferences = new HashSet<Type>(); 184foreach (Type type in typeReferences) 197Type concreteHelperType = VisualBasicExpressionFactoryType.MakeGenericType(targetType); 206public static Activity CreatePrecompiledVisualBasicReference(Type targetType, string expressionText, IEnumerable<string> namespaces, IEnumerable<string> referencedAssemblies, 208out Type returnType, 272MethodInfo genericCompileMethod = typeof(VisualBasicHelper).GetMethod("Compile", new Type[] { typeof(LocationReferenceEnvironment) }); 273genericCompileMethod = genericCompileMethod.MakeGenericMethod(new Type[] { targetType }); 314HashSet<Type> typeReferences = new HashSet<Type>(); 316foreach (Type type in typeReferences) 329Type concreteHelperType = VisualBasicExpressionFactoryType.MakeGenericType(targetType); 336static void EnsureTypeReferenced(Type type, bool isDirectReference, HashSet<Type> typeReferences) 352Type[] typeArgs = type.GetGenericArguments(); 361static void EnsureTypeReferencedRecurse(Type type, bool isDirectReference, HashSet<Type> typeReferences) 375Type[] interfaces = type.GetInterfaces(); 382Type baseType = type.BaseType; 390static void FindTypeReferences(Expression expression, HashSet<Type> typeReferences) 435if (constantExpr.Value is Type) 437EnsureTypeReferenced((Type)constantExpr.Value, true, typeReferences); 538Type[] typeArgs = method.GetGenericArguments(); 650static void FindTypeReferences(MemberBinding binding, HashSet<Type> typeReferences)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (22)
430Type lambdaReturnType = typeof(T); 486HashSet<Type> allBaseTypes = null; 488foreach (Type baseType in allBaseTypes) 610delegate bool FindMatch(LocationReference reference, string targetName, Type targetType, out bool terminateSearch); 615static bool FindLocationReferenceMatchShortcut(LocationReference reference, string targetName, Type targetType, out bool terminateSearch) 630static bool FindFirstLocationReferenceMatch(LocationReference reference, string targetName, Type targetType, out bool terminateSearch) 641static bool FindAllLocationReferenceMatch(LocationReference reference, string targetName, Type targetType, out bool terminateSearch) 1403static void EnsureTypeReferenced(Type type, ref HashSet<Type> typeReferences) 1408HashSet<Type> alreadyVisited = (HashSet<Type>)typeReferenceCache.GetValue(typeReferenceCacheLock, type); 1425alreadyVisited = new HashSet<Type>(); 1448static void EnsureTypeReferencedRecurse(Type type, HashSet<Type> alreadyVisited) 1460Type[] interfaces = type.GetInterfaces(); 1467Type baseType = type.BaseType; 1477Type[] typeArgs = type.GetGenericArguments(); 1493static LocationReference FindLocationReferencesFromEnvironment(LocationReferenceEnvironment environment, FindMatch findMatch, string targetName, Type targetType, out bool foundMultiple) 1543Type returnType; 1549public RawTreeCacheKey(string expressionText, Type returnType, HashSet<Assembly> assemblies, HashSet<string> namespaces) 1620public Type FindVariable(string name) 1643public Type[] FindTypes(string typeName, string nsPrefix)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicSettingsConverter.cs (3)
22public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) 32public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) 68public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Activities\Activity.cs (19)
553internal bool GetActivityExtensionInformation(out Dictionary<Type, WorkflowInstanceExtensionProvider> activityExtensionProviders, out HashSet<Type> requiredActivityExtensionTypes) 779internal RuntimeArgument AddTempAutoGeneratedArgument(Type argumentType, ArgumentDirection direction) 1278internal void RequireExtension(Type extensionType) 1289Dictionary<Type, WorkflowInstanceExtensionProvider> activityExtensionProviders; 1290HashSet<Type> requiredExtensionTypes; 1356public bool GetActivityExtensionInformation(out Dictionary<Type, WorkflowInstanceExtensionProvider> activityExtensionProviders, out HashSet<Type> requiredActivityExtensionTypes) 1366Type key = typeof(T); 1369this.activityExtensionProviders = new Dictionary<Type, WorkflowInstanceExtensionProvider>(); 1388public void RequireExtension(Type extensionType) 1398this.requiredExtensionTypes = new HashSet<Type>(); 1446static Type DictionaryArgumentHelperType = typeof(DictionaryArgumentHelper<>); 1447static Type OverloadGroupAttributeType = typeof(OverloadGroupAttribute); 1464Type argumentType; 1503Type innerType; 1518Type concreteHelperType = DictionaryArgumentHelperType.MakeGenericType(innerType); 1831internal override Type InternalResultType 1889Type locationGenericType;
System\Activities\ActivityDelegate.cs (1)
120Type innerType;
System\Activities\ActivityMetadata.cs (1)
269public void RequireExtension(Type extensionType)
System\Activities\ActivityUtilities.cs (98)
23static Type activityType = typeof(Activity); 24static Type activityGenericType = typeof(Activity<>); 25static Type activityDelegateType = typeof(ActivityDelegate); 26static Type constraintType = typeof(Constraint); 27static Type variableType = typeof(Variable); 28static Type variableGenericType = typeof(Variable<>); 29static Type delegateInArgumentType = typeof(DelegateInArgument); 30static Type delegateOutArgumentType = typeof(DelegateOutArgument); 31static Type delegateInArgumentGenericType = typeof(DelegateInArgument<>); 32static Type delegateOutArgumentGenericType = typeof(DelegateOutArgument<>); 33static Type inArgumentType = typeof(InArgument); 34static Type inArgumentGenericType = typeof(InArgument<>); 35static Type inOutArgumentType = typeof(InOutArgument); 36static Type inOutArgumentGenericType = typeof(InOutArgument<>); 37static Type outArgumentType = typeof(OutArgument); 38static Type outArgumentGenericType = typeof(OutArgument<>); 39static Type argumentType = typeof(Argument); 40static Type argumentReferenceGenericType = typeof(ArgumentReference<>); 41static Type argumentValueGenericType = typeof(ArgumentValue<>); 42static Type runtimeArgumentType = typeof(RuntimeArgument); 43static Type locationGenericType = typeof(Location<>); 44static Type variableReferenceGenericType = typeof(VariableReference<>); 45static Type variableValueGenericType = typeof(VariableValue<>); 46static Type delegateArgumentValueGenericType = typeof(DelegateArgumentValue<>); 47static Type handleType = typeof(Handle); 48static Type iDictionaryGenericType = typeof(IDictionary<,>); 49static Type locationReferenceValueType = typeof(LocationReferenceValue<>); 50static Type environmentLocationValueType = typeof(EnvironmentLocationValue<>); 51static Type environmentLocationReferenceType = typeof(EnvironmentLocationReference<>); 52static IList<Type> collectionInterfaces; 53static Type inArgumentOfObjectType = typeof(InArgument<object>); 54static Type outArgumentOfObjectType = typeof(OutArgument<object>); 55static Type inOutArgumentOfObjectType = typeof(InOutArgument<object>); 81static IList<Type> CollectionInterfaces 87collectionInterfaces = new List<Type>(2) 115public static bool IsHandle(Type type) 125public static bool TryGetArgumentDirectionAndType(Type propertyType, out ArgumentDirection direction, out Type argumentType) 134Type genericType = propertyType.GetGenericTypeDefinition(); 176public static bool IsArgumentType(Type propertyType) 181public static bool IsRuntimeArgumentType(Type propertyType) 186public static bool IsArgumentDictionaryType(Type type, out Type innerType) 191Type dictionaryInterfaceType = null; 200foreach (Type interfaceType in type.GetInterfaces()) 214Type[] genericArguments = dictionaryInterfaceType.GetGenericArguments(); 228public static bool IsKnownCollectionType(Type type, out Type innerType) 234Type localInterface = type.GetGenericTypeDefinition(); 235foreach (Type knownInterface in CollectionInterfaces) 239Type[] genericArguments = type.GetGenericArguments(); 251Type[] interfaceTypes = type.GetInterfaces(); 252foreach (Type interfaceType in interfaceTypes) 256Type localInterface = interfaceType.GetGenericTypeDefinition(); 258foreach (Type knownInterface in CollectionInterfaces) 262Type[] genericArguments = interfaceType.GetGenericArguments(); 279public static bool IsActivityDelegateType(Type propertyType) 284public static bool IsActivityType(Type propertyType) 289public static bool IsActivityType(Type propertyType, bool includeConstraints) 300public static bool TryGetDelegateArgumentDirectionAndType(Type propertyType, out ArgumentDirection direction, out Type argumentType) 309Type genericType = propertyType.GetGenericTypeDefinition(); 339public static bool IsVariableType(Type propertyType, out Type innerType) 351public static bool IsVariableType(Type propertyType) 361public static bool IsLocationGenericType(Type type, out Type genericArgumentType) 375Type genericVariableReferenceType = variableReferenceGenericType.MakeGenericType(variable.Type); 386public static Argument CreateArgument(Type type, ArgumentDirection direction) 388Type argumentType = ArgumentTypeDefinitionsCache.GetArgumentType(type, direction); 415public static Type CreateLocation(Type locationType) 420public static Type CreateActivityWithResult(Type resultType) 425public static Argument CreateReferenceArgument(Type argumentType, ArgumentDirection direction, string referencedArgumentName) 446public static Variable CreateVariable(string name, Type type, VariableModifiers modifiers) 448Type variableType = variableGenericType.MakeGenericType(type); 485static string GetDisplayName(Type sourceType) 501Type[] genericArguments = sourceType.GetGenericArguments(); 1367public static Type GetArgumentType(Type type, ArgumentDirection direction) 1384Type argumentType = lookupTable[type] as Type; 1397static Type CreateArgumentType(Type type, ArgumentDirection direction) 1399Type argumentType = null; 1421static Dictionary<Type, ILocationReferenceExpression> locationReferenceValueTypeDefinitions = new Dictionary<Type, ILocationReferenceExpression>(); 1424static Dictionary<Type, ILocationReferenceExpression> environmentLocationReferenceTypeDefinitions = new Dictionary<Type, ILocationReferenceExpression>(); 1427static Dictionary<Type, ILocationReferenceExpression> environmentLocationValueTypeDefinitions = new Dictionary<Type, ILocationReferenceExpression>(); 1429public static ActivityWithResult CreateNewLocationAccessExpression(Type type, bool isReference, bool useLocationReferenceValue, LocationReference locationReference) 1431Dictionary<Type, ILocationReferenceExpression> lookupTable = null; 1450Type locationAccessExpressionType = CreateLocationAccessExpressionType(type, isReference, useLocationReferenceValue); 1466static Type CreateLocationAccessExpressionType(Type type, bool isReference, bool useLocationReferenceValue) 1468Type openType;
System\Activities\ActivityWithResult.cs (2)
16public Type ResultType 37internal abstract Type InternalResultType
System\Activities\Argument.cs (4)
32public Type ArgumentType 221public static Argument Create(Type type, ArgumentDirection direction) 294Type locationType; 298Type expectedType = ActivityUtilities.CreateActivityWithResult(ActivityUtilities.CreateLocation(this.ArgumentType));
System\Activities\CodeActivityMetadata.cs (1)
169public void RequireExtension(Type extensionType)
System\Activities\CodeActivityPublicEnvironmentAccessor.cs (2)
144void AddGeneratedArgument(Type argumentType, ArgumentDirection direction, ActivityWithResult expression) 164Type codeActivityOfTType = null;
System\Activities\Debugger\DebugInfo.cs (5)
116Type locationValueType, // Non null for Reference type (location) 123Type activityType; 141Type locationHelperType = typeof(LocationHelper<>).MakeGenericType(locationValueType); 320Type t = location.LocationType; 611public object GetService(Type serviceType)
System\Activities\Debugger\LocalsItemDescription.cs (2)
18public LocalsItemDescription(string name, Type type) 32public Type Type
System\Activities\Debugger\State.cs (2)
36Type type; 124internal void CacheMethodInfo(Type type, string methodName)
System\Activities\Debugger\StateManager.cs (8)
38static Type threadWorkerControllerType = typeof(ThreadWorkerController); 574internal MethodBuilder CreateMethodBuilder(TypeBuilder typeBuilder, Type typeIslandArguments, State state, bool withPriming) 592Type[] parameterTypes = new Type[numberOfBaseArguments + numberOfEarlyLocals]; 606Type returnType = typeof(void); 696Type.EmptyTypes); 705Type debuggableAttributeType = typeof(DebuggableAttribute); 706ConstructorInfo constructorInfo = debuggableAttributeType.GetConstructor(new Type[] { typeof(DebuggableAttribute.DebuggingModes) });
System\Activities\Debugger\Symbol\DebugSymbol.cs (1)
15static Type attachingTypeName = typeof(DebugSymbol);
System\Activities\Debugger\XamlDebuggerXmlReader.cs (2)
41private static readonly Type attachingType = typeof(XamlDebuggerXmlReader); 376Type targetType = target.GetType();
System\Activities\Debugger\XmlWrappingReader.cs (1)
99public override Type ValueType
System\Activities\DelegateInArgument.cs (1)
29protected override Type TypeCore
System\Activities\DelegateOutArgument.cs (1)
30protected override Type TypeCore
System\Activities\DynamicActivity.cs (2)
176object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 364object ICustomTypeDescriptor.GetEditor(