73 references to Read
Microsoft.AspNetCore.App.Analyzers.Test (66)
Components\DisallowNonLiteralSequenceNumbersTest.cs (3)
34
var source = TestSource.
Read
(@"
55
var source = TestSource.
Read
(@"
76
var source = TestSource.
Read
(@"
Infrastructure\WellKnownTypesTests.cs (2)
24
var source = TestSource.
Read
(@"
46
var source = TestSource.
Read
(@"
RouteEmbeddedLanguage\RoutePatternAnalyzerTests.cs (19)
29
var source = TestSource.
Read
(
54
var source = TestSource.
Read
(@"
86
var source = TestSource.
Read
(@"
119
var source = TestSource.
Read
(@"
147
var source = TestSource.
Read
(@"
175
var source = TestSource.
Read
(@"
204
var source = TestSource.
Read
(@"
241
var source = TestSource.
Read
(@"
267
var source = TestSource.
Read
(@"
303
var source = TestSource.
Read
(@"
343
var source = TestSource.
Read
(@"
377
var source = TestSource.
Read
(@"
417
var source = TestSource.
Read
(@"
454
var source = TestSource.
Read
(@"
497
var source = TestSource.
Read
(@"
546
var source = TestSource.
Read
(builder.ToString());
586
var source = TestSource.
Read
(builder.ToString());
612
var source = TestSource.
Read
(builder.ToString());
639
var source = TestSource.
Read
(builder.ToString());
RouteHandlers\DetectMisplacedLambdaAttributeTest.cs (7)
35
var source = TestSource.
Read
(@"
57
var source = TestSource.
Read
(@"
79
var source = TestSource.
Read
(@"
113
var source = TestSource.
Read
(@"
177
var source = TestSource.
Read
(@"
196
var source = TestSource.
Read
(@"
229
var source = TestSource.
Read
(@"
RouteHandlers\DisallowMvcBindArgumentsOnParametersTest.cs (2)
50
var source = TestSource.
Read
(@"
70
var source = TestSource.
Read
(@"
RouteHandlers\DisallowReturningActionResultsFromMapMethodsTest.cs (6)
116
var source = TestSource.
Read
(@"
139
var source = TestSource.
Read
(@"
162
var source = TestSource.
Read
(@"
190
var source = TestSource.
Read
(@"
222
var source = TestSource.
Read
(@"
260
var source = TestSource.
Read
(@"
WebApplicationBuilder\DisallowConfigureHostBuilderConfigureWebHostTest.cs (8)
34
var source = TestSource.
Read
(@"
54
var source = TestSource.
Read
(@"
75
var source = TestSource.
Read
(@"
97
var source = TestSource.
Read
(@"
116
var source = TestSource.
Read
(@"
137
var source = TestSource.
Read
(@"
165
var source = TestSource.
Read
(@"
194
var source = TestSource.
Read
(@"
WebApplicationBuilder\DisallowConfigureHostLoggingTest.cs (1)
258
var source = TestSource.
Read
(@"
WebApplicationBuilder\DisallowConfigureServicesTest.cs (1)
255
var source = TestSource.
Read
(@"
WebApplicationBuilder\DisallowConfigureWebHostBuilderConfigureTest.cs (4)
35
var source = TestSource.
Read
(@"
56
var source = TestSource.
Read
(@"
77
var source = TestSource.
Read
(@"
104
var source = TestSource.
Read
(@"
WebApplicationBuilder\DisallowConfigureWebHostBuilderUseStartupTest.cs (6)
34
var source = TestSource.
Read
(@"
55
var source = TestSource.
Read
(@"
76
var source = TestSource.
Read
(@"
96
var source = TestSource.
Read
(@"
117
var source = TestSource.
Read
(@"
144
var source = TestSource.
Read
(@"
WebApplicationBuilder\UseTopLevelRouteRegistrationInsteadOfUseEndpointsTest.cs (7)
65
var source = TestSource.
Read
(@"
83
var source = TestSource.
Read
(@"
107
var source = TestSource.
Read
(@"
131
var source = TestSource.
Read
(@"
184
var source = TestSource.
Read
(@"
216
var source = TestSource.
Read
(@"
242
var source = TestSource.
Read
(@"
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
AnalyzerTestBase.cs (1)
28
return TestSource.
Read
(fileContent);
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
AnalyzerTestBase.cs (1)
28
return TestSource.
Read
(fileContent);
Mvc.Api.Analyzers.Test (5)
ApiConventionAnalyzerIntegrationTest.cs (4)
71
var testSource = TestSource.
Read
(source);
132
var testSource = TestSource.
Read
(source);
164
var testSource = TestSource.
Read
(source);
198
var testSource = TestSource.
Read
(source);
Infrastructure\MvcTestSource.cs (1)
22
return TestSource.
Read
(fileContent);