Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions source/fundamentals/serialization/polymorphic-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,6 @@ you must explicitly list each class you're looking for:
item.GetType() == typeof(Lion) ||
item.GetType() == typeof(Tiger));

.. note:: OfType<T>() and the is Operator

When checking the type of a scalar discriminator, use the ``Where`` syntax shown in
the preceding code example. If you try to use the ``Aggregate().OfType<T>()`` method,
or if you pass an expression containing the ``is`` operator to the
``Aggregate().Match()`` method, the driver throws an exception.

.. _csharp-discriminator-hierarchical:

HierarchicalDiscriminatorConvention
Expand Down
Loading