summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/IO/FileNotFoundException.CoreCLR.cs
blob: 99645f0f2ded19681cc5a18d7cc2ef7a73b1bc09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

namespace System.IO
{
    public partial class FileNotFoundException
    {
        // Do not delete: this is invoked from native code.
        private FileNotFoundException(string fileName, string fusionLog, int hResult)
            : base(null)
        {
            HResult = hResult;
            FileName = fileName;
            FusionLog = fusionLog;
            SetMessageField();
        }
    }
}