7 references to InvalidObjectTypePassed
System.ServiceModel.Syndication (7)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (1)
44
throw new ArgumentException(SR.Format(SR.
InvalidObjectTypePassed
, nameof(feedTypeToCreate), nameof(SyndicationFeed)), nameof(feedTypeToCreate));
System\ServiceModel\Syndication\Atom10ItemFormatter.cs (1)
28
throw new ArgumentException(SR.Format(SR.
InvalidObjectTypePassed
, nameof(itemTypeToCreate), nameof(SyndicationItem)), nameof(itemTypeToCreate));
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (2)
27
throw new ArgumentException(SR.Format(SR.
InvalidObjectTypePassed
, nameof(inlineDocumentType), nameof(InlineCategoriesDocument)), nameof(inlineDocumentType));
32
throw new ArgumentException(SR.Format(SR.
InvalidObjectTypePassed
, nameof(referencedDocumentType), nameof(ReferencedCategoriesDocument)), nameof(referencedDocumentType));
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (1)
31
throw new ArgumentException(SR.Format(SR.
InvalidObjectTypePassed
, nameof(documentTypeToCreate), nameof(ServiceDocument)), nameof(documentTypeToCreate));
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (1)
37
throw new ArgumentException(SR.Format(SR.
InvalidObjectTypePassed
, nameof(feedTypeToCreate), nameof(SyndicationFeed)), nameof(feedTypeToCreate));
System\ServiceModel\Syndication\Rss20ItemFormatter.cs (1)
29
throw new ArgumentException(SR.Format(SR.
InvalidObjectTypePassed
, nameof(itemTypeToCreate), nameof(SyndicationItem)), nameof(itemTypeToCreate));