10 instantiations of SingleLookupResult
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Lookup.cs (1)
952
result.MergeEqual(new
SingleLookupResult
(LookupResultKind.Viable, sym, null));
Binder\LookupResult.cs (9)
157
return new
SingleLookupResult
(LookupResultKind.Viable, symbol, null);
162
return new
SingleLookupResult
(LookupResultKind.WrongArity, symbol, error);
167
return new
SingleLookupResult
(LookupResultKind.Empty, null, null);
172
return new
SingleLookupResult
(LookupResultKind.NotReferencable, symbol, error);
177
return new
SingleLookupResult
(LookupResultKind.StaticInstanceMismatch, symbol, error);
182
return new
SingleLookupResult
(LookupResultKind.Inaccessible, symbol, error);
193
return new
SingleLookupResult
(LookupResultKind.NotLabel, symbol, error);
198
return new
SingleLookupResult
(LookupResultKind.NotATypeOrNamespace, symbol, error);
210
return new
SingleLookupResult
(LookupResultKind.NotAnAttributeType, symbol, error);
23 references to SingleLookupResult
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Lookup.cs (7)
416
var
res = originalBinder.CheckViability(alias.Alias, arity, options, null, diagnose, ref useSiteInfo, basesBeingResolved);
432
var
res = originalBinder.CheckViability(a.Alias, arity, options, null, diagnose, ref useSiteInfo, basesBeingResolved);
449
SingleLookupResult
resultOfThisMember = originalBinder.CheckViability(member, arity, options, null, diagnose, ref useSiteInfo);
468
SingleLookupResult
resultOfThisMember = this.CheckViability(method, arity, options, null, diagnose: true, useSiteInfo: ref useSiteInfo);
684
private
SingleLookupResult
GenerateNonViableAttributeTypeResult(Symbol symbol, DiagnosticInfo diagInfo, bool diagnose)
772
SingleLookupResult
resultOfThisMember = originalBinder.CheckViability(member, arity, options, accessThroughType, diagnose, ref useSiteInfo, basesBeingResolved);
1385
internal
SingleLookupResult
CheckViability(Symbol symbol, int arity, LookupOptions options, TypeSymbol accessThroughType, bool diagnose, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo, ConsList<TypeSymbol> basesBeingResolved = null)
Binder\LookupResult.cs (14)
17
internal delegate
SingleLookupResult
LookupFilter(Symbol sym);
155
internal static
SingleLookupResult
Good(Symbol symbol)
160
internal static
SingleLookupResult
WrongArity(Symbol symbol, DiagnosticInfo error)
165
internal static
SingleLookupResult
Empty()
170
internal static
SingleLookupResult
NotReferencable(Symbol symbol, DiagnosticInfo error)
175
internal static
SingleLookupResult
StaticInstanceMismatch(Symbol symbol, DiagnosticInfo error)
180
internal static
SingleLookupResult
Inaccessible(Symbol symbol, DiagnosticInfo error)
185
internal static
SingleLookupResult
NotInvocable(Symbol unwrappedSymbol, Symbol symbol, bool diagnose)
191
internal static
SingleLookupResult
NotLabel(Symbol symbol, DiagnosticInfo error)
196
internal static
SingleLookupResult
NotTypeOrNamespace(Symbol symbol, DiagnosticInfo error)
201
internal static
SingleLookupResult
NotTypeOrNamespace(Symbol unwrappedSymbol, Symbol symbol, bool diagnose)
208
internal static
SingleLookupResult
NotAnAttributeType(Symbol symbol, DiagnosticInfo error)
216
internal void SetFrom(
SingleLookupResult
other)
279
internal void MergeEqual(
SingleLookupResult
result)
Binder\WithUsingNamespacesAndTypesBinder.cs (1)
152
var
res = originalBinder.CheckViability(symbol, arity, options, null, diagnose, ref useSiteInfo, basesBeingResolved);
Compilation\CSharpSemanticModel.cs (1)
4704
SingleLookupResult
singleResult,