File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ public static bool IsValidCharInName(char c)
24
24
public static bool Validate ( string name , out string error )
25
25
{
26
26
error = null ;
27
+ if ( name == null )
28
+ {
29
+ error = "Name must no be null." ;
30
+ return false ;
31
+ }
32
+
27
33
if ( name == "" || name . StartsWith ( "__" ) )
28
34
return true ;
29
35
if ( ! char . IsLetter ( name [ 0 ] ) && name [ 0 ] != '/' && name [ 0 ] != '~' )
Original file line number Diff line number Diff line change 5
5
<RuntimeIdentifiers >win10-x64;osx.10.11-x64;ubuntu.16.04-x64</RuntimeIdentifiers >
6
6
<GeneratePackageOnBuild >true</GeneratePackageOnBuild >
7
7
<IncludeSymbols >true</IncludeSymbols >
8
- <Version >1.0.3 </Version >
8
+ <Version >1.0.4 </Version >
9
9
<PackageProjectUrl >https://github.com/xamla/ROS.NET</PackageProjectUrl >
10
10
<PackageLicenseUrl >https://raw.githubusercontent.com/Xamla/ROS.NET/master/LICENSE</PackageLicenseUrl >
11
11
<Authors >ROS.net Contributors</Authors >
You can’t perform that action at this time.
0 commit comments