30 references to IsDefault
Microsoft.CodeAnalysis (13)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
173
Debug.Assert(!_lazyGeneratedCodeAnalysisFlagsMap.
IsDefault
);
src\Dependencies\Collections\RoslynImmutableInterlocked.cs (9)
387
return InterlockedCompareExchange(ref location, value, default(ImmutableSegmentedDictionary<TKey, TValue>)).
IsDefault
;
398
if (map.
IsDefault
)
418
if (map.
IsDefault
)
437
if (priorCollection.
IsDefault
)
471
if (priorCollection.
IsDefault
)
507
if (priorCollection.
IsDefault
)
539
if (priorCollection.
IsDefault
)
566
if (priorCollection.
IsDefault
)
593
if (priorCollection.
IsDefault
)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
101
if (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)
1060
if (mappedPathToSyntaxTree.
IsDefault
)
1086
if (contentHashToSyntaxTree.
IsDefault
)
1113
if (pathToSyntaxTree.
IsDefault
)
Symbols\NamedTypeSymbol.cs (3)
551
Debug.Assert(!_lazyRequiredMembers.
IsDefault
);
576
Debug.Assert(!_lazyRequiredMembers.
IsDefault
);
588
if (!_lazyRequiredMembers.
IsDefault
)
Microsoft.CodeAnalysis.UnitTests (11)
Collections\SegmentedCollectionsMarshalTests.cs (11)
669
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<int, int>(null).
IsDefault
);
670
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<int, int?>(null).
IsDefault
);
671
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<Guid, Guid>(null).
IsDefault
);
672
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<Guid, Guid?>(null).
IsDefault
);
673
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<string, string>(null).
IsDefault
);
674
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<CustomClass, CustomClass>(null).
IsDefault
);
675
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<ManagedCustomStruct, ManagedCustomStruct>(null).
IsDefault
);
676
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<ManagedCustomStruct, ManagedCustomStruct?>(null).
IsDefault
);
677
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<UnmanagedCustomStruct, UnmanagedCustomStruct>(null).
IsDefault
);
678
Assert.True(SegmentedCollectionsMarshal.AsImmutableSegmentedDictionary<UnmanagedCustomStruct, UnmanagedCustomStruct?>(null).
IsDefault
);
704
Assert.False(immutableDictionary.
IsDefault
);