diff options
author | Kirill Osenkov <github@osenkov.com> | 2018-08-15 21:13:16 +0300 |
---|---|---|
committer | Kirill Osenkov <github@osenkov.com> | 2018-08-15 21:13:16 +0300 |
commit | b407d9744a34fd4647cf3e99068a28d728fd65a2 (patch) | |
tree | e6d6cef915f32dec4f2d16b1868045143deb589f /src/Text/Impl/Navigation/TextStructureNavigatorSelectorService.cs | |
parent | cf974b266fb428d846e2e16a25a4eeb8f635c26f (diff) |
Updating to VS-Platform 15.8.519 (29d85337c7d2af248a692fd65ac37b444551e4cf).
Diffstat (limited to 'src/Text/Impl/Navigation/TextStructureNavigatorSelectorService.cs')
-rw-r--r-- | src/Text/Impl/Navigation/TextStructureNavigatorSelectorService.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Text/Impl/Navigation/TextStructureNavigatorSelectorService.cs b/src/Text/Impl/Navigation/TextStructureNavigatorSelectorService.cs index e59bc8d..ae08b4f 100644 --- a/src/Text/Impl/Navigation/TextStructureNavigatorSelectorService.cs +++ b/src/Text/Impl/Navigation/TextStructureNavigatorSelectorService.cs @@ -32,7 +32,7 @@ namespace Microsoft.VisualStudio.Text.Operations.Implementation { if (textBuffer == null) { - throw new ArgumentNullException("textBuffer"); + throw new ArgumentNullException(nameof(textBuffer)); } ITextStructureNavigator navigator = null; @@ -55,11 +55,11 @@ namespace Microsoft.VisualStudio.Text.Operations.Implementation { if (textBuffer == null) { - throw new ArgumentNullException("textBuffer"); + throw new ArgumentNullException(nameof(textBuffer)); } if (contentType == null) { - throw new ArgumentNullException("contentType"); + throw new ArgumentNullException(nameof(contentType)); } return CreateNavigator(textBuffer, contentType); } |