-
-
Notifications
You must be signed in to change notification settings - Fork 836
Closed as not planned
Labels
Analyzershttps://github.com/xunit/xunit.analyzershttps://github.com/xunit/xunit.analyzersBugA fault in an existing featureA fault in an existing featureExternalThe issue is caused by an external partyThe issue is caused by an external party
Description
In the following test code:
public static unsafe void Ctor_CharPtr_Int_Int(char[] valueArray, int startIndex, int length, string expected)
{
fixed (char* value = valueArray)
{
Assert.Equal(expected, new string(value, startIndex, length));
}
}valueArray is marked as unused even though it is used in the fixed statement.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Analyzershttps://github.com/xunit/xunit.analyzershttps://github.com/xunit/xunit.analyzersBugA fault in an existing featureA fault in an existing featureExternalThe issue is caused by an external partyThe issue is caused by an external party