File: System\Reflection\Internal\MemoryBlocks\StreamConstraints.cs
Web Access
Project: src\src\libraries\System.Reflection.Metadata\src\System.Reflection.Metadata.csproj (System.Reflection.Metadata)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Reflection.Internal
{
    internal readonly struct StreamConstraints
    {
        public readonly object? GuardOpt;
        public readonly long ImageStart;
        public readonly int ImageSize;
 
        public StreamConstraints(object? guardOpt, long startPosition, int imageSize)
        {
            GuardOpt = guardOpt;
            ImageStart = startPosition;
            ImageSize = imageSize;
        }
    }
}