13 references to ThrowCompilerException
PresentationBuildTasks (13)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (12)
780ThrowCompilerException(nameof(SR.DefnTagsCannotBeNested), DefinitionNSPrefix, LocalName, xmlReader.LocalName); 789ThrowCompilerException(nameof(SR.MissingClassDefinitionForCodeTag), 802ThrowCompilerException(nameof(SR.AttributeNotAllowedOnCodeTag), 852ThrowCompilerException(nameof(SR.IllegalCDataTextScoping), DefinitionNSPrefix, LocalName, (currNodeType == XmlNodeType.CDATA ? "a CDATA section" : "text content")); 1444ThrowCompilerException(nameof(SR.UnknownGenericType), 1538ThrowCompilerException(nameof(SR.MissingClassDefinitionForEvent), _ccRoot.ElementName, DefinitionNSPrefix, eventName); 1662ThrowCompilerException(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1694ThrowCompilerException(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1727ThrowCompilerException(nameof(SR.UnknownClassModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1900ThrowCompilerException(nameof(SR.RoutedEventNotRegistered), miEvent.DeclaringType.FullName, eventName, eventHandler); 1981ThrowCompilerException(nameof(SR.UnknownEventAttribute), mei.eventName, mei.eventHandler, eventTargetName); 2364ThrowCompilerException(nameof(SR.ContainingTagNotGeneric), eventName, ctrConstructedType.BaseType, refTypeFullName);
MS\Internal\MarkupCompiler\ParserExtension.cs (1)
462MarkupCompiler.ThrowCompilerException(nameof(SR.UnknownGenericType),