1073 references to RoslynDebug
csc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
325RoslynDebug.Assert(response != null);
Microsoft.CodeAnalysis (196)
AssemblyUtilities.cs (3)
31RoslynDebug.AssertNotNull(directory); 62RoslynDebug.Assert(PathUtilities.IsAbsolute(assemblyPath)); 63RoslynDebug.Assert(dependencyFilePaths != null);
AssemblyUtilitiesCore.cs (1)
29RoslynDebug.Assert(PathUtilities.IsAbsolute(filePath));
CaseInsensitiveComparison.cs (1)
359RoslynDebug.Assert(value != null);
CodeAnalysisResourcesLocalizableErrorArgument.cs (1)
18RoslynDebug.Assert(targetResourceId != null);
CodeGen\LocalConstantDefinition.cs (2)
26RoslynDebug.Assert(!RoslynString.IsNullOrEmpty(name)); 27RoslynDebug.Assert(compileTimeValue != null);
CodeGen\MetadataConstant.cs (1)
19RoslynDebug.Assert(type != null);
CodeGen\PermissionSetAttribute.cs (3)
40RoslynDebug.Assert(resolvedPermissionSetFilePath != null); 96RoslynDebug.Assert(resolver != null); 118RoslynDebug.Assert(stream != null);
CodeGen\PrivateImplementationDetails.cs (9)
120RoslynDebug.Assert(systemObject != null); 121RoslynDebug.Assert(systemValueType != null); 307RoslynDebug.Assert(alignment is 1 or 2 or 4 or 8, $"Unexpected alignment: {alignment}"); 618RoslynDebug.Assert(x is object && y is object); 621RoslynDebug.Assert(x.Name != null && y.Name != null); 695RoslynDebug.Assert(alignment is 1 or 2 or 4 or 8, $"Unexpected alignment: {alignment}"); 823RoslynDebug.Assert(type != null); 842RoslynDebug.Assert(name != null); 843RoslynDebug.Assert(containingType != null);
CodeGen\ReferenceDependencyWalker.cs (3)
47RoslynDebug.Assert(typeReference != null); 103RoslynDebug.Assert(methodReference != null); 164RoslynDebug.Assert(fieldReference != null);
CodeGen\SwitchIntegralJumpTableEmitter.cs (6)
151RoslynDebug.Assert(firstConstant != null); 155RoslynDebug.Assert(secondConstant != null); 424RoslynDebug.Assert(constant != null && 426RoslynDebug.Assert(targetLabel != null); 439RoslynDebug.Assert(constant != null && 441RoslynDebug.Assert(targetLabel != null);
CodeGen\SwitchStringJumpTableEmitter.cs (4)
82RoslynDebug.Assert(emitStringCondBranchDelegate != null); 182RoslynDebug.Assert(stringConstant != null && 184RoslynDebug.Assert(targetLabel != null); 195RoslynDebug.Assert(caseLabels != null);
Collections\ByteSequenceComparer.cs (1)
97RoslynDebug.Assert(x != null);
Collections\IdentifierCollection.cs (2)
49RoslynDebug.Assert(identifier != null); 95RoslynDebug.Assert(identifier != null);
Collections\SmallDictionary.cs (7)
203RoslynDebug.Assert(_root is object); 373RoslynDebug.Assert(unbalanced.Right is object); 385RoslynDebug.Assert(unbalanced.Left is object); 397RoslynDebug.Assert(unbalanced.Right is object); 398RoslynDebug.Assert(unbalanced.Right.Left is object); 425RoslynDebug.Assert(unbalanced.Left != null); 426RoslynDebug.Assert(unbalanced.Left.Right != null);
CommandLine\CommandLineArguments.cs (4)
403RoslynDebug.Assert(metadataResolver != null); 438RoslynDebug.Assert(metadataResolver != null); 455RoslynDebug.AssertNotNull(messageProviderOpt); 497RoslynDebug.Assert(analyzerReference is object);
CommandLine\CommandLineParser.cs (2)
30RoslynDebug.Assert(messageProvider != null); 980RoslynDebug.Assert(arg != null);
CommandLine\NoThrowStreamDisposer.cs (2)
36RoslynDebug.Assert(_failed != null); 56RoslynDebug.Assert(_failed == null);
Compilation.EmitStream.cs (9)
60RoslynDebug.Assert(emitStreamProvider != null); 61RoslynDebug.Assert(strongNameProvider != null || emitStreamSignKind == EmitStreamSignKind.None); 107RoslynDebug.Assert(!_created); 108RoslynDebug.Assert(diagnostics != null); 121RoslynDebug.Assert(_strongNameProvider != null); 168RoslynDebug.Assert(_created); 169RoslynDebug.Assert(_emitStreamSignKind != EmitStreamSignKind.SignedWithFile || _tempInfo.HasValue); 175RoslynDebug.Assert(_emitStreamSignKind == EmitStreamSignKind.SignedWithFile); 176RoslynDebug.Assert(_strongNameProvider is object);
Compilation.EmitStreamProvider.cs (1)
63RoslynDebug.Assert(stream != null);
Compilation\Compilation.cs (6)
84RoslynDebug.Assert(!references.IsDefault); 85RoslynDebug.Assert(features != null); 1817RoslynDebug.Assert(EventQueue != null); 1840RoslynDebug.Assert(EventQueue != null); 1864RoslynDebug.Assert(incoming is object); 1873RoslynDebug.Assert(incoming is object);
Compilation\LoadDirective.cs (3)
20RoslynDebug.Assert((resolvedPath != null) || !diagnostics.IsEmpty); 21RoslynDebug.Assert(!diagnostics.IsDefault); 22RoslynDebug.Assert(diagnostics.IsEmpty || diagnostics.All(d => d.Severity == DiagnosticSeverity.Error));
ConstantValue.cs (1)
113RoslynDebug.Assert(value != null);
ConstantValueSpecialized.cs (2)
148RoslynDebug.Assert(value != null, "null strings should be represented as Null constant."); 155RoslynDebug.Assert(value != null, "null strings should be represented as Null constant.");
CvtRes.cs (1)
703RoslynDebug.Assert(keyValuePair.Value != null);
Diagnostic\Diagnostic.cs (2)
471RoslynDebug.Assert(this.ProgrammaticSuppressionInfo == null); 472RoslynDebug.Assert(programmaticSuppressionInfo != null);
Diagnostic\Diagnostic.DiagnosticWithProgrammaticSuppression.cs (3)
25RoslynDebug.Assert(!originalUnsuppressedDiagnostic.IsSuppressed); 26RoslynDebug.Assert(originalUnsuppressedDiagnostic.ProgrammaticSuppressionInfo == null); 27RoslynDebug.Assert(programmaticSuppressionInfo != null);
Diagnostic\DiagnosticInfo.cs (1)
102RoslynDebug.Assert(arg != null);
Diagnostic\DiagnosticWithInfo.cs (2)
26RoslynDebug.Assert(info != null); 27RoslynDebug.Assert(location != null);
Diagnostic\MetadataLocation.cs (1)
21RoslynDebug.Assert(module != null);
DiagnosticAnalyzer\AnalysisContextInfo.cs (3)
101RoslynDebug.Assert(_file.Value.AdditionalFile != null); 108RoslynDebug.Assert(_file.HasValue); 109RoslynDebug.Assert(_file.Value.SourceTree != null);
DiagnosticAnalyzer\AnalyzerExecutor.cs (2)
1052RoslynDebug.Assert(!actionsForKind.IsEmpty, $"Unexpected empty action collection in {nameof(nodeActionsByKind)}"); 1150RoslynDebug.Assert(!actionsForKind.IsEmpty, $"Unexpected empty action collection in {nameof(operationActionsByKind)}");
DiagnosticAnalyzer\AnalyzerManager.AnalyzerExecutionContext.cs (4)
225RoslynDebug.Assert(_lazyPendingMemberSymbolsMap != null, $"{nameof(_lazyPendingMemberSymbolsMap)} was expected to be a non-null value."); 231RoslynDebug.Assert(dependentSymbols == null, $"{nameof(dependentSymbols)} was expected to be null."); 235RoslynDebug.Assert(dependentSymbols != null, $"{nameof(dependentSymbols)} was expected to be a non-null value."); 236RoslynDebug.Assert(existingDependentSymbols.IsSubsetOf(dependentSymbols), $"{nameof(existingDependentSymbols)} was expected to be a subset of {nameof(dependentSymbols)}");
DiagnosticAnalyzer\SourceOrAdditionalFile.cs (1)
53RoslynDebug.Assert(AdditionalFile != null);
DocumentationCommentId.cs (1)
85RoslynDebug.AssertNotNull(result);
EmbeddedText.cs (8)
213RoslynDebug.Assert(stream != null); 214RoslynDebug.Assert(stream.CanRead); 215RoslynDebug.Assert(stream.CanSeek); 266RoslynDebug.Assert(bytes.Array != null); 295RoslynDebug.Assert(text != null); 296RoslynDebug.Assert(text.CanBeEmbedded); 297RoslynDebug.Assert(text.Encoding != null); 298RoslynDebug.Assert(text.PrecomputedEmbeddedTextBlob.IsDefault);
Emit\CommonPEModuleBuilder.cs (1)
1086RoslynDebug.Assert(alignment is 1 or 2 or 4 or 8, $"Unexpected alignment: {alignment}");
Emit\EditAndContinue\AddedOrChangedMethodInfo.cs (2)
82RoslynDebug.AssertNotNull(typeRef); 95RoslynDebug.AssertNotNull(typeRef);
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
417RoslynDebug.AssertNotNull(_previousGeneration.InitialBaseline.LazyMetadataSymbols); 697RoslynDebug.AssertNotNull(methodDef); 1883RoslynDebug.AssertNotNull(methodDef);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (2)
114RoslynDebug.AssertNotNull(info.Signature); 242RoslynDebug.AssertNotNull(typeRef);
Emit\EditAndContinue\SymbolChanges.cs (1)
138RoslynDebug.Assert(synthesizedSymbol.Method != null);
EncodedStringText.cs (6)
90RoslynDebug.Assert(stream != null); 91RoslynDebug.Assert(stream.CanRead); 134RoslynDebug.Assert(data != null); 135RoslynDebug.Assert(encoding != null); 196RoslynDebug.Assert(stream != null); 197RoslynDebug.Assert(stream.Position == 0);
FileSystem\FileUtilities.cs (2)
50RoslynDebug.Assert(searchPaths != null); 51RoslynDebug.Assert(fileExists != null);
FileSystem\PathUtilities.cs (2)
438RoslynDebug.Assert(!RoslynString.IsNullOrEmpty(root)); 495RoslynDebug.Assert(assemblyDisplayNameOrPath != null);
InternalUtilities\ArrayExtensions.cs (1)
158RoslynDebug.Assert(comparer != null);
InternalUtilities\ConsList`1.cs (1)
111RoslynDebug.Assert(_tail is object);
InternalUtilities\EnumField.cs (1)
23RoslynDebug.Assert(name != null);
InternalUtilities\IncrementalHashExtensions.cs (1)
32RoslynDebug.AssertNotNull(segment.Array);
InternalUtilities\InterlockedOperations.cs (1)
121RoslynDebug.Assert((object?)value != null);
InternalUtilities\JsonWriter.cs (2)
280RoslynDebug.Assert(pooledBuilder == null); 319RoslynDebug.Assert(pooledBuilder is object);
InternalUtilities\MultiDictionary.cs (1)
196RoslynDebug.Assert(_value is V); // Implies value != null
InternalUtilities\StringTable.cs (1)
534RoslynDebug.Assert((ascii[i] & 0x80) == 0, $"The {nameof(ascii)} input to this method must be valid ASCII.");
Operations\OperationMapBuilder.cs (1)
112RoslynDebug.Assert(
PEWriter\AssemblyReferenceAlias.cs (2)
27RoslynDebug.Assert(name != null); 28RoslynDebug.Assert(assembly != null);
PEWriter\DebugSourceDocument.cs (1)
28RoslynDebug.Assert(location != null);
PEWriter\ManagedResource.cs (1)
31RoslynDebug.Assert(streamProvider == null ^ fileReference == null);
PEWriter\MemberRefComparer.cs (1)
26RoslynDebug.Assert(x is object && y is object);
PEWriter\MethodSpecComparer.cs (1)
26RoslynDebug.Assert(x is object && y is object);
PEWriter\Miscellaneous.cs (2)
243RoslynDebug.Assert(sectionBytes != null); 244RoslynDebug.Assert(relocations != null);
PEWriter\ModifiedTypeReference.cs (1)
23RoslynDebug.Assert(modifiedType != null);
PEWriter\SequencePoint.cs (1)
33RoslynDebug.Assert(document != null);
PEWriter\SourceSpan.cs (1)
28RoslynDebug.Assert(document != null);
PEWriter\UsedNamespaceOrType.cs (5)
38RoslynDebug.Assert(type != null); 44RoslynDebug.Assert(@namespace != null); 50RoslynDebug.Assert(alias != null); 56RoslynDebug.Assert(xmlNamespace != null); 57RoslynDebug.Assert(prefix != null);
ResourceDescription.cs (1)
106RoslynDebug.Assert(resource != null);
SourceGeneration\GeneratedCodeUtilities.cs (2)
21RoslynDebug.Assert(symbol != null); 22RoslynDebug.Assert(generatedCodeAttribute != null);
SpecialTypes.cs (1)
94RoslynDebug.Assert(name is object);
SwitchConstantValueHelper.cs (5)
52RoslynDebug.Assert(first != null); 53RoslynDebug.Assert(second != null); 55RoslynDebug.Assert(IsValidSwitchCaseLabelConstant(first)); 56RoslynDebug.Assert(IsValidSwitchCaseLabelConstant(second)); 101RoslynDebug.Assert(first != null && second != null);
Symbols\Attributes\AttributeDescription.cs (3)
23RoslynDebug.Assert(@namespace != null); 24RoslynDebug.Assert(name != null); 25RoslynDebug.Assert(signatures != null);
Symbols\Attributes\AttributeUsageInfo.cs (1)
175RoslynDebug.Assert(targetResourceIds != null);
Symbols\TypedConstant.cs (1)
160RoslynDebug.Assert(type != null);
Syntax\GreenNode.cs (2)
117RoslynDebug.Assert(node != null, "PERF: caller must ensure that node!=null, we do not want to re-check that here."); 170RoslynDebug.Assert(node is object);
Syntax\InternalSyntax\SyntaxDiagnosticInfoList.cs (1)
138RoslynDebug.Assert(_stack is object);
Syntax\InternalSyntax\SyntaxList.cs (5)
29RoslynDebug.Assert(child0 != null); 30RoslynDebug.Assert(child1 != null); 48RoslynDebug.Assert(child0 != null); 49RoslynDebug.Assert(child1 != null); 50RoslynDebug.Assert(child2 != null);
Syntax\InternalSyntax\SyntaxList`1.cs (3)
60RoslynDebug.Assert(node is object); 66RoslynDebug.Assert(_node is object); 112RoslynDebug.Assert(_node is object);
Syntax\SyntaxNode.cs (5)
34RoslynDebug.Assert(position >= 0, "position cannot be negative"); 35RoslynDebug.Assert(parent?.Green.IsList != true, "list cannot be a parent"); 693RoslynDebug.Assert(tree != null); 779RoslynDebug.Assert(syntaxNode is object); 974RoslynDebug.Assert(node is object);
Syntax\SyntaxNodeOrTokenListBuilder.cs (3)
42RoslynDebug.Assert(innerNode is object); 77RoslynDebug.Assert(item.Node is object); 83RoslynDebug.Assert(item.UnderlyingNode is object);
Text\ChangedText.cs (2)
22RoslynDebug.Assert(newText != null); 24RoslynDebug.Assert(oldText != null);
Text\SourceText.cs (7)
292RoslynDebug.Assert(stream != null); 293RoslynDebug.Assert(encoding != null); 335RoslynDebug.Assert(buffer != null); 336RoslynDebug.Assert(encoding != null); 687RoslynDebug.Assert(algorithm != null); 696RoslynDebug.Assert(algorithm != null); 1220RoslynDebug.Assert(source != null);
Text\StringBuilderText.cs (1)
27RoslynDebug.Assert(builder != null);
Text\StringText.cs (1)
31RoslynDebug.Assert(source != null);
TreeDumper.cs (3)
81RoslynDebug.Assert(node != null); 82RoslynDebug.Assert(indent != null); 144RoslynDebug.Assert(node != null);
WellKnownTypes.cs (1)
754RoslynDebug.Assert(name == typeIdName, $"Enum name ({typeIdName}) and type name ({name}) must match at {i}");
Microsoft.CodeAnalysis.CSharp (849)
Binder\Binder.cs (38)
32RoslynDebug.Assert(compilation != null); 33RoslynDebug.Assert(this is BuckStopsHereBinder); 40RoslynDebug.Assert(next != null); 49RoslynDebug.Assert(next != null); 51RoslynDebug.Assert(!flags.Includes(BinderFlags.UncheckedRegion | BinderFlags.CheckedRegion)); 53RoslynDebug.Assert(!flags.Includes(BinderFlags.InNestedFinallyBlock) || flags.Includes(BinderFlags.InFinallyBlock | BinderFlags.InCatchBlock)); 113RoslynDebug.Assert(!this.Flags.Includes(BinderFlags.UncheckedRegion | BinderFlags.CheckedRegion)); 167RoslynDebug.Assert(Next is object); 178RoslynDebug.Assert(binder is object); 187RoslynDebug.Assert(Next is object); 196RoslynDebug.Assert(Next is object); 244RoslynDebug.Assert(Next is object); 272RoslynDebug.Assert(token.SyntaxTree is object); 278RoslynDebug.Assert(Next is object); 310RoslynDebug.Assert(Next is object); 325RoslynDebug.Assert(Next is object); 341RoslynDebug.Assert(Next is object); 355RoslynDebug.Assert(Next is object); 369RoslynDebug.Assert(Next is object); 380RoslynDebug.Assert(Next is object); 392RoslynDebug.Assert(Next is object); 405RoslynDebug.Assert(Next is object); 414RoslynDebug.Assert(Next is object); 427RoslynDebug.Assert(member is null || member.Kind != SymbolKind.ErrorType); 465RoslynDebug.Assert(Next is object); 474RoslynDebug.Assert(Next is object); 483RoslynDebug.Assert(Next is object); 496RoslynDebug.Assert(Next is object); 562RoslynDebug.Assert(location is object); 569RoslynDebug.Assert(location is object); 641RoslynDebug.Assert(symbol is object); 643RoslynDebug.Assert(symbol.Kind == SymbolKind.NamedType || 691RoslynDebug.Assert(diagnosticKind != ObsoleteDiagnosticKind.Lazy, "We forced attribute binding above."); 715RoslynDebug.Assert(diagnostics != null); 828RoslynDebug.Assert((location != null) ^ (syntax != null)); 879RoslynDebug.Assert(expression.Type is object); 886RoslynDebug.Assert(statement.Kind != BoundKind.StatementList); 946RoslynDebug.Assert(current is object);
Binder\Binder.ValueChecks.cs (3)
971RoslynDebug.Assert(expr is not BoundValuePlaceholderBase, $"Placeholder kind {expr.Kind} should be explicitly handled"); 4664RoslynDebug.Assert(false, $"{expr.Kind} expression of {expr.Type} type"); 5500RoslynDebug.Assert(false, $"{expr.Kind} expression of {expr.Type} type");
Binder\Binder_AnonymousTypes.cs (1)
220RoslynDebug.Assert(expressionType is object);
Binder\Binder_Attributes.cs (10)
39RoslynDebug.Assert(boundAttributeTypes != null); 86RoslynDebug.Assert(attributeDataArray != null); 287RoslynDebug.Assert((object)attributeType != null); 594RoslynDebug.Assert(namedArgument.NameEquals is object); 658RoslynDebug.Assert(namedArgument.NameEquals is object); 667RoslynDebug.Assert(namedArgumentType is object); 671RoslynDebug.Assert(namedArgument.NameEquals is object); 704RoslynDebug.Assert((object)attributeConstructor != null); 839RoslynDebug.Assert(node.Type is object); 1016RoslynDebug.Assert(type is object);
Binder\Binder_Await.cs (3)
325RoslynDebug.Assert(expression.Type is object); 446RoslynDebug.Assert(awaiterType is object); 479RoslynDebug.Assert(method != null);
Binder\Binder_Constraints.cs (2)
34RoslynDebug.Assert((object)containingSymbol != null); 62RoslynDebug.Assert(name is object);
Binder\Binder_Conversions.cs (11)
106RoslynDebug.Assert(source != null); 107RoslynDebug.Assert((object)destination != null); 108RoslynDebug.Assert(!isCast || conversionGroupOpt != null || wasCompilerGenerated); 120RoslynDebug.Assert(source.Type is object); 2568RoslynDebug.Assert(receiverOpt != null); 2697RoslynDebug.Assert(receiverOpt.Type is object); 2717RoslynDebug.Assert(receiverOpt.Type is object); 3114RoslynDebug.Assert(source != null); 3115RoslynDebug.Assert((object)destination != null); 3215RoslynDebug.Assert(sourceValue != null); 3222RoslynDebug.Assert((object)underlyingType != null);
Binder\Binder_Invocation.cs (1)
2449RoslynDebug.Assert(boundExpression.Type is FunctionPointerTypeSymbol);
Binder\Binder_Patterns.cs (9)
146RoslynDebug.Assert(node is not null); 151RoslynDebug.Assert(switchBinder is { }); 160RoslynDebug.Assert(this.Next is { }); 620RoslynDebug.Assert(expression.Type is { }); 728RoslynDebug.Assert((object)inputType != null); 729RoslynDebug.Assert((object)patternType != null); 812RoslynDebug.Assert((object)expressionType != null); 858RoslynDebug.Assert(inputType is { }); 887RoslynDebug.Assert(ContainingMemberOrLambda is { });
Binder\Binder_Symbols.cs (1)
463RoslynDebug.Assert(@delegate.SyntaxTree is object);
Binder\DecisionDagBuilder.cs (19)
328RoslynDebug.Assert(getLengthProperty.Type.SpecialType == SpecialType.System_Int32); 331RoslynDebug.Assert(iTupleType.Name == "ITuple"); 412RoslynDebug.Assert(declaration.Variable == null); 522RoslynDebug.Assert(input.Type.IsErrorType() || recursive.HasErrors || recursive.InputType.IsErrorType() || input.Type.Equals(recursive.InputType, TypeCompareKind.AllIgnoreOptions)); 572RoslynDebug.Assert(recursive.HasAnyErrors); 755RoslynDebug.Assert(rootDecisionDagNode != null); 894RoslynDebug.Assert(state.SelectedTest == null); 895RoslynDebug.Assert(state.TrueBranch == null); 896RoslynDebug.Assert(state.FalseBranch == null); 1012RoslynDebug.Assert(!(first.RemainingTests is Tests.False)); 1022RoslynDebug.Assert(state.TrueBranch == null); 1023RoslynDebug.Assert(state.FalseBranch is { }); 1028RoslynDebug.Assert(whenFalse is { }); 1046RoslynDebug.Assert(next is { }); 1047RoslynDebug.Assert(state.FalseBranch == null); 1055RoslynDebug.Assert(whenTrue is { }); 1056RoslynDebug.Assert(whenFalse is { }); 1949RoslynDebug.Assert(x is { }); 1950RoslynDebug.Assert(y is { });
Binder\ForEachEnumeratorInfo.cs (5)
67RoslynDebug.Assert((object)collectionType != null, $"Field '{nameof(collectionType)}' cannot be null"); 68RoslynDebug.Assert(elementType.HasType, $"Field '{nameof(elementType)}' cannot be null"); 69RoslynDebug.Assert((object)getEnumeratorInfo != null, $"Field '{nameof(getEnumeratorInfo)}' cannot be null"); 70RoslynDebug.Assert((object)currentPropertyGetter != null, $"Field '{nameof(currentPropertyGetter)}' cannot be null"); 71RoslynDebug.Assert((object)moveNextInfo != null, $"Field '{nameof(moveNextInfo)}' cannot be null");
Binder\RefSafetyAnalysis.cs (3)
286RoslynDebug.Assert(added, $"Expression {expr} `{expr.Syntax}` visited more than once."); 299RoslynDebug.Assert(_visited.Contains(expr), $"Expected {expr} `{expr.Syntax}` to be visited."); 1175RoslynDebug.Assert(location is object);
Binder\Semantics\Conversions\Conversion.cs (1)
257RoslynDebug.Assert(isTrivial, $"this conversion needs additional data: {kind}");
BoundTree\BoundDagEvaluation.cs (2)
86RoslynDebug.Assert(value > 0, "Id must be positive but was set to " + value); 87RoslynDebug.Assert(_id == -1, $"Id was set to {_id} and set again to {value}");
BoundTree\BoundNode.cs (1)
359RoslynDebug.Assert((_attributes & BoundNodeAttributes.ParamsArrayOrCollection) == 0, $"{nameof(BoundNodeAttributes.ParamsArrayOrCollection)} flag should not be set twice or reset");
BoundTree\Formatting.cs (1)
21RoslynDebug.Assert(this.Type is { }, $"Unexpected null type in {this.GetType().Name}");
BoundTree\NullabilityRewriter.cs (1)
176RoslynDebug.Assert(updatedSymbol is object);
CodeGen\EmitArrayInitializer.cs (1)
433RoslynDebug.Assert(_diagnostics.DiagnosticBag is not null, $"Expected non-null {nameof(_diagnostics)}.{nameof(_diagnostics.DiagnosticBag)}");
CommandLine\CSharpCommandLineParser.cs (1)
1618RoslynDebug.Assert(!RoslynString.IsNullOrEmpty(switchName));
Compilation\CSharpCompilation.cs (16)
409RoslynDebug.Assert(options != null); 1235RoslynDebug.Assert(directive.SyntaxTree.FilePath is object); 1376RoslynDebug.Assert(_lazyAssemblySymbol is object); 1922RoslynDebug.Assert(diagnostics.DiagnosticBag is object); 1990RoslynDebug.Assert(simpleProgramEntryPointSymbol is object); 2003RoslynDebug.Assert(noMainFoundDiagnostics.DiagnosticBag is object); 2219RoslynDebug.Assert(!namedType.IsDynamic()); 2697RoslynDebug.Assert(externAliasesToCheck is object); 2721RoslynDebug.Assert(diagnostics.DependenciesBag is object); 2727RoslynDebug.Assert(bindingDiagnostics.DependenciesBag is object); 2806RoslynDebug.Assert(_lazyImportInfos is object); 2965RoslynDebug.Assert(builder.DiagnosticBag is object); 3043RoslynDebug.Assert(methodBodyDiagnostics.DiagnosticBag is object); 3071RoslynDebug.Assert(diagnostics.DiagnosticBag is object); 3274RoslynDebug.Assert(syntaxTree != null); 4758RoslynDebug.Assert(symbol is object);
Compilation\MemberSemanticModel.cs (1)
728RoslynDebug.Assert(remappedSymbol is object);
Compiler\DocumentationCommentCompiler.cs (1)
1276RoslynDebug.Assert(_indentDepth == t.InitialIndentDepth, $"Temporary strings should be indent-neutral (was {t.InitialIndentDepth}, is {_indentDepth})");
Compiler\MethodBodySynthesizer.Lowered.cs (2)
443RoslynDebug.AssertNotNull(retExpression); 459RoslynDebug.AssertNotNull(F.CurrentFunction);
Compiler\TypeCompilationState.cs (3)
35RoslynDebug.Assert(method != null); 36RoslynDebug.Assert(body != null); 227RoslynDebug.Assert((object)next != null);
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
446RoslynDebug.AssertNotNull(otherContainer); 466RoslynDebug.AssertNotNull(type);
Emitter\EditAndContinue\EmitHelpers.cs (4)
194RoslynDebug.Assert(previousGeneration.Compilation != compilation); 204RoslynDebug.AssertNotNull(previousGeneration.Compilation); 205RoslynDebug.AssertNotNull(previousGeneration.PEModuleBuilder); 206RoslynDebug.AssertNotNull(moduleBeingBuilt.EncSymbolChanges);
Emitter\Model\EventSymbolAdapter.cs (4)
32RoslynDebug.Assert((object?)addMethod != null); 39RoslynDebug.Assert((object?)removeMethod != null); 52RoslynDebug.Assert((object?)addMethod != null); 63RoslynDebug.Assert((object?)removeMethod != null);
Errors\ErrorFacts.cs (2)
138RoslynDebug.Assert(!string.IsNullOrEmpty(message), $"{code}"); 146RoslynDebug.Assert(!string.IsNullOrEmpty(message), $"{code}");
Errors\XmlSyntaxDiagnosticInfo.cs (1)
43RoslynDebug.Assert(!string.IsNullOrEmpty(message));
FlowAnalysis\AbstractFlowPass.cs (1)
896RoslynDebug.Assert(false, $"Should Visit{node.Kind} be overridden in {this.GetType().Name}?");
FlowAnalysis\NullableWalker.cs (4)
1955RoslynDebug.Assert(AreCloseEnough(originalSymbol, updatedSymbol), $"Attempting to set {node.Syntax} from {originalSymbol.ToDisplayString()} to {updatedSymbol.ToDisplayString()}"); 13494RoslynDebug.Assert(x.symbol is object); 13495RoslynDebug.Assert(y.symbol is object); 13505RoslynDebug.Assert(obj.symbol is object);
FlowAnalysis\NullableWalker.DebugVerifier.cs (4)
50RoslynDebug.Assert(false, $"Analyzed {verifier._analyzedNullabilityMap.Count} nodes in NullableWalker, but DebugVerifier expects {verifier._visitedExpressions.Count}. Example of unverified node: {analyzedNode.GetDebuggerDisplay()}"); 60RoslynDebug.Assert(false, $"Analyzed {verifier._analyzedNullabilityMap.Count} nodes in NullableWalker, but DebugVerifier expects {verifier._visitedExpressions.Count}. Example of unanalyzed node: {verifiedNode.GetDebuggerDisplay()}"); 71RoslynDebug.Assert(!_analyzedNullabilityMap.ContainsKey(expression), $"Found unexpected {expression} `{expression.Syntax}` in the map."); 75RoslynDebug.Assert(_analyzedNullabilityMap.ContainsKey(expression), $"Did not find {expression} `{expression.Syntax}` in the map.");
FlowAnalysis\NullableWalker.SnapshotManager.cs (6)
118RoslynDebug.Assert(_walkerSharedStates.Length > _incrementalSnapshots[position].snapshot.SharedStateIndex, $"Did not find shared state for {node} `{node.Syntax}`."); 126RoslynDebug.Assert((object)originalSymbol != updatedSymbol, $"Recorded exact same symbol for {debugText}"); 127RoslynDebug.Assert(originalSymbol is object, $"Recorded null original symbol for {debugText}"); 128RoslynDebug.Assert(updatedSymbol is object, $"Recorded null updated symbol for {debugText}"); 129RoslynDebug.Assert(AreCloseEnough(originalSymbol, updatedSymbol), @$"Symbol for `{debugText}` changed: 183RoslynDebug.Assert(symbol is object);
Generated\BoundNodes.xml.Generated.cs (575)
277RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 278RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 294RoslynDebug.Assert(field is object, "Field 'field' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 295RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 296RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 324RoslynDebug.Assert(property is object, "Field 'property' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 325RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 326RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 354RoslynDebug.Assert(parameter is object, "Field 'parameter' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 355RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 356RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 384RoslynDebug.Assert(statement is object, "Field 'statement' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 485RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 515RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 525RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 556RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 564RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 620RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 628RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 655RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 664RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 693RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 701RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 728RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 737RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 766RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 774RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 801RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 809RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 836RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 844RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 871RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 879RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 937RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 965RoslynDebug.Assert(!symbols.IsDefault, "Field 'symbols' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 966RoslynDebug.Assert(!childBoundNodes.IsDefault, "Field 'childBoundNodes' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 998RoslynDebug.Assert(!childBoundNodes.IsDefault, "Field 'childBoundNodes' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 1026RoslynDebug.Assert(finallyBlock is object, "Field 'finallyBlock' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1054RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1089RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1098RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1127RoslynDebug.Assert(namespaceSymbol is object, "Field 'namespaceSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1137RoslynDebug.Assert(namespaceSymbol is object, "Field 'namespaceSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1168RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1169RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1210RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1211RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1258RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1259RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1290RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1319RoslynDebug.Assert(targetMethod is object, "Field 'targetMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1320RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1330RoslynDebug.Assert(targetMethod is object, "Field 'targetMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1331RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1362RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1363RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1394RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1395RoslynDebug.Assert(index is object, "Field 'index' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1396RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1431RoslynDebug.Assert(invokedExpression is object, "Field 'invokedExpression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1432RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 1433RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1468RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1469RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1500RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1501RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1530RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1531RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1562RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1563RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1594RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1627RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1628RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1629RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1646RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1647RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1648RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1680RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1681RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1682RoslynDebug.Assert(operators is object, "Field 'operators' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1683RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1718RoslynDebug.Assert(logicalOperator is object, "Field 'logicalOperator' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1719RoslynDebug.Assert(trueOperator is object, "Field 'trueOperator' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1720RoslynDebug.Assert(falseOperator is object, "Field 'falseOperator' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1721RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1722RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1723RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1771RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1772RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1773RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1818RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1819RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1852RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1853RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1854RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1887RoslynDebug.Assert(leftOperand is object, "Field 'leftOperand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1888RoslynDebug.Assert(rightOperand is object, "Field 'rightOperand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1889RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1928RoslynDebug.Assert(leftOperand is object, "Field 'leftOperand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1929RoslynDebug.Assert(rightOperand is object, "Field 'rightOperand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1959RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1960RoslynDebug.Assert(consequence is object, "Field 'consequence' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1961RoslynDebug.Assert(alternative is object, "Field 'alternative' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1998RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1999RoslynDebug.Assert(consequence is object, "Field 'consequence' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2000RoslynDebug.Assert(alternative is object, "Field 'alternative' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2001RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2042RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2043RoslynDebug.Assert(!indices.IsDefault, "Field 'indices' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 2044RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2075RoslynDebug.Assert(arrayAccess is object, "Field 'arrayAccess' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2104RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2105RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2167RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2168RoslynDebug.Assert(awaitableInfo is object, "Field 'awaitableInfo' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2169RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2202RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2211RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2226RoslynDebug.Assert(sourceType is object, "Field 'sourceType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2227RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2255RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 2287RoslynDebug.Assert(method is object, "Field 'method' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2288RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2301RoslynDebug.Assert(method is object, "Field 'method' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2302RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2331RoslynDebug.Assert(local is object, "Field 'local' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2332RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2342RoslynDebug.Assert(local is object, "Field 'local' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2343RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2374RoslynDebug.Assert(parameter is object, "Field 'parameter' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2375RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2385RoslynDebug.Assert(parameter is object, "Field 'parameter' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2386RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2417RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2425RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2452RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2460RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2487RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2496RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2525RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2533RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2560RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2568RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2595RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2603RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2630RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2638RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2665RoslynDebug.Assert(document is object, "Field 'document' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2666RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2675RoslynDebug.Assert(document is object, "Field 'document' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2676RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2705RoslynDebug.Assert(method is object, "Field 'method' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2706RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2716RoslynDebug.Assert(method is object, "Field 'method' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2717RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2748RoslynDebug.Assert(field is object, "Field 'field' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2749RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2759RoslynDebug.Assert(field is object, "Field 'field' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2760RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2814RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2845RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2846RoslynDebug.Assert(targetType is object, "Field 'targetType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2847RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2880RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2881RoslynDebug.Assert(targetType is object, "Field 'targetType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2882RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2917RoslynDebug.Assert(sourceType is object, "Field 'sourceType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2918RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2949RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2950RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2991RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2992RoslynDebug.Assert(conversionMethod is object, "Field 'conversionMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2993RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3024RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3032RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3059RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3090RoslynDebug.Assert(elementPointerType is object, "Field 'elementPointerType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3091RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3092RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3195RoslynDebug.Assert(identifier is object, "Field 'identifier' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3204RoslynDebug.Assert(identifier is object, "Field 'identifier' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3232RoslynDebug.Assert(identifier is object, "Field 'identifier' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3241RoslynDebug.Assert(identifier is object, "Field 'identifier' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3300RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3301RoslynDebug.Assert(!localFunctions.IsDefault, "Field 'localFunctions' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3302RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3336RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3337RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3365RoslynDebug.Assert(!fields.IsDefault, "Field 'fields' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3366RoslynDebug.Assert(statement is object, "Field 'statement' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3396RoslynDebug.Assert(localSymbol is object, "Field 'localSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3432RoslynDebug.Assert(!localDeclarations.IsDefault, "Field 'localDeclarations' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3446RoslynDebug.Assert(!localDeclarations.IsDefault, "Field 'localDeclarations' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3472RoslynDebug.Assert(!localDeclarations.IsDefault, "Field 'localDeclarations' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3502RoslynDebug.Assert(symbol is object, "Field 'symbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3594RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3664RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3692RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3701RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3729RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3738RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3766RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3767RoslynDebug.Assert(!innerLocals.IsDefault, "Field 'innerLocals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3768RoslynDebug.Assert(!innerLocalFunctions.IsDefault, "Field 'innerLocalFunctions' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3769RoslynDebug.Assert(!switchSections.IsDefault, "Field 'switchSections' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3770RoslynDebug.Assert(reachabilityDecisionDag is object, "Field 'reachabilityDecisionDag' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3771RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3811RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3812RoslynDebug.Assert(!cases.IsDefault, "Field 'cases' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3813RoslynDebug.Assert(defaultLabel is object, "Field 'defaultLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3847RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3848RoslynDebug.Assert(consequence is object, "Field 'consequence' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3880RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3881RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3891RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3892RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3908RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3909RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3910RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3911RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3912RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3930RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3931RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3932RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3933RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3934RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3960RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3961RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3962RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3963RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3964RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3990RoslynDebug.Assert(!outerLocals.IsDefault, "Field 'outerLocals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3991RoslynDebug.Assert(!innerLocals.IsDefault, "Field 'innerLocals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3992RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3993RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3994RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4032RoslynDebug.Assert(iterationVariableType is object, "Field 'iterationVariableType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4033RoslynDebug.Assert(!iterationVariables.IsDefault, "Field 'iterationVariables' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4034RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4035RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4036RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4037RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4083RoslynDebug.Assert(deconstructionAssignment is object, "Field 'deconstructionAssignment' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4084RoslynDebug.Assert(targetPlaceholder is object, "Field 'targetPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4114RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4115RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4153RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4154RoslynDebug.Assert(declarations is object, "Field 'declarations' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4155RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4187RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4188RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4218RoslynDebug.Assert(tryBlock is object, "Field 'tryBlock' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4219RoslynDebug.Assert(!catchBlocks.IsDefault, "Field 'catchBlocks' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4255RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4256RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4327RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4328RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4337RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4338RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4367RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4375RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4402RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4410RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4437RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4445RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4501RoslynDebug.Assert(localSymbol is object, "Field 'localSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4502RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4514RoslynDebug.Assert(localSymbol is object, "Field 'localSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4515RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4550RoslynDebug.Assert(localSymbol is object, "Field 'localSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4551RoslynDebug.Assert(emitExpressions is object, "Field 'emitExpressions' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4552RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4562RoslynDebug.Assert(localSymbol is object, "Field 'localSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4563RoslynDebug.Assert(emitExpressions is object, "Field 'emitExpressions' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4564RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4595RoslynDebug.Assert(rangeVariableSymbol is object, "Field 'rangeVariableSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4596RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4597RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4628RoslynDebug.Assert(parameterSymbol is object, "Field 'parameterSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4629RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4638RoslynDebug.Assert(parameterSymbol is object, "Field 'parameterSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4639RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4668RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4677RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4705RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4737RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4738RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4768RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4777RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4805RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4814RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4842RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4843RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4875RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4876RoslynDebug.Assert(!switchArms.IsDefault, "Field 'switchArms' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4877RoslynDebug.Assert(reachabilityDecisionDag is object, "Field 'reachabilityDecisionDag' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4899RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4900RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4901RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4902RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4938RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4939RoslynDebug.Assert(!switchArms.IsDefault, "Field 'switchArms' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4940RoslynDebug.Assert(reachabilityDecisionDag is object, "Field 'reachabilityDecisionDag' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4966RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4967RoslynDebug.Assert(!switchArms.IsDefault, "Field 'switchArms' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4968RoslynDebug.Assert(reachabilityDecisionDag is object, "Field 'reachabilityDecisionDag' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4969RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5000RoslynDebug.Assert(rootNode is object, "Field 'rootNode' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5042RoslynDebug.Assert(evaluation is object, "Field 'evaluation' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5043RoslynDebug.Assert(next is object, "Field 'next' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5073RoslynDebug.Assert(test is object, "Field 'test' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5074RoslynDebug.Assert(whenTrue is object, "Field 'whenTrue' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5075RoslynDebug.Assert(whenFalse is object, "Field 'whenFalse' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5107RoslynDebug.Assert(!bindings.IsDefault, "Field 'bindings' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5108RoslynDebug.Assert(whenTrue is object, "Field 'whenTrue' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5142RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5151RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5179RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5193RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5225RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5226RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5254RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5282RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5308RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5309RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5337RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5338RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5368RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5380RoslynDebug.Assert(deconstructMethod is object, "Field 'deconstructMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5381RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5409RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5410RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5438RoslynDebug.Assert(field is object, "Field 'field' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5439RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5467RoslynDebug.Assert(property is object, "Field 'property' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5468RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5498RoslynDebug.Assert(property is object, "Field 'property' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5499RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5529RoslynDebug.Assert(indexerType is object, "Field 'indexerType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5530RoslynDebug.Assert(lengthTemp is object, "Field 'lengthTemp' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5531RoslynDebug.Assert(indexerAccess is object, "Field 'indexerAccess' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5532RoslynDebug.Assert(receiverPlaceholder is object, "Field 'receiverPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5533RoslynDebug.Assert(argumentPlaceholder is object, "Field 'argumentPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5534RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5576RoslynDebug.Assert(sliceType is object, "Field 'sliceType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5577RoslynDebug.Assert(lengthTemp is object, "Field 'lengthTemp' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5578RoslynDebug.Assert(indexerAccess is object, "Field 'indexerAccess' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5579RoslynDebug.Assert(receiverPlaceholder is object, "Field 'receiverPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5580RoslynDebug.Assert(argumentPlaceholder is object, "Field 'argumentPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5581RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5625RoslynDebug.Assert(target is object, "Field 'target' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5626RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5654RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5655RoslynDebug.Assert(!switchLabels.IsDefault, "Field 'switchLabels' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5656RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5686RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5687RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5733RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5761RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5762RoslynDebug.Assert(!sideEffects.IsDefault, "Field 'sideEffects' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5763RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5764RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5797RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5798RoslynDebug.Assert(!sideEffects.IsDefault, "Field 'sideEffects' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5799RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5800RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5833RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5834RoslynDebug.Assert(name is object, "Field 'name' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5835RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5872RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5873RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5889RoslynDebug.Assert(!applicableMethods.IsDefault, "Field 'applicableMethods' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5890RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5891RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5892RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5925RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5926RoslynDebug.Assert(accessExpression is object, "Field 'accessExpression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5927RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5958RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5959RoslynDebug.Assert(whenNotNull is object, "Field 'whenNotNull' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5960RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5999RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6008RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6037RoslynDebug.Assert(valueTypeReceiver is object, "Field 'valueTypeReceiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6038RoslynDebug.Assert(referenceTypeReceiver is object, "Field 'referenceTypeReceiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6039RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6070RoslynDebug.Assert(name is object, "Field 'name' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6071RoslynDebug.Assert(!methods.IsDefault, "Field 'methods' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6111RoslynDebug.Assert(!properties.IsDefault, "Field 'properties' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6139RoslynDebug.Assert(method is object, "Field 'method' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6140RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6141RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6194RoslynDebug.Assert(@event is object, "Field '@event' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6195RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6196RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6233RoslynDebug.Assert(!constructorArguments.IsDefault, "Field 'constructorArguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6234RoslynDebug.Assert(!namedArguments.IsDefault, "Field 'namedArguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6235RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6278RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6279RoslynDebug.Assert(binder is object, "Field 'binder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6316RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6324RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6337RoslynDebug.Assert(constructor is object, "Field 'constructor' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6338RoslynDebug.Assert(!constructorsGroup.IsDefault, "Field 'constructorsGroup' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6339RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6340RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6388RoslynDebug.Assert(!elements.IsDefault, "Field 'elements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6402RoslynDebug.Assert(!elements.IsDefault, "Field 'elements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6429RoslynDebug.Assert(unconvertedCollectionExpression is object, "Field 'unconvertedCollectionExpression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6430RoslynDebug.Assert(!elements.IsDefault, "Field 'elements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6431RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6502RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6542RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6560RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6587RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6617RoslynDebug.Assert(name is object, "Field 'name' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6618RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6619RoslynDebug.Assert(!applicableMethods.IsDefault, "Field 'applicableMethods' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6620RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6660RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6692RoslynDebug.Assert(placeholder is object, "Field 'placeholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6693RoslynDebug.Assert(!initializers.IsDefault, "Field 'initializers' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6694RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6711RoslynDebug.Assert(placeholder is object, "Field 'placeholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6712RoslynDebug.Assert(!initializers.IsDefault, "Field 'initializers' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6713RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6739RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6740RoslynDebug.Assert(receiverType is object, "Field 'receiverType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6741RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6788RoslynDebug.Assert(memberName is object, "Field 'memberName' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6789RoslynDebug.Assert(receiverType is object, "Field 'receiverType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6790RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6800RoslynDebug.Assert(memberName is object, "Field 'memberName' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6801RoslynDebug.Assert(receiverType is object, "Field 'receiverType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6802RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6833RoslynDebug.Assert(placeholder is object, "Field 'placeholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6834RoslynDebug.Assert(!initializers.IsDefault, "Field 'initializers' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6835RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6861RoslynDebug.Assert(addMethod is object, "Field 'addMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6862RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6863RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6906RoslynDebug.Assert(!applicableMethods.IsDefault, "Field 'applicableMethods' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6907RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6908RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6909RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6938RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6946RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6973RoslynDebug.Assert(constructor is object, "Field 'constructor' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6974RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6975RoslynDebug.Assert(!declarations.IsDefault, "Field 'declarations' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6976RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7009RoslynDebug.Assert(property is object, "Field 'property' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7010RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7019RoslynDebug.Assert(property is object, "Field 'property' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7020RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7049RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7079RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7080RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7115RoslynDebug.Assert(!bounds.IsDefault, "Field 'bounds' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7116RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7147RoslynDebug.Assert(!initializers.IsDefault, "Field 'initializers' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7178RoslynDebug.Assert(elementType is object, "Field 'elementType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7179RoslynDebug.Assert(count is object, "Field 'count' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7197RoslynDebug.Assert(elementType is object, "Field 'elementType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7198RoslynDebug.Assert(count is object, "Field 'count' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7224RoslynDebug.Assert(elementType is object, "Field 'elementType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7225RoslynDebug.Assert(count is object, "Field 'count' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7226RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7253RoslynDebug.Assert(fieldSymbol is object, "Field 'fieldSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7254RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7293RoslynDebug.Assert(fieldSymbol is object, "Field 'fieldSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7294RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7303RoslynDebug.Assert(fieldSymbol is object, "Field 'fieldSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7304RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7333RoslynDebug.Assert(propertySymbol is object, "Field 'propertySymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7334RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7371RoslynDebug.Assert(eventSymbol is object, "Field 'eventSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7372RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7407RoslynDebug.Assert(indexer is object, "Field 'indexer' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7408RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7409RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7458RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7459RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7460RoslynDebug.Assert(lengthOrCountAccess is object, "Field 'lengthOrCountAccess' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7461RoslynDebug.Assert(receiverPlaceholder is object, "Field 'receiverPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7462RoslynDebug.Assert(indexerOrSliceAccess is object, "Field 'indexerOrSliceAccess' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7463RoslynDebug.Assert(!argumentPlaceholders.IsDefault, "Field 'argumentPlaceholders' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7464RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7507RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7508RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7509RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7548RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7549RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7550RoslynDebug.Assert(!applicableIndexers.IsDefault, "Field 'applicableIndexers' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7551RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7588RoslynDebug.Assert(unboundLambda is object, "Field 'unboundLambda' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7589RoslynDebug.Assert(symbol is object, "Field 'symbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7590RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7591RoslynDebug.Assert(binder is object, "Field 'binder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7628RoslynDebug.Assert(data is object, "Field 'data' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7639RoslynDebug.Assert(data is object, "Field 'data' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7672RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7673RoslynDebug.Assert(binder is object, "Field 'binder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7674RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7713RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7739RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7740RoslynDebug.Assert(constantValueOpt is object, "Field 'constantValueOpt' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7741RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7772RoslynDebug.Assert(!parts.IsDefault, "Field 'parts' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7788RoslynDebug.Assert(!parts.IsDefault, "Field 'parts' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7814RoslynDebug.Assert(!parts.IsDefault, "Field 'parts' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7870RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7879RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7908RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7943RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7944RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7945RoslynDebug.Assert(reachabilityDecisionDag is object, "Field 'reachabilityDecisionDag' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7946RoslynDebug.Assert(whenTrueLabel is object, "Field 'whenTrueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7947RoslynDebug.Assert(whenFalseLabel is object, "Field 'whenFalseLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7985RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7986RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7996RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7997RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8013RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8014RoslynDebug.Assert(constantValue is object, "Field 'constantValue' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8015RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8016RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8050RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8051RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8063RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8064RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8090RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8091RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8107RoslynDebug.Assert(declaredType is object, "Field 'declaredType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8108RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8109RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8143RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8144RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8184RoslynDebug.Assert(!subpatterns.IsDefault, "Field 'subpatterns' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 8185RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8186RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8228RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8229RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8267RoslynDebug.Assert(getLengthMethod is object, "Field 'getLengthMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8268RoslynDebug.Assert(getItemMethod is object, "Field 'getItemMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8269RoslynDebug.Assert(!subpatterns.IsDefault, "Field 'subpatterns' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 8270RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8271RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8307RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8321RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8349RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8379RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8411RoslynDebug.Assert(declaredType is object, "Field 'declaredType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8412RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8413RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8447RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8448RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8449RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8450RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8486RoslynDebug.Assert(negated is object, "Field 'negated' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8487RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8488RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8520RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8521RoslynDebug.Assert(constantValue is object, "Field 'constantValue' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8522RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8523RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8594RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8622RoslynDebug.Assert(variableSymbol is object, "Field 'variableSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8639RoslynDebug.Assert(variableSymbol is object, "Field 'variableSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8665RoslynDebug.Assert(variableSymbol is object, "Field 'variableSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8762RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 8792RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8823RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8824RoslynDebug.Assert(initializerExpression is object, "Field 'initializerExpression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8825RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)");
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (2)
571RoslynDebug.Assert(functionSymbol is object); 767RoslynDebug.Assert(scope == _currentScope.Parent, $"{nameof(scope)} must be {nameof(_currentScope)} or {nameof(_currentScope)}.{nameof(_currentScope.Parent)}");
Lowering\ClosureConversion\ClosureConversion.cs (5)
176RoslynDebug.Assert(analysis != null); 177RoslynDebug.Assert((object)thisType != null); 178RoslynDebug.Assert(method != null); 179RoslynDebug.Assert(compilationState != null); 180RoslynDebug.Assert(diagnostics != null);
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (2)
59RoslynDebug.Assert(!(lambdaFrame is null)); 67RoslynDebug.Assert(lambdaFrame is null);
Lowering\LocalRewriter\LocalRewriter.cs (2)
1120RoslynDebug.Assert(expr is not BoundValuePlaceholderBase, $"Placeholder kind {expr.Kind} must be handled explicitly"); 1277RoslynDebug.Assert(false, $"Bound nodes of kind {node.Kind} should not survive past local rewriting");
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
226RoslynDebug.Assert(SyntaxBindingUtilities.BindsToResumableStateMachineState(node) || SyntaxBindingUtilities.BindsToTryStatement(node), $"Unexpected syntax: {node.Kind()}");
Parser\Directives.cs (2)
241RoslynDebug.AssertNotNull(_directives); // If 'prevIf' isn't null, then '_directives' wasn't null. 250RoslynDebug.AssertNotNull(_directives); // If 'prevRegion' isn't null, then '_directives' wasn't null.
Parser\LanguageParser.cs (1)
701RoslynDebug.Assert(attribute.Target != null, "Must have a target as IsPossibleGlobalAttributeDeclaration checks for that");
Parser\LanguageParser_Patterns.cs (1)
311RoslynDebug.AssertNotNull(firstSubPattern);
Parser\Lexer.cs (5)
1836RoslynDebug.AssertNotNull(info.Text); 1981RoslynDebug.AssertNotNull(endOfLine); 3210RoslynDebug.AssertNotNull(tagInfo.Text); 3878RoslynDebug.AssertNotNull(info.Text); 4552RoslynDebug.AssertNotNull(endOfLine);
SourceGeneration\CSharpSyntaxHelper.cs (1)
41RoslynDebug.AssertNotNull(container);
Symbols\AliasSymbol.cs (3)
351RoslynDebug.Assert(_aliasTargetDiagnostics != null); 364RoslynDebug.Assert(target is object); 365RoslynDebug.Assert(target.IsGlobalNamespace);
Symbols\ArrayTypeSymbol.cs (1)
31RoslynDebug.Assert((object)array != null);
Symbols\Compilation_UsedAssemblies.cs (1)
68RoslynDebug.Assert(diagnostics.DiagnosticBag is object);
Symbols\Compilation_WellKnownMembers.cs (5)
710RoslynDebug.Assert((object)debuggingModesType != null, "GetWellKnownType unexpectedly returned null"); 779RoslynDebug.Assert((object)type != null); 789RoslynDebug.Assert((object)booleanType != null); 799RoslynDebug.Assert((object)type != null); 803RoslynDebug.Assert((object)stringType != null);
Symbols\ErrorTypeSymbol.cs (1)
153RoslynDebug.Assert(result is object);
Symbols\ExtendedErrorTypeSymbol.cs (1)
40RoslynDebug.Assert(name != null);
Symbols\Metadata\PE\PEEventSymbol.cs (4)
60RoslynDebug.Assert((object)moduleSymbol != null); 61RoslynDebug.Assert((object)containingType != null); 63RoslynDebug.Assert((object)addMethod != null); 64RoslynDebug.Assert((object)removeMethod != null);
Symbols\Metadata\PE\TupleTypeDecoder.cs (1)
133RoslynDebug.AssertNotNull(metadataType);
Symbols\MissingMetadataTypeSymbol.cs (5)
31RoslynDebug.Assert(name != null); 194RoslynDebug.Assert((object)module != null); 195RoslynDebug.Assert(@namespace != null); 196RoslynDebug.Assert(typeId == -1 || typeId == (int)SpecialType.None || arity == 0 || mangleName); 411RoslynDebug.Assert((object)containingType != null);
Symbols\PublicModel\AliasSymbol.cs (1)
15RoslynDebug.Assert(underlying is object);
Symbols\PublicModel\ArrayTypeSymbol.cs (1)
20RoslynDebug.Assert(underlying is object);
Symbols\PublicModel\DiscardSymbol.cs (1)
17RoslynDebug.Assert(underlying != null);
Symbols\PublicModel\DynamicTypeSymbol.cs (1)
17RoslynDebug.Assert(underlying is object);
Symbols\PublicModel\ErrorTypeSymbol.cs (1)
18RoslynDebug.Assert(underlying is object);
Symbols\PublicModel\EventSymbol.cs (1)
18RoslynDebug.Assert(underlying is object);
Symbols\PublicModel\FunctionPointerTypeSymbol.cs (1)
17RoslynDebug.Assert(underlying is object);
Symbols\PublicModel\LabelSymbol.cs (1)
15RoslynDebug.Assert(underlying is object);
Symbols\ReferenceManager.cs (4)
546RoslynDebug.Assert((object)corLibrary != null); 874RoslynDebug.Assert(identity != null); 971RoslynDebug.Assert(documentationProvider != null); 972RoslynDebug.Assert(cachedSymbols != null);
Symbols\Retargeting\RetargetingEventSymbol.cs (1)
35RoslynDebug.Assert((object)retargetingModule != null);
Symbols\Source\SourceCustomEventSymbol.cs (1)
222RoslynDebug.Assert(explicitInterfaceSpecifier != null);
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
140RoslynDebug.Assert(!_parameters.IsDefault, $"Expected {nameof(InitializeParameters)} prior to accessing this property.");
Symbols\Source\SourceEventSymbol.cs (2)
233RoslynDebug.AssertNotNull(_lazyCustomAttributesBag); 697RoslynDebug.Assert((object)eventWithCustomModifiers != null);
Symbols\Source\SourceMemberContainerSymbol.cs (9)
1552RoslynDebug.Assert((object)valueField != null); 1721RoslynDebug.AssertOrFailFast(forDiagnostics); 1722RoslynDebug.AssertOrFailFast(Volatile.Read(ref _lazyTypeMembers)?.Values.Any(types => types.Contains(t => t == (object)type)) == true); 1727RoslynDebug.AssertOrFailFast(forDiagnostics); 1732RoslynDebug.AssertOrFailFast(forDiagnostics); 1757RoslynDebug.AssertOrFailFast(GetSimpleProgramEntryPoints().Contains(m => m == (object)member)); 1762RoslynDebug.AssertOrFailFast(declared != DeclaredMembersAndInitializers.UninitializedSentinel); 1775RoslynDebug.AssertOrFailFast(membersAndInitializers is object); 1784RoslynDebug.AssertOrFailFast(false, "Premature symbol exposure.");
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
818RoslynDebug.Assert(arguments.AttributeSyntaxOpt?.ArgumentList is object);
Symbols\SymbolExtensions.cs (1)
292RoslynDebug.Assert(errorLocation != null);
Symbols\Synthesized\SynthesizedGlobalMethodSymbol.cs (2)
164RoslynDebug.Assert(!_typeParameters.IsDefault, $"Expected {nameof(SetTypeParameters)} prior to accessing this property."); 178RoslynDebug.Assert(!_parameters.IsDefault, $"Expected {nameof(SetParameters)} prior to accessing this property.");
Symbols\Tuples\TupleTypeSymbol.cs (2)
262RoslynDebug.Assert(diagnostics is object && syntax is object); 921RoslynDebug.Assert(underlyingType is object);
Symbols\TypeSymbolExtensions.cs (29)
52RoslynDebug.Assert((object)typeSymbol != null); 173RoslynDebug.Assert((object)type != null); 174RoslynDebug.Assert(IsNullableType(type)); 175RoslynDebug.Assert(type is NamedTypeSymbol); //not testing Kind because it may be an ErrorType 222RoslynDebug.Assert((object)type != null); 329RoslynDebug.Assert((object)type != null); 335RoslynDebug.Assert((object)type != null); 341RoslynDebug.Assert((object)type != null); 347RoslynDebug.Assert((object)type != null); 363RoslynDebug.Assert((object)type != null); 369RoslynDebug.Assert((object)type != null); 375RoslynDebug.Assert((object)type != null); 570RoslynDebug.Assert((object)type != null); 612RoslynDebug.Assert((object)type != null); 613RoslynDebug.Assert(type.IsDelegateType() || type.IsExpressionTree()); 629RoslynDebug.Assert((object)type != null); 760RoslynDebug.Assert(typeWithAnnotationsOpt.HasType == (type is null)); 761RoslynDebug.Assert(canDigThroughNullable == false || useDefaultType == false, "digging through nullable will cause early resolution of nullable types"); 762RoslynDebug.Assert(canDigThroughNullable == false || visitCustomModifiers == false); 763RoslynDebug.Assert(visitCustomModifiers == false || typePredicate is { }); 797RoslynDebug.Assert((object)current.ContainingType == null); 1210RoslynDebug.Assert((object)parameterContainer != null); 1304RoslynDebug.Assert((object?)result == null || !result.IsErrorType()); 1333RoslynDebug.Assert((object)type != null); 1437RoslynDebug.Assert((object)type != null); 1571RoslynDebug.Assert(!type.Equals(type.OriginalDefinition, TypeCompareKind.AllIgnoreOptions) || wasConstructedForAnnotations(type)); 1892RoslynDebug.Assert((object)type != null); 1970RoslynDebug.Assert(type.IsGenericType); 1999RoslynDebug.Assert(arity < 2);
Symbols\UpdatedContainingSymbolLocal.cs (2)
25RoslynDebug.Assert(underlyingLocal is object); 26RoslynDebug.Assert(updatedContainingSymbol is object);
Symbols\Wrapped\WrappedEventSymbol.cs (1)
29RoslynDebug.Assert((object)underlyingEvent != null);
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
28RoslynDebug.Assert(numbers is NumericValueSet<TFloating>);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (23)
DynamicFlagsCustomTypeInfo.cs (1)
16RoslynDebug.AssertNotNull(dynamicFlags);
ExpressionCompiler.cs (1)
178RoslynDebug.AssertNotNull(lValue.FullName);
FrameDecoder.cs (1)
98RoslynDebug.AssertNotNull(frame.InstructionAddress);
MetadataUtilities.cs (4)
33RoslynDebug.Assert(kind == MakeAssemblyReferencesKind.AllAssemblies || moduleId.Id != Guid.Empty); 34RoslynDebug.Assert(moduleId.Id == Guid.Empty || identityComparer != null); 154RoslynDebug.AssertNotNull(corLibrary); 161RoslynDebug.AssertNotNull(targetReference);
MetadataUtilities_Exceptions.cs (1)
18RoslynDebug.AssertNotNull(moduleName);
PDB\ExternAliasRecord.cs (4)
21RoslynDebug.AssertNotNull(alias); 22RoslynDebug.AssertNotNull(targetAssembly); 30RoslynDebug.AssertNotNull(alias); 31RoslynDebug.AssertNotNull(targetIdentity);
PDB\MethodDebugInfo.cs (3)
61RoslynDebug.Assert(!importRecordGroups.IsDefault); 62RoslynDebug.Assert(!externAliasRecords.IsDefault); 63RoslynDebug.AssertNotNull(defaultNamespaceName);
PDB\MethodDebugInfo.Native.cs (6)
119RoslynDebug.AssertNotNull(symbolProvider); 334RoslynDebug.Assert(alias != null); // Name of the extern alias. 335RoslynDebug.Assert(externAlias == null); // Not used. 336RoslynDebug.Assert(target != null); // Name of the target assembly. 361RoslynDebug.Assert(targetString != null); 543RoslynDebug.AssertNotNull(importString);
PseudoVariableUtilities.cs (2)
26RoslynDebug.Assert(!string.IsNullOrEmpty(fullName)); 27RoslynDebug.Assert(!string.IsNullOrEmpty(type));
vbc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
325RoslynDebug.Assert(response != null);
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
325RoslynDebug.Assert(response != null);
VBCSCompiler.UnitTests (2)
CompilerServerTests.cs (2)
942RoslynDebug.AssertOrFailFast("" == result.Output); 943RoslynDebug.AssertOrFailFast(0 == result.ExitCode);