/// <summary> /// Performs assembly's types checking. /// </summary> /// <param name="sharedData">Used types and assemblies candidates.</param> /// <param name="evaluator">The project evaluator.</param> public void Check(CheckerSharedData sharedData, IProjectEvaluator evaluator) { try { var reader = new ResourcesReader(evaluator); CheckXamlDeclaredTypes(sharedData, evaluator, reader.GetXamlDeclaredTypes()); } catch (Exception ex) { throw Error.CheckType(evaluator.ProjectAssembly.FullName, Resources.BamlTypesChecker_CheckTypeException, ex); } }