diff options
Diffstat (limited to 'src/linker/Linker/LinkContext.cs')
-rw-r--r-- | src/linker/Linker/LinkContext.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/linker/Linker/LinkContext.cs b/src/linker/Linker/LinkContext.cs index d6d6ef02f..58e3e0499 100644 --- a/src/linker/Linker/LinkContext.cs +++ b/src/linker/Linker/LinkContext.cs @@ -70,6 +70,7 @@ namespace Mono.Linker readonly AnnotationStore _annotations; readonly CustomAttributeSource _customAttributes; + readonly CompilerGeneratedState _compilerGeneratedState; readonly List<MessageContainer> _cachedWarningMessageContainers; readonly ILogger _logger; readonly Dictionary<AssemblyDefinition, bool> _isTrimmable; @@ -78,13 +79,11 @@ namespace Mono.Linker get { return _pipeline; } } - public CustomAttributeSource CustomAttributes { - get { return _customAttributes; } - } + public CustomAttributeSource CustomAttributes => _customAttributes; - public AnnotationStore Annotations { - get { return _annotations; } - } + public CompilerGeneratedState CompilerGeneratedState => _compilerGeneratedState; + + public AnnotationStore Annotations => _annotations; public bool DeterministicOutput { get; set; } @@ -210,6 +209,7 @@ namespace Mono.Linker _actions = new Dictionary<string, AssemblyAction> (); _parameters = new Dictionary<string, string> (StringComparer.Ordinal); _customAttributes = new CustomAttributeSource (this); + _compilerGeneratedState = new CompilerGeneratedState (this); _cachedWarningMessageContainers = new List<MessageContainer> (); _isTrimmable = new Dictionary<AssemblyDefinition, bool> (); FeatureSettings = new Dictionary<string, bool> (StringComparer.Ordinal); |