13 references to ThrowCompilerException
PresentationBuildTasks (13)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (12)
793
ThrowCompilerException
(nameof(SR.DefnTagsCannotBeNested), DefinitionNSPrefix, LocalName, xmlReader.LocalName);
802
ThrowCompilerException
(nameof(SR.MissingClassDefinitionForCodeTag),
815
ThrowCompilerException
(nameof(SR.AttributeNotAllowedOnCodeTag),
866
ThrowCompilerException
(nameof(SR.IllegalCDataTextScoping), DefinitionNSPrefix, LocalName, (currNodeType == XmlNodeType.CDATA ? "a CDATA section" : "text content"));
1454
ThrowCompilerException
(nameof(SR.UnknownGenericType),
1548
ThrowCompilerException
(nameof(SR.MissingClassDefinitionForEvent), _ccRoot.ElementName, DefinitionNSPrefix, eventName);
1672
ThrowCompilerException
(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language);
1704
ThrowCompilerException
(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language);
1737
ThrowCompilerException
(nameof(SR.UnknownClassModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language);
1913
ThrowCompilerException
(nameof(SR.RoutedEventNotRegistered), miEvent.DeclaringType.FullName, eventName, eventHandler);
1994
ThrowCompilerException
(nameof(SR.UnknownEventAttribute), mei.eventName, mei.eventHandler, eventTargetName);
2375
ThrowCompilerException
(nameof(SR.ContainingTagNotGeneric), eventName, ctrConstructedType.BaseType, refTypeFullName);
MS\Internal\MarkupCompiler\ParserExtension.cs (1)
463
MarkupCompiler.
ThrowCompilerException
(nameof(SR.UnknownGenericType),