1073 references to RoslynDebug
csc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
326RoslynDebug.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)
116RoslynDebug.Assert(systemObject != null); 117RoslynDebug.Assert(systemValueType != null); 300RoslynDebug.Assert(alignment is 1 or 2 or 4 or 8, $"Unexpected alignment: {alignment}"); 572RoslynDebug.Assert(x is object && y is object); 575RoslynDebug.Assert(x.Name != null && y.Name != null); 649RoslynDebug.Assert(alignment is 1 or 2 or 4 or 8, $"Unexpected alignment: {alignment}"); 777RoslynDebug.Assert(type != null); 796RoslynDebug.Assert(name != null); 797RoslynDebug.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)
31RoslynDebug.Assert(messageProvider != null); 981RoslynDebug.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)
1160RoslynDebug.Assert(!actionsForKind.IsEmpty, $"Unexpected empty action collection in {nameof(nodeActionsByKind)}"); 1260RoslynDebug.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)
1101RoslynDebug.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)
418RoslynDebug.AssertNotNull(_previousGeneration.InitialBaseline.LazyMetadataSymbols); 735RoslynDebug.AssertNotNull(methodDef); 1921RoslynDebug.AssertNotNull(methodDef);
Emit\EditAndContinue\EncVariableSlotAllocator.cs (2)
114RoslynDebug.AssertNotNull(info.Signature); 242RoslynDebug.AssertNotNull(typeRef);
Emit\EditAndContinue\SymbolChanges.cs (1)
139RoslynDebug.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)
109RoslynDebug.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)
100RoslynDebug.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); 975RoslynDebug.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); 692RoslynDebug.Assert(algorithm != null); 701RoslynDebug.Assert(algorithm != null); 1246RoslynDebug.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); 150RoslynDebug.Assert(node != null);
WellKnownTypes.cs (1)
790RoslynDebug.Assert(name == typeIdName, $"Enum name ({typeIdName}) and type name ({name}) must match at {i}");
Microsoft.CodeAnalysis.CSharp (848)
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)
1198RoslynDebug.Assert(expr is not BoundValuePlaceholderBase, $"Placeholder kind {expr.Kind} should be explicitly handled"); 4753RoslynDebug.Assert(false, $"{expr.Kind} expression of {expr.Type} type"); 5503RoslynDebug.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); 289RoslynDebug.Assert((object)attributeType != null); 596RoslynDebug.Assert(namedArgument.NameEquals is object); 660RoslynDebug.Assert(namedArgument.NameEquals is object); 669RoslynDebug.Assert(namedArgumentType is object); 673RoslynDebug.Assert(namedArgument.NameEquals is object); 706RoslynDebug.Assert((object)attributeConstructor != null); 841RoslynDebug.Assert(node.Type is object); 1018RoslynDebug.Assert(type is object);
Binder\Binder_Await.cs (3)
584RoslynDebug.Assert(expression.Type is object); 707RoslynDebug.Assert(awaiterType is object); 742RoslynDebug.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); 2556RoslynDebug.Assert(receiverOpt != null); 2685RoslynDebug.Assert(receiverOpt.Type is object); 2705RoslynDebug.Assert(receiverOpt.Type is object); 3102RoslynDebug.Assert(source != null); 3103RoslynDebug.Assert((object)destination != null); 3203RoslynDebug.Assert(sourceValue != null); 3210RoslynDebug.Assert((object)underlyingType != null);
Binder\Binder_Invocation.cs (1)
2524RoslynDebug.Assert(boundExpression.Type is FunctionPointerTypeSymbol);
Binder\Binder_Patterns.cs (9)
157RoslynDebug.Assert(node is not null); 162RoslynDebug.Assert(switchBinder is { }); 171RoslynDebug.Assert(this.Next is { }); 631RoslynDebug.Assert(expression.Type is { }); 739RoslynDebug.Assert((object)inputType != null); 740RoslynDebug.Assert((object)patternType != null); 823RoslynDebug.Assert((object)expressionType != null); 869RoslynDebug.Assert(inputType is { }); 898RoslynDebug.Assert(ContainingMemberOrLambda is { });
Binder\Binder_Symbols.cs (1)
465RoslynDebug.Assert(@delegate.SyntaxTree is object);
Binder\DecisionDagBuilder.cs (19)
374RoslynDebug.Assert(getLengthProperty.Type.SpecialType == SpecialType.System_Int32); 377RoslynDebug.Assert(iTupleType.Name == "ITuple"); 458RoslynDebug.Assert(declaration.Variable == null); 568RoslynDebug.Assert(input.Type.IsErrorType() || recursive.HasErrors || recursive.InputType.IsErrorType() || input.Type.Equals(recursive.InputType, TypeCompareKind.AllIgnoreOptions)); 618RoslynDebug.Assert(recursive.HasAnyErrors); 803RoslynDebug.Assert(rootDecisionDagNode != null); 942RoslynDebug.Assert(state.SelectedTest == null); 943RoslynDebug.Assert(state.TrueBranch == null); 944RoslynDebug.Assert(state.FalseBranch == null); 1060RoslynDebug.Assert(!(first.RemainingTests is Tests.False)); 1070RoslynDebug.Assert(state.TrueBranch == null); 1071RoslynDebug.Assert(state.FalseBranch is { }); 1076RoslynDebug.Assert(whenFalse is { }); 1094RoslynDebug.Assert(next is { }); 1095RoslynDebug.Assert(state.FalseBranch == null); 1103RoslynDebug.Assert(whenTrue is { }); 1104RoslynDebug.Assert(whenFalse is { }); 1993RoslynDebug.Assert(x is { }); 1994RoslynDebug.Assert(y is { });
Binder\ForEachEnumeratorInfo.cs (5)
73RoslynDebug.Assert((object)collectionType != null, $"Field '{nameof(collectionType)}' cannot be null"); 74RoslynDebug.Assert(elementType.HasType, $"Field '{nameof(elementType)}' cannot be null"); 75RoslynDebug.Assert((object)getEnumeratorInfo != null, $"Field '{nameof(getEnumeratorInfo)}' cannot be null"); 76RoslynDebug.Assert((object)currentPropertyGetter != null, $"Field '{nameof(currentPropertyGetter)}' cannot be null"); 77RoslynDebug.Assert((object)moveNextInfo != null, $"Field '{nameof(moveNextInfo)}' cannot be null");
Binder\RefSafetyAnalysis.cs (3)
346RoslynDebug.Assert(added, $"Expression {expr} `{expr.Syntax}` visited more than once."); 359RoslynDebug.Assert(_visited.Contains(expr), $"Expected {expr} `{expr.Syntax}` to be visited."); 1314RoslynDebug.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)
211RoslynDebug.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)
1637RoslynDebug.Assert(!RoslynString.IsNullOrEmpty(switchName));
Compilation\CSharpCompilation.cs (16)
471RoslynDebug.Assert(options != null); 1297RoslynDebug.Assert(directive.SyntaxTree.FilePath is object); 1438RoslynDebug.Assert(_lazyAssemblySymbol is object); 1975RoslynDebug.Assert(diagnostics.DiagnosticBag is object); 2043RoslynDebug.Assert(simpleProgramEntryPointSymbol is object); 2056RoslynDebug.Assert(noMainFoundDiagnostics.DiagnosticBag is object); 2271RoslynDebug.Assert(!namedType.IsDynamic()); 2755RoslynDebug.Assert(externAliasesToCheck is object); 2779RoslynDebug.Assert(diagnostics.DependenciesBag is object); 2785RoslynDebug.Assert(bindingDiagnostics.DependenciesBag is object); 2864RoslynDebug.Assert(_lazyImportInfos is object); 3023RoslynDebug.Assert(builder.DiagnosticBag is object); 3101RoslynDebug.Assert(methodBodyDiagnostics.DiagnosticBag is object); 3129RoslynDebug.Assert(diagnostics.DiagnosticBag is object); 3332RoslynDebug.Assert(syntaxTree != null); 4827RoslynDebug.Assert(symbol is object);
Compilation\MemberSemanticModel.cs (1)
728RoslynDebug.Assert(remappedSymbol is object);
Compiler\DocumentationCommentCompiler.cs (1)
1379RoslynDebug.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)
454RoslynDebug.AssertNotNull(otherContainer); 474RoslynDebug.AssertNotNull(type);
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)
1973RoslynDebug.Assert(AreCloseEnough(originalSymbol, updatedSymbol), $"Attempting to set {node.Syntax} from {originalSymbol.ToDisplayString()} to {updatedSymbol.ToDisplayString()}"); 13635RoslynDebug.Assert(x.symbol is object); 13636RoslynDebug.Assert(y.symbol is object); 13646RoslynDebug.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 (579)
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)"); 513RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 523RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 554RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 562RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 618RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 626RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 653RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 662RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 691RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 699RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 726RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 735RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 764RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 772RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 799RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 807RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 834RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 842RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 869RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 877RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 935RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 963RoslynDebug.Assert(!symbols.IsDefault, "Field 'symbols' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 964RoslynDebug.Assert(!childBoundNodes.IsDefault, "Field 'childBoundNodes' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 1000RoslynDebug.Assert(!childBoundNodes.IsDefault, "Field 'childBoundNodes' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 1028RoslynDebug.Assert(finallyBlock is object, "Field 'finallyBlock' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1056RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1091RoslynDebug.Assert(binder is object, "Field 'binder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1092RoslynDebug.Assert(valueSymbol is object, "Field 'valueSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1093RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1107RoslynDebug.Assert(binder is object, "Field 'binder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1108RoslynDebug.Assert(valueSymbol is object, "Field 'valueSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1109RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1140RoslynDebug.Assert(namespaceSymbol is object, "Field 'namespaceSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1150RoslynDebug.Assert(namespaceSymbol is object, "Field 'namespaceSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1181RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1182RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1223RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1224RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1271RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1272RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1303RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1332RoslynDebug.Assert(targetMethod is object, "Field 'targetMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1333RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1343RoslynDebug.Assert(targetMethod is object, "Field 'targetMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1344RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1375RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1376RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1407RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1408RoslynDebug.Assert(index is object, "Field 'index' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1409RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1444RoslynDebug.Assert(invokedExpression is object, "Field 'invokedExpression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1445RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 1446RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1481RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1482RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1513RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1514RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1543RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1544RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1575RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1576RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1607RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1640RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1641RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1642RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1659RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1660RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1661RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1697RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1698RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1699RoslynDebug.Assert(operators is object, "Field 'operators' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1700RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1735RoslynDebug.Assert(logicalOperator is object, "Field 'logicalOperator' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1736RoslynDebug.Assert(trueOperator is object, "Field 'trueOperator' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1737RoslynDebug.Assert(falseOperator is object, "Field 'falseOperator' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1738RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1739RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1740RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1788RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1789RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1790RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1835RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1836RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1869RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1870RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1871RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1904RoslynDebug.Assert(leftOperand is object, "Field 'leftOperand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1905RoslynDebug.Assert(rightOperand is object, "Field 'rightOperand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1906RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1945RoslynDebug.Assert(leftOperand is object, "Field 'leftOperand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1946RoslynDebug.Assert(rightOperand is object, "Field 'rightOperand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1976RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1977RoslynDebug.Assert(consequence is object, "Field 'consequence' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 1978RoslynDebug.Assert(alternative is object, "Field 'alternative' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2015RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2016RoslynDebug.Assert(consequence is object, "Field 'consequence' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2017RoslynDebug.Assert(alternative is object, "Field 'alternative' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2018RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2059RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2060RoslynDebug.Assert(!indices.IsDefault, "Field 'indices' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 2061RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2092RoslynDebug.Assert(arrayAccess is object, "Field 'arrayAccess' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2121RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2122RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2192RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2193RoslynDebug.Assert(awaitableInfo is object, "Field 'awaitableInfo' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2194RoslynDebug.Assert(type is object, "Field 'type' 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)"); 2236RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2251RoslynDebug.Assert(sourceType is object, "Field 'sourceType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2252RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2280RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 2312RoslynDebug.Assert(method is object, "Field 'method' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2313RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2326RoslynDebug.Assert(method is object, "Field 'method' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2327RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2356RoslynDebug.Assert(local is object, "Field 'local' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2357RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2367RoslynDebug.Assert(local is object, "Field 'local' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2368RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2399RoslynDebug.Assert(parameter is object, "Field 'parameter' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2400RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2410RoslynDebug.Assert(parameter is object, "Field 'parameter' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2411RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2442RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2450RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2477RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2485RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2512RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2521RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2550RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2558RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2585RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2593RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2620RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2628RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2655RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2663RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2690RoslynDebug.Assert(document is object, "Field 'document' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2691RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2700RoslynDebug.Assert(document is object, "Field 'document' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2701RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2730RoslynDebug.Assert(method is object, "Field 'method' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2731RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2741RoslynDebug.Assert(method is object, "Field 'method' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2742RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2773RoslynDebug.Assert(field is object, "Field 'field' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2774RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2784RoslynDebug.Assert(field is object, "Field 'field' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2785RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2839RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2870RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2871RoslynDebug.Assert(targetType is object, "Field 'targetType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2872RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2905RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2906RoslynDebug.Assert(targetType is object, "Field 'targetType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2907RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2942RoslynDebug.Assert(sourceType is object, "Field 'sourceType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2943RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2974RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 2975RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3020RoslynDebug.Assert(operand is object, "Field 'operand' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3021RoslynDebug.Assert(conversionMethod is object, "Field 'conversionMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3022RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3053RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3061RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3088RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3119RoslynDebug.Assert(elementPointerType is object, "Field 'elementPointerType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3120RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3121RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3224RoslynDebug.Assert(identifier is object, "Field 'identifier' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3233RoslynDebug.Assert(identifier is object, "Field 'identifier' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3261RoslynDebug.Assert(identifier is object, "Field 'identifier' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3270RoslynDebug.Assert(identifier is object, "Field 'identifier' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3329RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3330RoslynDebug.Assert(!localFunctions.IsDefault, "Field 'localFunctions' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3331RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3365RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3366RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3394RoslynDebug.Assert(!fields.IsDefault, "Field 'fields' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3395RoslynDebug.Assert(statement is object, "Field 'statement' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3425RoslynDebug.Assert(localSymbol is object, "Field 'localSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3461RoslynDebug.Assert(!localDeclarations.IsDefault, "Field 'localDeclarations' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3475RoslynDebug.Assert(!localDeclarations.IsDefault, "Field 'localDeclarations' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3501RoslynDebug.Assert(!localDeclarations.IsDefault, "Field 'localDeclarations' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3531RoslynDebug.Assert(symbol is object, "Field 'symbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3627RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3697RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3725RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3734RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3762RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3771RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3799RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3800RoslynDebug.Assert(!innerLocals.IsDefault, "Field 'innerLocals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3801RoslynDebug.Assert(!innerLocalFunctions.IsDefault, "Field 'innerLocalFunctions' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3802RoslynDebug.Assert(!switchSections.IsDefault, "Field 'switchSections' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3803RoslynDebug.Assert(reachabilityDecisionDag is object, "Field 'reachabilityDecisionDag' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3804RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3844RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3845RoslynDebug.Assert(!cases.IsDefault, "Field 'cases' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3846RoslynDebug.Assert(defaultLabel is object, "Field 'defaultLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3880RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3881RoslynDebug.Assert(consequence is object, "Field 'consequence' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3913RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3914RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3924RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3925RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3941RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3942RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3943RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3944RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3945RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3963RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3964RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3965RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3966RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3967RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3993RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 3994RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3995RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3996RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 3997RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4023RoslynDebug.Assert(!outerLocals.IsDefault, "Field 'outerLocals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4024RoslynDebug.Assert(!innerLocals.IsDefault, "Field 'innerLocals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4025RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4026RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4027RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4065RoslynDebug.Assert(iterationVariableType is object, "Field 'iterationVariableType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4066RoslynDebug.Assert(!iterationVariables.IsDefault, "Field 'iterationVariables' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4067RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4068RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4069RoslynDebug.Assert(breakLabel is object, "Field 'breakLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4070RoslynDebug.Assert(continueLabel is object, "Field 'continueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4114RoslynDebug.Assert(deconstructionAssignment is object, "Field 'deconstructionAssignment' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4115RoslynDebug.Assert(targetPlaceholder is object, "Field 'targetPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4145RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4146RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4184RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4185RoslynDebug.Assert(declarations is object, "Field 'declarations' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4186RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4218RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4219RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4249RoslynDebug.Assert(tryBlock is object, "Field 'tryBlock' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4250RoslynDebug.Assert(!catchBlocks.IsDefault, "Field 'catchBlocks' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4286RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4287RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4358RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4359RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4368RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4369RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4398RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4406RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4433RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4441RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4468RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4476RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4532RoslynDebug.Assert(localSymbol is object, "Field 'localSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4533RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4545RoslynDebug.Assert(localSymbol is object, "Field 'localSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4546RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4581RoslynDebug.Assert(localSymbol is object, "Field 'localSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4582RoslynDebug.Assert(emitExpressions is object, "Field 'emitExpressions' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4583RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4593RoslynDebug.Assert(localSymbol is object, "Field 'localSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4594RoslynDebug.Assert(emitExpressions is object, "Field 'emitExpressions' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4595RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4626RoslynDebug.Assert(rangeVariableSymbol is object, "Field 'rangeVariableSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4627RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4628RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4659RoslynDebug.Assert(parameterSymbol is object, "Field 'parameterSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4660RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4669RoslynDebug.Assert(parameterSymbol is object, "Field 'parameterSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4670RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4699RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4708RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4736RoslynDebug.Assert(label is object, "Field 'label' 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)"); 4769RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4799RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4808RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4836RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4845RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4873RoslynDebug.Assert(condition is object, "Field 'condition' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4874RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4906RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4907RoslynDebug.Assert(!switchArms.IsDefault, "Field 'switchArms' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4908RoslynDebug.Assert(reachabilityDecisionDag is object, "Field 'reachabilityDecisionDag' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4930RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4931RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4932RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4933RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4969RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4970RoslynDebug.Assert(!switchArms.IsDefault, "Field 'switchArms' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4971RoslynDebug.Assert(reachabilityDecisionDag is object, "Field 'reachabilityDecisionDag' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4997RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 4998RoslynDebug.Assert(!switchArms.IsDefault, "Field 'switchArms' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 4999RoslynDebug.Assert(reachabilityDecisionDag is object, "Field 'reachabilityDecisionDag' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5000RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5031RoslynDebug.Assert(rootNode is object, "Field 'rootNode' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5073RoslynDebug.Assert(evaluation is object, "Field 'evaluation' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5074RoslynDebug.Assert(next is object, "Field 'next' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5104RoslynDebug.Assert(test is object, "Field 'test' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5105RoslynDebug.Assert(whenTrue is object, "Field 'whenTrue' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5106RoslynDebug.Assert(whenFalse is object, "Field 'whenFalse' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5138RoslynDebug.Assert(!bindings.IsDefault, "Field 'bindings' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5139RoslynDebug.Assert(whenTrue is object, "Field 'whenTrue' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5173RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5182RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5210RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5224RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5256RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5257RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5285RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5313RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5339RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5340RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5368RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5369RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5399RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5411RoslynDebug.Assert(deconstructMethod is object, "Field 'deconstructMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5412RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5440RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5441RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5469RoslynDebug.Assert(field is object, "Field 'field' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5470RoslynDebug.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(property is object, "Field 'property' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5530RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5560RoslynDebug.Assert(indexerType is object, "Field 'indexerType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5561RoslynDebug.Assert(lengthTemp is object, "Field 'lengthTemp' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5562RoslynDebug.Assert(indexerAccess is object, "Field 'indexerAccess' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5563RoslynDebug.Assert(receiverPlaceholder is object, "Field 'receiverPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5564RoslynDebug.Assert(argumentPlaceholder is object, "Field 'argumentPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5565RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5607RoslynDebug.Assert(sliceType is object, "Field 'sliceType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5608RoslynDebug.Assert(lengthTemp is object, "Field 'lengthTemp' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5609RoslynDebug.Assert(indexerAccess is object, "Field 'indexerAccess' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5610RoslynDebug.Assert(receiverPlaceholder is object, "Field 'receiverPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5611RoslynDebug.Assert(argumentPlaceholder is object, "Field 'argumentPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5612RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5656RoslynDebug.Assert(target is object, "Field 'target' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5657RoslynDebug.Assert(input is object, "Field 'input' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5685RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5686RoslynDebug.Assert(!switchLabels.IsDefault, "Field 'switchLabels' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5687RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5717RoslynDebug.Assert(label is object, "Field 'label' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5718RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5764RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5792RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5793RoslynDebug.Assert(!sideEffects.IsDefault, "Field 'sideEffects' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5794RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5795RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5828RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5829RoslynDebug.Assert(!sideEffects.IsDefault, "Field 'sideEffects' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5830RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5831RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5864RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5865RoslynDebug.Assert(name is object, "Field 'name' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5866RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5903RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5904RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5920RoslynDebug.Assert(!applicableMethods.IsDefault, "Field 'applicableMethods' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5921RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5922RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 5923RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5956RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5957RoslynDebug.Assert(accessExpression is object, "Field 'accessExpression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5958RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5989RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5990RoslynDebug.Assert(whenNotNull is object, "Field 'whenNotNull' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 5991RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6030RoslynDebug.Assert(type is object, "Field 'type' 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)"); 6068RoslynDebug.Assert(valueTypeReceiver is object, "Field 'valueTypeReceiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6069RoslynDebug.Assert(referenceTypeReceiver is object, "Field 'referenceTypeReceiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6070RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6101RoslynDebug.Assert(name is object, "Field 'name' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6102RoslynDebug.Assert(!methods.IsDefault, "Field 'methods' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6142RoslynDebug.Assert(!properties.IsDefault, "Field 'properties' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6170RoslynDebug.Assert(method is object, "Field 'method' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6171RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6172RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6229RoslynDebug.Assert(@event is object, "Field '@event' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6230RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6231RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6268RoslynDebug.Assert(!constructorArguments.IsDefault, "Field 'constructorArguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6269RoslynDebug.Assert(!namedArguments.IsDefault, "Field 'namedArguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6270RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6313RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6314RoslynDebug.Assert(binder is object, "Field 'binder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6351RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6359RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6372RoslynDebug.Assert(constructor is object, "Field 'constructor' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6373RoslynDebug.Assert(!constructorsGroup.IsDefault, "Field 'constructorsGroup' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6374RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6375RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6423RoslynDebug.Assert(!elements.IsDefault, "Field 'elements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6437RoslynDebug.Assert(!elements.IsDefault, "Field 'elements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6464RoslynDebug.Assert(unconvertedCollectionExpression is object, "Field 'unconvertedCollectionExpression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6465RoslynDebug.Assert(!elements.IsDefault, "Field 'elements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6466RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6537RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6577RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6595RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6622RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6652RoslynDebug.Assert(name is object, "Field 'name' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6653RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6654RoslynDebug.Assert(!applicableMethods.IsDefault, "Field 'applicableMethods' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6655RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6695RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6727RoslynDebug.Assert(placeholder is object, "Field 'placeholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6728RoslynDebug.Assert(!initializers.IsDefault, "Field 'initializers' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6729RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6746RoslynDebug.Assert(placeholder is object, "Field 'placeholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6747RoslynDebug.Assert(!initializers.IsDefault, "Field 'initializers' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6748RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6774RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6775RoslynDebug.Assert(receiverType is object, "Field 'receiverType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6776RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6823RoslynDebug.Assert(memberName is object, "Field 'memberName' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6824RoslynDebug.Assert(receiverType is object, "Field 'receiverType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6825RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6835RoslynDebug.Assert(memberName is object, "Field 'memberName' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6836RoslynDebug.Assert(receiverType is object, "Field 'receiverType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6837RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6868RoslynDebug.Assert(placeholder is object, "Field 'placeholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6869RoslynDebug.Assert(!initializers.IsDefault, "Field 'initializers' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6870RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6896RoslynDebug.Assert(addMethod is object, "Field 'addMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6897RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6898RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6941RoslynDebug.Assert(!applicableMethods.IsDefault, "Field 'applicableMethods' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6942RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6943RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 6944RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6973RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 6981RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7008RoslynDebug.Assert(constructor is object, "Field 'constructor' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7009RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7010RoslynDebug.Assert(!declarations.IsDefault, "Field 'declarations' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7011RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7044RoslynDebug.Assert(property is object, "Field 'property' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7045RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7054RoslynDebug.Assert(property is object, "Field 'property' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7055RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7084RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7114RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7115RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7150RoslynDebug.Assert(!bounds.IsDefault, "Field 'bounds' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7151RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7182RoslynDebug.Assert(!initializers.IsDefault, "Field 'initializers' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7213RoslynDebug.Assert(elementType is object, "Field 'elementType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7214RoslynDebug.Assert(count is object, "Field 'count' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7232RoslynDebug.Assert(elementType is object, "Field 'elementType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7233RoslynDebug.Assert(count is object, "Field 'count' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7259RoslynDebug.Assert(elementType is object, "Field 'elementType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7260RoslynDebug.Assert(count is object, "Field 'count' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7261RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7288RoslynDebug.Assert(fieldSymbol is object, "Field 'fieldSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7289RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7328RoslynDebug.Assert(fieldSymbol is object, "Field 'fieldSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7329RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7338RoslynDebug.Assert(fieldSymbol is object, "Field 'fieldSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7339RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7368RoslynDebug.Assert(propertySymbol is object, "Field 'propertySymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7369RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7406RoslynDebug.Assert(eventSymbol is object, "Field 'eventSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7407RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7442RoslynDebug.Assert(indexer is object, "Field 'indexer' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7443RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7444RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7493RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7494RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7495RoslynDebug.Assert(lengthOrCountAccess is object, "Field 'lengthOrCountAccess' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7496RoslynDebug.Assert(receiverPlaceholder is object, "Field 'receiverPlaceholder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7497RoslynDebug.Assert(indexerOrSliceAccess is object, "Field 'indexerOrSliceAccess' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7498RoslynDebug.Assert(!argumentPlaceholders.IsDefault, "Field 'argumentPlaceholders' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7499RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7542RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7543RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7544RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7583RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7584RoslynDebug.Assert(!arguments.IsDefault, "Field 'arguments' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7585RoslynDebug.Assert(!applicableIndexers.IsDefault, "Field 'applicableIndexers' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7586RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7623RoslynDebug.Assert(unboundLambda is object, "Field 'unboundLambda' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7624RoslynDebug.Assert(symbol is object, "Field 'symbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7625RoslynDebug.Assert(body is object, "Field 'body' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7626RoslynDebug.Assert(binder is object, "Field 'binder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7663RoslynDebug.Assert(data is object, "Field 'data' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7674RoslynDebug.Assert(data is object, "Field 'data' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7707RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7708RoslynDebug.Assert(binder is object, "Field 'binder' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7709RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7748RoslynDebug.Assert(!statements.IsDefault, "Field 'statements' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7774RoslynDebug.Assert(argument is object, "Field 'argument' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7775RoslynDebug.Assert(constantValueOpt is object, "Field 'constantValueOpt' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7776RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7811RoslynDebug.Assert(!parts.IsDefault, "Field 'parts' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7827RoslynDebug.Assert(!parts.IsDefault, "Field 'parts' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7853RoslynDebug.Assert(!parts.IsDefault, "Field 'parts' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 7909RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7918RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7947RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7982RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7983RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7984RoslynDebug.Assert(reachabilityDecisionDag is object, "Field 'reachabilityDecisionDag' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7985RoslynDebug.Assert(whenTrueLabel is object, "Field 'whenTrueLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 7986RoslynDebug.Assert(whenFalseLabel is object, "Field 'whenFalseLabel' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8024RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8025RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8035RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8036RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8052RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8053RoslynDebug.Assert(constantValue is object, "Field 'constantValue' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8054RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8055RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8089RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8090RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8102RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8103RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8129RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8130RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8146RoslynDebug.Assert(declaredType is object, "Field 'declaredType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8147RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8148RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8182RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8183RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8223RoslynDebug.Assert(!subpatterns.IsDefault, "Field 'subpatterns' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 8224RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8225RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8267RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8268RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8306RoslynDebug.Assert(getLengthMethod is object, "Field 'getLengthMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8307RoslynDebug.Assert(getItemMethod is object, "Field 'getItemMethod' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8308RoslynDebug.Assert(!subpatterns.IsDefault, "Field 'subpatterns' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 8309RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8310RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8346RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8360RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8388RoslynDebug.Assert(pattern is object, "Field 'pattern' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8418RoslynDebug.Assert(type is object, "Field 'type' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8450RoslynDebug.Assert(declaredType is object, "Field 'declaredType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8451RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8452RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8486RoslynDebug.Assert(left is object, "Field 'left' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8487RoslynDebug.Assert(right is object, "Field 'right' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8488RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8489RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8525RoslynDebug.Assert(negated is object, "Field 'negated' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8526RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8527RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8559RoslynDebug.Assert(value is object, "Field 'value' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8560RoslynDebug.Assert(constantValue is object, "Field 'constantValue' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8561RoslynDebug.Assert(inputType is object, "Field 'inputType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8562RoslynDebug.Assert(narrowedType is object, "Field 'narrowedType' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8633RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8661RoslynDebug.Assert(variableSymbol is object, "Field 'variableSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8678RoslynDebug.Assert(variableSymbol is object, "Field 'variableSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8704RoslynDebug.Assert(variableSymbol is object, "Field 'variableSymbol' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8801RoslynDebug.Assert(!locals.IsDefault, "Field 'locals' cannot be null (use Null=\"allow\" in BoundNodes.xml to remove this check)"); 8831RoslynDebug.Assert(expression is object, "Field 'expression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8862RoslynDebug.Assert(receiver is object, "Field 'receiver' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8863RoslynDebug.Assert(initializerExpression is object, "Field 'initializerExpression' cannot be null (make the type nullable in BoundNodes.xml to remove this check)"); 8864RoslynDebug.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)); 68RoslynDebug.Assert(lambdaFrame is null);
Lowering\LocalRewriter\LocalRewriter.cs (1)
1129RoslynDebug.Assert(expr is not BoundValuePlaceholderBase, $"Placeholder kind {expr.Kind} must be handled explicitly");
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
230RoslynDebug.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)
326RoslynDebug.AssertNotNull(firstSubPattern);
Parser\Lexer.cs (5)
1821RoslynDebug.AssertNotNull(info.Text); 1966RoslynDebug.AssertNotNull(endOfLine); 3195RoslynDebug.AssertNotNull(tagInfo.Text); 3863RoslynDebug.AssertNotNull(info.Text); 4537RoslynDebug.AssertNotNull(endOfLine);
SourceGeneration\CSharpSyntaxHelper.cs (1)
57RoslynDebug.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)
726RoslynDebug.Assert((object)debuggingModesType != null, "GetWellKnownType unexpectedly returned null"); 795RoslynDebug.Assert((object)type != null); 805RoslynDebug.Assert((object)booleanType != null); 815RoslynDebug.Assert((object)type != null); 819RoslynDebug.Assert((object)stringType != null);
Symbols\ErrorTypeSymbol.cs (1)
154RoslynDebug.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); 701RoslynDebug.Assert((object)eventWithCustomModifiers != null);
Symbols\Source\SourceMemberContainerSymbol.cs (9)
1565RoslynDebug.Assert((object)valueField != null); 1734RoslynDebug.AssertOrFailFast(forDiagnostics); 1735RoslynDebug.AssertOrFailFast(Volatile.Read(ref _lazyTypeMembers)?.Values.Any(types => types.Contains(t => t == (object)type)) == true); 1740RoslynDebug.AssertOrFailFast(forDiagnostics); 1745RoslynDebug.AssertOrFailFast(forDiagnostics); 1770RoslynDebug.AssertOrFailFast(GetSimpleProgramEntryPoints().Contains(m => m == (object)member)); 1775RoslynDebug.AssertOrFailFast(declared != DeclaredMembersAndInitializers.UninitializedSentinel); 1788RoslynDebug.AssertOrFailFast(membersAndInitializers is object); 1797RoslynDebug.AssertOrFailFast(false, "Premature symbol exposure.");
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
830RoslynDebug.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); 334RoslynDebug.Assert((object)type != null); 340RoslynDebug.Assert((object)type != null); 346RoslynDebug.Assert((object)type != null); 352RoslynDebug.Assert((object)type != null); 368RoslynDebug.Assert((object)type != null); 374RoslynDebug.Assert((object)type != null); 380RoslynDebug.Assert((object)type != null); 575RoslynDebug.Assert((object)type != null); 617RoslynDebug.Assert((object)type != null); 618RoslynDebug.Assert(type.IsDelegateType() || type.IsExpressionTree()); 634RoslynDebug.Assert((object)type != null); 770RoslynDebug.Assert(typeWithAnnotationsOpt.HasType == (type is null)); 771RoslynDebug.Assert(canDigThroughNullable == false || useDefaultType == false, "digging through nullable will cause early resolution of nullable types"); 772RoslynDebug.Assert(canDigThroughNullable == false || visitCustomModifiers == false); 773RoslynDebug.Assert(visitCustomModifiers == false || typePredicate is { }); 807RoslynDebug.Assert((object)current.ContainingType == null); 1220RoslynDebug.Assert((object)typeParameterContainer != null); 1314RoslynDebug.Assert((object?)result == null || !result.IsErrorType()); 1343RoslynDebug.Assert((object)type != null); 1447RoslynDebug.Assert((object)type != null); 1581RoslynDebug.Assert(!type.Equals(type.OriginalDefinition, TypeCompareKind.AllIgnoreOptions) || wasConstructedForAnnotations(type)); 1902RoslynDebug.Assert((object)type != null); 1980RoslynDebug.Assert(type.IsGenericType); 2009RoslynDebug.Assert(arity < 2);
Symbols\UpdatedContainingSymbolLocal.cs (2)
25RoslynDebug.Assert(underlyingLocal is object); 26RoslynDebug.Assert(updatedContainingSymbol is object);
Symbols\Wrapped\WrappedEventSymbol.cs (1)
31RoslynDebug.Assert((object)underlyingEvent != null);
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
28RoslynDebug.Assert(numbers is NumericValueSet<TFloating>);
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (24)
DynamicFlagsCustomTypeInfo.cs (1)
16RoslynDebug.AssertNotNull(dynamicFlags);
ExpressionCompiler.cs (1)
178RoslynDebug.AssertNotNull(lValue.FullName);
ExpressionEvaluatorFatalError.cs (1)
31RoslynDebug.AssertNotNull(currentUserKey);
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)
326RoslynDebug.Assert(response != null);
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
326RoslynDebug.Assert(response != null);
VBCSCompiler.UnitTests (2)
CompilerServerTests.cs (2)
909RoslynDebug.AssertOrFailFast("" == result.Output); 910RoslynDebug.AssertOrFailFast(0 == result.ExitCode);