Language\Components\ComponentLoweringPass.cs (11)
136if (diagnostic.Id == ComponentDiagnosticFactory.MultipleComponents.Id ||
137diagnostic.Id == ComponentDiagnosticFactory.AmbiguousComponentSelection.Id)
143node.AddDiagnostic(ComponentDiagnosticFactory.Create_MultipleComponents(node.Source, node.TagName, matched));
181node.AddDiagnostic(ComponentDiagnosticFactory.Create_AmbiguousComponentSelection(
553child.AddDiagnostic(ComponentDiagnosticFactory.Create_ChildContentMixedWithExplicitChildContent(child.Source, _component));
610childContent.AddDiagnostic(ComponentDiagnosticFactory.Create_ChildContentHasInvalidParameter(property.Source, property.AttributeName, attribute.Name));
615childContent.AddDiagnostic(ComponentDiagnosticFactory.Create_ChildContentHasInvalidAttribute(property.Source, property.AttributeName, attribute.Name));
620childContent.AddDiagnostic(ComponentDiagnosticFactory.Create_ChildContentHasInvalidAttribute(a.Source, a.AttributeName, attribute.Name));
625childContent.AddDiagnostic(ComponentDiagnosticFactory.Create_ChildContentHasInvalidAttribute(directiveAttribute.Source, directiveAttribute.OriginalAttributeName, attribute.Name));
658attribute.AddDiagnostic(ComponentDiagnosticFactory.Create_UnknownComponentParameter(
746_component.AddDiagnostic(ComponentDiagnosticFactory.Create_ChildContentHasInvalidParameterOnComponent(node.Source, node.AttributeName, _component.TagName));