Project

Profile

Help

Revision 79987d15

Added by Michael Kay over 11 years ago

Fix bug 3016018 Methods/Properties not declared virtual in .NET API

View differences:

latest9.2/hen/csource/api/Saxon.Api/Extensibility.cs
185 185
        /// and probably disastrous.
186 186
        /// </summary>
187 187

  
188
        public Boolean TrustResultType {
188
        public virtual Boolean TrustResultType {
189 189
            get{return false;}
190 190
        }
191 191

  
......
194 194
        /// item, position, or size from the dynamic context. This inhibits certain Saxon optimizations.
195 195
        /// </summary>
196 196

  
197
        public Boolean DependsOnFocus {
197
        public virtual Boolean DependsOnFocus {
198 198
            get{return false;}
199 199
        }
200 200

  
......
205 205
        /// as expected.
206 206
        /// </summary>
207 207

  
208
        public Boolean HasSideEffects {
208
        public virtual Boolean HasSideEffects {
209 209
            get{return false;}
210 210
        }
211 211

  
......
241 241
        /// </remarks>
242 242
        /// <param name="context">Information about the static context in which the function is called</param>
243 243

  
244
        public void SupplyStaticContext(StaticContext context)
244
        public virtual void SupplyStaticContext(StaticContext context)
245 245
        {
246 246
            // default: no action
247 247
        }
......
255 255
        /// <param name="destination">The new extension function object. This will always be an instance of the same
256 256
        /// class as the existing object.</param>
257 257

  
258
        public void CopyLocalData(ExtensionFunctionCall destination) { }
258
        public virtual void CopyLocalData(ExtensionFunctionCall destination) { }
259 259

  
260 260
        /// <summary>
261 261
        /// Method called at run time to evaluate the function.

Also available in: Unified diff