I added the line roslynator_unity_code_analysis.enabled = true on the ".editorconfig" file at the root of a Unity project, but I still get the "RCS1213: Remove unused method declaration" on the Start method in this code in Visual Studio:
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class _TEST_ : MonoBehaviour
{
IEnumerator Start()
{
yield return new WaitForSeconds(1);
Debug.Log("Meow");
}
}
I also tried adding the line to the ".roslynatorconfig" file, with the same result.
I don't know if there are other warnings that aren't disabled in Unity projects.
It's the Roslynator 2022 extension version 4.12.9, on Visual Studio 17.11.5.
I added the line
roslynator_unity_code_analysis.enabled = true
on the ".editorconfig" file at the root of a Unity project, but I still get the "RCS1213: Remove unused method declaration" on theStart
method in this code in Visual Studio:I also tried adding the line to the ".roslynatorconfig" file, with the same result.
I don't know if there are other warnings that aren't disabled in Unity projects.
It's the Roslynator 2022 extension version 4.12.9, on Visual Studio 17.11.5.