10 references to SafeGet
Microsoft.CodeAnalysis.Workspaces (10)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.AnonymousTypeSymbolKey.cs (1)
42getContextualSymbol: (contextualSymbol, i) => SafeGet(contextualProperties, i)?.Type,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.BuiltinOperatorSymbolKey.cs (1)
30static (contextualSymbol, i) => SafeGet(contextualSymbol.Parameters, i)?.Type,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.ErrorTypeSymbolKey.cs (1)
74getContextualSymbol: static (contextualType, i) => SafeGet(contextualType.TypeArguments, i),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (2)
42static (contextualSymbol, i) => SafeGet(contextualSymbol.Signature.UnmanagedCallingConventionTypes, i), 58static (contextualSymbol, i) => SafeGet(contextualSymbol.Signature.Parameters, i)?.Type,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.MethodSymbolKey.cs (2)
72getContextualSymbol: static (contextualMethod, i) => SafeGet(contextualMethod.TypeArguments, i), 256getContextualType: static (method, i) => SafeGet(method.Parameters, i)?.Type,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
46getContextualSymbol: static (contextualType, i) => SafeGet(contextualType.TypeArguments, i),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PropertySymbolKey.cs (1)
98getContextualType: static (property, i) => SafeGet(property.OriginalDefinition.Parameters, i)?.Type,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.TupleTypeSymbolKey.cs (1)
98static (contextualType, i) => SafeGet(contextualType.TupleElements, i)?.Type,