21 references to GetEntryPoint
Microsoft.AspNetCore.Analyzers (1)
StartupAnalyzer.cs (1)
39var entryPoint = context.Compilation.GetEntryPoint(context.CancellationToken);
Microsoft.AspNetCore.App.SourceGenerators (1)
PublicTopLevelProgramGenerator.cs (1)
26compilation.GetEntryPoint(cancellationToken)?.ContainingSymbol is INamedTypeSymbol
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
522var entryPoint = symbolEndContext.Compilation.GetEntryPoint(cancellationToken);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_TopLevelStatements.cs (1)
77var entryPointMethod = semanticModel.Compilation.GetEntryPoint(cancellationToken);
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\ConvertProgram\ConvertProgramAnalysis_TopLevelStatements.cs (1)
77var entryPointMethod = semanticModel.Compilation.GetEntryPoint(cancellationToken);
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
4071if (oldMember == oldCompilation.GetEntryPoint(cancellationToken))
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
522var entryPoint = symbolEndContext.Compilation.GetEntryPoint(cancellationToken);
Microsoft.CodeAnalysis.Scripting (1)
ScriptBuilder.cs (1)
128var entryPoint = compilation.GetEntryPoint(cancellationToken);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (6)
Emit\EntryPointTests.vb (6)
1362compilation.GetEntryPoint(Nothing)) 1384compilation.GetEntryPoint(Nothing)) 1406Assert.Null(compilation.GetEntryPoint(Nothing)) 1428Assert.Null(compilation.GetEntryPoint(Nothing)) 1452Assert.Null(compilation.GetEntryPoint(Nothing)) 1479Assert.Null(compilation2.GetEntryPoint(Nothing))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (7)
Compilation\CompilationAPITests.vb (7)
2013Assert.Equal(mainMethod, compilation.GetEntryPoint(Nothing)) 2034Assert.Null(compilation.GetEntryPoint(Nothing)) 2052Assert.Null(compilation.GetEntryPoint(Nothing)) 2105Dim entryPoint = compilation.GetEntryPoint(Nothing) 2144Dim method = compilation.GetEntryPoint(Nothing) 2181Dim method = compilation.GetEntryPoint(Nothing) 2231Assert.Equal(mainMethod, compilation.GetEntryPoint(Nothing))