10 references to SingleLookupResult
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Lookup.cs (1)
952result.MergeEqual(new SingleLookupResult(LookupResultKind.Viable, sym, null));
Binder\LookupResult.cs (9)
157return new SingleLookupResult(LookupResultKind.Viable, symbol, null); 162return new SingleLookupResult(LookupResultKind.WrongArity, symbol, error); 167return new SingleLookupResult(LookupResultKind.Empty, null, null); 172return new SingleLookupResult(LookupResultKind.NotReferencable, symbol, error); 177return new SingleLookupResult(LookupResultKind.StaticInstanceMismatch, symbol, error); 182return new SingleLookupResult(LookupResultKind.Inaccessible, symbol, error); 193return new SingleLookupResult(LookupResultKind.NotLabel, symbol, error); 198return new SingleLookupResult(LookupResultKind.NotATypeOrNamespace, symbol, error); 210return new SingleLookupResult(LookupResultKind.NotAnAttributeType, symbol, error);