3 instantiations of CompileToCSharpResult
Microsoft.AspNetCore.Razor.Test.Common.Tooling (3)
Language\IntegrationTests\RazorToolingIntegrationTestBase.cs (3)
201
var declaration = new
CompileToCSharpResult
231
return new
CompileToCSharpResult
250
return new
CompileToCSharpResult
10 references to CompileToCSharpResult
Microsoft.AspNetCore.Razor.Test.Common.Tooling (6)
Language\IntegrationTests\RazorToolingIntegrationTestBase.cs (6)
169
protected
CompileToCSharpResult
CompileToCSharp(string cshtmlContent, bool throwOnFailure = true)
174
protected
CompileToCSharpResult
CompileToCSharp(string cshtmlRelativePath, string cshtmlContent, bool throwOnFailure = true, RazorFileKind? fileKind = null)
201
var
declaration = new CompileToCSharpResult
262
var
cSharpResult = CompileToCSharp(cshtmlRelativePath, cshtmlContent);
266
protected static CompileToAssemblyResult CompileToAssembly(
CompileToCSharpResult
cSharpResult, bool throwOnFailure = true)
323
protected static void AssertSourceEquals(string expected,
CompileToCSharpResult
generated)
Microsoft.CodeAnalysis.Razor.Workspaces.UnitTests (4)
Completion\BlazorDataAttributeCompletionItemProviderTest.cs (1)
219
var
result = CompileToCSharp("Test.razor", content, throwOnFailure: false, fileKind: actualFileKind);
Completion\DirectiveAttributeCompletionItemProviderBaseTest.cs (1)
235
var
result = CompileToCSharp(testCode.Text, throwOnFailure: false);
Completion\DirectiveAttributeCompletionItemProviderTest.AttributeNames.cs (1)
42
var
result = CompileToCSharp(content, throwOnFailure: false);
Completion\DirectiveAttributeEventParameterCompletionItemProviderTest.cs (1)
34
var
result = CompileToCSharp(content, throwOnFailure: false);