Beispiel #1
0
 /// <summary>
 /// Check if the type for a parameter has been changed, or if any of the
 /// type's properties have been removed or changed.
 /// </summary>
 /// <param name="cmdlet">The cmdlet whose parameter metadata is currently being checked.</param>
 /// <param name="oldParameter">The parameter metadata from the old (serialized) assembly.</param>
 /// <param name="newParameter">The parameter metadata from new assembly</param>
 /// <param name="issueLogger">ReportLogger that will keep track of issues found.</param>
 private void CheckForChangedParameterType(
     CmdletMetadata cmdlet,
     ParameterMetadata oldParameter,
     ParameterMetadata newParameter,
     ReportLogger <BreakingChangeIssue> issueLogger)
 {
     // Recursively look at the properties of each type and their
     // types to see if there are any breaking changes
     _typeMetadataHelper.CheckParameterType(cmdlet, oldParameter, oldParameter.Type, newParameter.Type, issueLogger);
 }