File: src\tools\illink\src\ILLink.Shared\TrimAnalysis\UnknownValue.cs
Web Access
Project: src\src\tools\illink\src\linker\Mono.Linker.csproj (illink)
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
 
using ILLink.Shared.DataFlow;
 
// This is needed due to NativeAOT which doesn't enable nullable globally yet
#nullable enable
 
namespace ILLink.Shared.TrimAnalysis
{
	internal sealed record UnknownValue : SingleValue
	{
		private UnknownValue ()
		{
		}
 
		public static UnknownValue Instance { get; } = new UnknownValue ();
 
		public override SingleValue DeepCopy () => this; // This value is immutable
 
		public override string ToString () => this.ValueToString ();
	}
}