1 instantiation of MarkupCompiler
PresentationBuildTasks (1)
MS\Internal\Tasks\CompilerWrapper.cs (1)
42_mc = new MarkupCompiler();
47 references to MarkupCompiler
PresentationBuildTasks (47)
MS\Internal\Localization\LocalizationParserHooks.cs (2)
19private MarkupCompiler _compiler; 26MarkupCompiler compiler ,
MS\Internal\MarkupCompiler\MarkupCompiler.cs (6)
1676ThrowCompilerException(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1708ThrowCompilerException(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1741ThrowCompilerException(nameof(SR.UnknownClassModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 2277MarkupCompiler.DefinitionNSPrefix, 3376_ctrElemTypeRef = MarkupCompiler.GenerateConstructedTypeReference(_elementType, _typeArgsList, _localElementFullName); 3433MarkupCompiler.GenerateXmlComments(_initializeComponentFn, INITIALIZE_COMPONENT);
MS\Internal\MarkupCompiler\ParserExtension.cs (35)
34internal ParserExtension(MarkupCompiler compiler, 144MarkupCompiler.DefinitionNSPrefix, 193ns += MarkupCompiler.DOT; 201int lastIndex = xamlUnknownTagStartNode.Value.LastIndexOf(MarkupCompiler.DOTCHAR); 225int lastIndex = xamlUnknownTagEndNode.LocalName.LastIndexOf(MarkupCompiler.DOTCHAR); 261int lastIndex = localAttribName.LastIndexOf(MarkupCompiler.DOTCHAR); 276localTagFullName = namespaceMaps[0].ClrNamespace + MarkupCompiler.DOT + ownerTagName; 293miKnownEvent = ownerTagType.GetMethod(MarkupCompiler.ADD + localAttribName + MarkupCompiler.HANDLER, 309_events.Add(new MarkupCompiler.MarkupEventInfo(xamlUnknownAttributeNode.Value, 323localTagFullName = namespaceMaps[0].ClrNamespace + MarkupCompiler.DOT + ownerTagName; 406MarkupCompiler.ThrowCompilerException(nameof(SR.DefinitionTagNotAllowedAtRoot), 435MarkupCompiler.DefinitionNSPrefix = xmlReader.Prefix; 443_class = MarkupCompiler.DOT; 465MarkupCompiler.ThrowCompilerException(nameof(SR.UnknownGenericType), 466MarkupCompiler.DefinitionNSPrefix, 478_subClass = MarkupCompiler.DOT; 493_classModifier = MarkupCompiler.DOT; 522if ((!localName.Equals(MarkupCompiler.CODETAG) && 523!localName.Equals($"{MarkupCompiler.CODETAG}Extension")) || 584_events.Add(new MarkupCompiler.MarkupEventInfo(xamlClrEventNode.Value, 600MarkupCompiler.MarkupEventInfo mei = new MarkupCompiler.MarkupEventInfo(xamlClrEventNode.Value, 659MarkupCompiler.DefinitionNSPrefix, 669MarkupCompiler.GenerateXmlComments(_nameField, $"{_nameField.Name} Name Field"); 833MarkupCompiler.DefinitionNSPrefix, 840if (_class == MarkupCompiler.DOT) 842int index = xamlDefAttributeNode.Value.LastIndexOf(MarkupCompiler.DOTCHAR); 844MarkupCompiler.DefinitionNSPrefix, 856if (_classModifier == MarkupCompiler.DOT) 859MarkupCompiler.DefinitionNSPrefix, 870if (_subClass == MarkupCompiler.DOT) 872int index = xamlDefAttributeNode.Value.LastIndexOf(MarkupCompiler.DOTCHAR); 874MarkupCompiler.DefinitionNSPrefix, 928private MarkupCompiler _compiler;
MS\Internal\Tasks\CompilerWrapper.cs (3)
187get { return MarkupCompiler.HasInternals; } 374int fileExtIndex = newRelativeFilePath.LastIndexOf(MarkupCompiler.DOTCHAR); 437private MarkupCompiler _mc;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\KnownTypes.cs (1)
5544MarkupCompiler.ThrowCompilerException(nameof(SR.ParserInvalidKnownType), ((int)knownElement).ToString(CultureInfo.InvariantCulture), knownElement.ToString());