5 references to TryGetType
Microsoft.CodeAnalysis.CSharp (5)
FlowAnalysis\NullableWalker.cs (4)
2035if (!_variables.TryGetType(local, out TypeWithAnnotations localType)) 2044if (!_variables.TryGetType(parameter, out TypeWithAnnotations parameterType)) 11445return _variables.TryGetType(local, out TypeWithAnnotations type) ? 11452return _variables.TryGetType(parameter, out TypeWithAnnotations type) ?
FlowAnalysis\NullableWalker_Patterns.cs (1)
687if (_variables.TryGetType(local, out var existingType))