11 references to IsNullable
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (1)
25
switchExpressionType = switchExpressionType.
IsNullable
(out var underlyingType) ? underlyingType : switchExpressionType;
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (1)
66
switchExpressionType = switchExpressionType.
IsNullable
(out var underlyingType) ? underlyingType : switchExpressionType;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
153
if (type.
IsNullable
(out var underlyingType))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
649
if (type.
IsNullable
(out var underlyingType))
772
if (symbol.
IsNullable
(out var underlyingType))
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberService.cs (1)
63
if (typeToGenerateIn.
IsNullable
(out var underlyingType) &&
src\Analyzers\Core\CodeFixes\PopulateSwitch\AbstractPopulateSwitchCodeFixProvider.cs (1)
161
if (enumType.
IsNullable
(out var underlyingType))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
424
if (typeSymbol.
IsNullable
(out var underlyingType))
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1162
if (castSideType.
IsNullable
(out var underlyingType) && Equals(underlyingType, castedExpressionType))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
63
if (type.
IsNullable
(out var underlyingType))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1122
return leftTypes.Select(x => x.InferredType.
IsNullable
(out var underlying)