81 references to Submission
Microsoft.CodeAnalysis.CSharp (44)
Binder\Binder_Constraints.cs (1)
623
case TypeKind.
Submission
:
Binder\Binder_Expressions.cs (4)
2323
if (this.ContainingType.TypeKind == TypeKind.
Submission
2327
if (memberDeclaringType.TypeKind == TypeKind.
Submission
)
5168
case TypeKind.
Submission
:
9300
case TypeKind.
Submission
: // script class is synthesized and should not be used as a type of an indexer expression:
Binder\Binder_Lookup.cs (2)
198
case TypeKind.
Submission
:
1881
case TypeKind.
Submission
:
Binder\ForEachLoopBinder.cs (1)
1608
case TypeKind.
Submission
:
Binder\Semantics\AccessCheck.cs (2)
367
if (containingType.TypeKind == TypeKind.
Submission
)
429
if (originalContainingType.TypeKind == TypeKind.
Submission
)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
2486
if (m1.Member.ContainingType.TypeKind == TypeKind.
Submission
&& m2.Member.ContainingType.TypeKind == TypeKind.
Submission
)
Compiler\ClsComplianceChecker.cs (1)
1005
case TypeKind.
Submission
:
Lowering\LocalRewriter\LocalRewriter_PreviousSubmissionReference.cs (1)
15
Debug.Assert(targetType.TypeKind == TypeKind.
Submission
);
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
602
case TypeKind.
Submission
:
Symbols\ConstraintsHelper.cs (2)
285
case TypeKind.
Submission
:
1477
case TypeKind.
Submission
:
Symbols\EnumConversions.cs (1)
24
return TypeKind.
Submission
;
Symbols\NamedTypeSymbol.cs (2)
432
return TypeKind == TypeKind.
Submission
;
451
var name = (TypeKind == TypeKind.
Submission
) ? SynthesizedEntryPointSymbol.FactoryName : SynthesizedEntryPointSymbol.MainName;
Symbols\Source\SourceEventSymbol.cs (1)
603
else if (IsAbstract && !ContainingType.IsAbstract && (ContainingType.TypeKind == TypeKind.Class || ContainingType.TypeKind == TypeKind.
Submission
))
Symbols\Source\SourceMemberContainerSymbol.cs (4)
318
case TypeKind.
Submission
:
3271
case TypeKind.
Submission
:
3504
case TypeKind.
Submission
:
4847
builder.AddNonTypeMember((this.TypeKind == TypeKind.
Submission
) ?
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
520
case TypeKind.
Submission
: // we have to check that "override" is not used
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (2)
44
TypeKind is not (TypeKind.Enum or TypeKind.Delegate or TypeKind.
Submission
))
613
case TypeKind.
Submission
:
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
874
else if (IsAbstract && !ContainingType.IsAbstract && (ContainingType.TypeKind == TypeKind.Class || ContainingType.TypeKind == TypeKind.
Submission
))
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
529
if (IsAbstract && !ContainingType.IsAbstract && (ContainingType.TypeKind == TypeKind.Class || ContainingType.TypeKind == TypeKind.
Submission
))
Symbols\Symbol.cs (3)
258
if (ContainingType?.TypeKind == TypeKind.
Submission
)
280
if (ContainingType.TypeKind == TypeKind.
Submission
)
291
Debug.Assert(ContainingType.TypeKind != TypeKind.
Submission
);
Symbols\Symbol_Attributes.cs (1)
88
case TypeKind.
Submission
:
Symbols\SymbolExtensions.cs (2)
84
return superType.TypeKind == TypeKind.
Submission
&& subType.TypeKind == TypeKind.
Submission
;
Symbols\Synthesized\SynthesizedSubmissionConstructor.cs (1)
19
Debug.Assert(containingType.TypeKind == TypeKind.
Submission
);
Symbols\TypeSymbolExtensions.cs (6)
706
case TypeKind.
Submission
:
795
case TypeKind.
Submission
:
836
case TypeKind.
Submission
:
1164
if (ReferenceEquals(parent2.OriginalDefinition, parent1OriginalDefinition) || parent1OriginalDefinition.TypeKind == TypeKind.
Submission
&& parent2.TypeKind == TypeKind.
Submission
)
1528
case TypeKind.
Submission
:
Utilities\TypeSymbolExtensions.cs (1)
196
case TypeKind.
Submission
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.ExpressionSyntaxGeneratorVisitor.cs (1)
53
if (symbol.ContainingType.TypeKind == TypeKind.
Submission
)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
275
if (symbol.ContainingType.TypeKind != TypeKind.
Submission
)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ScriptSemanticsTests.cs (1)
602
Assert.NotEqual(TypeKind.
Submission
, type.TypeKind);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.ExpressionSyntaxGeneratorVisitor.cs (1)
53
if (symbol.ContainingType.TypeKind == TypeKind.
Submission
)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs (1)
275
if (symbol.ContainingType.TypeKind != TypeKind.
Submission
)
Microsoft.CodeAnalysis.VisualBasic (27)
Binding\Binder_Expressions.vb (2)
2605
If currentType.TypeKind = TYPEKIND.
Submission
AndAlso Not currentMember.IsShared Then
2606
If memberDeclaringType.TypeKind = TYPEKIND.
Submission
Then
Binding\Binder_Lookup.vb (2)
583
Case TypeKind.
Submission
612
Case TypeKind.
Submission
Compilation\ClsComplianceChecker.vb (2)
595
Case TypeKind.Class, TypeKind.Structure, TypeKind.Interface, TypeKind.Delegate, TypeKind.Enum, TypeKind.
Submission
, TypeKind.Module
621
Case TypeKind.Class, TypeKind.Structure, TypeKind.Interface, TypeKind.Delegate, TypeKind.Enum, TypeKind.
Submission
, TypeKind.Module
Emit\NamedTypeSymbolAdapter.vb (1)
236
If AdaptedNamedTypeSymbol.TypeKind = TypeKind.
Submission
Then
Lowering\LocalRewriter\LocalRewriter_PreviousSubmissionReference.vb (1)
15
Debug.Assert(targetType.TypeKind = TypeKind.
Submission
)
Semantics\AccessCheck.vb (2)
232
If containingType.TypeKind = TypeKind.
Submission
Then
287
If originalContainingType.TypeKind = TypeKind.
Submission
Then
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
255
TypeKind.
Submission
Symbols\NamedTypeSymbol.vb (2)
572
Return TypeKind = TypeKind.
Submission
588
Dim name = If(TypeKind = TypeKind.
Submission
, SynthesizedEntryPointSymbol.FactoryName, SynthesizedEntryPointSymbol.MainName)
Symbols\Source\ImplicitNamedTypeSymbol.vb (1)
58
Return If(Me.TypeKind = TypeKind.
Submission
, Nothing, baseType)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (4)
41
Submission = CUShort(TypeKind.
Submission
) << TypeKindShift
346
Case TypeKind.Module, TypeKind.
Submission
2724
If TypeKind = TypeKind.
Submission
Then
2803
If TypeKind = TypeKind.
Submission
Then
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1375
Case TypeKind.
Submission
Symbols\Source\SynthesizedSubmissionConstructorSymbol.vb (1)
27
Debug.Assert(container.TypeKind = TypeKind.
Submission
)
Symbols\Symbol.vb (3)
98
If ContainingType.TypeKind = TypeKind.
Submission
Then
112
If ContainingType.TypeKind = TypeKind.
Submission
Then
119
Debug.Assert(ContainingType.TypeKind <> TypeKind.
Submission
)
Symbols\Symbol_Attributes.vb (1)
113
Case TypeKind.
Submission
Symbols\TypeSymbolExtensions.vb (3)
414
Case TypeKind.Error, TypeKind.Class, TypeKind.
Submission
845
Case TypeKind.
Submission
857
TypeKind.
Submission
,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxGeneratorVisitor.vb (1)
40
If symbol.ContainingType.TypeKind = TypeKind.
Submission
Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
160
If symbol.ContainingType.TypeKind = TypeKind.
Submission
Then
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenScriptTests.vb (1)
249
Assert.NotEqual(type.TypeKind, TypeKind.
Submission
)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ExpressionSyntaxGeneratorVisitor.vb (1)
40
If symbol.ContainingType.TypeKind = TypeKind.
Submission
Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
160
If symbol.ContainingType.TypeKind = TypeKind.
Submission
Then