1 instantiation of AnonymousTypeTemplateSymbol
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\AnonymousTypes\AnonymousTypeManager_Templates.vb (1)
99
template = AnonymousTypeTemplates.GetOrAdd(typeKey, New
AnonymousTypeTemplateSymbol
(Me, typeDescr))
28 references to AnonymousTypeTemplateSymbol
Microsoft.CodeAnalysis.VisualBasic (28)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (1)
27
Dim anonymousType = DirectCast(Me.ContainingType,
AnonymousTypeTemplateSymbol
)
Symbols\AnonymousTypes\AnonymousType_SymbolCollection.vb (1)
96
If DirectCast(t,
AnonymousTypeTemplateSymbol
).HasAtLeastOneKeyField Then
Symbols\AnonymousTypes\AnonymousTypeManager_Templates.vb (5)
19
Private _concurrentTypesCache As ConcurrentDictionary(Of String,
AnonymousTypeTemplateSymbol
) = Nothing
45
Private ReadOnly Property AnonymousTypeTemplates As ConcurrentDictionary(Of String,
AnonymousTypeTemplateSymbol
)
56
New ConcurrentDictionary(Of String,
AnonymousTypeTemplateSymbol
),
57
New ConcurrentDictionary(Of String,
AnonymousTypeTemplateSymbol
)(previousCache)),
95
Dim template As
AnonymousTypeTemplateSymbol
= Nothing
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ConstructorSymbol.vb (2)
18
Public Sub New(container As
AnonymousTypeTemplateSymbol
)
46
Dim compilation = DirectCast(Me.ContainingType,
AnonymousTypeTemplateSymbol
).Manager.Compilation
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_EqualsMethodSymbol.vb (4)
19
Public Sub New(container As
AnonymousTypeTemplateSymbol
, iEquatableEqualsMethod As MethodSymbol)
26
Private ReadOnly Property AnonymousType As
AnonymousTypeTemplateSymbol
28
Return DirectCast(Me.m_containingType,
AnonymousTypeTemplateSymbol
)
89
Dim compilation = DirectCast(Me.ContainingType,
AnonymousTypeTemplateSymbol
).Manager.Compilation
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_GetHashCodeMethodSymbol.vb (4)
15
Public Sub New(container As
AnonymousTypeTemplateSymbol
)
19
Private ReadOnly Property AnonymousType As
AnonymousTypeTemplateSymbol
21
Return DirectCast(Me.m_containingType,
AnonymousTypeTemplateSymbol
)
58
Dim compilation = DirectCast(Me.ContainingType,
AnonymousTypeTemplateSymbol
).Manager.Compilation
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_IEquatable_EqualsMethodSymbol.vb (4)
19
Public Sub New(container As
AnonymousTypeTemplateSymbol
, interfaceMethod As MethodSymbol)
26
Private ReadOnly Property AnonymousType As
AnonymousTypeTemplateSymbol
28
Return DirectCast(Me.m_containingType,
AnonymousTypeTemplateSymbol
)
95
Dim compilation = DirectCast(Me.ContainingType,
AnonymousTypeTemplateSymbol
).Manager.Compilation
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (3)
15
Private ReadOnly _containingType As
AnonymousTypeTemplateSymbol
26
Public Sub New(container As
AnonymousTypeTemplateSymbol
, field As AnonymousTypeField, index As Integer, typeSymbol As TypeSymbol)
41
Friend ReadOnly Property AnonymousType As
AnonymousTypeTemplateSymbol
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_ToStringMethodSymbol.vb (4)
19
Public Sub New(container As
AnonymousTypeTemplateSymbol
)
23
Private ReadOnly Property AnonymousType As
AnonymousTypeTemplateSymbol
25
Return DirectCast(Me.m_containingType,
AnonymousTypeTemplateSymbol
)
63
Dim compilation = DirectCast(Me.ContainingType,
AnonymousTypeTemplateSymbol
).Manager.Compilation