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