3 references to IsNullableValueType
Roslyn.Diagnostics.Analyzers (3)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (3)
313
=> typeSymbol != null && (typeSymbol.IsReferenceType || typeSymbol.
IsNullableValueType
());
316
=> typeSymbol.
IsNullableValueType
() && ((INamedTypeSymbol)typeSymbol).TypeArguments[0].SpecialType == SpecialType.System_Boolean;
319
=> typeSymbol.
IsNullableValueType
() ? ((INamedTypeSymbol)typeSymbol).TypeArguments[0] : null;