7 references to UnableToCreateAnalyzer
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineArguments.cs (1)
493
case AnalyzerLoadFailureEventArgs.FailureErrorCode.
UnableToCreateAnalyzer
:
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
206
AnalyzerLoadFailureEventArgs.FailureErrorCode.
UnableToCreateAnalyzer
:
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\AnalyzerLoadFailureTests.cs (1)
23
var expectsTypeName = errorCode is AnalyzerLoadFailureEventArgs.FailureErrorCode.
UnableToCreateAnalyzer
or
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\DocumentAnalysisExecutor_Helpers.cs (1)
89
case AnalyzerLoadFailureEventArgs.FailureErrorCode.
UnableToCreateAnalyzer
:
Microsoft.CodeAnalysis.UnitTests (3)
Analyzers\AnalyzerFileReferenceTests.cs (3)
156
var failedTypes = errors.Where(e => e.ErrorCode == AnalyzerLoadFailureEventArgs.FailureErrorCode.
UnableToCreateAnalyzer
).Select(e => e.TypeName);
252
Assert.Equal(AnalyzerLoadFailureEventArgs.FailureErrorCode.
UnableToCreateAnalyzer
, errors.First().ErrorCode);
273
Assert.Equal(AnalyzerLoadFailureEventArgs.FailureErrorCode.
UnableToCreateAnalyzer
, error.ErrorCode);