private static void AnalyzeNode(SyntaxNodeAnalysisContext context) { var monoBehaviourInfo = new MonoBehaviourInfo(); monoBehaviourInfo.IsStringMethod(DiagnosticDescriptors.DoNotUseStateName, "Animator", animatorStateNameMethods, context); }
private static void AnalyzeNode(SyntaxNodeAnalysisContext context) { var monoBehaviourInfo = new MonoBehaviourInfo(); monoBehaviourInfo.IsStringMethod(DiagnosticDescriptors.DoNotUseStringPropertyNames, "Shader", shaderStringPropertyMethods, context); }