2 instantiations of CompilerGeneratedState
ilc (1)
Program.cs (1)
391
CompilerGeneratedState compilerGeneratedState = new
CompilerGeneratedState
(ilProvider, logger, Get(_command.DisableGeneratedCodeHeuristics));
ILCompiler.Compiler (1)
Compiler\Logger.cs (1)
68
_compilerGeneratedState = ilProvider == null ? null : new
CompilerGeneratedState
(ilProvider, this, disableGeneratedCodeHeuristics);
18 references to CompilerGeneratedState
ilc (1)
Program.cs (1)
391
CompilerGeneratedState
compilerGeneratedState = new CompilerGeneratedState(ilProvider, logger, Get(_command.DisableGeneratedCodeHeuristics));
ILCompiler.Compiler (17)
Compiler\Dataflow\FlowAnnotations.cs (4)
35
public
CompilerGeneratedState
CompilerGeneratedState { get; }
37
public FlowAnnotations(Logger logger, ILProvider ilProvider,
CompilerGeneratedState
compilerGeneratedState)
303
private readonly
CompilerGeneratedState
_compilerGeneratedState;
305
public TypeAnnotationsHashtable(Logger logger, ILProvider ilProvider,
CompilerGeneratedState
compilerGeneratedState) =>
Compiler\Dataflow\HoistedLocalKey.cs (1)
22
Debug.Assert(
CompilerGeneratedState
.IsHoistedLocal(field));
Compiler\Dataflow\InterproceduralState.cs (1)
77
if (
CompilerGeneratedState
.TryGetStateMachineType(methodBody.OwningMethod, out MetadataType? stateMachineType))
Compiler\Dataflow\MethodBodyScanner.cs (4)
293
Debug.Assert(!
CompilerGeneratedState
.IsNestedFunctionOrStateMachineMember(startingMethod));
1109
else if (
CompilerGeneratedState
.IsHoistedLocal(field))
1145
if (
CompilerGeneratedState
.IsHoistedLocal(field))
1206
CompilerGeneratedState
.IsHoistedLocal(fieldReferenceValue.FieldDefinition)
Compiler\Dataflow\ReflectionMarker.cs (2)
331
bool isCompilerGenerated =
CompilerGeneratedState
.IsNestedFunctionOrStateMachineMember(entity);
375
bool isCompilerGenerated =
CompilerGeneratedState
.IsNestedFunctionOrStateMachineMember(entity);
Compiler\DependencyAnalysis\DataflowAnalyzedMethodNode.cs (1)
27
Debug.Assert(!
CompilerGeneratedState
.IsNestedFunctionOrStateMachineMember(methodIL.OwningMethod));
Compiler\Logger.cs (1)
25
private readonly
CompilerGeneratedState
_compilerGeneratedState;
Compiler\Logging\UnconditionalSuppressMessageAttributeState.cs (2)
54
private readonly
CompilerGeneratedState
? _compilerGeneratedState;
58
public UnconditionalSuppressMessageAttributeState(
CompilerGeneratedState
? compilerGeneratedState, Logger logger)
Compiler\UsageBasedMetadataManager.cs (1)
954
if (
CompilerGeneratedState
.IsNestedFunctionOrStateMachineMember(methodILDefinition.OwningMethod))