File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ public static List<AttributeSyntax> GetMemberSupportedAttributes(SyntaxNodeAnaly
171171 {
172172 Type AccessType = typeof ( AccessAttribute ) ;
173173 ImmutableArray < INamedTypeSymbol > MatchingTypeSymbols = AvailableContext . Compilation . GetTypesByMetadataName ( AccessType . FullName ) ;
174- ITypeSymbol AccessTypeSymbol = Contract . AssertNotNull ( MatchingTypeSymbols . FirstOrDefault ( symbol => symbol . ContainingAssembly . Identity . ToString ( ) == AccessType . Assembly . FullName ) ) ;
174+ ITypeSymbol AccessTypeSymbol = Contract . AssertNotNull ( MatchingTypeSymbols . FirstOrDefault ( symbol => symbol . ContainingAssembly . Identity . Name == AccessType . Assembly . GetName ( ) . Name ) ) ;
175175 INamespaceSymbol ContainingNamespace = Contract . AssertNotNull ( AccessTypeSymbol . ContainingNamespace ) ;
176176
177177 if ( ! SymbolEqualityComparer . Default . Equals ( ContainingNamespace , AttributeSymbol . ContainingNamespace ) )
You can’t perform that action at this time.
0 commit comments