File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
modules/openapi-generator/src/main/resources/csharp/libraries/generichost Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 311311 if (input == null)
312312 return false;
313313
314- return { {#parent} }base.Equals(input) && { {/parent} }{ {#readOnlyVars } }{ {^isInherited} }{ {^isContainer} }
314+ return { {#parent} }base.Equals(input) && { {/parent} }{ {#allVars } }{ {^isInherited} }{ {^isContainer} }
315315 (
316316 { {name} } == input.{ {name} } ||
317317 { {^vendorExtensions.x-is-value-type} }
327327 { {^vendorExtensions.x-is-value-type} }{ {name} } != null &&
328328 input.{ {name} } != null &&
329329 { {/vendorExtensions.x-is-value-type} }{ {name} }.SequenceEqual(input.{ {name} })
330- ){ {^-last} } && { {/-last} }{ {/isContainer} }{ {/isInherited} }{ {/readOnlyVars } }{ {^readOnlyVars } }{ {#parent} }base.Equals(input){ {/parent} }{ {^parent} }false{ {/parent} }{ {/readOnlyVars } }{ {^isAdditionalPropertiesTrue} };{ {/isAdditionalPropertiesTrue} }
330+ ){ {^-last} } && { {/-last} }{ {/isContainer} }{ {/isInherited} }{ {/allVars } }{ {^allVars } }{ {#parent} }base.Equals(input){ {/parent} }{ {^parent} }false{ {/parent} }{ {/allVars } }{ {^isAdditionalPropertiesTrue} };{ {/isAdditionalPropertiesTrue} }
331331 { {#isAdditionalPropertiesTrue} }
332332 { {^parentModel} }
333333 && (AdditionalProperties.Count == input.AdditionalProperties.Count && !AdditionalProperties.Except(input.AdditionalProperties).Any());
350350 { {^parent} }
351351 int hashCode = 41;
352352 { {/parent} }
353- { {#readOnlyVars } }
353+ { {#allVars } }
354354 { {#required} }
355355 { {^isNullable} }
356356 hashCode = (hashCode * 59) + { {name} }.GetHashCode();
357357 { {/isNullable} }
358358 { {/required} }
359- { {/readOnlyVars } }
360- { {#readOnlyVars } }
359+ { {/allVars } }
360+ { {#allVars } }
361361 { {#lambda.copy} }
362362 if ({ {name} } != null)
363363 hashCode = (hashCode * 59) + { {name} }.GetHashCode();
371371 { {#lambda.pasteOnce} }
372372 { {/lambda.pasteOnce} }
373373 { {/required} }
374- { {/readOnlyVars } }
374+ { {/allVars } }
375375 { {#isAdditionalPropertiesTrue} }
376376 { {^parentModel} }
377377 hashCode = (hashCode * 59) + AdditionalProperties.GetHashCode();
You can’t perform that action at this time.
0 commit comments