10 references to SafeGet
Microsoft.CodeAnalysis.Workspaces (10)
SymbolKey.AnonymousTypeSymbolKey.cs (1)
43getContextualSymbol: (contextualSymbol, i) => SafeGet(contextualProperties, i)?.Type,
SymbolKey.BuiltinOperatorSymbolKey.cs (1)
32static (contextualSymbol, i) => SafeGet(contextualSymbol.Parameters, i)?.Type,
SymbolKey.ErrorTypeSymbolKey.cs (1)
75getContextualSymbol: static (contextualType, i) => SafeGet(contextualType.TypeArguments, i),
SymbolKey.FunctionPointerTypeSymbolKey.cs (2)
44static (contextualSymbol, i) => SafeGet(contextualSymbol.Signature.UnmanagedCallingConventionTypes, i), 60static (contextualSymbol, i) => SafeGet(contextualSymbol.Signature.Parameters, i)?.Type,
SymbolKey.MethodSymbolKey.cs (2)
73getContextualSymbol: static (contextualMethod, i) => SafeGet(contextualMethod.TypeArguments, i), 257getContextualType: static (method, i) => SafeGet(method.Parameters, i)?.Type,
SymbolKey.NamedTypeSymbolKey.cs (1)
49getContextualSymbol: static (contextualType, i) => SafeGet(contextualType.TypeArguments, i),
SymbolKey.PropertySymbolKey.cs (1)
93getContextualType: static (property, i) => SafeGet(property.OriginalDefinition.Parameters, i)?.Type,
SymbolKey.TupleTypeSymbolKey.cs (1)
100static (contextualType, i) => SafeGet(contextualType.TupleElements, i)?.Type,