1 instantiation of MarkupCompiler
PresentationBuildTasks (1)
MS\Internal\Tasks\CompilerWrapper.cs (1)
38_mc = new MarkupCompiler();
47 references to MarkupCompiler
PresentationBuildTasks (47)
MS\Internal\Localization\LocalizationParserHooks.cs (2)
18private MarkupCompiler _compiler; 25MarkupCompiler compiler ,
MS\Internal\MarkupCompiler\MarkupCompiler.cs (6)
1672ThrowCompilerException(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1704ThrowCompilerException(nameof(SR.UnknownFieldModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 1737ThrowCompilerException(nameof(SR.UnknownClassModifier), MarkupCompiler.DefinitionNSPrefix, modifier, _language); 2273MarkupCompiler.DefinitionNSPrefix, 3372_ctrElemTypeRef = MarkupCompiler.GenerateConstructedTypeReference(_elementType, _typeArgsList, _localElementFullName); 3429MarkupCompiler.GenerateXmlComments(_initializeComponentFn, INITIALIZE_COMPONENT);
MS\Internal\MarkupCompiler\ParserExtension.cs (35)
32internal ParserExtension(MarkupCompiler compiler, 142MarkupCompiler.DefinitionNSPrefix, 191ns += MarkupCompiler.DOT; 199int lastIndex = xamlUnknownTagStartNode.Value.LastIndexOf(MarkupCompiler.DOTCHAR); 223int lastIndex = xamlUnknownTagEndNode.LocalName.LastIndexOf(MarkupCompiler.DOTCHAR); 259int lastIndex = localAttribName.LastIndexOf(MarkupCompiler.DOTCHAR); 274localTagFullName = namespaceMaps[0].ClrNamespace + MarkupCompiler.DOT + ownerTagName; 291miKnownEvent = ownerTagType.GetMethod(MarkupCompiler.ADD + localAttribName + MarkupCompiler.HANDLER, 307_events.Add(new MarkupCompiler.MarkupEventInfo(xamlUnknownAttributeNode.Value, 321localTagFullName = namespaceMaps[0].ClrNamespace + MarkupCompiler.DOT + ownerTagName; 404MarkupCompiler.ThrowCompilerException(nameof(SR.DefinitionTagNotAllowedAtRoot), 433MarkupCompiler.DefinitionNSPrefix = xmlReader.Prefix; 441_class = MarkupCompiler.DOT; 463MarkupCompiler.ThrowCompilerException(nameof(SR.UnknownGenericType), 464MarkupCompiler.DefinitionNSPrefix, 476_subClass = MarkupCompiler.DOT; 491_classModifier = MarkupCompiler.DOT; 520if ((!localName.Equals(MarkupCompiler.CODETAG) && 521!localName.Equals($"{MarkupCompiler.CODETAG}Extension")) || 582_events.Add(new MarkupCompiler.MarkupEventInfo(xamlClrEventNode.Value, 598MarkupCompiler.MarkupEventInfo mei = new MarkupCompiler.MarkupEventInfo(xamlClrEventNode.Value, 657MarkupCompiler.DefinitionNSPrefix, 667MarkupCompiler.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)
183get { return MarkupCompiler.HasInternals; } 370int fileExtIndex = newRelativeFilePath.LastIndexOf(MarkupCompiler.DOTCHAR); 433private 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());