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