Skip to content

Commit 6fda6cb

Browse files
committed
Simplify
1 parent a3ae897 commit 6fda6cb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

PropertyChangedAnalyzers.Test/Helpers/OnPropertyChangedTests.MatchMethodSymbol.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public int P
267267
var compilation = CSharpCompilation.Create(
268268
"test",
269269
new[] { syntaxTree },
270-
MetadataReferences.Transitive(typeof(GalaSoft.MvvmLight.ViewModelBase).Assembly));
270+
SpecialMetadataReferences.MvvmLight);
271271
var semanticModel = compilation.GetSemanticModel(syntaxTree);
272272
var invocation = syntaxTree.FindInvocation("RaisePropertyChanged");
273273
var method = semanticModel.GetSymbolSafe(invocation, CancellationToken.None);

PropertyChangedAnalyzers.Test/Helpers/TrySetTests.IsMatchMethod.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace PropertyChangedAnalyzers.Test.Helpers
1+
namespace PropertyChangedAnalyzers.Test.Helpers
22
{
33
using System.Linq;
44
using System.Threading;
@@ -85,7 +85,7 @@ public int P
8585
var compilation = CSharpCompilation.Create(
8686
"test",
8787
new[] { syntaxTree },
88-
MetadataReferences.Transitive(typeof(GalaSoft.MvvmLight.ViewModelBase).Assembly));
88+
SpecialMetadataReferences.MvvmLight);
8989
var semanticModel = compilation.GetSemanticModel(syntaxTree);
9090
var invocation = syntaxTree.FindInvocation("Set");
9191
var method = semanticModel.GetSymbolSafe(invocation, CancellationToken.None);

0 commit comments

Comments
 (0)