14 references to ERR_InterceptorPathNotInCompilation
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
2368
or ErrorCode.
ERR_InterceptorPathNotInCompilation
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1232
diagnostics.Add(ErrorCode.
ERR_InterceptorPathNotInCompilation
, attributeData.GetAttributeArgumentLocation(filePathParameterIndex), normalizedPath);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Semantics\InterceptorsTests.cs (12)
3053
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""BAD""").WithArguments("BAD").WithLocation(21, 25)
3168
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""program.cs""").WithArguments("program.cs").WithLocation(20, 25)
4925
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""OtherFile.cs""").WithArguments("OtherFile.cs").WithLocation(48, 25));
5401
? Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"@""\_\Program.cs""").WithArguments(@"C:\_\Program.cs").WithLocation(11, 25)
5405
: Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"@""\_\Program.cs""").WithArguments(@"/My/Machine/Specific/Path/\_\Program.cs").WithLocation(11, 25)]
5545
? Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"@""/_/Program.cs""").WithArguments(PlatformInformation.IsWindows ? @"C:\_\Program.cs" : "/_/Program.cs").WithLocation(11, 25)
5549
: Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"@""/_/Program.cs""").WithArguments("/_/Program.cs").WithLocation(11, 25)]]);
5725
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""C:/src/Program.cs""").WithArguments("/src/C:/src/Program.cs").WithLocation(14, 25));
5769
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"@""C:\src/Program.cs""").WithArguments(@"/src/C:\src/Program.cs").WithLocation(14, 25));
5843
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""../src/Program.cs""").WithArguments("../src/Program.cs").WithLocation(6, 25));
5881
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""../src/Program.cs""").WithArguments(PlatformInformation.IsWindows ? @"C:\src\Program.cs" : "/src/Program.cs").WithLocation(6, 25)
6068
Diagnostic(ErrorCode.
ERR_InterceptorPathNotInCompilation
, @"""../src/Program.cs""").WithArguments("../src/Program.cs").WithLocation(6, 25));