Skip to content

Commit 33bf925

Browse files
baywetxuzhg
andcommitted
Update src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs
Co-authored-by: Sam Xu <saxu@microsoft.com>
1 parent b680407 commit 33bf925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ private void CreateCountPath(ODataPath currentPath, OpenApiConvertSettings conve
423423
/// <param name="targetsMany">Whether the annotable navigation source targets many entities.</param>
424424
private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings convertSettings, IEdmStructuredType structuredType, IEdmVocabularyAnnotatable annotable, bool targetsMany)
425425
{
426-
if(currentPath == null) throw new ArgumentNullException(nameof(currentPath));
426+
if(currentPath == null) throw Error.ArgumentNull(nameof(currentPath));
427427
if(convertSettings == null) throw new ArgumentNullException(nameof(convertSettings));
428428
if(structuredType == null) throw new ArgumentNullException(nameof(structuredType));
429429
if(annotable == null) throw new ArgumentNullException(nameof(annotable));

0 commit comments

Comments
 (0)