24 references to IsNull
ConfigurationSchemaGenerator (1)
ConfigSchemaGenerator.cs (1)
80if (!exclusionPathsArg.IsNull)
Microsoft.CodeAnalysis (2)
Symbols\TypedConstant.cs (2)
109/// <see cref="IsNull"/> can be used to check for this. 120if (this.IsNull)
Microsoft.CodeAnalysis.CSharp (4)
Emitter\Model\AttributeDataAdapter.cs (1)
101if (argument.IsNull)
Symbols\Source\SourceComplexParameterSymbol.cs (2)
1288if (constructorArgument.IsNull) 1333if (constant.IsNull)
Symbols\TypedConstantExtensions.cs (1)
20if (constant.IsNull)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
40return typedConstant.IsNull
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
40return typedConstant.IsNull
Microsoft.CodeAnalysis.VisualBasic (2)
Emit\AttributeDataAdapter.vb (1)
66If argument.IsNull Then
Symbols\TypedConstant.vb (1)
29If constant.IsNull Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (1)
24If typedConstant.IsNull Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (1)
24If typedConstant.IsNull Then
Microsoft.Extensions.Logging.Generators (8)
LoggerMessageGenerator.Parser.cs (8)
162level = items[0].IsNull ? null : (int?)GetItem(items[0]); 168level = items[0].IsNull ? null : (int?)GetItem(items[0]); 169message = items[1].IsNull ? string.Empty : (string)GetItem(items[1]); 174if (!items[0].IsNull) 179level = items[1].IsNull ? null : (int?)GetItem(items[1]); 180message = items[2].IsNull ? string.Empty : (string)GetItem(items[2]); 211level = value.IsNull ? null : (int?)GetItem(value); 220message = value.IsNull ? string.Empty : (string)GetItem(value);
Microsoft.Gen.Metrics (1)
Parser.cs (1)
618if (constructorArg.IsNull ||
Microsoft.Gen.MetricsReports (1)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
618if (constructorArg.IsNull ||
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ShapeBreakingDiagnosticSuppressor.cs (1)
63&& !attr.ConstructorArguments[0].IsNull