10 references to CanBeReferencedByName
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Lookup.cs (1)
1577/// Does not consider <see cref="Symbol.CanBeReferencedByName"/> - that is left to the caller.
Compilation\CSharpCompilation.cs (1)
4919(member.CanBeReferencedByName || member.IsExplicitInterfaceImplementation() || member.IsIndexer()) &&
Compiler\ClsComplianceChecker.cs (1)
932if (!symbol.CanBeReferencedByName || symbol.IsOverride) return;
FlowAnalysis\CSharpDataFlowAnalysis.cs (2)
392return ImmutableArray.CreateRange(data.Where(s => s.CanBeReferencedByName).OrderBy(s => s, LexicalOrderSymbolComparer.Instance).GetPublicSymbols()); 397return ImmutableArray.CreateRange(data.Where(s => s.CanBeReferencedByName).OrderBy(s => s, LexicalOrderSymbolComparer.Instance).Select(p => p.GetPublicSymbol()));
Symbols\PublicModel\Symbol.cs (1)
248bool ISymbol.CanBeReferencedByName => UnderlyingSymbol.CanBeReferencedByName;
Symbols\Source\SourceAssemblySymbol.cs (2)
2700if (!field.CanBeReferencedByName) 2761if (!field.CanBeReferencedByName)
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
729else if (!this.CanBeReferencedByName || this.MethodKind == MethodKind.Destructor)
Symbols\Symbol.cs (1)
716/// of <see cref="CanBeReferencedByName"/>. The full name check will then be performed in the <see cref="CSharpSemanticModel"/>.