Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public AnalyzeSymbolVisitor(
// Get any reflected methods we need
Assembly workspacesAssembly = typeof(Workspace).Assembly;
Type reflectedType = workspacesAssembly.GetType("Microsoft.CodeAnalysis.Shared.Extensions.ITypeSymbolExtensions");
MethodInfo reflectedMethod = reflectedType.GetMethod("GetAccessibleMembersInThisAndBaseTypes");
MethodInfo reflectedMethod = reflectedType.GetRuntimeMethods().Single(m =>
m.Name.Equals("GetAccessibleMembersInThisAndBaseTypes") &&
m.GetParameters()[1].ParameterType == typeof(ISymbol));
_getAccessibleMembersInThisAndBaseTypes = reflectedMethod.MakeGenericMethod(typeof(ISymbol));

Assembly csharpAssembly = typeof(CSharpCompilation).Assembly;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<PackageTags>Statiq Static StaticContent StaticSite Blog BlogEngine CodeAnalysis Roslyn XmlDocComments DocComments</PackageTags>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Buildalyzer.Workspaces" Version="4.1.2" />
<PackageReference Include="Buildalyzer.Workspaces" Version="7.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
</ItemGroup>
<ItemGroup>
Expand Down