43 instantiations of BuildExceptionCode
Microsoft.Maui.Controls.Build.Tasks (43)
BuildException.cs (43)
49 public static BuildExceptionCode TypeResolution = new BuildExceptionCode("XC", 0000, nameof(TypeResolution), ""); 50 public static BuildExceptionCode PropertyResolution = new BuildExceptionCode("XC", 0001, nameof(PropertyResolution), ""); 51 public static BuildExceptionCode MissingEventHandler = new BuildExceptionCode("XC", 0002, nameof(MissingEventHandler), ""); 52 public static BuildExceptionCode PropertyMissing = new BuildExceptionCode("XC", 0003, nameof(PropertyMissing), ""); 53 public static BuildExceptionCode ConstructorDefaultMissing = new BuildExceptionCode("XC", 0004, nameof(ConstructorDefaultMissing), ""); 54 public static BuildExceptionCode ConstructorXArgsMissing = new BuildExceptionCode("XC", 0005, nameof(ConstructorXArgsMissing), ""); 55 public static BuildExceptionCode MethodStaticMissing = new BuildExceptionCode("XC", 0006, nameof(MethodStaticMissing), ""); 56 public static BuildExceptionCode EnumValueMissing = new BuildExceptionCode("XC", 0007, nameof(EnumValueMissing), ""); 57 public static BuildExceptionCode AdderMissing = new BuildExceptionCode("XC", 0008, nameof(AdderMissing), ""); 58 public static BuildExceptionCode MemberResolution = new BuildExceptionCode("XC", 0009, nameof(MemberResolution), ""); 61 public static BuildExceptionCode BPName = new BuildExceptionCode("XC", 0020, nameof(BPName), ""); 62 public static BuildExceptionCode BPMissingGetter = new BuildExceptionCode("XC", 0021, nameof(BPMissingGetter), ""); 63 public static BuildExceptionCode BindingWithoutDataType = new BuildExceptionCode("XC", 0022, nameof(BindingWithoutDataType), "https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings"); //warning 64 public static BuildExceptionCode BindingWithNullDataType = new BuildExceptionCode("XC", 0023, nameof(BindingWithNullDataType), "https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings"); //warning 65 public static BuildExceptionCode BindingWithXDataTypeFromOuterScope = new BuildExceptionCode("XC", 0024, nameof(BindingWithXDataTypeFromOuterScope), "https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings"); 66 public static BuildExceptionCode BindingWithSourceCompilationSkipped = new BuildExceptionCode("XC", 0025, nameof(BindingWithSourceCompilationSkipped), "https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings"); //warning 69 public static BuildExceptionCode Conversion = new BuildExceptionCode("XC", 0040, nameof(Conversion), ""); 70 public static BuildExceptionCode BindingIndexerNotClosed = new BuildExceptionCode("XC", 0041, nameof(BindingIndexerNotClosed), ""); 71 public static BuildExceptionCode BindingIndexerEmpty = new BuildExceptionCode("XC", 0042, nameof(BindingIndexerEmpty), ""); 72 public static BuildExceptionCode BindingIndexerTypeUnsupported = new BuildExceptionCode("XC", 0043, nameof(BindingIndexerTypeUnsupported), ""); 73 public static BuildExceptionCode BindingIndexerParse = new BuildExceptionCode("XC", 0044, nameof(BindingIndexerParse), ""); 74 public static BuildExceptionCode BindingPropertyNotFound = new BuildExceptionCode("XC", 0045, nameof(BindingPropertyNotFound), ""); 77 public static BuildExceptionCode MarkupNotClosed = new BuildExceptionCode("XC", 0060, nameof(MarkupNotClosed), ""); 78 public static BuildExceptionCode MarkupParsingFailed = new BuildExceptionCode("XC", 0061, nameof(MarkupParsingFailed), ""); 79 public static BuildExceptionCode XmlnsUndeclared = new BuildExceptionCode("XC", 0062, nameof(XmlnsUndeclared), ""); 80 public static BuildExceptionCode SByteEnums = new BuildExceptionCode("XC", 0063, nameof(SByteEnums), ""); 81 public static BuildExceptionCode NamescopeDuplicate = new BuildExceptionCode("XC", 0064, nameof(NamescopeDuplicate), ""); 82 public static BuildExceptionCode ContentPropertyAttributeMissing = new BuildExceptionCode("XC", 0065, nameof(ContentPropertyAttributeMissing), ""); 83 public static BuildExceptionCode InvalidXaml = new BuildExceptionCode("XC", 0066, nameof(InvalidXaml), ""); 87 public static BuildExceptionCode XStaticSyntax = new BuildExceptionCode("XC", 0100, nameof(XStaticSyntax), ""); 88 public static BuildExceptionCode XStaticResolution = new BuildExceptionCode("XC", 0101, nameof(XStaticResolution), ""); 89 public static BuildExceptionCode XDataTypeSyntax = new BuildExceptionCode("XC", 0102, nameof(XDataTypeSyntax), ""); 90 public static BuildExceptionCode UnattributedMarkupType = new BuildExceptionCode("XC", 0103, nameof(UnattributedMarkupType), ""); //warning 93 public static BuildExceptionCode StyleSheetSourceOrContent = new BuildExceptionCode("XC", 0120, nameof(StyleSheetSourceOrContent), ""); 94 public static BuildExceptionCode StyleSheetNoSourceOrContent = new BuildExceptionCode("XC", 0121, nameof(StyleSheetNoSourceOrContent), ""); 95 public static BuildExceptionCode StyleSheetStyleNotALiteral = new BuildExceptionCode("XC", 0122, nameof(StyleSheetStyleNotALiteral), ""); 96 public static BuildExceptionCode StyleSheetSourceNotALiteral = new BuildExceptionCode("XC", 0123, nameof(StyleSheetSourceNotALiteral), ""); 97 public static BuildExceptionCode ResourceMissing = new BuildExceptionCode("XC", 0124, nameof(ResourceMissing), ""); 98 public static BuildExceptionCode ResourceDictDuplicateKey = new BuildExceptionCode("XC", 0125, nameof(ResourceDictDuplicateKey), ""); 99 public static BuildExceptionCode ResourceDictMissingKey = new BuildExceptionCode("XC", 0126, nameof(ResourceDictMissingKey), ""); 100 public static BuildExceptionCode XKeyNotLiteral = new BuildExceptionCode("XC", 0127, nameof(XKeyNotLiteral), ""); 101 public static BuildExceptionCode StaticResourceSyntax = new BuildExceptionCode("XC", 0128, nameof(StaticResourceSyntax), ""); 104 public static BuildExceptionCode ObsoleteProperty = new BuildExceptionCode("XC", 0618, nameof(ObsoleteProperty), ""); //warning
120 references to BuildExceptionCode
Microsoft.Maui.Controls.Build.Tasks (120)
BindablePropertyReferenceExtensions.cs (2)
15 throw new BuildException(BuildExceptionCode.BPName, iXmlLineInfo, null, bpRef.Name); 28 throw new BuildException(BuildExceptionCode.BPName, iXmlLineInfo, null, bpName, bpRef.DeclaringType);
BuildException.cs (46)
10 public BuildExceptionCode Code { get; private set; } 18 public BuildException(BuildExceptionCode code, IXmlLineInfo xmlInfo, Exception innerException, params object[] args) 31 static string FormatMessage(BuildExceptionCode code, IXmlLineInfo xmlinfo, object[] args) 49 public static BuildExceptionCode TypeResolution = new BuildExceptionCode("XC", 0000, nameof(TypeResolution), ""); 50 public static BuildExceptionCode PropertyResolution = new BuildExceptionCode("XC", 0001, nameof(PropertyResolution), ""); 51 public static BuildExceptionCode MissingEventHandler = new BuildExceptionCode("XC", 0002, nameof(MissingEventHandler), ""); 52 public static BuildExceptionCode PropertyMissing = new BuildExceptionCode("XC", 0003, nameof(PropertyMissing), ""); 53 public static BuildExceptionCode ConstructorDefaultMissing = new BuildExceptionCode("XC", 0004, nameof(ConstructorDefaultMissing), ""); 54 public static BuildExceptionCode ConstructorXArgsMissing = new BuildExceptionCode("XC", 0005, nameof(ConstructorXArgsMissing), ""); 55 public static BuildExceptionCode MethodStaticMissing = new BuildExceptionCode("XC", 0006, nameof(MethodStaticMissing), ""); 56 public static BuildExceptionCode EnumValueMissing = new BuildExceptionCode("XC", 0007, nameof(EnumValueMissing), ""); 57 public static BuildExceptionCode AdderMissing = new BuildExceptionCode("XC", 0008, nameof(AdderMissing), ""); 58 public static BuildExceptionCode MemberResolution = new BuildExceptionCode("XC", 0009, nameof(MemberResolution), ""); 61 public static BuildExceptionCode BPName = new BuildExceptionCode("XC", 0020, nameof(BPName), ""); 62 public static BuildExceptionCode BPMissingGetter = new BuildExceptionCode("XC", 0021, nameof(BPMissingGetter), ""); 63 public static BuildExceptionCode BindingWithoutDataType = new BuildExceptionCode("XC", 0022, nameof(BindingWithoutDataType), "https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings"); //warning 64 public static BuildExceptionCode BindingWithNullDataType = new BuildExceptionCode("XC", 0023, nameof(BindingWithNullDataType), "https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings"); //warning 65 public static BuildExceptionCode BindingWithXDataTypeFromOuterScope = new BuildExceptionCode("XC", 0024, nameof(BindingWithXDataTypeFromOuterScope), "https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings"); 66 public static BuildExceptionCode BindingWithSourceCompilationSkipped = new BuildExceptionCode("XC", 0025, nameof(BindingWithSourceCompilationSkipped), "https://learn.microsoft.com/dotnet/maui/fundamentals/data-binding/compiled-bindings"); //warning 69 public static BuildExceptionCode Conversion = new BuildExceptionCode("XC", 0040, nameof(Conversion), ""); 70 public static BuildExceptionCode BindingIndexerNotClosed = new BuildExceptionCode("XC", 0041, nameof(BindingIndexerNotClosed), ""); 71 public static BuildExceptionCode BindingIndexerEmpty = new BuildExceptionCode("XC", 0042, nameof(BindingIndexerEmpty), ""); 72 public static BuildExceptionCode BindingIndexerTypeUnsupported = new BuildExceptionCode("XC", 0043, nameof(BindingIndexerTypeUnsupported), ""); 73 public static BuildExceptionCode BindingIndexerParse = new BuildExceptionCode("XC", 0044, nameof(BindingIndexerParse), ""); 74 public static BuildExceptionCode BindingPropertyNotFound = new BuildExceptionCode("XC", 0045, nameof(BindingPropertyNotFound), ""); 77 public static BuildExceptionCode MarkupNotClosed = new BuildExceptionCode("XC", 0060, nameof(MarkupNotClosed), ""); 78 public static BuildExceptionCode MarkupParsingFailed = new BuildExceptionCode("XC", 0061, nameof(MarkupParsingFailed), ""); 79 public static BuildExceptionCode XmlnsUndeclared = new BuildExceptionCode("XC", 0062, nameof(XmlnsUndeclared), ""); 80 public static BuildExceptionCode SByteEnums = new BuildExceptionCode("XC", 0063, nameof(SByteEnums), ""); 81 public static BuildExceptionCode NamescopeDuplicate = new BuildExceptionCode("XC", 0064, nameof(NamescopeDuplicate), ""); 82 public static BuildExceptionCode ContentPropertyAttributeMissing = new BuildExceptionCode("XC", 0065, nameof(ContentPropertyAttributeMissing), ""); 83 public static BuildExceptionCode InvalidXaml = new BuildExceptionCode("XC", 0066, nameof(InvalidXaml), ""); 87 public static BuildExceptionCode XStaticSyntax = new BuildExceptionCode("XC", 0100, nameof(XStaticSyntax), ""); 88 public static BuildExceptionCode XStaticResolution = new BuildExceptionCode("XC", 0101, nameof(XStaticResolution), ""); 89 public static BuildExceptionCode XDataTypeSyntax = new BuildExceptionCode("XC", 0102, nameof(XDataTypeSyntax), ""); 90 public static BuildExceptionCode UnattributedMarkupType = new BuildExceptionCode("XC", 0103, nameof(UnattributedMarkupType), ""); //warning 93 public static BuildExceptionCode StyleSheetSourceOrContent = new BuildExceptionCode("XC", 0120, nameof(StyleSheetSourceOrContent), ""); 94 public static BuildExceptionCode StyleSheetNoSourceOrContent = new BuildExceptionCode("XC", 0121, nameof(StyleSheetNoSourceOrContent), ""); 95 public static BuildExceptionCode StyleSheetStyleNotALiteral = new BuildExceptionCode("XC", 0122, nameof(StyleSheetStyleNotALiteral), ""); 96 public static BuildExceptionCode StyleSheetSourceNotALiteral = new BuildExceptionCode("XC", 0123, nameof(StyleSheetSourceNotALiteral), ""); 97 public static BuildExceptionCode ResourceMissing = new BuildExceptionCode("XC", 0124, nameof(ResourceMissing), ""); 98 public static BuildExceptionCode ResourceDictDuplicateKey = new BuildExceptionCode("XC", 0125, nameof(ResourceDictDuplicateKey), ""); 99 public static BuildExceptionCode ResourceDictMissingKey = new BuildExceptionCode("XC", 0126, nameof(ResourceDictMissingKey), ""); 100 public static BuildExceptionCode XKeyNotLiteral = new BuildExceptionCode("XC", 0127, nameof(XKeyNotLiteral), ""); 101 public static BuildExceptionCode StaticResourceSyntax = new BuildExceptionCode("XC", 0128, nameof(StaticResourceSyntax), ""); 104 public static BuildExceptionCode ObsoleteProperty = new BuildExceptionCode("XC", 0618, nameof(ObsoleteProperty), ""); //warning
CompiledConverters\BindablePropertyConverter.cs (1)
9using static Microsoft.Maui.Controls.Build.Tasks.BuildExceptionCode;
CompiledConverters\BoundsTypeConverter.cs (3)
19 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Rect)); 26 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Rect)); 54 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Rect));
CompiledConverters\BrushTypeConverter.cs (1)
43 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Brush));
CompiledConverters\ColorTypeConverter.cs (1)
75 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Color));
CompiledConverters\ColumnDefinitionCollectionTypeConverter.cs (1)
41 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(ColumnDefinitionCollection));
CompiledConverters\ConstraintTypeConverter.cs (1)
20 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Compatibility.Constraint));
CompiledConverters\CornerRadiusTypeConverter.cs (1)
36 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(CornerRadius));
CompiledConverters\EasingTypeConverter.cs (1)
36 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Easing));
CompiledConverters\EnumTypeConverter.cs (1)
22 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(TEnum));
CompiledConverters\FlexBasisTypeConverter.cs (1)
47 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(FlexBasis));
CompiledConverters\FontSizeTypeConverter.cs (1)
61 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(double));
CompiledConverters\GridLengthTypeConverter.cs (1)
52 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(GridLength));
CompiledConverters\ImageSourceTypeConverter.cs (1)
36 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(ImageSource));
CompiledConverters\LayoutOptionsConverter.cs (1)
40 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(LayoutOptions));
CompiledConverters\PointTypeConverter.cs (1)
23 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Point));
CompiledConverters\RDSourceTypeConverter.cs (3)
39 throw new BuildException(BuildExceptionCode.ResourceMissing, node, null, value); 68 throw new BuildException(BuildExceptionCode.ResourceMissing, node, null, value); 103 throw new BuildException(BuildExceptionCode.ConstructorDefaultMissing, node, null, resourceType);
CompiledConverters\RectangleTypeConverter.cs (2)
19 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Rect)); 27 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Rect));
CompiledConverters\RowDefinitionCollectionTypeConverter.cs (1)
43 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(RowDefinitionCollection));
CompiledConverters\StrokeShapeTypeConverter.cs (1)
194 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(IShape));
CompiledConverters\ThicknessTypeConverter.cs (1)
41 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Thickness));
CompiledConverters\TypeTypeConverter.cs (1)
44 throw new BuildException(BuildExceptionCode.Conversion, node, null, value, typeof(Type));
CompiledMarkupExtensions\DataTemplateExtension.cs (2)
23 throw new BuildException(BuildExceptionCode.PropertyMissing, node as IXmlLineInfo, null, "TypeName", typeof(Microsoft.Maui.Controls.Xaml.DataTemplateExtension)); 26 ?? throw new BuildException(BuildExceptionCode.TypeResolution, node as IXmlLineInfo, null, valueNode.Value);
CompiledMarkupExtensions\StaticExtension.cs (2)
21 throw new BuildException(BuildExceptionCode.XStaticSyntax, node as IXmlLineInfo, null); 32 throw new BuildException(BuildExceptionCode.XStaticResolution, node as IXmlLineInfo, null, membername, typename);
CompiledMarkupExtensions\StaticResourceExtension.cs (1)
24 throw new BuildException(BuildExceptionCode.StaticResourceSyntax, eNode as IXmlLineInfo, null, null);
CompiledMarkupExtensions\TypeExtension.cs (2)
23 throw new BuildException(BuildExceptionCode.PropertyMissing, node as IXmlLineInfo, null, "TypeName", typeof(Microsoft.Maui.Controls.Xaml.TypeExtension)); 33 context.TypeExtensions[node] = typeref ?? throw new BuildException(BuildExceptionCode.TypeResolution, node as IXmlLineInfo, null, valueNode.Value);
CompiledValueProviders\StyleSheetProvider.cs (4)
28 throw new BuildException(BuildExceptionCode.StyleSheetSourceOrContent, node, null); 31 throw new BuildException(BuildExceptionCode.StyleSheetNoSourceOrContent, node, null); 34 throw new BuildException(BuildExceptionCode.StyleSheetStyleNotALiteral, node, null); 37 throw new BuildException(BuildExceptionCode.StyleSheetSourceNotALiteral, node, null);
CreateObjectVisitor.cs (4)
138 ctorInfo = factoryCtorInfo ?? throw new BuildException(BuildExceptionCode.ConstructorXArgsMissing, node, null, typedef.FullName); 150 throw new BuildException(BuildExceptionCode.MethodStaticMissing, node, null, typedef.FullName, factoryMethod, null); 176 throw new BuildException(BuildExceptionCode.PropertyMissing, node, null, missingCtorParameter, typedef.FullName); 192 throw new BuildException(BuildExceptionCode.ConstructorDefaultMissing, node, null, typedef.FullName);
ExpandMarkupsVisitor.cs (5)
90 throw new BuildException(BuildExceptionCode.MarkupNotClosed, xmlLineInfo, null); 93 throw new BuildException(BuildExceptionCode.MarkupParsingFailed, xmlLineInfo, null); 96 throw new BuildException(BuildExceptionCode.MarkupNotClosed, xmlLineInfo, null); 136 throw new BuildException(BuildExceptionCode.XmlnsUndeclared, xmlLineInfo, null, prefix); 157 throw new BuildException(BuildExceptionCode.MarkupParsingFailed, xmlLineInfo, xpe);
NodeILExtensions.cs (4)
144 throw new BuildException(BuildExceptionCode.Conversion, lineInfo, fex, str, typeof(T)); 381 throw new BuildException(BuildExceptionCode.SByteEnums, lineInfo, null); 409 throw new BuildException(BuildExceptionCode.EnumValueMissing, lineInfo, null, value); 430 throw new BuildException(BuildExceptionCode.EnumValueMissing, lineInfo, null, value);
SetNamescopesAndRegisterNamesVisitor.cs (1)
155 throw new BuildException(BuildExceptionCode.NamescopeDuplicate, node as IXmlLineInfo, null, str);
SetPropertiesVisitor.cs (18)
10using static Microsoft.Maui.Controls.Build.Tasks.BuildExceptionCode; 170 throw new BuildException(BuildExceptionCode.ContentPropertyAttributeMissing, node, null, ((IElementNode)parentNode).XmlType.Name); 198 throw new BuildException(BuildExceptionCode.AdderMissing, node, null, parent.VariableType, localname); 291 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.UnattributedMarkupType, context.XamlFilePath, node.LineNumber, node.LinePosition, 0, 0, vardefref.VariableDefinition.VariableType); 319 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.BindingWithSourceCompilationSkipped, context.XamlFilePath, node.LineNumber, node.LinePosition, 0, 0, null); 346 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.UnattributedMarkupType, context.XamlFilePath, node.LineNumber, node.LinePosition, 0, 0, vardefref.VariableDefinition.VariableType); 389 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.UnattributedMarkupType, context.XamlFilePath, node.LineNumber, node.LinePosition, 0, 0, vardefref.VariableDefinition.VariableType); 478 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.BindingWithoutDataType, context.XamlFilePath, node.LineNumber, node.LinePosition, 0, 0, null); 485 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.BindingWithXDataTypeFromOuterScope, context.XamlFilePath, node.LineNumber, node.LinePosition, 0, 0, null); 493 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.BindingWithNullDataType, context.XamlFilePath, node.LineNumber, node.LinePosition, 0, 0, null); 625 throw new BuildException(BuildExceptionCode.BindingIndexerNotClosed, lineInfo, null); 629 throw new BuildException(BuildExceptionCode.BindingIndexerEmpty, lineInfo, null); 633 throw new BuildException(BuildExceptionCode.BindingIndexerEmpty, lineInfo, null); 644 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.BindingPropertyNotFound, context.XamlFilePath, lineInfo.LineNumber, lineInfo.LinePosition, 0, 0, p, previousPartTypeRef); 679 throw new BuildException(BuildExceptionCode.BindingIndexerTypeUnsupported, lineInfo, null, indexType.FullName); 1174 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.ObsoleteProperty, context.XamlFilePath, iXmlLineInfo.LineNumber, iXmlLineInfo.LinePosition, 0, 0, localName); 1541 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.ObsoleteProperty, context.XamlFilePath, iXmlLineInfo.LineNumber, iXmlLineInfo.LinePosition, 0, 0, localName); 1546 context.LoggingHelper.LogWarningOrError(BuildExceptionCode.ObsoleteProperty, context.XamlFilePath, iXmlLineInfo.LineNumber, iXmlLineInfo.LinePosition, 0, 0, localName);
XamlCTask.cs (1)
90 public static void LogWarningOrError(this TaskLoggingHelper loggingHelper, BuildExceptionCode code, string xamlFilePath, int lineNumber, int linePosition, int endLineNumber, int endLinePosition, params object[] messageArgs)
XmlTypeExtensions.cs (2)
62 throw new BuildException(BuildExceptionCode.InvalidXaml, node as IXmlLineInfo, null, typeName); 97 throw new BuildException(BuildExceptionCode.TypeResolution, xmlInfo, null, $"{xmlType.NamespaceUri}:{xmlType.Name}");