5 references to Assert
Microsoft.CodeAnalysis (5)
CodeGen\PrivateImplementationDetails.cs (2)
285
RoslynDebug.
Assert
(alignment is 1 or 2 or 4 or 8, $"Unexpected alignment: {alignment}");
574
RoslynDebug.
Assert
(alignment is 1 or 2 or 4 or 8, $"Unexpected alignment: {alignment}");
Emit\CommonPEModuleBuilder.cs (1)
1022
RoslynDebug.
Assert
(alignment is 1 or 2 or 4 or 8, $"Unexpected alignment: {alignment}");
Operations\OperationMapBuilder.cs (1)
112
RoslynDebug.
Assert
(
WellKnownTypes.cs (1)
750
RoslynDebug.
Assert
(name == typeIdName, $"Enum name ({typeIdName}) and type name ({name}) must match at {i}");