V3006. The object was created but it is not being used. The 'throw' keyword could be missing.
V3006 The object was created but it is not being used. The 'throw' keyword could be missing: throw new ApplicationException(FOO). AssetBundleDemo AssetBundleManager.cs 446
static protected bool LoadAssetBundleInternal(....)
{
....
if (....)
{
new ApplicationException("Can't load bundle " + ....); // <=
}
....
}
V3006 The object was created but it is not being used. The 'throw' keyword could be missing: throw new ArgumentException(FOO). StartAzureRmRecoveryServicesAsrTestFailoverJob.cs 259
private void StartRPITestFailover()
{
....
if (....)
{
....
}
else
{
new ArgumentException(
Resources
.UnsupportedDirectionForTFO); // Throw Unsupported Direction
// Exception
}
....
}
Similar errors can be found in some other places: