17 references to XamlSchemaException
System.Xaml (16)
System\Xaml\MS\Impl\XmlNsInfo.cs (6)
198
throw new
XamlSchemaException
(SR.Format(SR.BadXmlnsDefinition, assembly.FullName));
283
throw new
XamlSchemaException
(SR.Format(SR.BadInternalsVisibleTo1, assembly.FullName));
344
throw new
XamlSchemaException
(SR.Format(SR.BadXmlnsCompat, assembly.FullName));
349
throw new
XamlSchemaException
(SR.Format(SR.DuplicateXmlnsCompat, assembly.FullName, oldns));
396
throw new
XamlSchemaException
(SR.Format(SR.BadXmlnsPrefix, assembly.FullName));
473
throw new
XamlSchemaException
(SR.Format(SR.XmlnsCompatCycle, assembly.FullName, ns));
System\Xaml\Schema\CollectionReflector.cs (2)
91
throw new
XamlSchemaException
(SR.Format(SR.AmbiguousCollectionItemType, type));
99
throw new
XamlSchemaException
(SR.Format(SR.AmbiguousDictionaryItemType, type));
System\Xaml\Schema\Reflector.cs (1)
544
throw new
XamlSchemaException
(SR.Format(SR.UnexpectedConstructorArg,
System\Xaml\Schema\TypeReflector.cs (1)
1098
throw new
XamlSchemaException
(message);
System\Xaml\Schema\XamlTypeInvoker.cs (2)
85
throw new
XamlSchemaException
(SR.Format(SR.NoAddMethodFound, _xamlType, itemType));
119
throw new
XamlSchemaException
(SR.Format(SR.NoAddMethodFound, _xamlType, itemType));
System\Xaml\Schema\XamlValueConverter.cs (1)
81
throw new
XamlSchemaException
(SR.Format(SR.ConverterMustDeriveFromBase,
System\Xaml\XamlSchemaContext.cs (1)
468
throw new
XamlSchemaException
(SR.Format(SR.DuplicateXmlnsCompatAcrossAssemblies,
System\Xaml\XamlType.cs (2)
1711
throw new
XamlSchemaException
(SR.Format(SR.MarkupExtensionWithDuplicateArity, UnderlyingType, typeVector.Length));
1764
throw new
XamlSchemaException
(err);
System.Xaml.Tests (1)
System\Xaml\XamlSchemaExceptionTests.cs (1)
26
var exception = new
XamlSchemaException
("message");