25 references to ChangingTypeNotSupportedByRuntime
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (16)
EditAndContinue\TopLevelEditingTests.cs (16)
7010
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, newType + " M()", FeaturesResources.method) },
7031
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "char M()", FeaturesResources.method) },
7858
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "int x", FeaturesResources.parameter) },
9101
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "ref readonly int M()", FeaturesResources.method) },
9777
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "int x", FeaturesResources.parameter) },
13744
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "event System.Action<" + newType + "> E", FeaturesResources.event_) },
13766
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "event System.Action<(int a, double b)> E", FeaturesResources.event_) },
13851
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "event string E", FeaturesResources.event_) },
14439
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "char P", FeaturesResources.property_) },
14461
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "char P", FeaturesResources.property_) },
14992
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "ref readonly int P", FeaturesResources.property_) },
15703
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "string this[int a]", CSharpFeaturesResources.indexer) },
15727
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "(string, int) M()", FeaturesResources.method) },
15751
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "(int, int) M()", FeaturesResources.method) },
15775
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "(int, int, int a) M()", FeaturesResources.method) },
16086
new[] { Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "ref readonly int this[int i]", FeaturesResources.indexer_) },
Microsoft.CodeAnalysis.Features (5)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (4)
4056
rudeEdit = RudeEditKind.
ChangingTypeNotSupportedByRuntime
;
4105
rudeEdit = RudeEditKind.
ChangingTypeNotSupportedByRuntime
;
4135
rudeEdit = RudeEditKind.
ChangingTypeNotSupportedByRuntime
;
4165
rudeEdit = RudeEditKind.
ChangingTypeNotSupportedByRuntime
;
EditAndContinue\EditAndContinueDiagnosticDescriptors.cs (1)
157
AddRudeEdit(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, nameof(FeaturesResources.Changing_the_type_of_0_requires_restarting_the_application));
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (4)
EditAndContinue\TopLevelEditingTests.vb (4)
4381
Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "Function Goo()", FeaturesResources.method)
10978
Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "Public Function M()", FeaturesResources.method)},
10993
Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "Public Function M()", FeaturesResources.method)},
11015
{Diagnostic(RudeEditKind.
ChangingTypeNotSupportedByRuntime
, "Public Function M()", FeaturesResources.method)},