We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8431c75 commit 8caee8eCopy full SHA for 8caee8e
Source/Tools/SharpGen/Parser/CppParser.cs
@@ -876,7 +876,9 @@ private CppInterface ParseInterface(XElement xElement)
876
877
// Calculate offset method using inheritance
878
int offsetMethod = 0;
879
- string[] bases = xElement.AttributeValue("bases").Split(' ');
+
880
+ var basesValue = xElement.AttributeValue("bases");
881
+ var bases = basesValue != null ? basesValue.Split(' ') : Enumerable.Empty<string>();
882
foreach (var xElementBaseId in bases)
883
{
884
if (string.IsNullOrEmpty(xElementBaseId))
0 commit comments