11 references to IsReadOnly
Microsoft.Net.Http.Headers (3)
NameValueHeaderValue.cs (3)
72
HeaderUtilities.ThrowIfReadOnly(
IsReadOnly
);
102
if (
IsReadOnly
)
192
HeaderUtilities.ThrowIfReadOnly(
IsReadOnly
);
Microsoft.Net.Http.Headers.Tests (8)
MediaTypeHeaderValueTest.cs (4)
191
Assert.False(pair0.
IsReadOnly
);
192
Assert.True(pair1.
IsReadOnly
);
214
Assert.True(pair1.
IsReadOnly
);
215
Assert.False(pair2.
IsReadOnly
);
NameValueHeaderValueTest.cs (4)
82
Assert.False(pair0.
IsReadOnly
);
83
Assert.True(pair1.
IsReadOnly
);
115
Assert.False(pair0.
IsReadOnly
);
116
Assert.True(pair1.
IsReadOnly
);