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