Skip to content

Commit 7f2da35

Browse files
author
vchirikov
committed
revert: NSubstitute changes
1 parent e5f827a commit 7f2da35

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Mocking.Helpers/Mocking.Helpers.Vsix/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="Mocking.Helpers.DC82BF19-0482-4D47-A1FF-7F4CBBAA44D4" Version="1.1.14.0" Language="en-US" Publisher="MrLuje"/>
4+
<Identity Id="Mocking.Helpers.DC82BF19-0482-4D47-A1FF-7F4CBBAA44D4" Version="1.0.0.0" Language="en-US" Publisher="MrLuje"/>
55
<DisplayName>Mocking.Helpers</DisplayName>
66
<Description xml:space="preserve">Collection of features to help working with various mocking framework</Description>
77
<MoreInfo>https://github.com/MrLuje/Mocking.Helpers</MoreInfo>

Mocking.Helpers/Mocking.Helpers/NSubstitute/NSubstituteArgAnyCompletion.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
using Microsoft.CodeAnalysis.Completion;
33
using Microsoft.CodeAnalysis.CSharp.Syntax;
44
using System;
5-
using System.Collections.Generic;
65
using System.Linq;
7-
using System.Text;
86
using System.Threading.Tasks;
97

108
namespace Mocking.Helpers.NSubstitute
@@ -40,7 +38,6 @@ public override async Task ProvideCompletionsAsync(CompletionContext context)
4038
var mockedMethodArgumentList = token.Parent as ArgumentListSyntax;
4139
var mockedMethodInvocation = mockedMethodArgumentList.Ancestors()
4240
.OfType<InvocationExpressionSyntax>()
43-
.Where(IsSubstituteForMethod)
4441
.FirstOrDefault();
4542

4643
if (mockedMethodInvocation == null) return;

0 commit comments

Comments
 (0)