1 instantiation of TopLevelParameterNameAnalyzer
Mvc.Analyzers.Test (1)
TopLevelParameterNameAnalyzerTest.cs (1)
605
protected override IEnumerable<DiagnosticAnalyzer> GetDiagnosticAnalyzers() => new[] { new
TopLevelParameterNameAnalyzer
() };
23 references to TopLevelParameterNameAnalyzer
Mvc.Analyzers.Test (23)
TopLevelParameterNameAnalyzerTest.cs (23)
323
Assert.True(
TopLevelParameterNameAnalyzer
.SymbolCache.TryCreate(compilation, out var symbolCache));
327
p => Assert.False(
TopLevelParameterNameAnalyzer
.IsProblematicParameter(symbolCache, p)),
328
p => Assert.False(
TopLevelParameterNameAnalyzer
.IsProblematicParameter(symbolCache, p)),
329
p => Assert.False(
TopLevelParameterNameAnalyzer
.IsProblematicParameter(symbolCache, p)),
330
p => Assert.False(
TopLevelParameterNameAnalyzer
.IsProblematicParameter(symbolCache, p)),
331
p => Assert.False(
TopLevelParameterNameAnalyzer
.IsProblematicParameter(symbolCache, p)));
414
Assert.True(
TopLevelParameterNameAnalyzer
.SymbolCache.TryCreate(compilation, out var symbolCache));
416
return
TopLevelParameterNameAnalyzer
.IsProblematicParameter(symbolCache, parameter);
433
Assert.True(
TopLevelParameterNameAnalyzer
.SymbolCache.TryCreate(compilation, out var symbolCache));
439
var name =
TopLevelParameterNameAnalyzer
.GetName(symbolCache, parameter);
458
Assert.True(
TopLevelParameterNameAnalyzer
.SymbolCache.TryCreate(compilation, out var symbolCache));
464
var name =
TopLevelParameterNameAnalyzer
.GetName(symbolCache, parameter);
482
Assert.True(
TopLevelParameterNameAnalyzer
.SymbolCache.TryCreate(compilation, out var symbolCache));
488
var name =
TopLevelParameterNameAnalyzer
.GetName(symbolCache, parameter);
506
Assert.True(
TopLevelParameterNameAnalyzer
.SymbolCache.TryCreate(compilation, out var symbolCache));
512
var name =
TopLevelParameterNameAnalyzer
.GetName(symbolCache, parameter);
530
Assert.True(
TopLevelParameterNameAnalyzer
.SymbolCache.TryCreate(compilation, out var symbolCache));
536
var result =
TopLevelParameterNameAnalyzer
.SpecifiesModelType(symbolCache, parameter);
553
Assert.True(
TopLevelParameterNameAnalyzer
.SymbolCache.TryCreate(compilation, out var symbolCache));
559
var result =
TopLevelParameterNameAnalyzer
.SpecifiesModelType(symbolCache, parameter);
576
Assert.True(
TopLevelParameterNameAnalyzer
.SymbolCache.TryCreate(compilation, out var symbolCache));
582
var result =
TopLevelParameterNameAnalyzer
.SpecifiesModelType(symbolCache, parameter);
598
internal sealed class TopLevelParameterNameCSharpAnalyzerTest : CSharpAnalyzerTest<
TopLevelParameterNameAnalyzer
, DefaultVerifier>