20 references to ERR_FileTypeNested
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2244
case ErrorCode.
ERR_FileTypeNested
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1789
diagnostics.Add(ErrorCode.
ERR_FileTypeNested
, location, this);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (14)
Symbols\Source\FileModifierTests.cs (14)
55
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Outer.C").WithLocation(3, 16));
61
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Outer.C").WithLocation(3, 16));
117
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Outer.C").WithLocation(3, 16));
123
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Outer.C").WithLocation(3, 16));
1401
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Outer.C").WithLocation(3, 16),
1404
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Outer.C").WithLocation(3, 16));
1518
comp.GetDiagnostics().Where(d => d.Code is not (int)ErrorCode.
ERR_FileTypeNested
).Verify();
1577
comp.GetDiagnostics().Where(d => d.Code is not (int)ErrorCode.
ERR_FileTypeNested
).Verify();
1585
comp.GetDiagnostics().Where(d => d.Code is not (int)ErrorCode.
ERR_FileTypeNested
).Verify();
2700
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Outer.C").WithLocation(5, 16),
2741
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Outer.C").WithLocation(5, 16));
3048
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Derived.C").WithLocation(16, 20));
3523
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C1").WithArguments("C1").WithLocation(5, 19),
3633
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Outer.C").WithLocation(3, 16));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Parsing\FileModifierParsingTests.cs (4)
697
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "C").WithArguments("Outer.C").WithLocation(3, 16)
2768
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "X").WithArguments("C.X").WithLocation(3, 17)
2866
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "X").WithArguments("C.X").WithLocation(3, 17)
2961
Diagnostic(ErrorCode.
ERR_FileTypeNested
, "X").WithArguments("C.X").WithLocation(3, 17)