88 references to IncludeNullability
Microsoft.AspNetCore.Http.RequestDelegateGenerator (4)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle (11)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (18)
Semantics\NullableReferenceTypesTests.cs (16)
113142Assert.True(method1.Equals(method2, SymbolEqualityComparer.IncludeNullability.CompareKind));
113143Assert.True(method2.Equals(method1, SymbolEqualityComparer.IncludeNullability.CompareKind));
113147Assert.False(method1.Equals(method2, SymbolEqualityComparer.IncludeNullability.CompareKind));
113148Assert.False(method2.Equals(method1, SymbolEqualityComparer.IncludeNullability.CompareKind));
157590Assert.False(field2.Equals(field3, SymbolEqualityComparer.IncludeNullability));
157592Assert.False(field3.Equals(field2, SymbolEqualityComparer.IncludeNullability));
157596Assert.False(field1.Equals(field2, SymbolEqualityComparer.IncludeNullability));
157598Assert.False(field2.Equals(field1, SymbolEqualityComparer.IncludeNullability));
157602Assert.True(field1.Equals(field3, SymbolEqualityComparer.IncludeNullability));
157604Assert.True(field3.Equals(field1, SymbolEqualityComparer.IncludeNullability));
157642Assert.False(method2.Equals(method3, SymbolEqualityComparer.IncludeNullability));
157644Assert.False(method3.Equals(method2, SymbolEqualityComparer.IncludeNullability));
157648Assert.False(method1.Equals(method2, SymbolEqualityComparer.IncludeNullability));
157650Assert.False(method2.Equals(method1, SymbolEqualityComparer.IncludeNullability));
157654Assert.True(method1.Equals(method3, SymbolEqualityComparer.IncludeNullability));
157656Assert.True(method3.Equals(method1, SymbolEqualityComparer.IncludeNullability));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (34)
Symbols\Source\NullablePublicAPITests.cs (28)
2844Assert.False(event1.Equals(event2, SymbolEqualityComparer.IncludeNullability));
3509Assert.Equal(mSymbol, lambdaSymbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3547Assert.Equal(lambdaSymbol, innerLambdaSymbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3570Assert.Equal(innerLambdaSymbol, o2Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3608Assert.Equal(lambdaSymbol, innerLambdaSymbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3631Assert.Equal(innerLambdaSymbol, o2Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3670Assert.Equal(lambdaSymbol, localFunctionSymbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3671Assert.Equal(localFunctionSymbol, o2Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3784Assert.Equal(parameterSymbol, info.Symbol, SymbolEqualityComparer.IncludeNullability);
3812Assert.Equal(lambdaSymbol, paramSymbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3866Assert.Equal(o2Symbol, o2Ref.Symbol, SymbolEqualityComparer.IncludeNullability);
3880Assert.Equal(localFunctionSymbol, model.GetDeclaredSymbol(o8Declaration).ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3884Assert.Equal(lambdaSymbol, model.GetDeclaredSymbol(node).ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3924Assert.Equal(fieldLambdaSymbol, o1Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3925Assert.Equal(fieldLambdaSymbol, o2Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3938Assert.Equal(propertyLambdaSymbol, o3Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3939Assert.Equal(propertyLambdaSymbol, o4Symbol.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3983Assert.Equal(lambdaSymbol, innerLambdaSymbol1.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
3993Assert.Equal(lambdaSymbol, innerLambdaSymbol1.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
4059Assert.Equal(o1Symbol, o1RefSymbol, SymbolEqualityComparer.IncludeNullability);
4060Assert.Equal(o2Symbol, o2RefSymbol, SymbolEqualityComparer.IncludeNullability);
4067Assert.Equal(o2Symbol, speculativeModel.GetSymbolInfo(speculativeO2Ref).Symbol, SymbolEqualityComparer.IncludeNullability);
4072Assert.Equal(o1Symbol, speculativeModel.GetSymbolInfo(speculativeO1Ref).Symbol, SymbolEqualityComparer.IncludeNullability);
4126Assert.Equal(lambdaSymbol, o2Result.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
4127Assert.Equal(localFunctionSymbol, o8Result.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
4131Assert.Equal(lambdaSymbol, o1Result.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
4132Assert.Equal(localFunctionSymbol, oResult.ContainingSymbol, SymbolEqualityComparer.IncludeNullability);
4135Assert.Equal(localFunctionSymbol, localFunctionResult, SymbolEqualityComparer.IncludeNullability);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.Workspaces (1)