21 instantiations of SymbolKeyResolution
Microsoft.CodeAnalysis.CodeStyle (21)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (1)
71return new SymbolKeyResolution(aliasSymbol);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
70return new SymbolKeyResolution(symbol);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (2)
69return new SymbolKeyResolution(anonymousType); 73return new SymbolKeyResolution(reader.Compilation.ObjectType);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (1)
193return new SymbolKeyResolution(symbol.symbol);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BuiltinOperatorSymbolKey.cs (2)
57return new SymbolKeyResolution(unaryOperator); 61return new SymbolKeyResolution(binaryOperator);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
256return new SymbolKeyResolution(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.DynamicTypeSymbolKey.cs (1)
32return new SymbolKeyResolution(reader.Compilation.DynamicType);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ErrorTypeSymbolKey.cs (1)
130return new SymbolKeyResolution(currentNamespace);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (1)
91return new SymbolKeyResolution(reader.Compilation.CreateFunctionPointerTypeSymbol(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.MethodSymbolKey.cs (1)
241return new SymbolKeyResolution(method);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (2)
59return new SymbolKeyResolution(reader.Compilation.CreateNativeIntegerTypeSymbol(signed)); 125containingSymbolResolution = new SymbolKeyResolution(containingNamespace);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamespaceSymbolKey.cs (1)
86return new SymbolKeyResolution(reader.Compilation.GlobalNamespace);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PropertySymbolKey.cs (1)
88return new SymbolKeyResolution(property);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (3)
730return new SymbolKeyResolution(symbol); 734return new SymbolKeyResolution(info.Symbol); 737return new SymbolKeyResolution(info.CandidateSymbols, info.CandidateReason);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (1)
125return new SymbolKeyResolution(result);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TypeParameterOrdinalSymbolKey.cs (1)
34return new SymbolKeyResolution(typeParameter);
56 references to SymbolKeyResolution
Microsoft.CodeAnalysis.CodeStyle (56)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AbstractSymbolKey.cs (2)
14public SymbolKeyResolution Resolve(SymbolKeyReader reader, out string? failureReason) 17protected abstract SymbolKeyResolution Resolve(SymbolKeyReader reader, TSymbol? contextualSymbol, out string? failureReason);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AliasSymbolKey.cs (2)
25protected sealed override SymbolKeyResolution Resolve( 58private static SymbolKeyResolution? Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousFunctionOrDelegateSymbolKey.cs (1)
35public static SymbolKeyResolution Resolve(SymbolKeyReader reader, out string? failureReason)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (1)
34protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ArrayTypeSymbolKey.cs (1)
19protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AssemblySymbolKey.cs (1)
22protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BodyLevelSymbolKey.cs (3)
131public static SymbolKeyResolution Resolve(SymbolKeyReader reader, out string? failureReason) 157if (!TryResolveLocation(loc, i, out var resolution, out var reason)) 220bool TryResolveLocation(Location loc, int index, out SymbolKeyResolution resolution, out string? reason)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BuiltinOperatorSymbolKey.cs (1)
24protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (6)
162public static SymbolKeyResolution ResolveString( 169public static SymbolKeyResolution ResolveString( 176public static SymbolKeyResolution ResolveString( 220public readonly SymbolKeyResolution Resolve( 239private static SymbolKeyResolution CreateResolution<TSymbol>( 293SymbolKeyResolution containingTypeResolution,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.DynamicTypeSymbolKey.cs (1)
19protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ErrorTypeSymbolKey.cs (3)
65protected sealed override SymbolKeyResolution Resolve( 69var containingSymbolResolution = ResolveContainer(reader, contextualType, out var containingSymbolFailureReason); 110private static SymbolKeyResolution ResolveContainer(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.EventSymbolKey.cs (1)
19protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FieldSymbolKey.cs (1)
19protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (1)
34protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.MethodSymbolKey.cs (3)
24protected sealed override SymbolKeyResolution Resolve( 66protected sealed override SymbolKeyResolution Resolve( 160protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ModuleSymbolKey.cs (1)
18protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (6)
39protected sealed override SymbolKeyResolution Resolve( 74var normalResolution = ResolveNormalNamedType( 89private static SymbolKeyResolution ResolveContextualErrorType( 92SymbolKeyResolution containingSymbolResolution, 139private static SymbolKeyResolution ResolveNormalNamedType( 140SymbolKeyResolution containingSymbolResolution,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamespaceSymbolKey.cs (1)
58protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ParameterSymbolKey.cs (1)
23protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PointerTypeSymbolKey.cs (1)
16protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PropertySymbolKey.cs (1)
25protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (7)
324private readonly Dictionary<int, SymbolKeyResolution> _idToResult = []; 468public SymbolKeyResolution ReadSymbolKey(ISymbol? contextualSymbol, out string? failureReason) 483SymbolKeyResolution result; 506private SymbolKeyResolution ReadWorker(SymbolKeyType type, out string? failureReason) 536private PooledArrayBuilder<SymbolKeyResolution> ReadSymbolKeyArray<TContextualSymbol>( 543var builder = PooledArrayBuilder<SymbolKeyResolution>.GetInstance(); 722public SymbolKeyResolution? ResolveLocation(Location location)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (3)
54protected sealed override SymbolKeyResolution Resolve( 65private static SymbolKeyResolution ResolveNormalTuple( 93private static SymbolKeyResolution ResolveErrorTuple(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TypeParameterOrdinalSymbolKey.cs (1)
20public static SymbolKeyResolution Resolve(SymbolKeyReader reader, out string? failureReason)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TypeParameterSymbolKey.cs (1)
30protected sealed override SymbolKeyResolution Resolve(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKeyResolution.Enumeration.cs (4)
11private readonly SymbolKeyResolution _resolution; 13internal Enumerable(SymbolKeyResolution resolution) 22private readonly SymbolKeyResolution _symbolKeyResolution; 25internal Enumerator(SymbolKeyResolution symbolKeyResolution)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKeyResolutionExtensions.cs (1)
9internal static ISymbol? GetAnySymbol(this SymbolKeyResolution resolution)