File: src\System\IO\FileNotFoundException.CoreCLR.cs
Web Access
Project: src\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj (System.Private.CoreLib)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.IO
{
    public partial class FileNotFoundException
    {
        // Do not delete: this is invoked from native code.
        private FileNotFoundException(string? fileName, int hResult)
            : base(null)
        {
            HResult = hResult;
            FileName = fileName;
            SetMessageField();
        }
    }
}