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 bce11b8 commit c6060b7Copy full SHA for c6060b7
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