30 references to IsDefault
Microsoft.CodeAnalysis (13)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
173Debug.Assert(!_lazyGeneratedCodeAnalysisFlagsMap.IsDefault);
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (9)
387return InterlockedCompareExchange(ref location, value, default(ImmutableSegmentedDictionary<TKey, TValue>)).IsDefault; 398if (map.IsDefault) 418if (map.IsDefault) 437if (priorCollection.IsDefault) 471if (priorCollection.IsDefault) 507if (priorCollection.IsDefault) 539if (priorCollection.IsDefault) 566if (priorCollection.IsDefault) 593if (priorCollection.IsDefault)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
101if (originalDictionary.IsDefault)
src\Dependencies\Collections\Segmented\SegmentedCollectionsMarshal.cs (2)
197/// value will be uninitialized (i.e. its <see cref="ImmutableSegmentedDictionary{TKey, TValue}.IsDefault"/> 219/// If <paramref name="dictionary"/> is uninitialized (i.e. its <see cref="ImmutableSegmentedDictionary{TKey, TValue}.IsDefault"/>
Microsoft.CodeAnalysis.CSharp (6)
Compilation\CSharpCompilation.cs (3)
1060if (mappedPathToSyntaxTree.IsDefault) 1086if (contentHashToSyntaxTree.IsDefault) 1113if (pathToSyntaxTree.IsDefault)
Symbols\NamedTypeSymbol.cs (3)
551Debug.Assert(!_lazyRequiredMembers.IsDefault); 576Debug.Assert(!_lazyRequiredMembers.IsDefault); 588if (!_lazyRequiredMembers.IsDefault)
Microsoft.CodeAnalysis.UnitTests (11)
Collections\SegmentedCollectionsMarshalTests.cs (11)
669Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<int, int>(null).IsDefault); 670Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<int, int?>(null).IsDefault); 671Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<Guid, Guid>(null).IsDefault); 672Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<Guid, Guid?>(null).IsDefault); 673Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<string, string>(null).IsDefault); 674Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<CustomClass, CustomClass>(null).IsDefault); 675Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<ManagedCustomStruct, ManagedCustomStruct>(null).IsDefault); 676Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<ManagedCustomStruct, ManagedCustomStruct?>(null).IsDefault); 677Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<UnmanagedCustomStruct, UnmanagedCustomStruct>(null).IsDefault); 678Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<UnmanagedCustomStruct, UnmanagedCustomStruct?>(null).IsDefault); 704Assert.False(immutableDictionary.IsDefault);