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