5 references to TryGetType
Microsoft.CodeAnalysis.CSharp (5)
FlowAnalysis\NullableWalker.cs (4)
2036
if (!_variables.
TryGetType
(local, out TypeWithAnnotations localType))
2045
if (!_variables.
TryGetType
(parameter, out TypeWithAnnotations parameterType))
11619
return _variables.
TryGetType
(local, out TypeWithAnnotations type) ?
11626
return _variables.
TryGetType
(parameter, out TypeWithAnnotations type) ?
FlowAnalysis\NullableWalker_Patterns.cs (1)
632
if (_variables.
TryGetType
(local, out var existingType))