48 references to IsSubmission
Microsoft.CodeAnalysis (6)
Compilation\Compilation.cs (5)
1638if (this.IsSubmission) 2581Debug.Assert(IsSubmission); 3131if (IsSubmission && !HasCodeToEmit()) 3466if (!IsSubmission && syntaxTree != null) 3475if (IsSubmission)
MetadataReference\CompilationReference.cs (1)
34if (compilation.IsSubmission)
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Initializers.cs (1)
254if (binder.Compilation.IsSubmission)
Binder\Imports.cs (2)
68Debug.Assert(newSubmission.IsSubmission); 93Debug.Assert(newSubmission.IsSubmission);
Compilation\CSharpCompilation.cs (16)
548this.IsSubmission, 567this.IsSubmission, 590this.IsSubmission, 620this.IsSubmission, 652this.IsSubmission, 716this.IsSubmission, 735this.IsSubmission, 754Debug.Assert(IsSubmission); 865if (this.IsSubmission && tree.Options.Kind == SourceCodeKind.Regular) 877if (this.IsSubmission && i > 1) 1448Debug.Assert(!this.IsSubmission || _syntaxAndDeclarations.ExternalSyntaxTrees.Length <= 1); 1449return this.IsSubmission && tree == _syntaxAndDeclarations.ExternalSyntaxTrees.SingleOrDefault(); 1503Debug.Assert(this.IsSubmission); 1523Debug.Assert(this.IsSubmission); 1635return (IsSubmission && ScriptClass is object) ? 3132Debug.Assert(!IsSubmission || HasCodeToEmit() ||
Symbols\Source\SourceAssemblySymbol.cs (1)
177return _compilation.IsSubmission;
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (1)
469if (compilation.IsSubmission)
Symbols\Synthesized\SynthesizedEntryPointSymbol.cs (1)
31if (compilation.IsSubmission)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CompilationAPITests.cs (2)
1729Assert.True(compilation.IsSubmission); 1843Assert.True(compilation.IsSubmission);
Microsoft.CodeAnalysis.VisualBasic (17)
Binding\Binder_Initializers.vb (1)
211If Me.Compilation.IsSubmission AndAlso isLast AndAlso boundStatement.Kind = BoundKind.ExpressionStatement AndAlso Not boundStatement.HasErrors Then
Compilation\VisualBasicCompilation.vb (14)
517Me.IsSubmission, 543Me.IsSubmission, 569Me.IsSubmission, 611Me.IsSubmission, 644AddSyntaxTreeToDeclarationMapAndTable(tree, newOptions, Me.IsSubmission, declMap, declTable, discardedReferenceDirectivesChanged) ' declMap and declTable passed ByRef 665Me.IsSubmission, 726Me.IsSubmission, 748Me.IsSubmission, 814Debug.Assert(IsSubmission) 859Return If(IsSubmission AndAlso ScriptClass IsNot Nothing, 959AddSyntaxTreeToDeclarationMapAndTable(tree, _options, Me.IsSubmission, declMap, declTable, referenceDirectivesChanged) ' declMap and declTable passed ByRef 965If IsSubmission AndAlso declMap.Count > 1 Then 1110AddSyntaxTreeToDeclarationMapAndTable(vbNewTree, _options, Me.IsSubmission, declMap, declTable, referenceDirectivesChanged) 2389Debug.Assert(Not IsSubmission OrElse HasCodeToEmit() OrElse
Symbols\Source\SourceAssemblySymbol.vb (1)
125Return _compilation.IsSubmission
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
24If compilation.IsSubmission Then
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\CompilationAPITests.vb (1)
2100Assert.True(compilation.IsSubmission)