2 implementations of ILocalSymbol_NullableAnnotation
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
33 references to ILocalSymbol_NullableAnnotation
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (23)
Symbols\Source\NullablePublicAPITests.cs (23)
1007Assert.Equal(result, localSymbol.NullableAnnotation);
1178Assert.Equal(declaredSymbol.Type.NullableAnnotation, declaredSymbol.NullableAnnotation);
1179context.ReportDiagnostic(CodeAnalysis.Diagnostic.Create(s_descriptor2, declarator.GetLocation(), declaredSymbol.Name, declaredSymbol.NullableAnnotation));
1949Assert.Equal(PublicNullableAnnotation.Annotated, symbol.NullableAnnotation);
1996Assert.Equal(expectedAnnotation, symbol.NullableAnnotation);
2057Assert.Equal(expectedAnnotation1, symbols[0].NullableAnnotation);
2059Assert.Equal(expectedAnnotation2, symbols[1].NullableAnnotation);
2100Assert.Equal(expectedAnnotation1, symbols[0].NullableAnnotation);
2102Assert.Equal(expectedAnnotation2, symbols[1].NullableAnnotation);
2139Assert.Equal(PublicNullableAnnotation.Annotated, ((ILocalSymbol)specModel.GetDeclaredSymbol(newDeclarator)).NullableAnnotation);
2143Assert.Equal(PublicNullableAnnotation.Annotated, ((ILocalSymbol)specModel.GetDeclaredSymbol(newDeclarator)).NullableAnnotation);
2188Assert.Equal(expectedAnnotation, symbol.NullableAnnotation);
2220Assert.Equal(PublicNullableAnnotation.Annotated, symbol.NullableAnnotation);
2258Assert.Equal(expectedAnnotation, symbol.NullableAnnotation);
2290Assert.Equal(expectedAnnotation, symbol.NullableAnnotation);
2336Assert.Equal(expectedAnnotation, symbol.NullableAnnotation);
2378Assert.Equal(expectedAnnotation, symbol.NullableAnnotation);
2421Assert.Equal(expectedAnnotation, symbol.NullableAnnotation);
2463Assert.Equal(PublicNullableAnnotation.Annotated, symbol.NullableAnnotation);
2511Assert.Equal(expectedAnnotation, symbol.NullableAnnotation);
2560Assert.Equal(expectedAnnotation, symbol.NullableAnnotation);
3922Assert.Equal(PublicNullableAnnotation.Annotated, o2Symbol.NullableAnnotation);
3936Assert.Equal(PublicNullableAnnotation.Annotated, o4Symbol.NullableAnnotation);
Microsoft.CodeAnalysis.VisualBasic (1)