Skip to content

Commit

Permalink
Remove invalid assertion (#67482)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriktsarpalis authored Apr 2, 2022
1 parent e95a658 commit f302170
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -617,8 +617,6 @@ internal void InitializePropCache()

if (jsonPropertyInfo.SrcGen_IsExtensionData)
{
// Source generator compile-time type inspection has performed this validation for us.
Debug.Assert(DataExtensionProperty == null);
Debug.Assert(IsValidDataExtensionProperty(jsonPropertyInfo));

DataExtensionProperty = jsonPropertyInfo;
Expand Down

0 comments on commit f302170

Please sign in to comment.