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)
1662ThrowCompilerException(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1694ThrowCompilerException(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1727ThrowCompilerException(nameof(SR.UnknownClassModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 2262MarkupCompiler.DefinitionNSPrefix, 3407_ctrElemTypeRef = MarkupCompiler.GenerateConstructedTypeReference(_elementType, _typeArgsList, _localElementFullName); 3466MarkupCompiler.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"); 827MarkupCompiler.DefinitionNSPrefix, 834if (_class == MarkupCompiler.DOT) 836int index = xamlDefAttributeNode.Value.LastIndexOf(MarkupCompiler.DOTCHAR); 838MarkupCompiler.DefinitionNSPrefix, 850if (_classModifier == MarkupCompiler.DOT) 853MarkupCompiler.DefinitionNSPrefix, 864if (_subClass == MarkupCompiler.DOT) 866int index = xamlDefAttributeNode.Value.LastIndexOf(MarkupCompiler.DOTCHAR); 868MarkupCompiler.DefinitionNSPrefix, 922private 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());