10 references to ERR_MixingWinRTEventWithRegular
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1481
or ErrorCode.
ERR_MixingWinRTEventWithRegular
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
229
var info = new CSDiagnosticInfo(ErrorCode.
ERR_MixingWinRTEventWithRegular
, args, ImmutableArray<Symbol>.Empty, ImmutableArray.Create<Location>(this.GetFirstLocation()));
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (8)
Metadata\WinMdEventTests.cs (8)
3031
Diagnostic(ErrorCode.
ERR_MixingWinRTEventWithRegular
, "WinRT").WithArguments("OverrideAndImplIncorrectly.WinRT", "Interface.WinRT", "Interface.WinRT", "OverrideAndImplIncorrectly.WinRT"),
3034
Diagnostic(ErrorCode.
ERR_MixingWinRTEventWithRegular
, "Normal").WithArguments("OverrideAndImplIncorrectly.Normal", "Interface.Normal", "OverrideAndImplIncorrectly.Normal", "Interface.Normal"));
3169
Diagnostic(ErrorCode.
ERR_MixingWinRTEventWithRegular
, "E").WithArguments("C.E", "INormal.E", "C.E", "INormal.E"));
3196
Diagnostic(ErrorCode.
ERR_MixingWinRTEventWithRegular
, "E").WithArguments("C.E", "INormal.E", "C.E", "INormal.E"));
3221
Diagnostic(ErrorCode.
ERR_MixingWinRTEventWithRegular
).WithArguments("ReversedBase.WinRT", "Interface.WinRT", "Interface.WinRT", "ReversedBase.WinRT"),
3223
Diagnostic(ErrorCode.
ERR_MixingWinRTEventWithRegular
).WithArguments("ReversedBase.Normal", "Interface.Normal", "ReversedBase.Normal", "Interface.Normal"));
3254
Diagnostic(ErrorCode.
ERR_MixingWinRTEventWithRegular
, "WinRT").WithArguments("Derived.WinRT", "Interface.WinRT", "Interface.WinRT", "Derived.WinRT"),
3257
Diagnostic(ErrorCode.
ERR_MixingWinRTEventWithRegular
, "Normal").WithArguments("Derived.Normal", "Interface.Normal", "Derived.Normal", "Interface.Normal"));