5 references to TryGetType
Microsoft.CodeAnalysis.CSharp (5)
FlowAnalysis\NullableWalker.cs (4)
1913
if (!_variables.
TryGetType
(local, out TypeWithAnnotations localType))
1922
if (!_variables.
TryGetType
(parameter, out TypeWithAnnotations parameterType))
10640
return _variables.
TryGetType
(local, out TypeWithAnnotations type) ?
10647
return _variables.
TryGetType
(parameter, out TypeWithAnnotations type) ?
FlowAnalysis\NullableWalker_Patterns.cs (1)
685
if (_variables.
TryGetType
(local, out var existingType))