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