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)
4939
(member.
CanBeReferencedByName
|| member.IsExplicitInterfaceImplementation() || member.IsIndexer()) &&
Compiler\ClsComplianceChecker.cs (1)
932
if (!symbol.
CanBeReferencedByName
|| symbol.IsOverride) return;
FlowAnalysis\CSharpDataFlowAnalysis.cs (2)
392
return ImmutableArray.CreateRange(data.Where(s => s.
CanBeReferencedByName
).OrderBy(s => s, LexicalOrderSymbolComparer.Instance).GetPublicSymbols());
397
return ImmutableArray.CreateRange(data.Where(s => s.
CanBeReferencedByName
).OrderBy(s => s, LexicalOrderSymbolComparer.Instance).Select(p => p.GetPublicSymbol()));
Symbols\PublicModel\Symbol.cs (1)
248
bool ISymbol.CanBeReferencedByName => UnderlyingSymbol.
CanBeReferencedByName
;
Symbols\Source\SourceAssemblySymbol.cs (2)
2700
if (!field.
CanBeReferencedByName
)
2761
if (!field.
CanBeReferencedByName
)
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
734
else 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"/>.