15 references to 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)
301Interlocked.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)
234Interlocked.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);