7 references to IsNullable
Roslyn.Diagnostics.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
153
if (type.
IsNullable
(out var underlyingType))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
649
if (type.
IsNullable
(out var underlyingType))
772
if (symbol.
IsNullable
(out var underlyingType))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
424
if (typeSymbol.
IsNullable
(out var underlyingType))
Roslyn.Diagnostics.CSharp.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1199
if (castSideType.
IsNullable
(out var underlyingType) && Equals(underlyingType, castedExpressionType))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
63
if (type.
IsNullable
(out var underlyingType))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1126
return leftTypes.Select(x => x.InferredType.
IsNullable
(out var underlying)