13 references to ThrowCompilerException
PresentationBuildTasks (13)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (12)
797
ThrowCompilerException
(nameof(SR.DefnTagsCannotBeNested), DefinitionNSPrefix, LocalName, xmlReader.LocalName);
806
ThrowCompilerException
(nameof(SR.MissingClassDefinitionForCodeTag),
819
ThrowCompilerException
(nameof(SR.AttributeNotAllowedOnCodeTag),
870
ThrowCompilerException
(nameof(SR.IllegalCDataTextScoping), DefinitionNSPrefix, LocalName, (currNodeType == XmlNodeType.CDATA ? "a CDATA section" : "text content"));
1458
ThrowCompilerException
(nameof(SR.UnknownGenericType),
1552
ThrowCompilerException
(nameof(SR.MissingClassDefinitionForEvent), _ccRoot.ElementName, DefinitionNSPrefix, eventName);
1676
ThrowCompilerException
(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language);
1708
ThrowCompilerException
(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language);
1741
ThrowCompilerException
(nameof(SR.UnknownClassModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language);
1917
ThrowCompilerException
(nameof(SR.RoutedEventNotRegistered), miEvent.DeclaringType.FullName, eventName, eventHandler);
1998
ThrowCompilerException
(nameof(SR.UnknownEventAttribute), mei.eventName, mei.eventHandler, eventTargetName);
2379
ThrowCompilerException
(nameof(SR.ContainingTagNotGeneric), eventName, ctrConstructedType.BaseType, refTypeFullName);
MS\Internal\MarkupCompiler\ParserExtension.cs (1)
465
MarkupCompiler.
ThrowCompilerException
(nameof(SR.UnknownGenericType),