20 references to IsReflectionBlocked
ILCompiler.Compiler (20)
Compiler\Dataflow\HandleCallAction.cs (1)
306
&& !_reflectionMarker.Factory.MetadataManager.
IsReflectionBlocked
(ctorMethod))
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (2)
117
if (mdManager.
IsReflectionBlocked
(constructor))
233
if (factory.MetadataManager.
IsReflectionBlocked
(setterMethod))
Compiler\DependencyAnalysis\MethodMetadataNode.cs (1)
142
Debug.Assert(!factory.MetadataManager.
IsReflectionBlocked
(_method));
Compiler\DependencyAnalysis\ModuleMetadataNode.cs (1)
42
&& !factory.MetadataManager.
IsReflectionBlocked
(entrypoint))
Compiler\DependencyAnalysis\ReflectedMethodNode.cs (1)
35
Debug.Assert(!factory.MetadataManager.
IsReflectionBlocked
(_method.GetTypicalMethodDefinition()));
Compiler\DependencyAnalysis\TypeMetadataNode.cs (1)
74
if (!mdManager.
IsReflectionBlocked
(method))
Compiler\MetadataManager.cs (2)
263
if (AllMethodsCanBeReflectable && !
IsReflectionBlocked
(methodNode.Method))
863
Debug.Assert(!
IsReflectionBlocked
(method));
Compiler\RootingHelpers.cs (1)
133
if (factory.MetadataManager.
IsReflectionBlocked
(typicalMethod))
Compiler\RootingServiceProvider.cs (1)
63
if (!_factory.MetadataManager.
IsReflectionBlocked
(method))
Compiler\UsageBasedMetadataManager.cs (9)
197
if (!
IsReflectionBlocked
(method))
308
if (!
IsReflectionBlocked
(invokeMethod))
323
if (defaultConstructor is not null && !
IsReflectionBlocked
(defaultConstructor))
511
if (
IsReflectionBlocked
(method))
565
if (!
IsReflectionBlocked
(method))
582
if (!
IsReflectionBlocked
(target))
638
if (!
IsReflectionBlocked
(decl) && !
IsReflectionBlocked
(impl))
894
if (!
IsReflectionBlocked
(method))