We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a879b6 commit 1eb8501Copy full SHA for 1eb8501
MetadataProcessor.Tests/TestNFApp/TestEnumInAnotherAssembly.cs
@@ -11,10 +11,11 @@ public void CallTestEnumInAnotherAssembly()
11
{
12
// This test checks if MDP can minimize the assembly using an enum that is defined in another assembly
13
// and the class calling it is in a different assembly BUT in the same namespace.
14
- var ioException = new IOException(
+ IOException.IOExceptionErrorCode dummyEnum = IOException.IOExceptionErrorCode.DirectoryNotFound;
15
+
16
+ _ = new IOException(
17
string.Empty,
- (int)IOException.IOExceptionErrorCode.DirectoryNotFound);
18
+ (int)dummyEnum);
19
}
20
-
21
0 commit comments