2 instantiations of UpdatedContainingSymbolAndNullableAnnotationLocal
Microsoft.CodeAnalysis.CSharp (2)
BoundTree\NullabilityRewriter.cs (1)
202updatedLocal = new UpdatedContainingSymbolAndNullableAnnotationLocal(local, updatedContaining ?? local.ContainingSymbol, updatedType ?? local.TypeWithAnnotations);
Symbols\UpdatedContainingSymbolLocal.cs (1)
20return new UpdatedContainingSymbolAndNullableAnnotationLocal(underlyingLocal, updatedContainingSymbol, updatedType, assertContaining: false);
7 references to UpdatedContainingSymbolAndNullableAnnotationLocal
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceLocalSymbol.cs (1)
494if (obj is UpdatedContainingSymbolAndNullableAnnotationLocal updated)
Symbols\UpdatedContainingSymbolLocal.cs (3)
15/// Creates a new <see cref="UpdatedContainingSymbolAndNullableAnnotationLocal"/> for testing purposes, 18internal static UpdatedContainingSymbolAndNullableAnnotationLocal CreateForTest(SourceLocalSymbol underlyingLocal, Symbol updatedContainingSymbol, TypeWithAnnotations updatedType) 57UpdatedContainingSymbolAndNullableAnnotationLocal updated => updated._underlyingLocal,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\Source\UpdatedContainingSymbolAndNullableAnntotationTests.cs (3)
43var wrappedLocal1 = UpdatedContainingSymbolAndNullableAnnotationLocal.CreateForTest(local1, m2, TypeWithAnnotations.Create(local1.Type, NullableAnnotation.Annotated)); 44var wrappedLocal1a = UpdatedContainingSymbolAndNullableAnnotationLocal.CreateForTest(local1, m2, TypeWithAnnotations.Create(local1.Type, NullableAnnotation.Annotated)); 45var wrappedLocal2 = UpdatedContainingSymbolAndNullableAnnotationLocal.CreateForTest(local2, m2, TypeWithAnnotations.Create(local1.Type, NullableAnnotation.NotAnnotated));