15 instantiations of Boxed
Microsoft.CodeAnalysis.CSharp (15)
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
342Interlocked.CompareExchange(ref _lazyType, new TypeWithAnnotations.Boxed(type), null);
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
136new TypeWithAnnotations.Boxed(this.RetargetingTranslator.Retarget(_underlyingMethod.ReturnTypeWithAnnotations, RetargetOptions.RetargetPrimitiveTypesByTypeCode, this.ContainingType)),
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
47new TypeWithAnnotations.Boxed(this.RetargetingModule.RetargetingTranslator.Retarget(_underlyingParameter.TypeWithAnnotations, RetargetOptions.RetargetPrimitiveTypesByTypeCode)),
Symbols\Retargeting\RetargetingPropertySymbol.cs (1)
74Interlocked.CompareExchange(ref _lazyType, new TypeWithAnnotations.Boxed(type), null);
Symbols\Source\GlobalExpressionVariable.cs (1)
138if (Interlocked.CompareExchange(ref _lazyType, new TypeWithAnnotations.Boxed(type), null) == null)
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (1)
36Interlocked.CompareExchange(ref _lazyIteratorElementType, new TypeWithAnnotations.Boxed(elementType), TypeWithAnnotations.Boxed.Sentinel);
Symbols\Source\LocalFunctionSymbol.cs (1)
302Interlocked.CompareExchange(ref _lazyReturnType, new TypeWithAnnotations.Boxed(returnType), null);
Symbols\Source\SourceLocalSymbol.cs (1)
402Interlocked.CompareExchange(ref _type, new TypeWithAnnotations.Boxed(newType), null);
Symbols\Source\SourcePropertySymbolBase.cs (2)
208_lazyType = new TypeWithAnnotations.Boxed(type); 262_lazyType = new TypeWithAnnotations.Boxed(type);
Symbols\SubstitutedEventSymbol.cs (1)
31Interlocked.CompareExchange(ref _lazyType, new TypeWithAnnotations.Boxed(type), null);
Symbols\SubstitutedFieldSymbol.cs (1)
32Interlocked.CompareExchange(ref _lazyType, new TypeWithAnnotations.Boxed(type), null);
Symbols\SubstitutedMethodSymbol.cs (1)
235Interlocked.CompareExchange(ref _lazyReturnType, new TypeWithAnnotations.Boxed(returnType), null);
Symbols\SubstitutedPropertySymbol.cs (1)
32Interlocked.CompareExchange(ref _lazyType, new TypeWithAnnotations.Boxed(type), null);
Symbols\TypeWithAnnotations.cs (1)
27internal static readonly Boxed Sentinel = new Boxed(default);
17 references to Boxed
Microsoft.CodeAnalysis.CSharp (17)
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
127private TypeWithAnnotations.Boxed _lazyType;
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
55private TypeWithAnnotations.Boxed _lazyReturnType;
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
27private TypeWithAnnotations.Boxed? _lazyTypeWithAnnotations;
Symbols\Retargeting\RetargetingPropertySymbol.cs (1)
36private TypeWithAnnotations.Boxed _lazyType;
Symbols\Source\GlobalExpressionVariable.cs (1)
21private TypeWithAnnotations.Boxed _lazyType;
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (4)
12private TypeWithAnnotations.Boxed? _lazyIteratorElementType; 19_lazyIteratorElementType = TypeWithAnnotations.Boxed.Sentinel; 27if (_lazyIteratorElementType == TypeWithAnnotations.Boxed.Sentinel) 36Interlocked.CompareExchange(ref _lazyIteratorElementType, new TypeWithAnnotations.Boxed(elementType), TypeWithAnnotations.Boxed.Sentinel);
Symbols\Source\LocalFunctionSymbol.cs (1)
30private TypeWithAnnotations.Boxed? _lazyReturnType;
Symbols\Source\SourceLocalSymbol.cs (1)
39private TypeWithAnnotations.Boxed _type;
Symbols\Source\SourcePropertySymbolBase.cs (1)
61private TypeWithAnnotations.Boxed _lazyType;
Symbols\SubstitutedEventSymbol.cs (1)
15private TypeWithAnnotations.Boxed? _lazyType;
Symbols\SubstitutedFieldSymbol.cs (1)
19private TypeWithAnnotations.Boxed _lazyType;
Symbols\SubstitutedMethodSymbol.cs (1)
29private TypeWithAnnotations.Boxed _lazyReturnType;
Symbols\SubstitutedPropertySymbol.cs (1)
16private TypeWithAnnotations.Boxed _lazyType;
Symbols\TypeWithAnnotations.cs (1)
27internal static readonly Boxed Sentinel = new Boxed(default);