28 references to ScriptCompilationInfo
Microsoft.CodeAnalysis (6)
Compilation\Compilation.cs (5)
487return ScriptCompilationInfo?.PreviousScriptCompilation; 500int lastSlotIndex = ScriptCompilationInfo!.PreviousScriptCompilation?.GetSubmissionSlotIndex() ?? 0; 518internal Type? SubmissionReturnType => ScriptCompilationInfo?.ReturnTypeOpt; 528internal Type? HostObjectType => ScriptCompilationInfo?.GlobalsType; 2660this.ScriptCompilationInfo?.PreviousScriptCompilation?.EnsureAnonymousTypeTemplates(cancellationToken);
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
841var previousScriptCompilation = compilation.ScriptCompilationInfo?.PreviousScriptCompilation;
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (4)
32var previous = compilation.ScriptCompilationInfo?.PreviousScriptCompilation; 36previous = previous.ScriptCompilationInfo?.PreviousScriptCompilation; 54var previous = compilation.ScriptCompilationInfo?.PreviousScriptCompilation; 66previous = previous.ScriptCompilationInfo?.PreviousScriptCompilation;
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (3)
InteractiveSessionTests.cs (3)
1652string hostObjectAssemblyName = scriptCompilation.ScriptCompilationInfo.GlobalsType.GetTypeInfo().Assembly.GetName().Name; 1708string hostObjectAssemblyName = scriptCompilation.ScriptCompilationInfo.GlobalsType.GetTypeInfo().Assembly.GetName().Name; 1774string hostObjectAssemblyName = scriptCompilation.ScriptCompilationInfo.GlobalsType.GetTypeInfo().Assembly.GetName().Name;
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\IRuntimeEnvironment.cs (1)
179var previousCompilation = compilation.ScriptCompilationInfo?.PreviousScriptCompilation;
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (6)
Compilation\CompilationAPITests.vb (6)
2385Assert.NotNull(c1.ScriptCompilationInfo) 2386Assert.Null(c1.ScriptCompilationInfo.PreviousScriptCompilation) 2389Assert.Null(c2.ScriptCompilationInfo) 2393Assert.NotNull(c3.ScriptCompilationInfo) 2394Assert.Null(c3.ScriptCompilationInfo.PreviousScriptCompilation) 2398Assert.Null(c4.ScriptCompilationInfo)
Microsoft.CodeAnalysis.Workspaces (8)
FindSymbols\FindReferences\DependentProjectsFinder.cs (1)
209var previous = compilation.ScriptCompilationInfo?.PreviousScriptCompilation;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ICompilationExtensions.cs (4)
32var previous = compilation.ScriptCompilationInfo?.PreviousScriptCompilation; 36previous = previous.ScriptCompilationInfo?.PreviousScriptCompilation; 54var previous = compilation.ScriptCompilationInfo?.PreviousScriptCompilation; 66previous = previous.ScriptCompilationInfo?.PreviousScriptCompilation;
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (3)
515if (compilationWithoutGeneratedDocuments.ScriptCompilationInfo!.PreviousScriptCompilation != previousSubmissionCompilation) 518compilationWithoutGeneratedDocuments.ScriptCompilationInfo!.WithPreviousScriptCompilation(previousSubmissionCompilation!)); 521staleCompilationWithGeneratedDocuments.ScriptCompilationInfo!.WithPreviousScriptCompilation(previousSubmissionCompilation!));