diff options
Diffstat (limited to 'src/Text/Impl/TagAggregator/TagAggregator.cs')
-rw-r--r-- | src/Text/Impl/TagAggregator/TagAggregator.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Impl/TagAggregator/TagAggregator.cs b/src/Text/Impl/TagAggregator/TagAggregator.cs index 2f84741..90005ff 100644 --- a/src/Text/Impl/TagAggregator/TagAggregator.cs +++ b/src/Text/Impl/TagAggregator/TagAggregator.cs @@ -128,7 +128,7 @@ namespace Microsoft.VisualStudio.Text.Tagging.Implementation public IEnumerable<IMappingTagSpan<T>> GetTags(IMappingSpan span) { if (span == null) - throw new ArgumentNullException("span"); + throw new ArgumentNullException(nameof(span)); if (this.disposed) throw new ObjectDisposedException("TagAggregator"); @@ -186,7 +186,7 @@ namespace Microsoft.VisualStudio.Text.Tagging.Implementation public IEnumerable<IMappingTagSpan<T>> GetAllTags(IMappingSpan span, CancellationToken cancel) { if (span == null) - throw new ArgumentNullException("span"); + throw new ArgumentNullException(nameof(span)); if (this.disposed) throw new ObjectDisposedException("TagAggregator"); |