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