14 references to ERR_InterceptorPathNotInCompilation
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2373
or ErrorCode.
ERR_InterceptorPathNotInCompilation
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1264
diagnostics.Add(ErrorCode.
ERR_InterceptorPathNotInCompilation
, attributeData.GetAttributeArgumentLocation(filePathParameterIndex), normalizedPath);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\InterceptorsTests.cs (12)
3044
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""BAD""").WithArguments("BAD").WithLocation(21, 25)
3159
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""program.cs""").WithArguments("program.cs").WithLocation(20, 25)
4916
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""OtherFile.cs""").WithArguments("OtherFile.cs").WithLocation(48, 25));
5392
? Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"@""\_\Program.cs""").WithArguments(@"C:\_\Program.cs").WithLocation(11, 25)
5396
: Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"@""\_\Program.cs""").WithArguments(@"/My/Machine/Specific/Path/\_\Program.cs").WithLocation(11, 25)]
5536
? Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"@""/_/Program.cs""").WithArguments(PlatformInformation.IsWindows ? @"C:\_\Program.cs" : "/_/Program.cs").WithLocation(11, 25)
5540
: Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"@""/_/Program.cs""").WithArguments("/_/Program.cs").WithLocation(11, 25)]]);
5716
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""C:/src/Program.cs""").WithArguments("/src/C:/src/Program.cs").WithLocation(14, 25));
5760
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"@""C:\src/Program.cs""").WithArguments(@"/src/C:\src/Program.cs").WithLocation(14, 25));
5834
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""../src/Program.cs""").WithArguments("../src/Program.cs").WithLocation(6, 25));
5872
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""../src/Program.cs""").WithArguments(PlatformInformation.IsWindows ? @"C:\src\Program.cs" : "/src/Program.cs").WithLocation(6, 25)
6059
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""../src/Program.cs""").WithArguments("../src/Program.cs").WithLocation(6, 25));