14 references to WRN_AlignmentMagnitude
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_InterpolatedString.cs (1)
112
diagnostics.Add(ErrorCode.
WRN_AlignmentMagnitude
, alignment.Syntax.Location, alignmentConstant.Int32Value, magnitudeLimit);
Errors\ErrorFacts.cs (2)
423
case ErrorCode.
WRN_AlignmentMagnitude
:
1720
or ErrorCode.
WRN_AlignmentMagnitude
Generated\ErrorFacts.Generated.cs (1)
174
case ErrorCode.
WRN_AlignmentMagnitude
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\InterpolationTests.cs (4)
942
Diagnostic(ErrorCode.
WRN_AlignmentMagnitude
, "32768").WithArguments("32768", "32767").WithLocation(5, 42),
945
Diagnostic(ErrorCode.
WRN_AlignmentMagnitude
, "-(32768)").WithArguments("-32768", "32767").WithLocation(6, 41),
948
Diagnostic(ErrorCode.
WRN_AlignmentMagnitude
, "int.MaxValue").WithArguments("2147483647", "32767").WithLocation(9, 41),
951
Diagnostic(ErrorCode.
WRN_AlignmentMagnitude
, "int.MinValue").WithArguments("-2147483648", "32767").WithLocation(10, 41)
Semantics\RawInterpolationTests.cs (4)
955
Diagnostic(ErrorCode.
WRN_AlignmentMagnitude
, "32768").WithArguments("32768", "32767").WithLocation(5, 44),
958
Diagnostic(ErrorCode.
WRN_AlignmentMagnitude
, "-(32768)").WithArguments("-32768", "32767").WithLocation(6, 43),
961
Diagnostic(ErrorCode.
WRN_AlignmentMagnitude
, "int.MaxValue").WithArguments("2147483647", "32767").WithLocation(9, 43),
964
Diagnostic(ErrorCode.
WRN_AlignmentMagnitude
, "int.MinValue").WithArguments("-2147483648", "32767").WithLocation(10, 43));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
276
case ErrorCode.
WRN_AlignmentMagnitude
:
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\CompilationWithAnalyzersTests.cs (1)
43
var d1 = SimpleDiagnostic.Create(MessageProvider.Instance, (int)ErrorCode.
WRN_AlignmentMagnitude
, "1", "2");