From 586bd91884aff4363ce9fda7a52f2a8ec3d8a13a Mon Sep 17 00:00:00 2001 From: Egil Hansen Date: Tue, 13 Sep 2022 09:45:23 +0000 Subject: [PATCH] fix: align nullability of anglesharp wrapper with anglesharp --- .../Generated/HtmlTableElementWrapper.g.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/AngleSharpWrappers/Generated/HtmlTableElementWrapper.g.cs b/src/AngleSharpWrappers/Generated/HtmlTableElementWrapper.g.cs index f78615367..413ddbcb1 100644 --- a/src/AngleSharpWrappers/Generated/HtmlTableElementWrapper.g.cs +++ b/src/AngleSharpWrappers/Generated/HtmlTableElementWrapper.g.cs @@ -166,7 +166,7 @@ public HtmlTableElementWrapper(IElementFactory elementFactory public UInt32 Border { get => WrappedElement.Border; set => WrappedElement.Border = value;} /// [DebuggerHidden] - public IHtmlTableCaptionElement Caption { get => WrappedElement.Caption; set => WrappedElement.Caption = value;} + public IHtmlTableCaptionElement? Caption { get => WrappedElement.Caption; set => WrappedElement.Caption = value;} /// [DebuggerHidden] public Int32 ChildElementCount { get => WrappedElement.ChildElementCount; } @@ -208,13 +208,13 @@ public HtmlTableElementWrapper(IElementFactory elementFactory public NodeFlags Flags { get => WrappedElement.Flags; } /// [DebuggerHidden] - public IHtmlTableSectionElement Foot { get => WrappedElement.Foot; set => WrappedElement.Foot = value;} + public IHtmlTableSectionElement? Foot { get => WrappedElement.Foot; set => WrappedElement.Foot = value;} /// [DebuggerHidden] public Boolean HasChildNodes { get => WrappedElement.HasChildNodes; } /// [DebuggerHidden] - public IHtmlTableSectionElement Head { get => WrappedElement.Head; set => WrappedElement.Head = value;} + public IHtmlTableSectionElement? Head { get => WrappedElement.Head; set => WrappedElement.Head = value;} /// [DebuggerHidden] public String? Id { get => WrappedElement.Id; set => WrappedElement.Id = value;} @@ -400,7 +400,7 @@ public HtmlTableElementWrapper(IElementFactory elementFactory public IHtmlCollection GetElementsByTagName(String tagName) => WrappedElement.GetElementsByTagName(tagName); /// [DebuggerHidden] - public IHtmlCollection GetElementsByTagNameNS(String namespaceUri, String tagName) => WrappedElement.GetElementsByTagNameNS(namespaceUri, tagName); + public IHtmlCollection GetElementsByTagNameNS(String? namespaceUri, String tagName) => WrappedElement.GetElementsByTagNameNS(namespaceUri, tagName); /// [DebuggerHidden] public Boolean HasAttribute(String name) => WrappedElement.HasAttribute(name); @@ -427,7 +427,7 @@ public HtmlTableElementWrapper(IElementFactory elementFactory public String? LookupNamespaceUri(String prefix) => WrappedElement.LookupNamespaceUri(prefix); /// [DebuggerHidden] - public String? LookupPrefix(String namespaceUri) => WrappedElement.LookupPrefix(namespaceUri); + public String? LookupPrefix(String? namespaceUri) => WrappedElement.LookupPrefix(namespaceUri); /// [DebuggerHidden] public Boolean Matches(String selectors) => WrappedElement.Matches(selectors); @@ -451,7 +451,7 @@ public HtmlTableElementWrapper(IElementFactory elementFactory public Boolean RemoveAttribute(String name) => WrappedElement.RemoveAttribute(name); /// [DebuggerHidden] - public Boolean RemoveAttribute(String namespaceUri, String localName) => WrappedElement.RemoveAttribute(namespaceUri, localName); + public Boolean RemoveAttribute(String? namespaceUri, String localName) => WrappedElement.RemoveAttribute(namespaceUri, localName); /// [DebuggerHidden] public INode RemoveChild(INode child) => WrappedElement.RemoveChild(child); @@ -472,7 +472,7 @@ public HtmlTableElementWrapper(IElementFactory elementFactory public void SetAttribute(String name, String value) => WrappedElement.SetAttribute(name, value); /// [DebuggerHidden] - public void SetAttribute(String namespaceUri, String name, String value) => WrappedElement.SetAttribute(namespaceUri, name, value); + public void SetAttribute(String? namespaceUri, String name, String value) => WrappedElement.SetAttribute(namespaceUri, name, value); /// [DebuggerHidden] public void ToHtml(TextWriter writer, IMarkupFormatter formatter) => WrappedElement.ToHtml(writer, formatter);