17 references to ERR_ConversionNotInvolvingContainedType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
901case ErrorCode.ERR_ConversionNotInvolvingContainedType:
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
467diagnostics.Add(IsAbstract || IsVirtual ? ErrorCode.ERR_AbstractConversionNotInvolvingContainedType : ErrorCode.ERR_ConversionNotInvolvingContainedType, this.Locations[0]);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\FunctionPointerTests.cs (1)
522Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "delegate*<void>").WithLocation(9, 37),
Semantics\OperatorTests.cs (1)
6636Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "string"));
Semantics\StackAllocSpanExpressionsTests.cs (2)
813Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "Test2").WithLocation(11, 34), 839Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "Test2").WithLocation(11, 34),
Semantics\UnsafeTests.cs (1)
8977Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "long*"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\CheckedUserDefinedOperatorsTests.cs (1)
2642Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "int").WithLocation(4, 45)
Symbols\StaticAbstractMembersInInterfacesTests.cs (8)
28174Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "int").WithLocation(12, 23 + checkedKeyword.Length), 28180Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "int").WithLocation(17, 30 + checkedKeyword.Length), 28195Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "int").WithLocation(42, 23 + checkedKeyword.Length), 28201Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "int").WithLocation(47, 30 + checkedKeyword.Length), 28331Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "int").WithLocation(12, 23 + checkedKeyword.Length), 28337Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "int").WithLocation(17, 30 + checkedKeyword.Length), 28352Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "int").WithLocation(42, 23 + checkedKeyword.Length), 28358Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "int").WithLocation(47, 30 + checkedKeyword.Length),
Symbols\SymbolErrorTests.cs (1)
10519Diagnostic(ErrorCode.ERR_ConversionNotInvolvingContainedType, "int")