1 instantiation of MarkupCompiler
PresentationBuildTasks (1)
MS\Internal\Tasks\CompilerWrapper.cs (1)
37_mc = new MarkupCompiler();
47 references to MarkupCompiler
PresentationBuildTasks (47)
MS\Internal\Localization\LocalizationParserHooks.cs (2)
17private MarkupCompiler _compiler; 24MarkupCompiler compiler ,
MS\Internal\MarkupCompiler\MarkupCompiler.cs (6)
1675ThrowCompilerException(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1707ThrowCompilerException(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1740ThrowCompilerException(nameof(SR.UnknownClassModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 2275MarkupCompiler.DefinitionNSPrefix, 3420_ctrElemTypeRef = MarkupCompiler.GenerateConstructedTypeReference(_elementType, _typeArgsList, _localElementFullName); 3479MarkupCompiler.GenerateXmlComments(_initializeComponentFn, INITIALIZE_COMPONENT);
MS\Internal\MarkupCompiler\ParserExtension.cs (35)
31internal ParserExtension(MarkupCompiler compiler, 141MarkupCompiler.DefinitionNSPrefix, 190ns += MarkupCompiler.DOT; 198int lastIndex = xamlUnknownTagStartNode.Value.LastIndexOf(MarkupCompiler.DOTCHAR); 222int lastIndex = xamlUnknownTagEndNode.LocalName.LastIndexOf(MarkupCompiler.DOTCHAR); 258int lastIndex = localAttribName.LastIndexOf(MarkupCompiler.DOTCHAR); 273localTagFullName = namespaceMaps[0].ClrNamespace + MarkupCompiler.DOT + ownerTagName; 290miKnownEvent = ownerTagType.GetMethod(MarkupCompiler.ADD + localAttribName + MarkupCompiler.HANDLER, 306_events.Add(new MarkupCompiler.MarkupEventInfo(xamlUnknownAttributeNode.Value, 320localTagFullName = namespaceMaps[0].ClrNamespace + MarkupCompiler.DOT + ownerTagName; 403MarkupCompiler.ThrowCompilerException(nameof(SR.DefinitionTagNotAllowedAtRoot), 432MarkupCompiler.DefinitionNSPrefix = xmlReader.Prefix; 440_class = MarkupCompiler.DOT; 462MarkupCompiler.ThrowCompilerException(nameof(SR.UnknownGenericType), 463MarkupCompiler.DefinitionNSPrefix, 475_subClass = MarkupCompiler.DOT; 490_classModifier = MarkupCompiler.DOT; 519if ((!localName.Equals(MarkupCompiler.CODETAG) && 520!localName.Equals($"{MarkupCompiler.CODETAG}Extension")) || 581_events.Add(new MarkupCompiler.MarkupEventInfo(xamlClrEventNode.Value, 597MarkupCompiler.MarkupEventInfo mei = new MarkupCompiler.MarkupEventInfo(xamlClrEventNode.Value, 656MarkupCompiler.DefinitionNSPrefix, 666MarkupCompiler.GenerateXmlComments(_nameField, $"{_nameField.Name} Name Field"); 831MarkupCompiler.DefinitionNSPrefix, 838if (_class == MarkupCompiler.DOT) 840int index = xamlDefAttributeNode.Value.LastIndexOf(MarkupCompiler.DOTCHAR); 842MarkupCompiler.DefinitionNSPrefix, 854if (_classModifier == MarkupCompiler.DOT) 857MarkupCompiler.DefinitionNSPrefix, 868if (_subClass == MarkupCompiler.DOT) 870int index = xamlDefAttributeNode.Value.LastIndexOf(MarkupCompiler.DOTCHAR); 872MarkupCompiler.DefinitionNSPrefix, 926private MarkupCompiler _compiler;
MS\Internal\Tasks\CompilerWrapper.cs (3)
182get { return MarkupCompiler.HasInternals; } 369int fileExtIndex = newRelativeFilePath.LastIndexOf(MarkupCompiler.DOTCHAR); 432private MarkupCompiler _mc;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\KnownTypes.cs (1)
5537MarkupCompiler.ThrowCompilerException(nameof(SR.ParserInvalidKnownType), ((int)knownElement).ToString(CultureInfo.InvariantCulture), knownElement.ToString());