diff --git a/Directory.Packages.props b/Directory.Packages.props index 739f6ef43..b1cf3050e 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -49,7 +49,7 @@ - + diff --git a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryTypeConverter.cs b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryTypeConverter.cs index 16192a994..30c788826 100644 --- a/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryTypeConverter.cs +++ b/src/Microsoft.ComponentDetection.Detectors/yarn/Contracts/YarnBerryTypeConverter.cs @@ -15,7 +15,7 @@ public class YarnBerryTypeConverter : IYamlTypeConverter public bool Accepts(Type type) => type == typeof(YarnBerryLockfile); /// - public object ReadYaml(IParser parser, Type type) + public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeserializer) { var metadata = new YarnBerryLockfileMetadata(); var entries = new Dictionary(); @@ -51,5 +51,5 @@ public object ReadYaml(IParser parser, Type type) } /// - public void WriteYaml(IEmitter emitter, object value, Type type) => throw new NotImplementedException(); + public void WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer) => throw new NotImplementedException(); }