20 writes to Message
Microsoft.AspNetCore.Components.Analyzers.Tests (20)
ComponentParameterCaptureUnmatchedValuesHasWrongTypeTest.cs (1)
65Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty' defines CaptureUnmatchedValues but has an unsupported type 'string'. Use a type assignable from 'System.Collections.Generic.Dictionary<string, object>'.",
ComponentParameterCaptureUnmatchedValuesMustBeUniqueTest.cs (1)
53Message = message,
ComponentParameterSettersShouldBePublicTest.cs (3)
79Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty1' should have a public setter.", 89Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty2' should have a public setter.", 99Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty3' should have a public setter.",
ComponentParameterShouldBeAutoPropertiesTest.cs (2)
103Message = "Component parameter 'C.MyProp' should be auto property", 142Message = "Component parameter 'C.MyProp' should be auto property",
ComponentParametersShouldBePublicCodeFixProviderTest.cs (4)
46Message = "Component parameter 'ConsoleApplication1.TypeName.BadProperty1' should be public.", 86Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty1' should have a public setter.", 96Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty2' should have a public setter.", 106Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty3' should have a public setter.",
ComponentParametersShouldBePublicTest.cs (4)
64Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty1' should be public.", 74Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty2' should be public.", 84Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty3' should be public.", 94Message = "Component parameter 'ConsoleApplication1.TypeName.MyProperty4' should be public.",
ComponentParameterUsageAnalyzerTest.cs (5)
51Message = "Component parameter 'TestProperty' should not be set outside of its component.", 82Message = "Component parameter 'TestProperty' should not be set outside of its component.", 113Message = "Component parameter 'TestProperty' should not be set outside of its component.", 144Message = "Component parameter 'TestInt' should not be set outside of its component.", 175Message = "Component parameter 'TestInt' should not be set outside of its component.",
2 references to Message
Microsoft.AspNetCore.Components.Analyzers.Tests (2)
Verifiers\DiagnosticVerifier.cs (2)
172if (actual.GetMessage(CultureInfo.InvariantCulture) != expected.Message) 178expected.Message, actual.GetMessage(CultureInfo.InvariantCulture), FormatDiagnostics(analyzer, actual)));