20 references to IsReflectionBlocked
ILCompiler.Compiler (20)
Compiler\Dataflow\HandleCallAction.cs (1)
313
&& !_reflectionMarker.Factory.MetadataManager.
IsReflectionBlocked
(ctorMethod))
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (2)
120
if (mdManager.
IsReflectionBlocked
(constructor))
235
if (factory.MetadataManager.
IsReflectionBlocked
(setterMethod))
Compiler\DependencyAnalysis\MethodMetadataNode.cs (1)
136
Debug.Assert(!factory.MetadataManager.
IsReflectionBlocked
(_method));
Compiler\DependencyAnalysis\ModuleMetadataNode.cs (1)
40
&& !factory.MetadataManager.
IsReflectionBlocked
(entrypoint))
Compiler\DependencyAnalysis\ReflectedMethodNode.cs (1)
35
Debug.Assert(!factory.MetadataManager.
IsReflectionBlocked
(_method.GetTypicalMethodDefinition()));
Compiler\DependencyAnalysis\TypeMetadataNode.cs (1)
80
if (!mdManager.
IsReflectionBlocked
(method))
Compiler\MetadataManager.cs (2)
276
if (AllMethodsCanBeReflectable && !
IsReflectionBlocked
(methodNode.Method))
865
Debug.Assert(!
IsReflectionBlocked
(method));
Compiler\RootingHelpers.cs (1)
177
if (factory.MetadataManager.
IsReflectionBlocked
(typicalMethod))
Compiler\RootingServiceProvider.cs (1)
63
if (!_factory.MetadataManager.
IsReflectionBlocked
(method))
Compiler\UsageBasedMetadataManager.cs (9)
200
if (!
IsReflectionBlocked
(method))
307
if (!
IsReflectionBlocked
(invokeMethod))
321
if (defaultConstructor is not null && !
IsReflectionBlocked
(defaultConstructor))
503
if (
IsReflectionBlocked
(method))
544
if (!
IsReflectionBlocked
(method))
561
if (!
IsReflectionBlocked
(target))
617
if (!
IsReflectionBlocked
(decl) && !
IsReflectionBlocked
(impl))
884
if (!
IsReflectionBlocked
(method))