36 overrides of ReflectedType
PresentationFramework (1)
MS\Internal\Data\IndexerPropertyInfo.cs (1)
105public override Type ReflectedType
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\ConstructorOnTypeBuilderInstantiation.cs (1)
41public override Type? ReflectedType => _type;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
319public override Type? ReflectedType => null;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\FieldOnTypeBuilderInstantiation.cs (1)
48public override Type? ReflectedType => _type;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
46public override Type? ReflectedType => _method.ReflectedType;
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodOnTypeBuilderInstantiation.cs (1)
54public override Type? ReflectedType => _type;
src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
46public override Type? ReflectedType => null;
src\System\Reflection\Emit\RuntimeConstructorBuilder.cs (1)
67public override Type? ReflectedType => m_methodBuilder.ReflectedType;
src\System\Reflection\Emit\RuntimeFieldBuilder.cs (1)
72public override Type? ReflectedType
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (1)
421public override Type? ReflectedType => DeclaringType;
src\System\Reflection\Emit\RuntimePropertyBuilder.cs (1)
194public override Type? ReflectedType => m_containingType;
src\System\Reflection\Emit\SymbolMethod.cs (1)
74public override Type? ReflectedType => m_containingType;
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
168public override Type? ReflectedType => m_reflectedTypeCache.IsGlobal ? null : ReflectedTypeInternal;
src\System\Reflection\RuntimeEventInfo.cs (1)
125public override Type? ReflectedType => ReflectedTypeInternal;
src\System\Reflection\RuntimeFieldInfo.cs (1)
41public override Type? ReflectedType => m_reflectedTypeCache.IsGlobal ? null : ReflectedTypeInternal;
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
219public override Type? ReflectedType
src\System\Reflection\RuntimePropertyInfo.cs (1)
175public override Type? ReflectedType => ReflectedTypeInternal;
System.Reflection.Context (7)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
84public override Type? ReflectedType
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (1)
53public override Type? ReflectedType
System\Reflection\Context\Delegation\DelegatingFieldInfo.cs (1)
69public override Type? ReflectedType
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
86public override Type? ReflectedType
System\Reflection\Context\Delegation\DelegatingPropertyInfo.cs (1)
59public override Type? ReflectedType
System\Reflection\Context\Virtual\VirtualMethodBase.cs (1)
51public sealed override Type? ReflectedType
System\Reflection\Context\Virtual\VirtualPropertyBase.cs (1)
77public sealed override Type? ReflectedType
System.Reflection.Emit (2)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
46public override Type? ReflectedType => _method.ReflectedType;
System\Reflection\Emit\ArrayMethod.cs (1)
52public override Type? ReflectedType => _containingType;
System.Reflection.MetadataLoadContext (5)
System\Reflection\TypeLoading\Constructors\RoConstructor.cs (1)
22public sealed override Type ReflectedType => DeclaringType;
System\Reflection\TypeLoading\Events\RoEvent.cs (1)
33public sealed override Type ReflectedType => _reflectedType;
System\Reflection\TypeLoading\Fields\RoField.cs (1)
35public sealed override Type ReflectedType => _reflectedType;
System\Reflection\TypeLoading\Methods\RoMethod.cs (1)
30public sealed override Type ReflectedType => _reflectedType;
System\Reflection\TypeLoading\Properties\RoProperty.cs (1)
34public sealed override Type ReflectedType => _reflectedType;
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
99public override Type? ReflectedType => _innerEventInfo.ReflectedType;
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\SerializationFieldInfo.cs (1)
37public override Type? ReflectedType => m_field.ReflectedType;
System.Xaml.Tests (3)
Common\CustomConstructorInfo.cs (1)
50public override Type ReflectedType => ReflectedTypeResult.Or(DelegatingConstructor.ReflectedType!);
Common\CustomMethodInfo.cs (1)
44public override Type ReflectedType => ReflectedTypeResult.Or(DelegatingMethod.ReflectedType!);
System\Xaml\XamlMemberTests.cs (1)
2388public override Type ReflectedType => DelegatingProperty.ReflectedType!;
67 references to ReflectedType
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ApplicationModelFactory.cs (1)
329var type = method.ReflectedType!;
Microsoft.DotNet.RemoteExecutor (1)
RemoteExecutor.cs (1)
645.Select(frame => frame.GetMethod()?.ReflectedType?.Assembly)
PresentationBuildTasks (18)
MS\Internal\MarkupCompiler\ParserExtension.cs (4)
136if (_compiler.LocalAssembly == memberInfo.ReflectedType.Assembly && 140memberInfo.ReflectedType.Name, 536bool localEvent = _compiler.LocalAssembly == xamlClrEventNode.EventMember.ReflectedType.Assembly; 617xamlClrEventNode.EventMember.ReflectedType.FullName,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\StyleXamlParser.cs (1)
1252xamlClrEventNode.EventMember.ReflectedType.FullName,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TemplateXamlParser.cs (1)
1373xamlClrEventNode.EventMember.ReflectedType.FullName,
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (3)
1095XamlPropertyFullName usageProp = new XamlPropertyFullName(mi.ReflectedType, propertyName); 4938if( attributes[i].Constructor.ReflectedType == KnownTypes.Types[(int)KnownElements.ContentWrapperAttribute] ) 5713if (cad.Constructor.ReflectedType == attrType)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlTypeMapper.cs (6)
1016if (fi.ReflectedType.Assembly == fi.DeclaringType.Assembly) 1022if (ReflectionHelper.IsPublicType(fi.ReflectedType)) 1024allowed = IsInternalAllowedOnType(fi.ReflectedType); 1073if (mi.ReflectedType.Assembly == mi.DeclaringType.Assembly) 1079if (ReflectionHelper.IsPublicType(mi.ReflectedType)) 1081allowed = IsInternalAllowedOnType(mi.ReflectedType);
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsCache.cs (1)
221if(string.Equals(cinfo.ReflectedType.FullName, fullClrName, StringComparison.Ordinal))
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (2)
291if (cad.Constructor.ReflectedType == attrType) 325if (cinfo.ReflectedType == attrType)
PresentationFramework (2)
System\Windows\Markup\BamlRecordReader.cs (2)
1337ThrowException(nameof(SR.ParserCantSetContentProperty), propertyDefinition.Name, propertyDefinition.PropertyInfo.ReflectedType.Name); 4966ThrowException(nameof(SR.ParserCantSetContentProperty), pi.Name, pi.ReflectedType.Name);
System.ComponentModel.TypeConverter (5)
System\ComponentModel\ReflectEventDescriptor.cs (5)
99Debug.Assert(eventInfo.ReflectedType!.IsAssignableFrom(componentClass), "eventInfo.ReflectedType is used below, but only componentClass is annotated with DynamicallyAccessedMembers. Ensure ReflectedType is in componentClass's hierarchy."); 261Type currentReflectType = realEventInfo.ReflectedType!; 277currentReflectType = realEventInfo.ReflectedType!; 382Type? currentReflectType = realMethodInfo.ReflectedType; 400currentReflectType = realMethodInfo.ReflectedType;
System.Configuration.ConfigurationManager (1)
System\Configuration\ClientConfigPaths.cs (1)
323mainType = entryPoint.ReflectedType;
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (2)
347else if (LocalAppContextSwitches.ShowILOffsets && mb.ReflectedType != null) 349string assemblyName = mb.ReflectedType.Module.ScopeName;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (2)
2998if (AttributeTypeNamesMatch(attributeType, data.Constructor.ReflectedType!)) 3030if (AttributeTypeNamesMatch(attributeType, data.Constructor.ReflectedType!))
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
46public override Type? ReflectedType => _method.ReflectedType;
src\libraries\System.Private.CoreLib\src\System\Reflection\NullabilityInfoContext.cs (2)
112CheckGenericParameters(nullability, metaMember, metaParameter.ParameterType, parameter.Member.ReflectedType); 425CheckGenericParameters(nullability, metaMember!, metaType, memberInfo.ReflectedType);
src\System\Reflection\Emit\RuntimeModuleBuilder.cs (8)
236tr = GetTypeTokenInternal(constructor.ReflectedType!); 237mr = GetMemberRef(constructor.ReflectedType!.Module, tr, conBuilder.MetadataToken); 244else if (constructor is RuntimeConstructorInfo rtCon && !constructor.ReflectedType!.IsArray) 248tr = GetTypeTokenInternal(constructor.ReflectedType); 274tr = GetTypeTokenInternal(constructor.ReflectedType!); 1200mr = GetMemberRef(field.ReflectedType!.Module, tr, fdBuilder.MetadataToken); 1229mr = GetMemberRef(fb.ReflectedType!.Module, tr, fOnTB.MetadataToken); 1234tr = GetTypeTokenInternal(field.ReflectedType!);
src\System\RuntimeType.CoreCLR.cs (1)
2164bool isInherited = !ReferenceEquals(memberInfo.DeclaringType, memberInfo.ReflectedType);
System.Reflection.Context (7)
System\Reflection\Context\Delegation\DelegatingConstructorInfo.cs (1)
86get { return UnderlyingConstructor.ReflectedType; }
System\Reflection\Context\Delegation\DelegatingEventInfo.cs (1)
55get { return UnderlyingEvent.ReflectedType; }
System\Reflection\Context\Delegation\DelegatingFieldInfo.cs (1)
71get { return UnderlyingField.ReflectedType; }
System\Reflection\Context\Delegation\DelegatingMethodInfo.cs (1)
88get { return UnderlyingMethod.ReflectedType; }
System\Reflection\Context\Delegation\DelegatingPropertyInfo.cs (1)
61get { return UnderlyingProperty.ReflectedType; }
System\Reflection\Context\Virtual\InheritedMethodInfo.cs (1)
23Debug.Assert(baseMethod.ReflectedType!.Equals(baseMethod.DeclaringType));
System\Reflection\Context\Virtual\InheritedPropertyInfo.cs (1)
23Debug.Assert(baseProperty.ReflectedType!.Equals(baseProperty.DeclaringType));
System.Reflection.Emit (7)
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\MethodBuilderInstantiation.cs (1)
46public override Type? ReflectedType => _method.ReflectedType;
System\Reflection\Emit\EventBuilderImpl.cs (1)
56if (con.ReflectedType!.FullName == "System.Runtime.CompilerServices.SpecialNameAttribute")
System\Reflection\Emit\FieldBuilderImpl.cs (1)
56switch (con.ReflectedType!.FullName)
System\Reflection\Emit\MethodBuilderImpl.cs (1)
176switch (con.ReflectedType!.FullName)
System\Reflection\Emit\ParameterBuilderImpl.cs (1)
41switch (con.ReflectedType!.FullName)
System\Reflection\Emit\PropertyBuilderImpl.cs (1)
67if (con.ReflectedType!.FullName == "System.Runtime.CompilerServices.SpecialNameAttribute")
System\Reflection\Emit\TypeBuilderImpl.cs (1)
475switch (con.ReflectedType!.FullName)
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\ComAwareEventInfo.cs (1)
99public override Type? ReflectedType => _innerEventInfo.ReflectedType;
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\SerializationFieldInfo.cs (1)
37public override Type? ReflectedType => m_field.ReflectedType;
System.Windows.Forms (1)
System\Windows\Forms\Application.cs (1)
1120s_mainType = exe.EntryPoint?.ReflectedType;
System.Xaml (2)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\ReflectionHelper.cs (2)
291if (cad.Constructor.ReflectedType == attrType) 325if (cinfo.ReflectedType == attrType)
System.Xaml.Tests (3)
Common\CustomConstructorInfo.cs (1)
50public override Type ReflectedType => ReflectedTypeResult.Or(DelegatingConstructor.ReflectedType!);
Common\CustomMethodInfo.cs (1)
44public override Type ReflectedType => ReflectedTypeResult.Or(DelegatingMethod.ReflectedType!);
System\Xaml\XamlMemberTests.cs (1)
2388public override Type ReflectedType => DelegatingProperty.ReflectedType!;
UIAutomationClient (1)
MS\Internal\Automation\ProxyManager.cs (1)
346Type t = mb.ReflectedType;