12 references to Contract
Microsoft.CodeAnalysis.Extensions.Package (12)
src\Dependencies\Collections\Extensions\FixedSizeArrayBuilder.cs (1)
62
Contract
.ThrowIfTrue(condition, lineNumber, filePath);
Symbols\INamedTypeSymbolExtensions.cs (3)
336
Contract
.ThrowIfNull(classOrStructType);
337
Contract
.ThrowIfNull(interfacesOrAbstractClasses);
338
Contract
.ThrowIfNull(isImplemented);
Symbols\ISymbolExtensions.cs (1)
558
Contract
.ThrowIfFalse(symbol.IsNormalAnonymousType());
Symbols\ISymbolExtensions_Accessibility.cs (7)
90
Contract
.ThrowIfNull(symbol);
91
Contract
.ThrowIfNull(within);
180
Contract
.ThrowIfNull(type);
218
Contract
.ThrowIfNull(assembly);
255
Contract
.ThrowIfNull(containingType);
431
Contract
.ThrowIfNull(withinType);
432
Contract
.ThrowIfNull(originalContainingType);