24 overrides of DeclaringCompilation
Microsoft.CodeAnalysis.VisualBasic (24)
Symbols\Metadata\PE\PEAssemblySymbol.vb (1)
272Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Metadata\PE\PEEventSymbol.vb (1)
330Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
465Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Metadata\PE\PEGlobalNamespaceSymbol.vb (1)
81Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
1345Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Metadata\PE\PEModuleSymbol.vb (1)
418Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1536Friend NotOverridable Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Metadata\PE\PENestedNamespaceSymbol.vb (1)
179Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Metadata\PE\PEParameterSymbol.vb (1)
648Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Metadata\PE\PEPropertySymbol.vb (1)
625Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Metadata\PE\PETypeParameterSymbol.vb (1)
381Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Retargeting\RetargetingAssemblySymbol.vb (1)
254Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
239Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
253Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
505Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Retargeting\RetargetingModuleSymbol.vb (1)
280Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
530Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Retargeting\RetargetingNamespaceSymbol.vb (1)
296Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Retargeting\RetargetingParameterSymbol.vb (1)
319Friend NotOverridable Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
327Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Retargeting\RetargetingTypeParameterSymbol.vb (1)
172Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Source\SourceAssemblySymbol.vb (1)
114Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\Source\SourceModuleSymbol.vb (1)
148Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (1)
168Friend Overrides ReadOnly Property DeclaringCompilation As VisualBasicCompilation
120 references to DeclaringCompilation
Microsoft.CodeAnalysis.VisualBasic (120)
Compilation\ClsComplianceChecker.vb (1)
575Return symbol.DeclaringCompilation IsNot Me._compilation OrElse symbol.IsImplicitlyDeclared OrElse IsSyntacticallyFilteredOut(symbol)
Compilation\DocumentationComments\DocumentationCommentCompiler.vb (1)
123Dim compilation As VisualBasicCompilation = symbol.DeclaringCompilation
Compilation\DocumentationComments\DocumentationCommentWalker.vb (1)
126Return Me._symbol.DeclaringCompilation
Emit\NamedTypeSymbolAdapter.vb (1)
428Yield [interface].GetTypeRefWithAttributes(AdaptedNamedTypeSymbol.DeclaringCompilation, typeRef)
Emit\PEModuleBuilder.vb (1)
295Dim compilation As VisualBasicCompilation = symbol.DeclaringCompilation
Emit\TypeParameterSymbolAdapter.vb (1)
213Yield t.GetTypeRefWithAttributes(AdaptedTypeParameterSymbol.DeclaringCompilation, typeRef)
Symbols\Attributes\AttributeData.vb (5)
554target.DeclaringCompilation.Options.OutputKind = OutputKind.NetModule) OrElse 556Me.IsSecurityAttribute(target.DeclaringCompilation) Then 584Me.IsSecurityAttribute(target.DeclaringCompilation) Then 591target.DeclaringCompilation.Options.OutputKind <> OutputKind.NetModule) Then 600Me.IsSecurityAttribute(target.DeclaringCompilation) Then
Symbols\EmbeddedSymbols\Symbols\EmbeddedNamedTypeSymbol.vb (1)
55Dim manager As EmbeddedSymbolManager = Me.DeclaringCompilation.EmbeddedSymbolManager
Symbols\MethodSignatureComparer.vb (2)
646Dim comp1 = param1.DeclaringCompilation 647Dim comp2 = param2.DeclaringCompilation
Symbols\Source\ImplicitNamedTypeSymbol.vb (1)
51Dim baseType = DeclaringCompilation.GetSpecialType(SpecialType.System_Object)
Symbols\Source\OverloadingHelper.vb (1)
31Dim compilation = container.DeclaringCompilation
Symbols\Source\SourceEventSymbol.vb (4)
441Return New LexicalSortKey(_location, Me.DeclaringCompilation) 756type.CheckAllConstraints(DeclaringCompilation.LanguageVersion, 762If DeclaringCompilation.EventQueue IsNot Nothing Then 782AddSynthesizedAttribute(attributes, DeclaringCompilation.SynthesizeTupleNamesAttribute(Type))
Symbols\Source\SourceFieldSymbol.vb (4)
615Return New LexicalSortKey(_syntaxRef, Me.DeclaringCompilation) 689Dim compilation = Me.DeclaringCompilation 699Dim compilation = Me.DeclaringCompilation 707AddSynthesizedAttribute(attributes, DeclaringCompilation.SynthesizeTupleNamesAttribute(Type))
Symbols\Source\SourceMemberContainerTypeSymbol.vb (7)
244type.DeclaringCompilation.EmbeddedSymbolManager.RegisterModuleDeclaration() 1358Dim firstLocation = Me.DeclaringCompilation.FirstSourceLocation(Locations) 1370_lazyLexicalSortKey.SetFrom(_declaration.GetLexicalSortKey(DeclaringCompilation)) 1810Dim candidateIsBigger As Boolean = Me.DeclaringCompilation.CompareSourceLocations(bestPartialMethodLocation, candidateLocation) < 0 1835Dim candidateIsBigger = Me.DeclaringCompilation.CompareSourceLocations(bestImplLocation, candidateLocation) < 0 2257Dim compilation = Me.DeclaringCompilation 4041AddSynthesizedAttribute(attributes, Me.DeclaringCompilation.SynthesizeExtensionAttribute())
Symbols\Source\SourceMemberFieldSymbol.vb (1)
38Type.CheckAllConstraints(DeclaringCompilation.LanguageVersion,
Symbols\Source\SourceMemberMethodSymbol.vb (2)
182AddSynthesizedAttribute(attributes, Me.DeclaringCompilation.SynthesizeStateMachineAttribute(Me, moduleBuilder.CompilationState)) 188AddSynthesizedAttribute(attributes, Me.DeclaringCompilation.SynthesizeOptionalDebuggerStepThroughAttribute())
Symbols\Source\SourceMethodSymbol.vb (8)
827New LexicalSortKey(m_syntaxReferenceOpt, Me.DeclaringCompilation), 1444Dim compilation = Me.DeclaringCompilation 1461AddSynthesizedAttribute(attributes, DeclaringCompilation.SynthesizeTupleNamesAttribute(Me.ReturnType)) 1737ElseIf attrData.IsSecurityAttribute(Me.DeclaringCompilation) Then 1738attrData.DecodeSecurityAttribute(Of MethodWellKnownAttributeData)(Me, Me.DeclaringCompilation, arguments) 2193DeclaringCompilation.LanguageVersion, 2203DeclaringCompilation.LanguageVersion, 2357Dim compilation = Me.DeclaringCompilation
Symbols\Source\SourceNamedTypeSymbol.vb (21)
1353Dim compilation As VisualBasicCompilation = Me.DeclaringCompilation 1378ReportUseSiteInfoForBaseType(Me.DeclaringCompilation.GetSpecialType(SpecialType.System_Object), declaredBase, diagnostics) 1427If current.DeclaringCompilation Is Me.DeclaringCompilation Then 1475If t.DeclaringCompilation IsNot Me.DeclaringCompilation Then 1479If [interface].DeclaringCompilation IsNot Me.DeclaringCompilation Then 1630DeclaringCompilation.LanguageVersion, 1639Dim isBaseType As Boolean = DeclaringCompilation.GetWellKnownType(WellKnownType.System_Attribute).IsBaseTypeOf(localBase, useSiteInfo) 1684DeclaringCompilation.LanguageVersion, 1694DeclaringCompilation.SymbolDeclaredEvent(Me) 1814For Each globalImport In Me.DeclaringCompilation.Options.GlobalImports 2137Debug.Assert(Me.IsOrDerivedFromWellKnownClass(WellKnownType.System_Attribute, DeclaringCompilation, CompoundUseSiteInfo(Of AssemblySymbol).Discarded) OrElse Me.SpecialType = Microsoft.CodeAnalysis.SpecialType.System_Object) 2222Debug.Assert(DirectCast(argument.TypeInternal, TypeSymbol).Equals(DeclaringCompilation.GetWellKnownType(WellKnownType.System_Type), TypeCompareKind.ConsiderEverything)) 2281ElseIf attrData.IsSecurityAttribute(Me.DeclaringCompilation) Then 2282attrData.DecodeSecurityAttribute(Of CommonTypeWellKnownAttributeData)(Me, Me.DeclaringCompilation, arguments) 2405Me.DeclaringCompilation, 2481Dim compilation = Me.DeclaringCompilation 2620Dim mainTypeName As String = DeclaringCompilation.Options.MainTypeName 2627Dim formClass As NamedTypeSymbol = DeclaringCompilation.GetWellKnownType(WellKnownType.System_Windows_Forms_Form)
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (11)
211comClass.DeclaringCompilation, 218comClass.DeclaringCompilation, 225comClass.DeclaringCompilation, 230comClass.DeclaringCompilation, 238comClass.DeclaringCompilation, 265comClass.DeclaringCompilation, 273comClass.DeclaringCompilation, 987Dim compilation As VisualBasicCompilation = _comClass.DeclaringCompilation 1361AddSynthesizedAttribute(attributes, _interface.ComClass.DeclaringCompilation.TrySynthesizeAttribute( 1646Dim compilation = Me.DeclaringCompilation 1867AddSynthesizedAttribute(attributes, _interface.ComClass.DeclaringCompilation.TrySynthesizeAttribute(
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
67FindGroupClassBaseTypes(baseTypeNames(i).Split(separatorDot, StringSplitOptions.None), DeclaringCompilation.GlobalNamespace, 0, baseTypes)
Symbols\Source\SourceNamespaceSymbol.vb (2)
275_lazyLexicalSortKey.SetFrom(_declaration.GetLexicalSortKey(Me.DeclaringCompilation)) 398DeclaringCompilation.SymbolDeclaredEvent(Me)
Symbols\Source\SourceParameterSymbol.vb (1)
285Yield New SourceAttributeData(DeclaringCompilation, attribute.ApplicationSyntaxReference, attribute.AttributeClass, attribute.AttributeConstructor, newArgs, attribute.CommonNamedArguments, attribute.IsConditionallyOmitted, attribute.HasErrors)
Symbols\Source\SourceParameterSymbolBase.vb (3)
47Dim compilation = Me.DeclaringCompilation 56Dim compilation = Me.DeclaringCompilation 73AddSynthesizedAttribute(attributes, DeclaringCompilation.SynthesizeTupleNamesAttribute(Type))
Symbols\Source\SourcePropertyAccessorSymbol.vb (3)
195DeclaringCompilation.LanguageVersion, 266DeclaringCompilation.LanguageVersion, 504Dim compilation = DeclaringCompilation
Symbols\Source\SourcePropertySymbol.vb (4)
448Return New LexicalSortKey(_location, Me.DeclaringCompilation) 1249type.CheckAllConstraints(DeclaringCompilation.LanguageVersion, 1255If DeclaringCompilation.EventQueue IsNot Nothing Then 1270AddSynthesizedAttribute(attributes, DeclaringCompilation.SynthesizeTupleNamesAttribute(Type))
Symbols\Source\SourceTypeParameterSymbol.vb (1)
193DeclaringCompilation.LanguageVersion,
Symbols\Source\SourceWithEventsBackingFieldSymbol.vb (1)
64Dim compilation = _property.DeclaringCompilation
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
23Dim compilation = ContainingType.DeclaringCompilation
Symbols\Source\SynthesizedEventAccessorSymbol.vb (5)
55parameterType = Me.DeclaringCompilation.GetWellKnownType(WellKnownType.System_Runtime_InteropServices_WindowsRuntime_EventRegistrationToken) 78Dim compilation = Me.DeclaringCompilation 109Dim compilation = Me.DeclaringCompilation 496Dim compilation = Me.DeclaringCompilation 523DeclaringCompilation.GetWellKnownTypeMember(WellKnownMember.System_Threading_Interlocked__CompareExchange_T) Is Nothing Then
Symbols\Source\SynthesizedEventBackingFieldSymbol.vb (1)
42Dim tokenType = Me.DeclaringCompilation.GetWellKnownType(WellKnownType.System_Runtime_InteropServices_WindowsRuntime_EventRegistrationTokenTable_T)
Symbols\Source\SynthesizedFieldSymbol.vb (1)
66Dim compilation = Me.DeclaringCompilation
Symbols\Source\SynthesizedInteractiveInitializerMethod.vb (1)
28CalculateReturnType(containingType.DeclaringCompilation, diagnostics, ResultType, _returnType)
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (2)
70Dim runMethod = DirectCast(Binder.GetWellKnownTypeMember(container.DeclaringCompilation, WellKnownMember.System_Windows_Forms_Application__RunForm, useSiteInfo), MethodSymbol) 89DeclaringCompilation.TrySynthesizeAttribute(WellKnownMember.System_STAThreadAttribute__ctor))
Symbols\Source\SynthesizedMyGroupCollectionPropertyAccessorSymbol.vb (1)
43AddSynthesizedAttribute(attributes, Me.DeclaringCompilation.SynthesizeDebuggerHiddenAttribute())
Symbols\Source\SynthesizedMyGroupCollectionPropertyBackingFieldSymbol.vb (1)
37AddSynthesizedAttribute(attributes, Me.DeclaringCompilation.SynthesizeEditorBrowsableNeverAttribute())
Symbols\Source\SynthesizedStaticLocalBackingField.vb (1)
35implicitlyDefinedBy.DeclaringCompilation.GetWellKnownType(WellKnownType.Microsoft_VisualBasic_CompilerServices_StaticLocalInitFlag)),
Symbols\Source\SynthesizedSubmissionConstructorSymbol.vb (2)
31Dim compilation = container.DeclaringCompilation 101Dim targetSubmissionId = targetScriptType.DeclaringCompilation.GetSubmissionSlotIndex()
Symbols\Source\SynthesizedWithEventsAccessorSymbol.vb (1)
94Dim compilation = Me.DeclaringCompilation
Symbols\Symbol.vb (4)
268Return DeclaringCompilation 331Dim declaringCompilation = Me.DeclaringCompilation 705Return compilation Is Me.DeclaringCompilation 731If Me.DeclaringCompilation IsNot Nothing Then
Symbols\Symbol_Attributes.vb (1)
197Dim compilation = Me.DeclaringCompilation
Symbols\SymbolExtensions.vb (1)
19Dim comp = symbol.DeclaringCompilation
Symbols\SynthesizedSymbols\SynthesizedBackingFieldBase.vb (1)
128Dim compilation = Me.DeclaringCompilation
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (1)
216Return New LexicalSortKey(_syntaxRef, Me.DeclaringCompilation)
Symbols\SynthesizedSymbols\SynthesizedGlobal_StringSwitchHashMethodSymbol.vb (1)
32Dim compilation = Me.DeclaringCompilation
Symbols\SynthesizedSymbols\SynthesizedInterfaceImplementationStubSymbol.vb (2)
187Dim compilation = Me.DeclaringCompilation 196Dim compilation = Me.DeclaringCompilation
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (1)
116AddSynthesizedAttribute(attributes, sourceType.DeclaringCompilation.TrySynthesizeAttribute(
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (1)
248Dim compilation = Me.DeclaringCompilation