13 references to ThrowCompilerException
PresentationBuildTasks (13)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (12)
794
ThrowCompilerException
(nameof(SR.DefnTagsCannotBeNested), DefinitionNSPrefix, LocalName, xmlReader.LocalName);
803
ThrowCompilerException
(nameof(SR.MissingClassDefinitionForCodeTag),
816
ThrowCompilerException
(nameof(SR.AttributeNotAllowedOnCodeTag),
866
ThrowCompilerException
(nameof(SR.IllegalCDataTextScoping), DefinitionNSPrefix, LocalName, (currNodeType == XmlNodeType.CDATA ? "a CDATA section" : "text content"));
1459
ThrowCompilerException
(nameof(SR.UnknownGenericType),
1553
ThrowCompilerException
(nameof(SR.MissingClassDefinitionForEvent), _ccRoot.ElementName, DefinitionNSPrefix, eventName);
1677
ThrowCompilerException
(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language);
1709
ThrowCompilerException
(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language);
1742
ThrowCompilerException
(nameof(SR.UnknownClassModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language);
1915
ThrowCompilerException
(nameof(SR.RoutedEventNotRegistered), miEvent.DeclaringType.FullName, eventName, eventHandler);
1996
ThrowCompilerException
(nameof(SR.UnknownEventAttribute), mei.eventName, mei.eventHandler, eventTargetName);
2379
ThrowCompilerException
(nameof(SR.ContainingTagNotGeneric), eventName, ctrConstructedType.BaseType, refTypeFullName);
MS\Internal\MarkupCompiler\ParserExtension.cs (1)
463
MarkupCompiler.
ThrowCompilerException
(nameof(SR.UnknownGenericType),